builder

package
v0.15.1 Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package builder holds Builder functions that can be used to create struct in tests with less noise.

One of the most important characteristic of a unit test (and any type of test really) is readability. This means it should be easy to read but most importantly it should clearly show the intent of the test. The setup (and cleanup) of the tests should be as small as possible to avoid the noise. Those builders exists to help with that.

There is two types of functions defined in that package :

  • Builders: create and return a struct
  • Modifiers: return a function that will operate on a given struct. They can be applied to other Modifiers or Builders.

Most of the Builder (and Modifier) that accepts Modifiers defines a type (`TypeOp`) that can be satisfied by existing function in this package, from other package *or* inline. An example would be the following.

// Definition
type TaskOp func(*v1alpha1.Task)
func Task(name string, ops ...TaskOp) *v1alpha1.Task {
	// […]
}
func TaskNamespace(namespace string) TaskOp {
	return func(t *v1alpha1.Task) {
		// […]
	}
}
// Usage
t := Task("foo", TaskNamespace("bar"), func(t *v1alpha1.Task){
	// Do something with the Task struct
	// […]
})

The main reason to define the `Op` type, and using it in the methods signatures is to group Modifier function together. It makes it easier to see what is a Modifier (or Builder) and on what it operates.

By convention, this package is import with the "tb" as alias. The examples make that assumption.

Index

Constants

This section is empty.

Variables

