Documentation ¶
Overview ¶
Package v1beta1 contains API Schema definitions for the pipeline v1beta1 API group +k8s:openapi-gen=true +k8s:deepcopy-gen=package,register +k8s:defaulter-gen=TypeMeta +groupName=tekton.dev
Index ¶
- Constants
- Variables
- func Kind(kind string) schema.GroupKind
- func Resource(resource string) schema.GroupResource
- func ValidateColocatedPipelineRun(cpr *ColocatedPipelineRun) error
- type ChildStatus
- type ColocatedPipelineRun
- func (in *ColocatedPipelineRun) DeepCopy() *ColocatedPipelineRun
- func (in *ColocatedPipelineRun) DeepCopyInto(out *ColocatedPipelineRun)
- func (in *ColocatedPipelineRun) DeepCopyObject() runtime.Object
- func (*ColocatedPipelineRun) GetGroupVersionKind() schema.GroupVersionKind
- func (cpr *ColocatedPipelineRun) IsDone() bool
- func (cpr *ColocatedPipelineRun) PipelineTimeout(ctx context.Context) time.Duration
- type ColocatedPipelineRunList
- type ColocatedPipelineRunReason
- type ColocatedPipelineRunSpec
- type ColocatedPipelineRunStatus
- func (in *ColocatedPipelineRunStatus) DeepCopy() *ColocatedPipelineRunStatus
- func (in *ColocatedPipelineRunStatus) DeepCopyInto(out *ColocatedPipelineRunStatus)
- func (cpr *ColocatedPipelineRunStatus) MarkFailed(reason, messageFormat string, messageA ...interface{})
- func (cpr *ColocatedPipelineRunStatus) SetCondition(newCond *apis.Condition)
- type ColocatedPipelineRunStatusFields
Constants ¶
const ColocatedPipelineRunLabelKey = GroupName + "/colocatedPipelineRun"
const ControllerName = "ColocatedPipelineRun"
const GroupName = "custom.tekton.dev"
Variables ¶
var (
// AddToScheme adds Build types to the scheme.
AddToScheme = schemeBuilder.AddToScheme
)
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1alpha1"}
SchemeGroupVersion is group version used to register these objects
Functions ¶
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
func ValidateColocatedPipelineRun ¶
func ValidateColocatedPipelineRun(cpr *ColocatedPipelineRun) error
Types ¶
type ChildStatus ¶
type ChildStatus struct { PipelineTaskName string `json:"pipelineTaskName,omitempty"` Spec *v1beta1.TaskSpec // TODO: custom tasks? StepStatuses []v1beta1.StepState // TODO: task status in addition to the step statuses // TaskRunResults are the list of results written out by the task's containers // +optional TaskRunResults []v1beta1.TaskRunResult `json:"taskResults,omitempty"` // TODO: custom tasks? }
func (*ChildStatus) DeepCopy ¶
func (in *ChildStatus) DeepCopy() *ChildStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ChildStatus.
func (*ChildStatus) DeepCopyInto ¶
func (in *ChildStatus) DeepCopyInto(out *ChildStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ColocatedPipelineRun ¶
type ColocatedPipelineRun struct { metav1.TypeMeta `json:",inline"` // +optional metav1.ObjectMeta `json:"metadata"` // Spec holds the desired state of the ColocatedPipelineRun from the client // +optional Spec ColocatedPipelineRunSpec `json:"spec"` Status ColocatedPipelineRunStatus `json:"status,omitempty"` }
ColocatedPipelineRun TODO +k8s:openapi-gen=true
func (*ColocatedPipelineRun) DeepCopy ¶
func (in *ColocatedPipelineRun) DeepCopy() *ColocatedPipelineRun
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ColocatedPipelineRun.
func (*ColocatedPipelineRun) DeepCopyInto ¶
func (in *ColocatedPipelineRun) DeepCopyInto(out *ColocatedPipelineRun)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ColocatedPipelineRun) DeepCopyObject ¶
func (in *ColocatedPipelineRun) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ColocatedPipelineRun) GetGroupVersionKind ¶
func (*ColocatedPipelineRun) GetGroupVersionKind() schema.GroupVersionKind
GetGroupVersionKind implements kmeta.OwnerRefable.
func (*ColocatedPipelineRun) IsDone ¶
func (cpr *ColocatedPipelineRun) IsDone() bool
func (*ColocatedPipelineRun) PipelineTimeout ¶
func (cpr *ColocatedPipelineRun) PipelineTimeout(ctx context.Context) time.Duration
type ColocatedPipelineRunList ¶
type ColocatedPipelineRunList struct { metav1.TypeMeta `json:",inline"` // +optional metav1.ListMeta `json:"metadata,omitempty"` Items []ColocatedPipelineRun `json:"items"` }
func (*ColocatedPipelineRunList) DeepCopy ¶
func (in *ColocatedPipelineRunList) DeepCopy() *ColocatedPipelineRunList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ColocatedPipelineRunList.
func (*ColocatedPipelineRunList) DeepCopyInto ¶
func (in *ColocatedPipelineRunList) DeepCopyInto(out *ColocatedPipelineRunList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ColocatedPipelineRunList) DeepCopyObject ¶
func (in *ColocatedPipelineRunList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ColocatedPipelineRunReason ¶
type ColocatedPipelineRunReason string
ColocatedPipelineRunReason represents a reason for the Run "Succeeded" condition
func (ColocatedPipelineRunReason) String ¶
func (t ColocatedPipelineRunReason) String() string
type ColocatedPipelineRunSpec ¶
type ColocatedPipelineRunSpec struct { // +optional PipelineRef *v1beta1.PipelineRef `json:"pipelineRef,omitempty"` // +optional PipelineSpec *v1beta1.PipelineSpec `json:"pipelineSpec,omitempty"` // +optional ServiceAccountName string `json:"serviceAccountName,omitempty"` // Time after which the ColocatedPipelineRun times out. // +optional Timeouts *v1beta1.TimeoutFields `json:"timeouts,omitempty"` // +optional Params []v1beta1.Param `json:"params,omitempty"` // +optional // +listType=atomic Workspaces []v1beta1.WorkspaceBinding `json:"workspaces,omitempty"` }
ColocatedPipelineRunSpec defines the desired state of the ColocatedPipelineRun
func (*ColocatedPipelineRunSpec) DeepCopy ¶
func (in *ColocatedPipelineRunSpec) DeepCopy() *ColocatedPipelineRunSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ColocatedPipelineRunSpec.
func (*ColocatedPipelineRunSpec) DeepCopyInto ¶
func (in *ColocatedPipelineRunSpec) DeepCopyInto(out *ColocatedPipelineRunSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ColocatedPipelineRunStatus ¶
type ColocatedPipelineRunStatus struct { duckv1.Status `json:",inline"` // ColocatedPipelineRunStatusFields inlines the status fields. ColocatedPipelineRunStatusFields `json:",inline"` }
ColocatedPipelineRunStatus defines the observed state of PipelineRun
func (*ColocatedPipelineRunStatus) DeepCopy ¶
func (in *ColocatedPipelineRunStatus) DeepCopy() *ColocatedPipelineRunStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ColocatedPipelineRunStatus.
func (*ColocatedPipelineRunStatus) DeepCopyInto ¶
func (in *ColocatedPipelineRunStatus) DeepCopyInto(out *ColocatedPipelineRunStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ColocatedPipelineRunStatus) MarkFailed ¶
func (cpr *ColocatedPipelineRunStatus) MarkFailed(reason, messageFormat string, messageA ...interface{})
MarkFailed changes the Succeeded condition to False with the provided reason and message.
func (*ColocatedPipelineRunStatus) SetCondition ¶
func (cpr *ColocatedPipelineRunStatus) SetCondition(newCond *apis.Condition)
SetCondition sets the condition, unsetting previous conditions with the same type as necessary.
type ColocatedPipelineRunStatusFields ¶
type ColocatedPipelineRunStatusFields struct { // StartTime is the time the ColocatedPipelineRun is actually started. // +optional StartTime *metav1.Time `json:"startTime,omitempty"` // CompletionTime is the time the ColocatedPipelineRun completed. // +optional CompletionTime *metav1.Time `json:"completionTime,omitempty"` // PipelineSpec contains the exact spec used to instantiate the ColocatedPipelineRun PipelineSpec *v1beta1.PipelineSpec `json:"pipelineSpec,omitempty"` // ChildStatuses ChildStatuses []ChildStatus `json:"childstatuses,omitempty"` }
ColocatedPipelineRunStatusFields contains the status stored in the ExtraFields of a Run that references a ColocatedPipelineRun.
func (*ColocatedPipelineRunStatusFields) DeepCopy ¶
func (in *ColocatedPipelineRunStatusFields) DeepCopy() *ColocatedPipelineRunStatusFields
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ColocatedPipelineRunStatusFields.
func (*ColocatedPipelineRunStatusFields) DeepCopyInto ¶
func (in *ColocatedPipelineRunStatusFields) DeepCopyInto(out *ColocatedPipelineRunStatusFields)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.