Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AreAllPodsRunning ¶
AreAllPodsRunning will return true if all pods are in a Running State
Types ¶
type List ¶
type List struct {
Pods []Pod `json:"items"`
}
List is a container that holds all pods returned from doing a kubectl get pods
type Metadata ¶
type Metadata struct { CreatedAt time.Time `json:"creationTimestamp"` Labels map[string]string `json:"labels"` Name string `json:"name"` Namespace string `json:"namespace"` }
Metadata holds information like name, createdat, labels, and namespace
Click to show internal directories.
Click to hide internal directories.