package
1.0.0-rc6
Repository: https://github.com/linuxerwang/cilium.git
Documentation: pkg.go.dev

# Packages

Package v1 is the v1 version of the API.
Package v2 is the v2 version of the API.

# Functions

ExtractNamespace extracts the namespace of ObjectMeta.
GetObjNamespaceName returns the object's namespace and name.
GetPolicyLabels returns a LabelArray for the given namespace and name.
ParseToCiliumRule returns an api.Rule with all the labels parsed into cilium labels.

# Constants

CtrlPrefixPolicyStatus is the prefix used for the controllers set up to sync the CNP with kube-apiserver.
GroupName is the group name of the cilium network policy.
PodNamespaceLabel is the label used in kubernetes containers to specify which namespace they belong to.
PolicyLabelName is the name of the policy label which refers to the k8s policy name.
PolicyLabelNamespace is the policy's namespace set in k8s.
V1 represents version 1 of cilium API.
V2 represents version 2 of cilium API.