cli

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2021 License: MIT Imports: 21 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunRootCommand

func RunRootCommand()

func SetUpLogger

func SetUpLogger(logLevelStr string) error

Types

type AnalyzePoliciesArgs

type AnalyzePoliciesArgs struct {
	PolicySource string
	Namespaces   []string
	PolicyPath   string
	Format       string
}

type Flags

type Flags struct {
	Verbosity string
}

type GeneratorArgs

type GeneratorArgs struct {
	Mode           string
	AllowDNS       bool
	Noisy          bool
	IgnoreLoopback bool
}

type ProbeConnectivityArgs

type ProbeConnectivityArgs struct {
	PolicySource string
	Namespaces   []string
	PolicyPath   string
	ModelPath    string
}

type ProbeConnectivityConfig

type ProbeConnectivityConfig struct {
	Pods   *connectivity.PodModel
	Probes []*connectivity.ProtocolPort
}

type QueryTargetPod

type QueryTargetPod struct {
	Namespace string
	Labels    map[string]string
}

type QueryTargetsArgs

type QueryTargetsArgs struct {
	PolicySource string
	Namespaces   []string
	PolicyPath   string
	PodPath      string
}

type QueryTrafficArgs

type QueryTrafficArgs struct {
	PolicySource string
	Namespaces   []string
	TrafficPath  string
	PolicyPath   string
}

Jump to

Keyboard shortcuts

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