Documentation
¶
Index ¶
Constants ¶
View Source
const NetworkAttachmentAnnot string = "k8s.v1.cni.cncf.io/networks"
NetworkAttachmentAnnot pod annotation for network-attachment-definition (mschuppert) for now specify the const from "github.com/k8snetworkplumbingwg/network-attachment-definition-client/pkg/apis/k8s.cni.cncf.io/v1" here to not have that dependency. If there is more we get from there could import it
Variables ¶
This section is empty.
Functions ¶
func GetNADAnnotation ¶
GetNADAnnotation returns pod annotation for network-attachment-definition e.g. k8s.v1.cni.cncf.io/networks: '[{"name": "internalapi", "namespace": "openstack"},{"name": "storage", "namespace": "openstack"}]' DEPRECATED in favor of CreateNetworksAnnotation from network pkg
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.