View Source
var (

	// Condition creates a Condition with default values.
	// Any number of Condition modifiers can be passed to transform it.
	// Deprecated: moved to internal/builder/v1alpha1
	Condition = v1alpha1.Condition

	// ConditionNamespace sets the namespace on the condition
	// Deprecated: moved to internal/builder/v1alpha1
	ConditionNamespace = v1alpha1.ConditionNamespace

	// ConditionLabels sets the labels on the condition.
	// Deprecated: moved to internal/builder/v1alpha1
	ConditionLabels = v1alpha1.ConditionLabels

	// ConditionSpec creates a ConditionSpec with default values.
	// Any number of ConditionSpec modifiers can be passed to transform it.
	// Deprecated: moved to internal/builder/v1alpha1
	ConditionSpec = v1alpha1.ConditionSpec

	// ConditionSpecCheck adds a Container, with the specified name and image, to the Condition Spec Check.
	// Any number of Container modifiers can be passed to transform it.
	// Deprecated: moved to internal/builder/v1alpha1
	ConditionSpecCheck = v1alpha1.ConditionSpecCheck

	// ConditionDescription sets the description of the condition
	// Deprecated: moved to internal/builder/v1alpha1
	ConditionDescription = v1alpha1.ConditionDescription

	// ConditionSpecCheckScript adds a script to the Spec.
	// Deprecated: moved to internal/builder/v1alpha1
	ConditionSpecCheckScript = v1alpha1.ConditionSpecCheckScript

	// ConditionParamSpec adds a param, with specified name, to the Spec.
	// Any number of ParamSpec modifiers can be passed to transform it.
	// Deprecated: moved to internal/builder/v1alpha1
	ConditionParamSpec = v1alpha1.ConditionParamSpec

	// ConditionResource adds a resource with specified name, and type to the ConditionSpec.
	// Deprecated: moved to internal/builder/v1alpha1
	ConditionResource = v1alpha1.ConditionResource
)
View Source
var (
	// Command sets the command to the Container (step in this case).
	// Deprecated: moved to internal/builder/v1alpha1
	Command = v1beta1.Command

	// Args sets the command arguments to the Container (step in this case).
	// Deprecated: moved to internal/builder/v1alpha1
	Args = v1beta1.Args

	// EnvVar add an environment variable, with specified name and value, to the Container (step).
	// Deprecated: moved to internal/builder/v1alpha1
	EnvVar = v1beta1.EnvVar

	// WorkingDir sets the WorkingDir on the Container.
	// Deprecated: moved to internal/builder/v1alpha1
	WorkingDir = v1beta1.WorkingDir

	// VolumeMount add a VolumeMount to the Container (step).
	// Deprecated: moved to internal/builder/v1alpha1
	VolumeMount = v1beta1.VolumeMount

	// Resources adds ResourceRequirements to the Container (step).
	// Deprecated: moved to internal/builder/v1alpha1
	Resources = v1beta1.Resources

	// Limits adds Limits to the ResourceRequirements.
	// Deprecated: moved to internal/builder/v1alpha1
	Limits = v1beta1.Limits

	// Requests adds Requests to the ResourceRequirements.
	// Deprecated: moved to internal/builder/v1alpha1
	Requests = v1beta1.Requests

	// CPU sets the CPU resource on the ResourceList.
	// Deprecated: moved to internal/builder/v1alpha1
	CPU = v1beta1.CPU

	// Memory sets the memory resource on the ResourceList.
	// Deprecated: moved to internal/builder/v1alpha1
	Memory = v1beta1.Memory

	// EphemeralStorage sets the ephemeral storage resource on the ResourceList.
	// Deprecated: moved to internal/builder/v1alpha1
	EphemeralStorage = v1beta1.EphemeralStorage

	// TerminationMessagePath sets the termination message path.
	// Deprecated: moved to internal/builder/v1alpha1
	TerminationMessagePath = v1beta1.TerminationMessagePath
)
View Source
var (
	// OwnerReferenceAPIVersion sets the APIVersion to the OwnerReference.
	// Deprecated: moved to internal/builder/v1alpha1
	OwnerReferenceAPIVersion = v1beta1.OwnerReferenceAPIVersion

	// Controller sets the Controller to the OwnerReference.
	// Deprecated: moved to internal/builder/v1alpha1
	Controller = v1beta1.Controller

	// BlockOwnerDeletion sets the BlockOwnerDeletion to the OwnerReference.
	// Deprecated: moved to internal/builder/v1alpha1
	BlockOwnerDeletion = v1beta1.BlockOwnerDeletion
)
View Source
var (
	// ArrayOrString creates an ArrayOrString of type ParamTypeString or ParamTypeArray, based on
	// how many inputs are given (>1 input will create an array, not string).
	// Deprecated: moved to internal/builder/v1alpha1
	ArrayOrString = v1alpha1.ArrayOrString

	// ParamSpecDescription sets the description of a ParamSpec.
	// Deprecated: moved to internal/builder/v1alpha1
	ParamSpecDescription = v1alpha1.ParamSpecDescription

	// ParamSpecDefault sets the default value of a ParamSpec.
	// Deprecated: moved to internal/builder/v1alpha1
	ParamSpecDefault = v1alpha1.ParamSpecDefault
)
View Source
var (

	// Pipeline creates a Pipeline with default values.
	// Any number of Pipeline modifier can be passed to transform it.
	// Deprecated: moved to internal/builder/v1alpha1
	Pipeline = v1alpha1.Pipeline

	// PipelineNamespace sets the namespace on the Pipeline
	// Deprecated: moved to internal/builder/v1alpha1
	PipelineNamespace = v1alpha1.PipelineNamespace

	// PipelineSpec sets the PipelineSpec to the Pipeline.
	// Any number of PipelineSpec modifier can be passed to transform it.
	// Deprecated: moved to internal/builder/v1alpha1
	PipelineSpec = v1alpha1.PipelineSpec

	// PipelineCreationTimestamp sets the creation time of the pipeline
	// Deprecated: moved to internal/builder/v1alpha1
	PipelineCreationTimestamp = v1alpha1.PipelineCreationTimestamp

	// PipelineDescription sets the description of the pipeline
	// Deprecated: moved to internal/builder/v1alpha1
	PipelineDescription = v1alpha1.PipelineDescription

	// PipelineRunCancelled sets the status to cancel to the TaskRunSpec.
	// Deprecated: moved to internal/builder/v1alpha1
	PipelineRunCancelled = v1alpha1.PipelineRunCancelled

	// PipelineDeclaredResource adds a resource declaration to the Pipeline Spec,
	// with the specified name and type.
	// Deprecated: moved to internal/builder/v1alpha1
	PipelineDeclaredResource = v1alpha1.PipelineDeclaredResource

	// PipelineParamSpec adds a param, with specified name and type, to the PipelineSpec.
	// Any number of PipelineParamSpec modifiers can be passed to transform it.
	// Deprecated: moved to internal/builder/v1alpha1
	PipelineParamSpec = v1alpha1.PipelineParamSpec

	// PipelineTask adds a PipelineTask, with specified name and task name, to the PipelineSpec.
	// Any number of PipelineTask modifier can be passed to transform it.
	// Deprecated: moved to internal/builder/v1alpha1
	PipelineTask = v1alpha1.PipelineTask

	// PipelineResult adds a PipelineResult, with specified name, value and description, to the PipelineSpec.
	// Deprecated: moved to internal/builder/v1alpha1
	PipelineResult = v1alpha1.PipelineResult

	// PipelineRunResult adds a PipelineResultStatus, with specified name, value and description, to the PipelineRunStatusSpec.
	// Deprecated: moved to internal/builder/v1alpha1
	PipelineRunResult = v1alpha1.PipelineRunResult

	// PipelineTaskSpec sets the TaskSpec on a PipelineTask.
	// Deprecated: moved to internal/builder/v1alpha1
	PipelineTaskSpec = v1alpha1.PipelineTaskSpec

	// Retries sets the number of retries on a PipelineTask.
	// Deprecated: moved to internal/builder/v1alpha1
	Retries = v1alpha1.Retries

	// RunAfter will update the provided Pipeline Task to indicate that it
	// should be run after the provided list of Pipeline Task names.
	// Deprecated: moved to internal/builder/v1alpha1
	RunAfter = v1alpha1.RunAfter

	// PipelineTaskRefKind sets the TaskKind to the PipelineTaskRef.
	// Deprecated: moved to internal/builder/v1alpha1
	PipelineTaskRefKind = v1alpha1.PipelineTaskRefKind

	// PipelineTaskParam adds a ResourceParam, with specified name and value, to the PipelineTask.
	// Deprecated: moved to internal/builder/v1alpha1
	PipelineTaskParam = v1alpha1.PipelineTaskParam

	// From will update the provided PipelineTaskInputResource to indicate that it
	// should come from tasks.
	// Deprecated: moved to internal/builder/v1alpha1
	From = v1alpha1.From

	// PipelineTaskInputResource adds an input resource to the PipelineTask with the specified
	// name, pointing at the declared resource.
	// Any number of PipelineTaskInputResource modifies can be passed to transform it.
	// Deprecated: moved to internal/builder/v1alpha1
	PipelineTaskInputResource = v1alpha1.PipelineTaskInputResource

	// PipelineTaskOutputResource adds an output resource to the PipelineTask with the specified
	// name, pointing at the declared resource.
	// Deprecated: moved to internal/builder/v1alpha1
	PipelineTaskOutputResource = v1alpha1.PipelineTaskOutputResource

	// PipelineTaskCondition adds a condition to the PipelineTask with the
	// specified conditionRef. Any number of PipelineTaskCondition modifiers can be passed
	// to transform it
	// Deprecated: moved to internal/builder/v1alpha1
	PipelineTaskCondition = v1alpha1.PipelineTaskCondition

	// PipelineTaskConditionParam adds a parameter to a PipelineTaskCondition
	// Deprecated: moved to internal/builder/v1alpha1
	PipelineTaskConditionParam = v1alpha1.PipelineTaskConditionParam

	// PipelineTaskConditionResource adds a resource to a PipelineTaskCondition
	// Deprecated: moved to internal/builder/v1alpha1
	PipelineTaskConditionResource = v1alpha1.PipelineTaskConditionResource

	// PipelineTaskWorkspaceBinding adds a workspace with the specified name, workspace and subpath on a PipelineTask.
	// Deprecated: moved to internal/builder/v1alpha1
	PipelineTaskWorkspaceBinding = v1alpha1.PipelineTaskWorkspaceBinding

	// PipelineTaskTimeout sets the timeout for the PipelineTask.
	// Deprecated: moved to internal/builder/v1alpha1
	PipelineTaskTimeout = v1alpha1.PipelineTaskTimeout

	// PipelineRun creates a PipelineRun with default values.
	// Any number of PipelineRun modifier can be passed to transform it.
	// Deprecated: moved to internal/builder/v1alpha1
	PipelineRun = v1alpha1.PipelineRun

	// PipelineRunNamespace sets the namespace on a PipelineRun.
	// Deprecated: moved to internal/builder/v1alpha1
	PipelineRunNamespace = v1alpha1.PipelineRunNamespace

	// PipelineRunSpec sets the PipelineRunSpec, references Pipeline with specified name, to the PipelineRun.
	// Any number of PipelineRunSpec modifier can be passed to transform it.
	// Deprecated: moved to internal/builder/v1alpha1
	PipelineRunSpec = v1alpha1.PipelineRunSpec

	// PipelineRunLabel adds a label to the PipelineRun.
	// Deprecated: moved to internal/builder/v1alpha1
	PipelineRunLabel = v1alpha1.PipelineRunLabel

	// PipelineRunAnnotation adds a annotation to the PipelineRun.
	// Deprecated: moved to internal/builder/v1alpha1
	PipelineRunAnnotation = v1alpha1.PipelineRunAnnotation

	// PipelineRunResourceBinding adds bindings from actual instances to a Pipeline's declared resources.
	// Deprecated: moved to internal/builder/v1alpha1
	PipelineRunResourceBinding = v1alpha1.PipelineRunResourceBinding

	// PipelineResourceBindingRef set the ResourceRef name to the Resource called Name.
	// Deprecated: moved to internal/builder/v1alpha1
	PipelineResourceBindingRef = v1alpha1.PipelineResourceBindingRef

	// PipelineResourceBindingResourceSpec set the PipelineResourceResourceSpec to the PipelineResourceBinding.
	// Deprecated: moved to internal/builder/v1alpha1
	PipelineResourceBindingResourceSpec = v1alpha1.PipelineResourceBindingResourceSpec

	// PipelineRunServiceAccountName sets the service account to the PipelineRunSpec.
	// Deprecated: moved to internal/builder/v1alpha1
	PipelineRunServiceAccountName = v1alpha1.PipelineRunServiceAccountName

	// PipelineRunServiceAccountNameTask configures the service account for given Task in PipelineRun.
	// Deprecated: moved to internal/builder/v1alpha1
	PipelineRunServiceAccountNameTask = v1alpha1.PipelineRunServiceAccountNameTask

	// PipelineRunParam add a param, with specified name and value, to the PipelineRunSpec.
	// Deprecated: moved to internal/builder/v1alpha1
	PipelineRunParam = v1alpha1.PipelineRunParam

	// PipelineRunTimeout sets the timeout to the PipelineRunSpec.
	// Deprecated: moved to internal/builder/v1alpha1
	PipelineRunTimeout = v1alpha1.PipelineRunTimeout

	// PipelineRunNilTimeout sets the timeout to nil on the PipelineRunSpec
	// Deprecated: moved to internal/builder/v1alpha1
	PipelineRunNilTimeout = v1alpha1.PipelineRunNilTimeout

	// PipelineRunNodeSelector sets the Node selector to the PipelineRunSpec.
	// Deprecated: moved to internal/builder/v1alpha1
	PipelineRunNodeSelector = v1alpha1.PipelineRunNodeSelector

	// PipelineRunTolerations sets the Node selector to the PipelineRunSpec.
	// Deprecated: moved to internal/builder/v1alpha1
	PipelineRunTolerations = v1alpha1.PipelineRunTolerations

	// PipelineRunAffinity sets the affinity to the PipelineRunSpec.
	// Deprecated: moved to internal/builder/v1alpha1
	PipelineRunAffinity = v1alpha1.PipelineRunAffinity

	// PipelineRunPipelineSpec adds a PipelineSpec to the PipelineRunSpec.
	// Any number of PipelineSpec modifiers can be passed to transform it.
	// Deprecated: moved to internal/builder/v1alpha1
	PipelineRunPipelineSpec = v1alpha1.PipelineRunPipelineSpec

	// PipelineRunStatus sets the PipelineRunStatus to the PipelineRun.
	// Any number of PipelineRunStatus modifier can be passed to transform it.
	// Deprecated: moved to internal/builder/v1alpha1
	PipelineRunStatus = v1alpha1.PipelineRunStatus

	// PipelineRunStatusCondition adds a StatusCondition to the TaskRunStatus.
	// Deprecated: moved to internal/builder/v1alpha1
	PipelineRunStatusCondition = v1alpha1.PipelineRunStatusCondition

	// PipelineRunStartTime sets the start time to the PipelineRunStatus.
	// Deprecated: moved to internal/builder/v1alpha1
	PipelineRunStartTime = v1alpha1.PipelineRunStartTime

	// PipelineRunCompletionTime sets the completion time  to the PipelineRunStatus.
	// Deprecated: moved to internal/builder/v1alpha1
	PipelineRunCompletionTime = v1alpha1.PipelineRunCompletionTime

	// PipelineRunTaskRunsStatus sets the status of TaskRun to the PipelineRunStatus.
	// Deprecated: moved to internal/builder/v1alpha1
	PipelineRunTaskRunsStatus = v1alpha1.PipelineRunTaskRunsStatus

	// PipelineResource creates a PipelineResource with default values.
	// Any number of PipelineResource modifier can be passed to transform it.
	// Deprecated: moved to internal/builder/v1alpha1
	PipelineResource = v1alpha1.PipelineResource

	// PipelineResourceNamespace sets the namespace on a PipelineResource.
	// Deprecated: moved to internal/builder/v1alpha1
	PipelineResourceNamespace = v1alpha1.PipelineResourceNamespace

	// PipelineResourceSpec set the PipelineResourceSpec, with specified type, to the PipelineResource.
	// Any number of PipelineResourceSpec modifier can be passed to transform it.
	// Deprecated: moved to internal/builder/v1alpha1
	PipelineResourceSpec = v1alpha1.PipelineResourceSpec

	// PipelineResourceDescription sets the description of the pipeline resource
	// Deprecated: moved to internal/builder/v1alpha1
	PipelineResourceDescription = v1alpha1.PipelineResourceDescription

	// PipelineResourceSpecParam adds a ResourceParam, with specified name and value, to the PipelineResourceSpec.
	// Deprecated: moved to internal/builder/v1alpha1
	PipelineResourceSpecParam = v1alpha1.PipelineResourceSpecParam

	// PipelineResourceSpecSecretParam adds a SecretParam, with specified fieldname, secretKey and secretName, to the PipelineResourceSpec.
	// Deprecated: moved to internal/builder/v1alpha1
	PipelineResourceSpecSecretParam = v1alpha1.PipelineResourceSpecSecretParam

	// PipelineWorkspaceDeclaration adds a Workspace to the workspaces listed in the pipeline spec.
	// Deprecated: moved to internal/builder/v1alpha1
	PipelineWorkspaceDeclaration = v1alpha1.PipelineWorkspaceDeclaration

	// PipelineRunWorkspaceBindingEmptyDir adds an EmptyDir Workspace to the workspaces of a pipelinerun spec.
	// Deprecated: moved to internal/builder/v1alpha1
	PipelineRunWorkspaceBindingEmptyDir = v1alpha1.PipelineRunWorkspaceBindingEmptyDir

	// PipelineRunWorkspaceBindingVolumeClaimTemplate adds an VolumeClaimTemplate Workspace to the workspaces of a pipelineRun spec.
	// Deprecated: moved to internal/builder/v1alpha1
	PipelineRunWorkspaceBindingVolumeClaimTemplate = v1alpha1.PipelineRunWorkspaceBindingVolumeClaimTemplate
)
View Source
var (
	// Pod creates a Pod with default values.
	// Any number of Pod modifiers can be passed to transform it.
	// Deprecated: moved to internal/builder/v1alpha1
	Pod = v1beta1.Pod

	// PodNamespace sets the namespace on the Pod.
	// Deprecated: moved to internal/builder/v1alpha1
	PodNamespace = v1beta1.PodNamespace

	// PodAnnotation adds an annotation to the Pod.
	// Deprecated: moved to internal/builder/v1alpha1
	PodAnnotation = v1beta1.PodAnnotation

	// PodLabel adds a label to the Pod.
	// Deprecated: moved to internal/builder/v1alpha1
	PodLabel = v1beta1.PodLabel

	// PodOwnerReference adds an OwnerReference, with specified kind and name, to the Pod.
	// Deprecated: moved to internal/builder/v1alpha1
	PodOwnerReference = v1beta1.PodOwnerReference

	// PodSpec creates a PodSpec with default values.
	// Any number of PodSpec modifiers can be passed to transform it.
	// Deprecated: moved to internal/builder/v1alpha1
	PodSpec = v1beta1.PodSpec

	// PodRestartPolicy sets the restart policy on the PodSpec.
	// Deprecated: moved to internal/builder/v1alpha1
	PodRestartPolicy = v1beta1.PodRestartPolicy

	// PodServiceAccountName sets the service account on the PodSpec.
	// Deprecated: moved to internal/builder/v1alpha1
	PodServiceAccountName = v1beta1.PodServiceAccountName

	// PodContainer adds a Container, with the specified name and image, to the PodSpec.
	// Any number of Container modifiers can be passed to transform it.
	// Deprecated: moved to internal/builder/v1alpha1
	PodContainer = v1beta1.PodContainer

	// PodInitContainer adds an InitContainer, with the specified name and image, to the PodSpec.
	// Any number of Container modifiers can be passed to transform it.
	// Deprecated: moved to internal/builder/v1alpha1
	PodInitContainer = v1beta1.PodInitContainer

	// PodVolumes sets the Volumes on the PodSpec.
	// Deprecated: moved to internal/builder/v1alpha1
	PodVolumes = v1beta1.PodVolumes

	// PodCreationTimestamp sets the creation time of the pod
	// Deprecated: moved to internal/builder/v1alpha1
	PodCreationTimestamp = v1beta1.PodCreationTimestamp

	// PodStatus creates a PodStatus with default values.
	// Any number of PodStatus modifiers can be passed to transform it.
	// Deprecated: moved to internal/builder/v1alpha1
	PodStatus = v1beta1.PodStatus

	// PodStatusConditions adds a Conditions (set) to the Pod status.
	// Deprecated: moved to internal/builder/v1alpha1
	PodStatusConditions = v1beta1.PodStatusConditions
)
View Source
var (
	// SidecarStateName sets the name of the Sidecar for the SidecarState.
	// Deprecated: moved to internal/builder/v1alpha1
	SidecarStateName = v1alpha1.SidecarStateName

	// SidecarStateImageID sets ImageID of Sidecar for SidecarState.
	// Deprecated: moved to internal/builder/v1alpha1
	SidecarStateImageID = v1alpha1.SidecarStateImageID

	// SidecarStateContainerName sets ContainerName of Sidecar for SidecarState.
	// Deprecated: moved to internal/builder/v1alpha1
	SidecarStateContainerName = v1alpha1.SidecarStateContainerName

	// SetSidecarStateTerminated sets Terminated state of a Sidecar.
	// Deprecated: moved to internal/builder/v1alpha1
	SetSidecarStateTerminated = v1alpha1.SetSidecarStateTerminated

	// SetSidecarStateRunning sets Running state of a Sidecar.
	// Deprecated: moved to internal/builder/v1alpha1
	SetSidecarStateRunning = v1alpha1.SetSidecarStateRunning

	// SetSidecarStateWaiting sets Waiting state of a Sidecar.
	// Deprecated: moved to internal/builder/v1alpha1
	SetSidecarStateWaiting = v1alpha1.SetSidecarStateWaiting
)
View Source
var (
	// StepName sets the name of the step.
	// Deprecated: moved to internal/builder/v1alpha1
	StepName = v1alpha1.StepName

	// StepCommand sets the command to the Container (step in this case).
	// Deprecated: moved to internal/builder/v1alpha1
	StepCommand = v1alpha1.StepCommand

	// StepSecurityContext sets the SecurityContext to the Step.
	// Deprecated: moved to internal/builder/v1alpha1
	StepSecurityContext = v1alpha1.StepSecurityContext

	// StepArgs sets the command arguments to the Container (step in this case).
	// Deprecated: moved to internal/builder/v1alpha1
	StepArgs = v1alpha1.StepArgs

	// StepEnvVar add an environment variable, with specified name and value, to the Container (step).
	// Deprecated: moved to internal/builder/v1alpha1
	StepEnvVar = v1alpha1.StepEnvVar

	// StepWorkingDir sets the WorkingDir on the Container.
	// Deprecated: moved to internal/builder/v1alpha1
	StepWorkingDir = v1alpha1.StepWorkingDir

	// StepVolumeMount add a VolumeMount to the Container (step).
	// Deprecated: moved to internal/builder/v1alpha1
	StepVolumeMount = v1alpha1.StepVolumeMount

	// StepScript sets the script to the Step.
	// Deprecated: moved to internal/builder/v1alpha1
	StepScript = v1alpha1.StepScript

	// StepResources adds ResourceRequirements to the Container (step).
	// Deprecated: moved to internal/builder/v1alpha1
	StepResources = v1alpha1.StepResources

	// StepLimits adds Limits to the ResourceRequirements.
	// Deprecated: moved to internal/builder/v1alpha1
	StepLimits = v1alpha1.StepLimits

	// StepRequests adds Requests to the ResourceRequirements.
	// Deprecated: moved to internal/builder/v1alpha1
	StepRequests = v1alpha1.StepRequests

	// StepCPU sets the CPU resource on the ResourceList.
	// Deprecated: moved to internal/builder/v1alpha1
	StepCPU = v1alpha1.StepCPU

	// StepMemory sets the memory resource on the ResourceList.
	// Deprecated: moved to internal/builder/v1alpha1
	StepMemory = v1alpha1.StepMemory

	// StepEphemeralStorage sets the ephemeral storage resource on the ResourceList.
	// Deprecated: moved to internal/builder/v1alpha1
	StepEphemeralStorage = v1alpha1.StepEphemeralStorage

	// StepTerminationMessagePath sets the source of the termination message.
	// Deprecated: moved to internal/builder/v1alpha1
	StepTerminationMessagePath = v1alpha1.StepTerminationMessagePath
)
View Source
var (

	// Task creates a Task with default values.
	// Any number of Task modifier can be passed to transform it.
	// Deprecated: moved to internal/builder/v1alpha1
	Task = v1alpha1.Task

	// TaskType sets the TypeMeta on the Task which is useful for making it serializable/deserializable.
	// Deprecated: moved to internal/builder/v1alpha1
	TaskType = v1alpha1.TaskType

	// ClusterTask creates a ClusterTask with default values.
	// Any number of ClusterTask modifier can be passed to transform it.
	// Deprecated: moved to internal/builder/v1alpha1
	ClusterTask = v1alpha1.ClusterTask

	// TaskNamespace sets the namespace on the task.
	// Deprecated: moved to internal/builder/v1alpha1
	TaskNamespace = v1alpha1.TaskNamespace

	// ClusterTaskType sets the TypeMeta on the ClusterTask which is useful for making it serializable/deserializable.
	// Deprecated: moved to internal/builder/v1alpha1
	ClusterTaskType = v1alpha1.ClusterTaskType

	// ClusterTaskSpec sets the specified spec of the cluster task.
	// Any number of TaskSpec modifier can be passed to create it.
	// Deprecated: moved to internal/builder/v1alpha1
	ClusterTaskSpec = v1alpha1.ClusterTaskSpec

	// TaskSpec sets the specified spec of the task.
	// Any number of TaskSpec modifier can be passed to create/modify it.
	// Deprecated: moved to internal/builder/v1alpha1
	TaskSpec = v1alpha1.TaskSpec

	// TaskDescription sets the description of the task
	// Deprecated: moved to internal/builder/v1alpha1
	TaskDescription = v1alpha1.TaskDescription

	// Step adds a step with the specified name and image to the TaskSpec.
	// Any number of Container modifier can be passed to transform it.
	// Deprecated: moved to internal/builder/v1alpha1
	Step = v1alpha1.Step

	// Sidecar adds a sidecar container with the specified name and image to the TaskSpec.
	// Any number of Container modifier can be passed to transform it.
	// Deprecated: moved to internal/builder/v1alpha1
	Sidecar = v1alpha1.Sidecar

	// TaskWorkspace adds a workspace declaration.
	// Deprecated: moved to internal/builder/v1alpha1
	TaskWorkspace = v1alpha1.TaskWorkspace

	// TaskStepTemplate adds a base container for all steps in the task.
	// Deprecated: moved to internal/builder/v1alpha1
	TaskStepTemplate = v1alpha1.TaskStepTemplate

	// TaskVolume adds a volume with specified name to the TaskSpec.
	// Any number of Volume modifier can be passed to transform it.
	// Deprecated: moved to internal/builder/v1alpha1
	TaskVolume = v1alpha1.TaskVolume

	// VolumeSource sets the VolumeSource to the Volume.
	// Deprecated: moved to internal/builder/v1alpha1
	VolumeSource = v1alpha1.VolumeSource

	// TaskParam sets the Params to the TaskSpec
	// Deprecated: moved to internal/builder/v1alpha1
	TaskParam = v1alpha1.TaskParam

	// TaskResources sets the Resources to the TaskSpec
	// Deprecated: moved to internal/builder/v1alpha1
	TaskResources = v1alpha1.TaskResources

	// TaskResults sets the Results to the TaskSpec
	// Deprecated: moved to internal/builder/v1alpha1
	TaskResults = v1alpha1.TaskResults

	// TaskResourcesInput adds a TaskResource as Inputs to the TaskResources
	// Deprecated: moved to internal/builder/v1alpha1
	TaskResourcesInput = v1alpha1.TaskResourcesInput

	// TaskResourcesOutput adds a TaskResource as Outputs to the TaskResources
	// Deprecated: moved to internal/builder/v1alpha1
	TaskResourcesOutput = v1alpha1.TaskResourcesOutput

	// TaskResultsOutput adds a TaskResult as Outputs to the TaskResources
	// Deprecated: moved to internal/builder/v1alpha1
	TaskResultsOutput = v1alpha1.TaskResultsOutput

	// TaskInputs sets inputs to the TaskSpec.
	// Any number of Inputs modifier can be passed to transform it.
	// Deprecated: moved to internal/builder/v1alpha1
	TaskInputs = v1alpha1.TaskInputs

	// TaskOutputs sets inputs to the TaskSpec.
	// Any number of Outputs modifier can be passed to transform it.
	// Deprecated: moved to internal/builder/v1alpha1
	TaskOutputs = v1alpha1.TaskOutputs

	// InputsResource adds a resource, with specified name and type, to the Inputs.
	// Any number of TaskResource modifier can be passed to transform it.
	// Deprecated: moved to internal/builder/v1alpha1
	InputsResource = v1alpha1.InputsResource

	// ResourceOptional marks a TaskResource as optional.
	// Deprecated: moved to internal/builder/v1alpha1
	ResourceOptional = v1alpha1.ResourceOptional

	// ResourceTargetPath sets the target path to a TaskResource.
	// Deprecated: moved to internal/builder/v1alpha1
	ResourceTargetPath = v1alpha1.ResourceTargetPath

	// OutputsResource adds a resource, with specified name and type, to the Outputs.
	// Deprecated: moved to internal/builder/v1alpha1
	OutputsResource = v1alpha1.OutputsResource

	// InputsParamSpec adds a ParamSpec, with specified name and type, to the Inputs.
	// Any number of TaskParamSpec modifier can be passed to transform it.
	// Deprecated: moved to internal/builder/v1alpha1
	InputsParamSpec = v1alpha1.InputsParamSpec

	// TaskRun creates a TaskRun with default values.
	// Any number of TaskRun modifier can be passed to transform it.
	// Deprecated: moved to internal/builder/v1alpha1
	TaskRun = v1alpha1.TaskRun

	// TaskRunNamespace sets the namespace for the TaskRun.
	// Deprecated: moved to internal/builder/v1alpha1
	TaskRunNamespace = v1alpha1.TaskRunNamespace

	// TaskRunStatus sets the TaskRunStatus to tshe TaskRun
	// Deprecated: moved to internal/builder/v1alpha1
	TaskRunStatus = v1alpha1.TaskRunStatus

	// PodName sets the Pod name to the TaskRunStatus.
	// Deprecated: moved to internal/builder/v1alpha1
	PodName = v1alpha1.PodName

	// StatusCondition adds a StatusCondition to the TaskRunStatus.
	// Deprecated: moved to internal/builder/v1alpha1
	StatusCondition = v1alpha1.StatusCondition

	// TaskRunResult adds a result with the specified name and value to the TaskRunStatus.
	// Deprecated: moved to internal/builder/v1alpha1
	TaskRunResult = v1alpha1.TaskRunResult

	// Retry adds a RetriesStatus (TaskRunStatus) to the TaskRunStatus.
	// Deprecated: moved to internal/builder/v1alpha1
	Retry = v1alpha1.Retry

	// StepState adds a StepState to the TaskRunStatus.
	// Deprecated: moved to internal/builder/v1alpha1
	StepState = v1alpha1.StepState

	// SidecarState adds a SidecarState to the TaskRunStatus.
	// Deprecated: moved to internal/builder/v1alpha1
	SidecarState = v1alpha1.SidecarState

	// TaskRunStartTime sets the start time to the TaskRunStatus.
	// Deprecated: moved to internal/builder/v1alpha1
	TaskRunStartTime = v1alpha1.TaskRunStartTime

	// TaskRunCompletionTime sets the start time to the TaskRunStatus.
	// Deprecated: moved to internal/builder/v1alpha1
	TaskRunCompletionTime = v1alpha1.TaskRunCompletionTime

	// TaskRunCloudEvent adds an event to the TaskRunStatus.
	// Deprecated: moved to internal/builder/v1alpha1
	TaskRunCloudEvent = v1alpha1.TaskRunCloudEvent

	// TaskRunTimeout sets the timeout duration to the TaskRunSpec.
	// Deprecated: moved to internal/builder/v1alpha1
	TaskRunTimeout = v1alpha1.TaskRunTimeout

	// TaskRunNilTimeout sets the timeout duration to nil on the TaskRunSpec.
	// Deprecated: moved to internal/builder/v1alpha1
	TaskRunNilTimeout = v1alpha1.TaskRunNilTimeout

	// TaskRunNodeSelector sets the NodeSelector to the TaskRunSpec.
	// Deprecated: moved to internal/builder/v1alpha1
	TaskRunNodeSelector = v1alpha1.TaskRunNodeSelector

	// TaskRunTolerations sets the Tolerations to the TaskRunSpec.
	// Deprecated: moved to internal/builder/v1alpha1
	TaskRunTolerations = v1alpha1.TaskRunTolerations

	// TaskRunAffinity sets the Affinity to the TaskRunSpec.
	// Deprecated: moved to internal/builder/v1alpha1
	TaskRunAffinity = v1alpha1.TaskRunAffinity

	// TaskRunPodSecurityContext sets the SecurityContext to the TaskRunSpec (through PodTemplate).
	// Deprecated: moved to internal/builder/v1alpha1
	TaskRunPodSecurityContext = v1alpha1.TaskRunPodSecurityContext

	// StateTerminated sets Terminated to the StepState.
	// Deprecated: moved to internal/builder/v1alpha1
	StateTerminated = v1alpha1.StateTerminated

	// SetStepStateTerminated sets Terminated state of a step.
	// Deprecated: moved to internal/builder/v1alpha1
	SetStepStateTerminated = v1alpha1.SetStepStateTerminated

	// SetStepStateRunning sets Running state of a step.
	// Deprecated: moved to internal/builder/v1alpha1
	SetStepStateRunning = v1alpha1.SetStepStateRunning

	// SetStepStateWaiting sets Waiting state of a step.
	// Deprecated: moved to internal/builder/v1alpha1
	SetStepStateWaiting = v1alpha1.SetStepStateWaiting

	// TaskRunOwnerReference sets the OwnerReference, with specified kind and name, to the TaskRun.
	// Deprecated: moved to internal/builder/v1alpha1
	TaskRunOwnerReference = v1alpha1.TaskRunOwnerReference

	// TaskRunLabels add the specified labels to the TaskRun.
	// Deprecated: moved to internal/builder/v1alpha1
	TaskRunLabels = v1alpha1.TaskRunLabels

	// TaskRunLabel adds a label with the specified key and value to the TaskRun.
	// Deprecated: moved to internal/builder/v1alpha1
	TaskRunLabel = v1alpha1.TaskRunLabel

	// TaskRunAnnotation adds an annotation with the specified key and value to the TaskRun.
	// Deprecated: moved to internal/builder/v1alpha1
	TaskRunAnnotation = v1alpha1.TaskRunAnnotation

	// TaskRunSelfLink adds a SelfLink
	// Deprecated: moved to internal/builder/v1alpha1
	TaskRunSelfLink = v1alpha1.TaskRunSelfLink

	// TaskRunSpec sets the specified spec of the TaskRun.
	// Any number of TaskRunSpec modifier can be passed to transform it.
	// Deprecated: moved to internal/builder/v1alpha1
	TaskRunSpec = v1alpha1.TaskRunSpec

	// TaskRunCancelled sets the status to cancel to the TaskRunSpec.
	// Deprecated: moved to internal/builder/v1alpha1
	TaskRunCancelled = v1alpha1.TaskRunCancelled

	// TaskRunTaskRef sets the specified Task reference to the TaskRunSpec.
	// Any number of TaskRef modifier can be passed to transform it.
	// Deprecated: moved to internal/builder/v1alpha1
	TaskRunTaskRef = v1alpha1.TaskRunTaskRef

	// TaskRunSpecStatus sets the Status in the Spec, used for operations
	// such as cancelling executing TaskRuns.
	// Deprecated: moved to internal/builder/v1alpha1
	TaskRunSpecStatus = v1alpha1.TaskRunSpecStatus

	// TaskRefKind set the specified kind to the TaskRef.
	// Deprecated: moved to internal/builder/v1alpha1
	TaskRefKind = v1alpha1.TaskRefKind

	// TaskRefAPIVersion sets the specified api version to the TaskRef.
	// Deprecated: moved to internal/builder/v1alpha1
	TaskRefAPIVersion = v1alpha1.TaskRefAPIVersion

	// TaskRunTaskSpec sets the specified TaskRunSpec reference to the TaskRunSpec.
	// Any number of TaskRunSpec modifier can be passed to transform it.
	// Deprecated: moved to internal/builder/v1alpha1
	TaskRunTaskSpec = v1alpha1.TaskRunTaskSpec

	// TaskRunServiceAccountName sets the serviceAccount to the TaskRunSpec.
	// Deprecated: moved to internal/builder/v1alpha1
	TaskRunServiceAccountName = v1alpha1.TaskRunServiceAccountName

	// TaskRunParam sets the Params to the TaskSpec
	// Deprecated: moved to internal/builder/v1alpha1
	TaskRunParam = v1alpha1.TaskRunParam

	// TaskRunResources sets the TaskRunResources to the TaskRunSpec
	// Deprecated: moved to internal/builder/v1alpha1
	TaskRunResources = v1alpha1.TaskRunResources

	// TaskRunResourcesInput adds a TaskRunResource as Inputs to the TaskRunResources
	// Deprecated: moved to internal/builder/v1alpha1
	TaskRunResourcesInput = v1alpha1.TaskRunResourcesInput

	// TaskRunResourcesOutput adds a TaskRunResource as Outputs to the TaskRunResources
	// Deprecated: moved to internal/builder/v1alpha1
	TaskRunResourcesOutput = v1alpha1.TaskRunResourcesOutput

	// TaskRunInputs sets inputs to the TaskRunSpec.
	// Any number of TaskRunInputs modifier can be passed to transform it.
	// Deprecated: moved to internal/builder/v1alpha1
	TaskRunInputs = v1alpha1.TaskRunInputs

	// TaskRunInputsParam add a param, with specified name and value, to the TaskRunInputs.
	// Deprecated: moved to internal/builder/v1alpha1
	TaskRunInputsParam = v1alpha1.TaskRunInputsParam

	// TaskRunInputsResource adds a resource, with specified name, to the TaskRunInputs.
	// Any number of TaskResourceBinding modifier can be passed to transform it.
	// Deprecated: moved to internal/builder/v1alpha1
	TaskRunInputsResource = v1alpha1.TaskRunInputsResource

	// TaskResourceBindingRef set the PipelineResourceRef name to the TaskResourceBinding.
	// Deprecated: moved to internal/builder/v1alpha1
	TaskResourceBindingRef = v1alpha1.TaskResourceBindingRef

	// TaskResourceBindingResourceSpec set the PipelineResourceResourceSpec to the TaskResourceBinding.
	// Deprecated: moved to internal/builder/v1alpha1
	TaskResourceBindingResourceSpec = v1alpha1.TaskResourceBindingResourceSpec

	// TaskResourceBindingRefAPIVersion set the PipelineResourceRef APIVersion to the TaskResourceBinding.
	// Deprecated: moved to internal/builder/v1alpha1
	TaskResourceBindingRefAPIVersion = v1alpha1.TaskResourceBindingRefAPIVersion

	// TaskResourceBindingPaths add any number of path to the TaskResourceBinding.
	// Deprecated: moved to internal/builder/v1alpha1
	TaskResourceBindingPaths = v1alpha1.TaskResourceBindingPaths

	// TaskRunOutputs sets inputs to the TaskRunSpec.
	// Any number of TaskRunOutputs modifier can be passed to transform it.
	// Deprecated: moved to internal/builder/v1alpha1
	TaskRunOutputs = v1alpha1.TaskRunOutputs

	// TaskRunOutputsResource adds a TaskResourceBinding, with specified name, to the TaskRunOutputs.
	// Any number of TaskResourceBinding modifier can be passed to modifiy it.
	// Deprecated: moved to internal/builder/v1alpha1
	TaskRunOutputsResource = v1alpha1.TaskRunOutputsResource

	// TaskRunWorkspaceEmptyDir adds a workspace binding to an empty dir volume source.
	// Deprecated: moved to internal/builder/v1alpha1
	TaskRunWorkspaceEmptyDir = v1alpha1.TaskRunWorkspaceEmptyDir

	// TaskRunWorkspacePVC adds a workspace binding to a PVC volume source.
	// Deprecated: moved to internal/builder/v1alpha1
	TaskRunWorkspacePVC = v1alpha1.TaskRunWorkspacePVC

	// TaskRunWorkspaceVolumeClaimTemplate adds a workspace binding with a VolumeClaimTemplate volume source.
	// Deprecated: moved to internal/builder/v1alpha1
	TaskRunWorkspaceVolumeClaimTemplate = v1alpha1.TaskRunWorkspaceVolumeClaimTemplate
)

