resources

package
v0.0.0-...-7ffc8d4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 14, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FilterNodePods

func FilterNodePods(node *v1.Node, pods *v1.PodList) []*v1.Pod

FilterNodePods filter pods.

func GetNode

func GetNode(client kubernetes.Interface, nodeName string) (*v1.Node, error)

GetNode return node describe.

func GetNodePods

func GetNodePods(client kubernetes.Interface, nodeName string) (*v1.PodList, error)

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 GetPod

func GetPod(client kubernetes.Interface, namespace, name string) (*v1.Pod, error)

GetPod return pod descirble.

func GetPods

func GetPods(client kubernetes.Interface, opts ...metav1.ListOptions) (*v1.PodList, error)

GetPods return pod list.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL