# Functions
No description provided by the author
Take an input string, and output an array of strings related to possible arrayReplacements.
No description provided by the author
No description provided by the author
ApplyTaskModifier applies a modifier to the task by appending and prepending steps and volumes.
BuildDAG returns a valid pipeline DAG.
CreateDirStep returns a container step to create a dir.
GetPvcMount returns a mounting of the volume with the mount path /pvc.
HasDefaultConfigurationName checks to see whether the given context has been marked as having a default configurationName.
InputResourcePath returns the path where the given input resource will get mounted in a Pod.
IsUpgradeViaDefaulting checks whether we should be "defaulting" from v1alpha1 pre-defaults to the v1alpha1 post-defaults subset.
Kind takes an unqualified kind and returns back a Group qualified GroupKind.
MergeStepsWithStepTemplate takes a possibly nil container template and a list of steps, merging each of the steps with the container template, if it's not nil, and returning the resulting list.
creates a new BuildGCS resource to pass to a Task.
NewCloudEventResource creates a new CloudEvent resource to pass to a Task.
NewClusterResource create a new k8s cluster resource to pass to a pipeline task.
No description provided by the author
NewGCSResource creates a new GCS resource to pass to a Task.
NewGitResource creates a new git resource to pass to a Task.
NewImageResource creates a new ImageResource from a PipelineResource.
NewPullRequestResource create a new git resource to pass to a Task.
No description provided by the author
OutputResourcePath returns the path to the output resouce in a Pod.
Resource takes an unqualified resource and returns a Group qualified GroupResource.
ResourceFromType returns a PipelineResourceInterface from a PipelineResource's type.
No description provided by the author
Verifies that variables matching the relevant string expressions are completely isolated if present.
Verifies that variables matching the relevant string expressions do not reference any of the names present in vars.
No description provided by the author
WithDefaultConfigurationName notes on the context for nested validation that there is a default configuration name, which affects how an empty configurationName is validated.
WithUpgradeViaDefaulting notes on the context that we want defaulting to rewrite from v1alpha1 pre-defaults to v1alpha1 post-defaults.
# Constants
PipelineResourceTypeGit indicates that this source is a GitHub repo.
PipelineResourceTypeStorage indicates that this source is a storage blob resource.
BucketConfigName is the name of the configmap containing all customizations for the storage bucket.
BucketLocationKey is the name of the configmap entry that specifies loction of the bucket.
BucketServiceAccountFieldName is the name of the configmap entry that specifies the field name that should be used for the service account.
BucketServiceAccountSecretKey is the name of the configmap entry that specifies the secret key that will have a value with the service account json with access to the bucket.
BucketServiceAccountSecretName is the name of the configmap entry that specifies the name of the secret that will provide the servie account with bucket access.
CloudEventConditionFailed means that there was one or more attempts to send the event, and none was successful so far.
CloudEventConditionSent means that the event was sent successfully.
CloudEventConditionUnknown means that the condition for the event to be triggered was not met yet, or we don't know the state yet.
ClusterTaskKind indicates that task type has a cluster scope.
GCSZipArchive indicates that the resource should be fetched and extracted as a .zip file.
GCSManifest indicates that resource should be fetched using a manifest-based protocol which enables incremental source upload.
GCSTarGzArchive indicates that the resource should be fetched and extracted as a .tar.gz file.
GCSZipArchive indicates that the resource should be fetched and extracted as a .zip file.
NamespacedTaskKind indicates that the task type has a namepace scope.
Valid ParamTypes:.
Valid ParamTypes:.
No description provided by the author
PipelineResourceTypeCloudEvent indicates that this source is a cloud event URI.
PipelineResourceTypeCluster indicates that this source is a k8s cluster Image.
PipelineResourceTypeGCS indicates that resource source is a GCS blob/directory.
PipelineResourceTypeGit indicates that this source is a GitHub repo.
PipelineResourceTypeImage indicates that this source is a docker Image.
PipelineResourceTypePullRequest indicates that this source is a SCM Pull Request.
PipelineResourceTypeStorage indicates that this source is a storage blob resource.
PipelineRunSpecStatusCancelled indicates that the user wants to cancel the task, if not already cancelled or terminated.
TaskOutputImageDefaultDir is the default directory for output image resource,.
TaskRunSpecStatusCancelled indicates that the user wants to cancel the task, if not already cancelled or terminated.
No description provided by the author
# Variables
AddToScheme adds Build types to the scheme.
AllParamTypes can be used for ParamType validation.
AllResourceTypes can be used for validation to check if a provided Resource type is one of the known types.
SchemeGroupVersion is group version used to register these objects.
# Structs
ArrayOrString is a type that can hold a single string or string array.
ArtifactBucket contains the Storage bucket configuration defined in the Bucket config map.
ArtifactPVC represents the pvc created by the pipelinerun for artifacts temporary storage.
No description provided by the author
CloudEventDelivery is the target of a cloud event along with the state of delivery.
CloudEventDeliveryState reports the state of a cloud event to be sent.
CloudEventResource is an event sink to which events are delivered when a TaskRun has finished.
ClusterResource represents a cluster configuration (kubeconfig) that can be accessed by tasks in the pipeline.
ClusterTask is a Task with a cluster scope.
ClusterTaskList contains a list of ClusterTask.
Condition declares a step that is used to gate the execution of a Task in a Pipeline.
ConditionCheckStatus defines the observed state of ConditionCheck.
ConditionList contains a list of Conditions.
ConditionSpec defines the desired state of the Condition.
DAG represents the Pipeline DAG.
DeprecatedPipelineRunSpecServiceAccount can be used to configure specific ServiceAccount for a concrete Task Deprecated: Use pipelineRunSpecServiceAccountName instead.
GCSResource is a GCS endpoint from which to get artifacts which is required by a Build/Task for context (e.g.
GitResource is an endpoint from which to get data which is required by a Build/Task for context (e.g.
ImageResource defines an endpoint where artifacts can be stored, such as images.
Inputs are the requirements that a task needs to run a Build.
InternalTaskModifier implements TaskModifier for resources that are built-in to Tekton Pipelines.
Node represents a Task in a pipeline.
Outputs allow a task to declare what data the Build/Task will be producing, i.e.
Param declares an ArrayOrString to use for the parameter called name.
ParamSpec defines arbitrary parameters needed beyond typed inputs (such as resources).
Pipeline describes a list of Tasks to execute.
PipelineConditionResource allows a Pipeline to declare how its DeclaredPipelineResources should be provided to a Condition as its inputs.
PipelineDeclaredResource is used by a Pipeline to declare the types of the PipelineResources that it will required to run and names which can be used to refer to these PipelineResources in PipelineTaskResourceBindings.
PipelineList contains a list of Pipeline.
PipelineRef can be used to refer to a specific instance of a Pipeline.
PipelineResource describes a resource that is an input to or output from a Task.
PipelineResourceBinding connects a reference to an instance of a PipelineResource with a PipelineResource dependency that the Pipeline has declared.
PipelineResourceList contains a list of PipelineResources.
PipelineResourceRef can be used to refer to a specific instance of a Resource.
PipelineResourceResult used to export the image name and digest as json.
PipelineResourceSpec defines an individual resources used in the pipeline.
PipelineResourceStatus does not contain anything because Resources on their own do not have a status, they just hold data which is later used by PipelineRuns and TaskRuns.
PipelineRun represents a single execution of a Pipeline.
No description provided by the author
PipelineRunList contains a list of PipelineRun.
PipelineRunSpec defines the desired state of PipelineRun.
PipelineRunSpecServiceAccountName can be used to configure specific ServiceAccountName for a concrete Task.
PipelineRunStatus defines the observed state of PipelineRun.
PipelineRunTaskRunStatus contains the name of the PipelineTask for this TaskRun and the TaskRun's Status.
PipelineSpec defines the desired state of Pipeline.
PipelineStatus does not contain anything because Pipelines on their own do not have a status, they just hold data which is later used by a PipelineRun.
PipelineTask defines a task in a Pipeline, passing inputs from both Params and from the output of previous tasks.
PipelineTaskCondition allows a PipelineTask to declare a Condition to be evaluated before the Task is run.
PipelineTaskInputResource maps the name of a declared PipelineResource input dependency in a Task to the resource in the Pipeline's DeclaredPipelineResources that should be used.
PipelineTaskOutputResource maps the name of a declared PipelineResource output dependency in a Task to the resource in the Pipeline's DeclaredPipelineResources that should be used.
PipelineTaskParam is used to provide arbitrary string parameters to a Task.
PipelineTaskResources allows a Pipeline to declare how its DeclaredPipelineResources should be provided to a Task as its inputs and outputs.
PipelineTaskRun reports the results of running a step in the Task.
PodTemplate holds pod specific configuration.
PullRequestResource is an endpoint from which to get data which is required by a Build/Task for context.
ResourceDeclaration defines an input or output PipelineResource declared as a requirement by another type such as a Task or Condition.
ResourceParam declares a string value to use for the parameter called Name, and is used in the specific context of PipelineResources.
SecretParam indicates which secret can be used to populate a field of the resource.
Step embeds the Container type, which allows it to include fields not provided by Container.
StepState reports the results of running a step in the Task.
Task represents a collection of sequential steps that are run as part of a Pipeline using a set of inputs and producing a set of outputs.
TaskList contains a list of Task.
TaskRef can be used to refer to a specific instance of a task.
TaskResource defines an input or output Resource declared as a requirement by a Task.
TaskResourceBinding points to the PipelineResource that will be used for the Task input or output called Name.
TaskRun represents a single execution of a Task.
TaskRunInputs holds the input values that this task was invoked with.
TaskRunList contains a list of TaskRun.
TaskRunOutputs holds the output values that this task was invoked with.
TaskRunSpec defines the desired state of TaskRun.
TaskRunStatus defines the observed state of TaskRun.
TaskSpec defines the desired state of Task.
TestResult allows a task to specify the location where test logs can be found and what format they will be in.
# Interfaces
PipelineInterface is implemented by Pipeline and ClusterPipeline.
PipelineResourceInterface interface to be implemented by different PipelineResource types.
PipelineResourceInterface interface to be implemented by different PipelineResource types.
TaskInterface is implemented by Task and ClusterTask.
TaskModifier is an interface to be implemented by different PipelineResources.
# Type aliases
CloudEventCondition is a string that represents the condition of the event.
ConditionCheck represents a single evaluation of a Condition step.
GCSArtifactType defines a type of GCS resource.
ParamType indicates the type of an input parameter; Used to distinguish between a single string and an array of strings.
No description provided by the author
PipelineResourceType represents the type of endpoint the pipelineResource is, so that the controller will know this pipelineResource should be fetched and optionally what additional metatdata should be provided for it.
PipelineRunSpecStatus defines the pipelinerun spec status the user can provide.
TaskKind defines the type of Task used by the pipeline.
TaskRunSpecStatus defines the taskrun spec status the user can provide.