batch

package
v0.0.0-...-ae3d3cc Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type JobBuilder

type JobBuilder struct {
	*apps.PodBuilder
	Job *v1.Job
}

func NewJobBuilder

func NewJobBuilder(name string) *JobBuilder

func (*JobBuilder) AddMatchLabel

func (d *JobBuilder) AddMatchLabel(key, value string)

func (*JobBuilder) AddMatchLabels

func (d *JobBuilder) AddMatchLabels(labels map[string]string)

func (*JobBuilder) ToResource

func (builder *JobBuilder) ToResource() types.Resource

ToResource Create the interface to the Formation controller

Jump to

Keyboard shortcuts

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