key

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2019 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AnnotationManagedBy                  = "giantswarm.io/managed-by"
	AnnotationNetworkPolicyRole          = "giantswarm.io/network-policy-role"
	AnnotationNetworkPolicyRoleActive    = "active"
	AnnotationNetworkPolicyRoleSupressed = "supressed"
	PolicyTypeEgress                     = "Egress"
	PodSelectorMatchLabelRandom          = "random-match-label"
	ProjectName                          = "dns-network-policy-operator"
)

Variables

This section is empty.

Functions

func EffectiveNetworkPolicyName

func EffectiveNetworkPolicyName(targetPolicyName string) string

func IsInvalidParameter

func IsInvalidParameter(err error) bool

IsInvalidParameter asserts invalidParameterError.

func IsNotFound

func IsNotFound(err error) bool

IsNotFound asserts notFoundError.

func IsWrongTypeError

func IsWrongTypeError(err error) bool

IsWrongTypeError asserts wrongTypeError.

func RandomLabel

func RandomLabel() string

func ToDNSNetworkPolicy

func ToDNSNetworkPolicy(v interface{}) (v1alpha1.DNSNetworkPolicy, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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