Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetPodsOfController ¶
func GetPodsOfController(client kubernetes.Interface, namespace, kind, name, apiVersion string) ([]corev1.Pod, error)
GetPodsOfController return pods created by controller name
Types ¶
type OwnerController ¶
type OwnerController struct { Name string `json:"name"` Labels map[string]string `json:"labels"` Kind string `json:"kind"` Ready string `json:"ready"` Images []string `json:"images"` CreationTimestamp metav1.Time `json:"creationTimestamp"` }
func GetPodOwnerController ¶
func GetPodOwnerController(client kubernetes.Interface, pod *corev1.Pod) ([]OwnerController, error)
Click to show internal directories.
Click to hide internal directories.