Documentation ¶
Index ¶
- func CreateAgentClientCfg(k8sClientset kubernetes.Interface, antreaClientset antrea.Interface, ...) (*rest.Config, error)
- func CreateControllerClientCfg(k8sClientset kubernetes.Interface, antreaClientset antrea.Interface, ...) (*rest.Config, error)
- func ResolveKubeconfig(cmd *cobra.Command) (*rest.Config, error)
- func SetupClients(kubeconfig *rest.Config) (*kubernetes.Clientset, *antrea.Clientset, error)
- func SetupKubeconfig(kubeconfig *rest.Config)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateAgentClientCfg ¶
func SetupClients ¶
func SetupKubeconfig ¶
TODO: generate kubeconfig in Antrea agent for antctl in-Pod access.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.