pipeline

package
v0.69.0 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2024 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConfigurePipeline

func ConfigurePipeline(obj *unstructured.Unstructured, objHash string, pipeline v1alpha1.Pipeline, pipelineArgs PipelineArgs, promiseName string, promiseWorkflow bool, logger logr.Logger) (*batchv1.Job, error)

func LabelsForAllPromiseWorkflows

func LabelsForAllPromiseWorkflows(promiseID string) map[string]string

func LabelsForAllResourceWorkflows

func LabelsForAllResourceWorkflows(rrID, promiseID string) map[string]string

func LabelsForConfigurePromise

func LabelsForConfigurePromise(promiseID, pipelineName string, requestSHA ...string) map[string]string

func LabelsForConfigureResource

func LabelsForConfigureResource(rrID, rrName, promiseID, pipelineName string, requestSHA ...string) map[string]string

func LabelsForDeletePromise added in v0.21.0

func LabelsForDeletePromise(promiseID, pipelineName string, requestSHA ...string) map[string]string

func LabelsForDeleteResource

func LabelsForDeleteResource(rrID, rrName, promiseID, pipelineName string, requestSHA ...string) map[string]string

func NewConfigurePromise

func NewConfigurePromise(
	uPromise *unstructured.Unstructured,
	p v1alpha1.Pipeline,
	promiseIdentifier string,
	promiseDestinationSelectors []v1alpha1.PromiseScheduling,
	logger logr.Logger,
) ([]client.Object, error)

func NewConfigureResource

func NewConfigureResource(
	rr *unstructured.Unstructured,
	promise *unstructured.Unstructured,
	crdPlural string,
	pipeline v1alpha1.Pipeline,
	resourceRequestIdentifier,
	promiseIdentifier string,
	promiseDestinationSelectors []v1alpha1.PromiseScheduling,
	logger logr.Logger,
) ([]client.Object, error)

func NewDelete added in v0.58.0

func NewDelete(obj *unstructured.Unstructured, pipeline v1alpha1.Pipeline, resourceRequestIdentifier, promiseIdentifier, objPlural string) []client.Object

func NewDeletePromise added in v0.21.0

func NewDeletePromise(promise *unstructured.Unstructured, pipeline v1alpha1.Pipeline) []client.Object

func NewDeleteResource added in v0.21.0

func NewDeleteResource(rr *unstructured.Unstructured, pipeline v1alpha1.Pipeline, resourceRequestIdentifier, promiseIdentifier, crdPlural string) []client.Object

func PromiseLabels

func PromiseLabels(promiseID string) pipelineLabels

func ResourceLabels

func ResourceLabels(rrID, rrName, promiseID string) pipelineLabels

Types

type PipelineArgs

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

func NewPipelineArgs

func NewPipelineArgs(promiseIdentifier, resourceRequestIdentifier, pName, name, namespace string) PipelineArgs

func (PipelineArgs) ConfigMapName

func (p PipelineArgs) ConfigMapName() string

func (PipelineArgs) ConfigurePipelineJobLabels added in v0.67.0

func (p PipelineArgs) ConfigurePipelineJobLabels(objHash string) pipelineLabels

func (PipelineArgs) ConfigurePipelineName

func (p PipelineArgs) ConfigurePipelineName() string

func (PipelineArgs) DeletePipelineJobLabels added in v0.67.0

func (p PipelineArgs) DeletePipelineJobLabels() pipelineLabels

func (PipelineArgs) DeletePipelineName

func (p PipelineArgs) DeletePipelineName() string

func (PipelineArgs) Labels

func (p PipelineArgs) Labels() pipelineLabels

func (PipelineArgs) Name added in v0.67.0

func (p PipelineArgs) Name() string

func (PipelineArgs) Namespace

func (p PipelineArgs) Namespace() string

func (PipelineArgs) PipelineName added in v0.67.0

func (p PipelineArgs) PipelineName() string

func (PipelineArgs) PromiseID

func (p PipelineArgs) PromiseID() string

func (PipelineArgs) RoleBindingName

func (p PipelineArgs) RoleBindingName() string

func (PipelineArgs) RoleName

func (p PipelineArgs) RoleName() string

func (PipelineArgs) ServiceAccountName

func (p PipelineArgs) ServiceAccountName() string

Jump to

Keyboard shortcuts

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