jobcontainerexecutor

package
v0.0.0-...-b5cc2e9 Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ConditionTypeComplete string = "Complete"
	ConditionTypeFailed   string = "Failed"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type JobFactory

type JobFactory struct {
	InputAPIGroup        string
	InputAPIResource     string
	InputAPIName         string
	InputAPINamespace    string
	InputAPIVersion      string
	CompositionName      string
	CompositionNamespace string
	ExpanderImage        string
	ExpanderName         string
	ImageRegistry        string
	PlanName             string
	Name                 string
	// contains filtered or unexported fields
}

func NewJobFactory

func NewJobFactory(ctx context.Context, logger logr.Logger, client client.Client,
	inputGVK schema.GroupVersionKind, inputGVR schema.GroupVersionResource,
	compositionName string, compositionNamespace string,
	cr *unstructured.Unstructured, expanderName string, expanderImage string,
	planName string, imageRegistry string) *JobFactory

func (*JobFactory) CleanUp

func (j *JobFactory) CleanUp()

func (*JobFactory) Create

func (j *JobFactory) Create() error

func (*JobFactory) GetManifests

func (f *JobFactory) GetManifests() ([]byte, error)

func (*JobFactory) Wait

func (j *JobFactory) Wait() (bool, error)

Jump to

Keyboard shortcuts

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