Functions

This section is empty.

Types

type ClusterTaskOp

type ClusterTaskOp = v1alpha1.ClusterTaskOp

ClusterTaskOp is an operation which modify a ClusterTask struct. Deprecated: moved to internal/builder/v1alpha1

type ConditionOp added in v0.6.0

type ConditionOp = v1alpha1.ConditionOp

ConditionOp is an operation which modifies a Condition struct. Deprecated: moved to internal/builder/v1alpha1

type ConditionSpecOp added in v0.6.0

type ConditionSpecOp = v1alpha1.ConditionSpecOp

ConditionSpecOp is an operation which modifies a ConditionSpec struct. Deprecated: moved to internal/builder/v1alpha1

type ContainerOp

type ContainerOp = v1beta1.ContainerOp

ContainerOp is an operation which modifies a Container struct. Deprecated: moved to internal/builder/v1alpha1

type InputsOp

type InputsOp = v1alpha1.InputsOp

InputsOp is an operation which modify an Inputs struct. Deprecated: moved to internal/builder/v1alpha1

type OutputsOp

type OutputsOp = v1alpha1.OutputsOp

OutputsOp is an operation which modify an Outputs struct. Deprecated: moved to internal/builder/v1alpha1

type OwnerReferenceOp

type OwnerReferenceOp = v1beta1.OwnerReferenceOp

