Documentation ¶
Overview ¶
Package k8s contains utilities for Antrea interactions with Kubernetes.
Index ¶
- func CreateClients(config componentbaseconfig.ClientConnectionConfiguration, ...) (clientset.Interface, aggregatorclientset.Interface, crdclientset.Interface, ...)
- func CreateLegacyCRDClient(config componentbaseconfig.ClientConnectionConfiguration, ...) (legacycrdclientset.Interface, error)
- func NamespacedName(namespace, name string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateClients ¶
func CreateClients(config componentbaseconfig.ClientConnectionConfiguration, kubeAPIServerOverride string) (clientset.Interface, aggregatorclientset.Interface, crdclientset.Interface, error)
CreateClients creates kube clients from the given config.
func CreateLegacyCRDClient ¶ added in v1.0.0
func CreateLegacyCRDClient(config componentbaseconfig.ClientConnectionConfiguration, kubeAPIServerOverride string) (legacycrdclientset.Interface, error)
CreateLegacyCRDClient creates legacyCRD client from the given config.
func NamespacedName ¶
NamespacedName generates the conventional K8s resource name, which connects namespace and name with "/".
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.