cli

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 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
	NetpolCreationWaitSeconds int
	KubeContext               string
}

type ProbeArgs added in v0.0.3

type ProbeArgs struct {
	Namespaces                []string
	Pods                      []string
	Noisy                     bool
	IgnoreLoopback            bool
	KubeContext               string
	NetpolCreationWaitSeconds int
	PolicyPath                string
}

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
}

type SyntheticProbeConnectivityArgs added in v0.0.3

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

type SyntheticProbeConnectivityConfig added in v0.0.3

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

Jump to

Keyboard shortcuts

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