OwnerReferenceOp is an operation which modifies an OwnerReference struct. Deprecated: moved to internal/builder/v1alpha1

type ParamSpecOp added in v0.6.0

type ParamSpecOp = v1alpha1.ParamSpecOp

ParamSpecOp is an operation which modify a ParamSpec struct.

type PipelineOp

type PipelineOp = v1alpha1.PipelineOp

PipelineOp is an operation which modify a Pipeline struct. Deprecated: moved to internal/builder/v1alpha1

type PipelineResourceBindingOp

type PipelineResourceBindingOp = v1alpha1.PipelineResourceBindingOp

PipelineResourceBindingOp is an operation which modify a PipelineResourceBinding struct. Deprecated: moved to internal/builder/v1alpha1

type PipelineResourceOp

type PipelineResourceOp = v1alpha1.PipelineResourceOp

PipelineResourceOp is an operation which modify a PipelineResource struct. Deprecated: moved to internal/builder/v1alpha1

type PipelineResourceSpecOp

type PipelineResourceSpecOp = v1alpha1.PipelineResourceSpecOp

PipelineResourceSpecOp is an operation which modify a PipelineResourceSpec struct. Deprecated: moved to internal/builder/v1alpha1

type PipelineRunOp

type PipelineRunOp = v1alpha1.PipelineRunOp

