jobtemplatespec

package
v0.0.0-...-c711963 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2023 License: Apache-2.0 Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Builder

type Builder struct {
	// contains filtered or unexported fields
}

Builder is the builder object for JobTemplateSpec

func NewBuilder

func NewBuilder() *Builder

NewBuilder returns new instance of Builder

func (*Builder) Build

func (b *Builder) Build() (*JobTemplateSpec, error)

Build returns a jobspec object

func (*Builder) WithJobSpecBuilder

func (b *Builder) WithJobSpecBuilder(tmplbuilder *jobspec.Builder) *Builder

WithJobSpecBuilder sets the spec of this jobtemplate

type JobTemplateSpec

type JobTemplateSpec struct {
	Object *batchv1beta1.JobTemplateSpec
}

JobTemplateSpec holds the api's JobTemplateSpec objects

Jump to

Keyboard shortcuts

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