Documentation ¶
Index ¶
Constants ¶
View Source
const ( // PodResultPrefix the result of the pod status PodResultPrefix = "POD RESULT: " // PodResultOK if the pod completed successfully PodResultOK = "OK" // PodResultFailed if the pod failed PodResultFailed = "FAILED: " )
Variables ¶
This section is empty.
Functions ¶
func GetSortedJobs ¶
func GetSortedJobs(client kubernetes.Interface, ns string, selector string, fieldSelector string) ([]batchv1.Job, error)
GetSortedJobs gets the jobs with an optional commit sha filter
Types ¶
type Options ¶
type Options struct { options.BaseOptions Namespace string Name string Selector string FieldSelector string ContainerName string Duration time.Duration PollPeriod time.Duration NoTail bool LogFail bool VerifyResult bool ErrOut io.Writer Out io.Writer KubeClient kubernetes.Interface Input input.Interface // contains filtered or unexported fields }
Options contains the command line arguments for this command
func NewCmdVerifyJob ¶
NewCmdVerifyJob creates the new command
Click to show internal directories.
Click to hide internal directories.