PipelineRunOp is an operation which modify a PipelineRun struct. Deprecated: moved to internal/builder/v1alpha1

type PipelineRunSpecOp

type PipelineRunSpecOp = v1alpha1.PipelineRunSpecOp

PipelineRunSpecOp is an operation which modify a PipelineRunSpec struct. Deprecated: moved to internal/builder/v1alpha1

type PipelineRunStatusOp

type PipelineRunStatusOp = v1alpha1.PipelineRunStatusOp

PipelineRunStatusOp is an operation which modifies a PipelineRunStatus Deprecated: moved to internal/builder/v1alpha1

type PipelineSpecOp

type PipelineSpecOp = v1alpha1.PipelineSpecOp

PipelineSpecOp is an operation which modify a PipelineSpec struct. Deprecated: moved to internal/builder/v1alpha1

type PipelineTaskConditionOp added in v0.6.0

type PipelineTaskConditionOp = v1alpha1.PipelineTaskConditionOp

PipelineTaskConditionOp is an operation which modifies a PipelineTaskCondition Deprecated: moved to internal/builder/v1alpha1

type PipelineTaskInputResourceOp

type PipelineTaskInputResourceOp = v1alpha1.PipelineTaskInputResourceOp

PipelineTaskInputResourceOp is an operation which modifies a PipelineTaskInputResource. Deprecated: moved to internal/builder/v1alpha1

