resources

package
v0.0.0-...-66148d8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 1, 2019 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package resources holds simple functions for synthesizing child resources.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetFirstTerminationMessage

func GetFirstTerminationMessage(pod *corev1.Pod) string

func IsJobComplete

func IsJobComplete(job *batchv1.Job) bool

func IsJobFailed

func IsJobFailed(job *batchv1.Job) bool

func JobFailedMessage

func JobFailedMessage(job *batchv1.Job) string

func JobLabels

func JobLabels(name, action string) map[string]string

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL