Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var PodGroupVersionResource = schema.GroupVersionResource{
Group: "",
Version: "v1",
Resource: "pods",
}
PodGroupVersion is the required Group Version for accessing pods in a cluster, using the dynamic client.
Functions ¶
func StatusPods ¶
func StatusPods(client *rancher.Client, clusterID string, listOpts metav1.ListOptions) ([]string, []error)
StatusPods is a helper function that uses the dynamic client to list pods on a namespace for a specific cluster with its list options.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.