type PipelineTaskOp

type PipelineTaskOp = v1alpha1.PipelineTaskOp

PipelineTaskOp is an operation which modify a PipelineTask struct. Deprecated: moved to internal/builder/v1alpha1

type PodOp

type PodOp = v1beta1.PodOp

PodOp is an operation which modifies a Pod struct. Deprecated: moved to internal/builder/v1alpha1

type PodSpecOp

type PodSpecOp = v1beta1.PodSpecOp

PodSpecOp is an operation which modifies a PodSpec struct. Deprecated: moved to internal/builder/v1alpha1

type PodStatusOp added in v0.8.0

type PodStatusOp = v1beta1.PodStatusOp

PodStatusOp is an operation which modifies a PodStatus struct. Deprecated: moved to internal/builder/v1alpha1

type ResourceListOp added in v0.3.0

type ResourceListOp = v1beta1.ResourceListOp

ResourceListOp is an operation which modifies a ResourceList struct. Deprecated: moved to internal/builder/v1alpha1

type ResourceRequirementsOp added in v0.3.0

type ResourceRequirementsOp = v1beta1.ResourceRequirementsOp

ResourceRequirementsOp is an operation which modifies a ResourceRequirements struct. Deprecated: moved to internal/builder/v1alpha1

type SidecarStateOp added in v0.11.0

