Documentation ¶
Overview ¶
Package resources holds simple functions for synthesizing child resources.
Index ¶
- func GetFirstTerminationMessage(pod *corev1.Pod) string
- func IsJobComplete(job *batchv1.Job) bool
- func IsJobFailed(job *batchv1.Job) bool
- func JobFailedMessage(job *batchv1.Job) string
- func JobLabels(name, action string) map[string]string
- func NewCtrlJob(perfJob *perfv1alpha1.PerfJob, action string) *batchv1.Job
- func NewTestJob(perfJob *perfv1alpha1.PerfJob) *batchv1.Job
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsJobComplete ¶
func IsJobFailed ¶
func JobFailedMessage ¶
func NewCtrlJob ¶
func NewCtrlJob(perfJob *perfv1alpha1.PerfJob, action string) *batchv1.Job
NewCtrlJob creates a Job.
func NewTestJob ¶
func NewTestJob(perfJob *perfv1alpha1.PerfJob) *batchv1.Job
MakeTestJob creates a Job.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.