Documentation ¶
Index ¶
- func Client(c context.Context) *batchClient
- func GetJob(name string, options ...JobSpecOption) batchv1.Job
- type JobSpecOption
- func WithAnnotations(inAnnotations []kubernetes.KV) JobSpecOption
- func WithBackoffLimit(backoffLimit int32) JobSpecOption
- func WithLabels(inLabels []kubernetes.KV) JobSpecOption
- func WithOwnerReference(obj kmeta.OwnerRefable) JobSpecOption
- func WithParallelism(instances int32) JobSpecOption
- func WithPodSpecOptions(podSpec kubernetes.PodSpec, options ...corev1.PodSpecOption) JobSpecOption
- func WithTTL(ttl int32) JobSpecOption
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type JobSpecOption ¶
func WithAnnotations ¶
func WithAnnotations(inAnnotations []kubernetes.KV) JobSpecOption
func WithBackoffLimit ¶
func WithBackoffLimit(backoffLimit int32) JobSpecOption
func WithLabels ¶
func WithLabels(inLabels []kubernetes.KV) JobSpecOption
func WithOwnerReference ¶
func WithOwnerReference(obj kmeta.OwnerRefable) JobSpecOption
func WithParallelism ¶
func WithParallelism(instances int32) JobSpecOption
func WithPodSpecOptions ¶
func WithPodSpecOptions(podSpec kubernetes.PodSpec, options ...corev1.PodSpecOption) JobSpecOption
func WithTTL ¶
func WithTTL(ttl int32) JobSpecOption
Click to show internal directories.
Click to hide internal directories.