type SidecarStateOp = v1alpha1.SidecarStateOp

SidecarStateOp is an operation which modifies a SidecarState struct. Deprecated: moved to internal/builder/v1alpha1

type StepOp added in v0.6.0

type StepOp = v1alpha1.StepOp

StepOp is an operation which modifies a Container struct. Deprecated: moved to internal/builder/v1alpha1

type StepStateOp

type StepStateOp = v1alpha1.StepStateOp

StepStateOp is an operation which modifies a StepState struct. Deprecated: moved to internal/builder/v1alpha1

type TaskOp

type TaskOp = v1alpha1.TaskOp

TaskOp is an operation which modify a Task struct. Deprecated: moved to internal/builder/v1alpha1

type TaskRefOp

type TaskRefOp = v1alpha1.TaskRefOp

TaskRefOp is an operation which modify a TaskRef struct. Deprecated: moved to internal/builder/v1alpha1

type TaskResourceBindingOp

type TaskResourceBindingOp = v1alpha1.TaskResourceBindingOp

TaskResourceBindingOp is an operation which modify a TaskResourceBinding struct. Deprecated: moved to internal/builder/v1alpha1

type TaskResourceOp

type TaskResourceOp = v1alpha1.TaskResourceOp

TaskResourceOp is an operation which modify a TaskResource struct. Deprecated: moved to internal/builder/v1alpha1

