Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetJobPodByJobName ¶
func GetJobPodByJobName(ctx context.Context, kubeClientset kubernetes.Interface, namespace, jobName string) (*corev1.Pod, error)
GetJobPodByJobName will find the Pods that belong to that job. Each pod for a given job will have label called: "job-name" set to the job that it belongs to, so just filter by that.
func IsJobComplete ¶
func IsJobFailed ¶
Types ¶
type OpsJobStatus ¶
type OpsJobStatus string
Click to show internal directories.
Click to hide internal directories.