Documentation ¶
Index ¶
- func BuildConfig(kubeconfig string) (*rest.Config, error)
- func GetNetworkingCondition(ctx context.Context, kubeClient kubernetes.Interface, nodeName string) v1.ConditionStatus
- func IsNodeNotReady(node *v1.Node) bool
- func IsNodeReady(node *v1.Node) bool
- func IsPodFinished(pod *v1.Pod) bool
- func IsStatefulSetPod(pod *v1.Pod) bool
- func NewCRDClient(kubeconfig string) (clientset.Interface, error)
- func NewKubeClient(kubeconfig string) (kubernetes.Interface, error)
- func UpdateNetworkingCondition(ctx context.Context, kubeClient kubernetes.Interface, nodeName string, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetNetworkingCondition ¶
func GetNetworkingCondition( ctx context.Context, kubeClient kubernetes.Interface, nodeName string, ) v1.ConditionStatus
func IsNodeNotReady ¶
func IsNodeReady ¶
func IsPodFinished ¶
func IsStatefulSetPod ¶
func NewCRDClient ¶
NewCRDClient creates CRD client
func NewKubeClient ¶
func NewKubeClient(kubeconfig string) (kubernetes.Interface, error)
NewKubeClient creates a k8s client
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.