type TaskResourcesOp added in v0.11.0

type TaskResourcesOp = v1alpha1.TaskResourcesOp

TaskResourcesOp is an operation which modify a TaskResources struct. Deprecated: moved to internal/builder/v1alpha1

type TaskResultOp added in v0.12.0

type TaskResultOp = v1alpha1.TaskResultOp

TaskResultOp is an operation which modifies there Deprecated: moved to internal/builder/v1alpha1

type TaskRunInputsOp

type TaskRunInputsOp = v1alpha1.TaskRunInputsOp

TaskRunInputsOp is an operation which modify a TaskRunInputs struct. Deprecated: moved to internal/builder/v1alpha1

type TaskRunOp

type TaskRunOp = v1alpha1.TaskRunOp

TaskRunOp is an operation which modify a TaskRun struct. Deprecated: moved to internal/builder/v1alpha1

type TaskRunOutputsOp

type TaskRunOutputsOp = v1alpha1.TaskRunOutputsOp

TaskRunOutputsOp is an operation which modify a TaskRunOutputs struct. Deprecated: moved to internal/builder/v1alpha1

type TaskRunResourcesOp added in v0.11.0

type TaskRunResourcesOp = v1alpha1.TaskRunResourcesOp

TaskRunResourcesOp is an operation which modify a TaskRunResources struct. Deprecated: moved to internal/builder/v1alpha1

type TaskRunSpecOp

type TaskRunSpecOp = v1alpha1.TaskRunSpecOp

TaskRunSpecOp is an operation which modify a TaskRunSpec struct. Deprecated: moved to internal/builder/v1alpha1

type TaskRunStatusOp

type TaskRunStatusOp = v1alpha1.TaskRunStatusOp

TaskRunStatusOp is an operation which modify a TaskRunStatus struct. Deprecated: moved to internal/builder/v1alpha1

type TaskSpecOp

type TaskSpecOp = v1alpha1.TaskSpecOp

TaskSpecOp is an operation which modify a TaskSpec struct. Deprecated: moved to internal/builder/v1alpha1

type VolumeMountOp

type VolumeMountOp = v1beta1.VolumeMountOp

VolumeMountOp is an operation which modifies a VolumeMount struct. Deprecated: moved to internal/builder/v1alpha1

type VolumeOp

type VolumeOp = v1alpha1.VolumeOp

VolumeOp is an operation which modify a Volume struct. Deprecated: moved to internal/builder/v1alpha1

Jump to

Keyboard shortcuts

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