Documentation ¶
Index ¶
- func CreateAgentClientCfg(ctx context.Context, k8sClientset kubernetes.Interface, ...) (*rest.Config, error)
- func CreateAgentClientCfgFromObjects(ctx context.Context, k8sClientset kubernetes.Interface, ...) (*rest.Config, error)
- func CreateControllerClientCfg(ctx context.Context, k8sClientset kubernetes.Interface, ...) (*rest.Config, error)
- func GetControllerCACert(ctx context.Context, client kubernetes.Interface) ([]byte, error)
- func GetNodeAddrs(node *corev1.Node) (*ip.DualStackIPs, error)
- func ResolveKubeconfig(cmd *cobra.Command) (*rest.Config, error)
- func SetupClients(kubeconfig *rest.Config) (*kubernetes.Clientset, *antrea.Clientset, error)
- func SetupLocalKubeconfig(kubeconfig *rest.Config)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateAgentClientCfg ¶
func CreateAgentClientCfgFromObjects ¶ added in v1.13.0
func GetControllerCACert ¶ added in v1.13.0
func GetNodeAddrs ¶ added in v1.13.0
func GetNodeAddrs(node *corev1.Node) (*ip.DualStackIPs, error)
func SetupClients ¶
func SetupLocalKubeconfig ¶ added in v1.13.0
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.