command

package
v0.7.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 20, 2020 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// StreamingMode indicates that the agent collects flows by streaming.
	StreamingMode = "streaming"
	// PollingMode indicates that the agent collects flows by polling.
	PollingMode = "polling"
)
View Source
const (
	// MaxGraphDepth is maximum depth of dependency graph.
	MaxGraphDepth = 4
)

Variables

This section is empty.

Functions

func CreateScheme

func CreateScheme(param *CreateSchemeParam) error

CreateScheme runs create-scheme subcommand.

func Look

func Look(param *LookParam) error

Look runs look subcommand.

func Probe

func Probe(param *ProbeParam) error

Probe runs probe subcommand.

Types

type CreateSchemeParam

type CreateSchemeParam struct{}

CreateSchemeParam is

type LookParam

type LookParam struct {
	IPv4  string
	Depth int
	Since string
	Until string
}

LookParam represents a look command parameter.

type ProbeParam

type ProbeParam struct {
	Once bool
}

ProbeParam represents a probe command parameter.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL