collector

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2019 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NetworkPolicy

type NetworkPolicy struct {
	Name             string
	PolicyType       NetworkPolicyType
	SelectedPodNames []string
	IngressRule      bool
	EgressRule       bool
	FromCount        int
	ToCount          int
}

func CollectNetworkPolicies

func CollectNetworkPolicies(namespace string) ([]NetworkPolicy, error)

type NetworkPolicyType

type NetworkPolicyType struct {
	Ingress bool
	Egress  bool
}

Jump to

Keyboard shortcuts

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