Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AreAllJobsCompleted ¶
AreAllJobsCompleted will return true if all jobs with a common prefix in a given namespace are in a Completed State
Types ¶
type Job ¶
type Job struct { Metadata pod.Metadata `json:"metadata"` Spec Spec `json:"spec"` Status Status `json:"status"` }
Job is used to parse data from kubectl get jobs
func CreateJobFromFile ¶
CreateJobFromFile will create a Job from file with a name
type List ¶
type List struct {
Jobs []Job `json:"items"`
}
List is a container that holds all jobs returned from doing a kubectl get jobs
Click to show internal directories.
Click to hide internal directories.