Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type KubeClient ¶
type KubeClient interface { GetPod(context.Context, string, string) (*corev1.Pod, error) GetIP(context.Context, string, string) (*flv1.FlatNetworkIP, error) GetSubnet(context.Context, string) (*flv1.FlatNetworkSubnet, error) UpdateIP(context.Context, string, *flv1.FlatNetworkIP) (*flv1.FlatNetworkIP, error) UpdateIPStatus(context.Context, string, *flv1.FlatNetworkIP) (*flv1.FlatNetworkIP, error) }
func GetK8sClient ¶
func GetK8sClient(cniPath string) (KubeClient, error)
Click to show internal directories.
Click to hide internal directories.