Documentation
¶
Index ¶
- func FilterNodePods(node *v1.Node, pods *v1.PodList) []*v1.Pod
- func GetNode(client kubernetes.Interface, nodeName string) (*v1.Node, error)
- func GetNodePods(client kubernetes.Interface, nodeName string) (*v1.PodList, error)
- func GetNodes(client kubernetes.Interface, opts ...metav1.ListOptions) (*v1.NodeList, error)
- func GetPod(client kubernetes.Interface, namespace, name string) (*v1.Pod, error)
- func GetPods(client kubernetes.Interface, opts ...metav1.ListOptions) (*v1.PodList, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FilterNodePods ¶
FilterNodePods filter pods.
func GetNodePods ¶
GetNodePods Return the pods on the node.
func GetNodes ¶
func GetNodes(client kubernetes.Interface, opts ...metav1.ListOptions) (*v1.NodeList, error)
GetNodes return node list.
func GetPods ¶
func GetPods(client kubernetes.Interface, opts ...metav1.ListOptions) (*v1.PodList, error)
GetPods return pod list.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.