Documentation ¶
Index ¶
- Constants
- type Object
- type PipelineRunObjectV1
- func (pro *PipelineRunObjectV1) AppendTaskRun(tr *v1.TaskRun)
- func (pro *PipelineRunObjectV1) GetCompletitionTime() *time.Time
- func (pro *PipelineRunObjectV1) GetExecutedTasks() (tro []*TaskRunObjectV1)
- func (pro *PipelineRunObjectV1) GetGVK() string
- func (pro *PipelineRunObjectV1) GetKindName() string
- func (pro *PipelineRunObjectV1) GetLatestAnnotations(ctx context.Context, clientSet versioned.Interface) (map[string]string, error)
- func (pro *PipelineRunObjectV1) GetObject() interface{}
- func (pro *PipelineRunObjectV1) GetProvenance() *v1.Provenance
- func (pro *PipelineRunObjectV1) GetPullSecrets() []string
- func (pro *PipelineRunObjectV1) GetRemoteProvenance() *v1.Provenance
- func (pro *PipelineRunObjectV1) GetResults() []Result
- func (pro *PipelineRunObjectV1) GetServiceAccountName() string
- func (pro *PipelineRunObjectV1) GetStartTime() *time.Time
- func (pro *PipelineRunObjectV1) GetTaskRuns() []*v1.TaskRun
- func (pro *PipelineRunObjectV1) GetTaskRunsFromTask(taskName string) []*TaskRunObjectV1
- func (pro *PipelineRunObjectV1) IsRemote() bool
- func (pro *PipelineRunObjectV1) IsSuccessful() bool
- func (pro *PipelineRunObjectV1) Patch(ctx context.Context, clientSet versioned.Interface, patchBytes []byte) error
- func (pro *PipelineRunObjectV1) SupportsOCIArtifact() bool
- func (pro *PipelineRunObjectV1) SupportsPipelineRunArtifact() bool
- func (pro *PipelineRunObjectV1) SupportsTaskRunArtifact() bool
- type PipelineRunObjectV1Beta1
- func (pro *PipelineRunObjectV1Beta1) AppendTaskRun(tr *v1beta1.TaskRun)
- func (pro *PipelineRunObjectV1Beta1) GetCompletitionTime() *time.Time
- func (pro *PipelineRunObjectV1Beta1) GetGVK() string
- func (pro *PipelineRunObjectV1Beta1) GetKindName() string
- func (pro *PipelineRunObjectV1Beta1) GetLatestAnnotations(ctx context.Context, clientSet versioned.Interface) (map[string]string, error)
- func (pro *PipelineRunObjectV1Beta1) GetObject() interface{}
- func (pro *PipelineRunObjectV1Beta1) GetProvenance() *v1.Provenance
- func (pro *PipelineRunObjectV1Beta1) GetPullSecrets() []string
- func (pro *PipelineRunObjectV1Beta1) GetRemoteProvenance() *v1.Provenance
- func (pro *PipelineRunObjectV1Beta1) GetResults() []Result
- func (pro *PipelineRunObjectV1Beta1) GetServiceAccountName() string
- func (pro *PipelineRunObjectV1Beta1) GetStartTime() *time.Time
- func (pro *PipelineRunObjectV1Beta1) GetTaskRunsFromTask(taskName string) []*TaskRunObjectV1Beta1
- func (pro *PipelineRunObjectV1Beta1) IsRemote() bool
- func (pro *PipelineRunObjectV1Beta1) IsSuccessful() bool
- func (pro *PipelineRunObjectV1Beta1) Patch(ctx context.Context, clientSet versioned.Interface, patchBytes []byte) error
- func (pro *PipelineRunObjectV1Beta1) SupportsOCIArtifact() bool
- func (pro *PipelineRunObjectV1Beta1) SupportsPipelineRunArtifact() bool
- func (pro *PipelineRunObjectV1Beta1) SupportsTaskRunArtifact() bool
- type Result
- type TaskRunObjectV1
- func (tro *TaskRunObjectV1) GetCompletitionTime() *time.Time
- func (tro *TaskRunObjectV1) GetGVK() string
- func (tro *TaskRunObjectV1) GetKindName() string
- func (tro *TaskRunObjectV1) GetLatestAnnotations(ctx context.Context, clientSet versioned.Interface) (map[string]string, error)
- func (tro *TaskRunObjectV1) GetObject() interface{}
- func (tro *TaskRunObjectV1) GetProvenance() *v1.Provenance
- func (tro *TaskRunObjectV1) GetPullSecrets() []string
- func (tro *TaskRunObjectV1) GetRemoteProvenance() *v1.Provenance
- func (tro *TaskRunObjectV1) GetResults() []Result
- func (tro *TaskRunObjectV1) GetServiceAccountName() string
- func (tro *TaskRunObjectV1) GetSidecarImages() []string
- func (tro *TaskRunObjectV1) GetStartTime() *time.Time
- func (tro *TaskRunObjectV1) GetStepImages() []string
- func (tro *TaskRunObjectV1) GetStepResults() []Result
- func (tro *TaskRunObjectV1) IsRemote() bool
- func (tro *TaskRunObjectV1) Patch(ctx context.Context, clientSet versioned.Interface, patchBytes []byte) error
- func (tro *TaskRunObjectV1) SupportsOCIArtifact() bool
- func (tro *TaskRunObjectV1) SupportsPipelineRunArtifact() bool
- func (tro *TaskRunObjectV1) SupportsTaskRunArtifact() bool
- type TaskRunObjectV1Beta1
- func (tro *TaskRunObjectV1Beta1) GetCompletitionTime() *time.Time
- func (tro *TaskRunObjectV1Beta1) GetGVK() string
- func (tro *TaskRunObjectV1Beta1) GetKindName() string
- func (tro *TaskRunObjectV1Beta1) GetLatestAnnotations(ctx context.Context, clientSet versioned.Interface) (map[string]string, error)
- func (tro *TaskRunObjectV1Beta1) GetObject() interface{}
- func (tro *TaskRunObjectV1Beta1) GetProvenance() *v1.Provenance
- func (tro *TaskRunObjectV1Beta1) GetPullSecrets() []string
- func (tro *TaskRunObjectV1Beta1) GetRemoteProvenance() *v1.Provenance
- func (tro *TaskRunObjectV1Beta1) GetResults() []Result
- func (tro *TaskRunObjectV1Beta1) GetServiceAccountName() string
- func (tro *TaskRunObjectV1Beta1) GetSidecarImages() []string
- func (tro *TaskRunObjectV1Beta1) GetStartTime() *time.Time
- func (tro *TaskRunObjectV1Beta1) GetStepImages() []string
- func (tro *TaskRunObjectV1Beta1) IsRemote() bool
- func (tro *TaskRunObjectV1Beta1) Patch(ctx context.Context, clientSet versioned.Interface, patchBytes []byte) error
- func (tro *TaskRunObjectV1Beta1) SupportsOCIArtifact() bool
- func (tro *TaskRunObjectV1Beta1) SupportsPipelineRunArtifact() bool
- func (tro *TaskRunObjectV1Beta1) SupportsTaskRunArtifact() bool
- type TektonObject
Constants ¶
const PipelineTaskLabel = "tekton.dev/pipelineTask"
Label added to TaskRuns identifying the associated pipeline Task
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Object ¶
type Object interface { // Metadata associated to all Kubernetes objects metav1.Object // Runtime identifying data runtime.Object }
Object is used as a base object of all Kubernetes objects ref: https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.9.4/pkg/client#Object
type PipelineRunObjectV1 ¶ added in v0.20.0
type PipelineRunObjectV1 struct { // The base PipelineRun *v1.PipelineRun // contains filtered or unexported fields }
PipelineRunObjectV1 extends v1.PipelineRun with additional functions.
func NewPipelineRunObjectV1 ¶ added in v0.20.0
func NewPipelineRunObjectV1(pr *v1.PipelineRun) *PipelineRunObjectV1
func (*PipelineRunObjectV1) AppendTaskRun ¶ added in v0.20.0
func (pro *PipelineRunObjectV1) AppendTaskRun(tr *v1.TaskRun)
Append TaskRuns to this PipelineRun
func (*PipelineRunObjectV1) GetCompletitionTime ¶ added in v0.21.0
func (pro *PipelineRunObjectV1) GetCompletitionTime() *time.Time
GetCompletitionTime returns the time when the PipelineRun finished.
func (*PipelineRunObjectV1) GetExecutedTasks ¶ added in v0.21.0
func (pro *PipelineRunObjectV1) GetExecutedTasks() (tro []*TaskRunObjectV1)
GetExecutedTasks returns the tasks that were executed during the pipeline run.
func (*PipelineRunObjectV1) GetGVK ¶ added in v0.20.0
func (pro *PipelineRunObjectV1) GetGVK() string
Get the PipelineRun GroupVersionKind
func (*PipelineRunObjectV1) GetKindName ¶ added in v0.20.0
func (pro *PipelineRunObjectV1) GetKindName() string
func (*PipelineRunObjectV1) GetLatestAnnotations ¶ added in v0.20.0
func (pro *PipelineRunObjectV1) GetLatestAnnotations(ctx context.Context, clientSet versioned.Interface) (map[string]string, error)
Request the current annotations on the PipelineRun object
func (*PipelineRunObjectV1) GetObject ¶ added in v0.20.0
func (pro *PipelineRunObjectV1) GetObject() interface{}
Get the base PipelineRun
func (*PipelineRunObjectV1) GetProvenance ¶ added in v0.20.0
func (pro *PipelineRunObjectV1) GetProvenance() *v1.Provenance
func (*PipelineRunObjectV1) GetPullSecrets ¶ added in v0.20.0
func (pro *PipelineRunObjectV1) GetPullSecrets() []string
Get the imgPullSecrets from the pod template
func (*PipelineRunObjectV1) GetRemoteProvenance ¶ added in v0.20.0
func (pro *PipelineRunObjectV1) GetRemoteProvenance() *v1.Provenance
func (*PipelineRunObjectV1) GetResults ¶ added in v0.20.0
func (pro *PipelineRunObjectV1) GetResults() []Result
Get the resolved Pipelinerun results
func (*PipelineRunObjectV1) GetServiceAccountName ¶ added in v0.20.0
func (pro *PipelineRunObjectV1) GetServiceAccountName() string
Get the ServiceAccount declared in the PipelineRun
func (*PipelineRunObjectV1) GetStartTime ¶ added in v0.21.0
func (pro *PipelineRunObjectV1) GetStartTime() *time.Time
GetStartTime returns the time when the PipelineRun started.
func (*PipelineRunObjectV1) GetTaskRuns ¶ added in v0.20.0
func (pro *PipelineRunObjectV1) GetTaskRuns() []*v1.TaskRun
Append TaskRuns to this PipelineRun
func (*PipelineRunObjectV1) GetTaskRunsFromTask ¶ added in v0.22.0
func (pro *PipelineRunObjectV1) GetTaskRunsFromTask(taskName string) []*TaskRunObjectV1
Get the associated TaskRun via the Task name
func (*PipelineRunObjectV1) IsRemote ¶ added in v0.20.0
func (pro *PipelineRunObjectV1) IsRemote() bool
func (*PipelineRunObjectV1) IsSuccessful ¶ added in v0.20.0
func (pro *PipelineRunObjectV1) IsSuccessful() bool
Get the ServiceAccount declared in the PipelineRun
func (*PipelineRunObjectV1) Patch ¶ added in v0.20.0
func (pro *PipelineRunObjectV1) Patch(ctx context.Context, clientSet versioned.Interface, patchBytes []byte) error
Patch the original PipelineRun object
func (*PipelineRunObjectV1) SupportsOCIArtifact ¶ added in v0.20.0
func (pro *PipelineRunObjectV1) SupportsOCIArtifact() bool
func (*PipelineRunObjectV1) SupportsPipelineRunArtifact ¶ added in v0.20.0
func (pro *PipelineRunObjectV1) SupportsPipelineRunArtifact() bool
func (*PipelineRunObjectV1) SupportsTaskRunArtifact ¶ added in v0.20.0
func (pro *PipelineRunObjectV1) SupportsTaskRunArtifact() bool
type PipelineRunObjectV1Beta1 ¶ added in v0.20.0
type PipelineRunObjectV1Beta1 struct { // The base PipelineRun *v1beta1.PipelineRun // contains filtered or unexported fields }
PipelineRunObjectV1Beta1 extends v1.PipelineRun with additional functions.
func NewPipelineRunObjectV1Beta1 ¶ added in v0.20.0
func NewPipelineRunObjectV1Beta1(pr *v1beta1.PipelineRun) *PipelineRunObjectV1Beta1
func (*PipelineRunObjectV1Beta1) AppendTaskRun ¶ added in v0.20.0
func (pro *PipelineRunObjectV1Beta1) AppendTaskRun(tr *v1beta1.TaskRun)
Append TaskRuns to this PipelineRun
func (*PipelineRunObjectV1Beta1) GetCompletitionTime ¶ added in v0.21.0
func (pro *PipelineRunObjectV1Beta1) GetCompletitionTime() *time.Time
GetCompletitionTime returns the time when the PipelineRun finished.
func (*PipelineRunObjectV1Beta1) GetGVK ¶ added in v0.20.0
func (pro *PipelineRunObjectV1Beta1) GetGVK() string
Get the PipelineRun GroupVersionKind
func (*PipelineRunObjectV1Beta1) GetKindName ¶ added in v0.20.0
func (pro *PipelineRunObjectV1Beta1) GetKindName() string
func (*PipelineRunObjectV1Beta1) GetLatestAnnotations ¶ added in v0.20.0
func (pro *PipelineRunObjectV1Beta1) GetLatestAnnotations(ctx context.Context, clientSet versioned.Interface) (map[string]string, error)
Request the current annotations on the PipelineRun object
func (*PipelineRunObjectV1Beta1) GetObject ¶ added in v0.20.0
func (pro *PipelineRunObjectV1Beta1) GetObject() interface{}
Get the base PipelineRun
func (*PipelineRunObjectV1Beta1) GetProvenance ¶ added in v0.20.0
func (pro *PipelineRunObjectV1Beta1) GetProvenance() *v1.Provenance
func (*PipelineRunObjectV1Beta1) GetPullSecrets ¶ added in v0.20.0
func (pro *PipelineRunObjectV1Beta1) GetPullSecrets() []string
Get the imgPullSecrets from the pod template
func (*PipelineRunObjectV1Beta1) GetRemoteProvenance ¶ added in v0.20.0
func (pro *PipelineRunObjectV1Beta1) GetRemoteProvenance() *v1.Provenance
func (*PipelineRunObjectV1Beta1) GetResults ¶ added in v0.20.0
func (pro *PipelineRunObjectV1Beta1) GetResults() []Result
Get the resolved Pipelinerun results
func (*PipelineRunObjectV1Beta1) GetServiceAccountName ¶ added in v0.20.0
func (pro *PipelineRunObjectV1Beta1) GetServiceAccountName() string
Get the ServiceAccount declared in the PipelineRun
func (*PipelineRunObjectV1Beta1) GetStartTime ¶ added in v0.21.0
func (pro *PipelineRunObjectV1Beta1) GetStartTime() *time.Time
GetStartTime returns the time when the PipelineRun started.
func (*PipelineRunObjectV1Beta1) GetTaskRunsFromTask ¶ added in v0.22.0
func (pro *PipelineRunObjectV1Beta1) GetTaskRunsFromTask(taskName string) []*TaskRunObjectV1Beta1
Get the associated TaskRun via the Task name
func (*PipelineRunObjectV1Beta1) IsRemote ¶ added in v0.20.0
func (pro *PipelineRunObjectV1Beta1) IsRemote() bool
func (*PipelineRunObjectV1Beta1) IsSuccessful ¶ added in v0.20.0
func (pro *PipelineRunObjectV1Beta1) IsSuccessful() bool
Get the ServiceAccount declared in the PipelineRun
func (*PipelineRunObjectV1Beta1) Patch ¶ added in v0.20.0
func (pro *PipelineRunObjectV1Beta1) Patch(ctx context.Context, clientSet versioned.Interface, patchBytes []byte) error
Patch the original PipelineRun object
func (*PipelineRunObjectV1Beta1) SupportsOCIArtifact ¶ added in v0.20.0
func (pro *PipelineRunObjectV1Beta1) SupportsOCIArtifact() bool
func (*PipelineRunObjectV1Beta1) SupportsPipelineRunArtifact ¶ added in v0.20.0
func (pro *PipelineRunObjectV1Beta1) SupportsPipelineRunArtifact() bool
func (*PipelineRunObjectV1Beta1) SupportsTaskRunArtifact ¶ added in v0.20.0
func (pro *PipelineRunObjectV1Beta1) SupportsTaskRunArtifact() bool
type Result ¶
type Result struct { Name string Type v1.ResultsType Value v1.ParamValue }
Result is a generic key value store containing the results of Tekton operations. (eg. PipelineRun and TaskRun results)
type TaskRunObjectV1 ¶ added in v0.20.0
TaskRunObjectV1 extends v1.TaskRun with additional functions.
func NewTaskRunObjectV1 ¶ added in v0.20.0
func NewTaskRunObjectV1(tr *v1.TaskRun) *TaskRunObjectV1
func (*TaskRunObjectV1) GetCompletitionTime ¶ added in v0.21.0
func (tro *TaskRunObjectV1) GetCompletitionTime() *time.Time
GetCompletitionTime returns the time when the TaskRun finished.
func (*TaskRunObjectV1) GetGVK ¶ added in v0.20.0
func (tro *TaskRunObjectV1) GetGVK() string
Get the TaskRun GroupVersionKind
func (*TaskRunObjectV1) GetKindName ¶ added in v0.20.0
func (tro *TaskRunObjectV1) GetKindName() string
func (*TaskRunObjectV1) GetLatestAnnotations ¶ added in v0.20.0
func (tro *TaskRunObjectV1) GetLatestAnnotations(ctx context.Context, clientSet versioned.Interface) (map[string]string, error)
Get the latest annotations on the TaskRun
func (*TaskRunObjectV1) GetObject ¶ added in v0.20.0
func (tro *TaskRunObjectV1) GetObject() interface{}
Get the base TaskRun object
func (*TaskRunObjectV1) GetProvenance ¶ added in v0.20.0
func (tro *TaskRunObjectV1) GetProvenance() *v1.Provenance
func (*TaskRunObjectV1) GetPullSecrets ¶ added in v0.20.0
func (tro *TaskRunObjectV1) GetPullSecrets() []string
Get the imgPullSecrets from the pod template
func (*TaskRunObjectV1) GetRemoteProvenance ¶ added in v0.20.0
func (tro *TaskRunObjectV1) GetRemoteProvenance() *v1.Provenance
func (*TaskRunObjectV1) GetResults ¶ added in v0.20.0
func (tro *TaskRunObjectV1) GetResults() []Result
Get the TaskRun results
func (*TaskRunObjectV1) GetServiceAccountName ¶ added in v0.20.0
func (tro *TaskRunObjectV1) GetServiceAccountName() string
Get the ServiceAccount declared in the TaskRun
func (*TaskRunObjectV1) GetSidecarImages ¶ added in v0.20.0
func (tro *TaskRunObjectV1) GetSidecarImages() []string
func (*TaskRunObjectV1) GetStartTime ¶ added in v0.21.0
func (tro *TaskRunObjectV1) GetStartTime() *time.Time
GetStartTime returns the time when the TaskRun started.
func (*TaskRunObjectV1) GetStepImages ¶ added in v0.20.0
func (tro *TaskRunObjectV1) GetStepImages() []string
func (*TaskRunObjectV1) GetStepResults ¶ added in v0.21.0
func (tro *TaskRunObjectV1) GetStepResults() []Result
GetStepResults returns all the results from associated StepActions.
func (*TaskRunObjectV1) IsRemote ¶ added in v0.20.0
func (tro *TaskRunObjectV1) IsRemote() bool
func (*TaskRunObjectV1) Patch ¶ added in v0.20.0
func (tro *TaskRunObjectV1) Patch(ctx context.Context, clientSet versioned.Interface, patchBytes []byte) error
Patch the original TaskRun object
func (*TaskRunObjectV1) SupportsOCIArtifact ¶ added in v0.20.0
func (tro *TaskRunObjectV1) SupportsOCIArtifact() bool
func (*TaskRunObjectV1) SupportsPipelineRunArtifact ¶ added in v0.20.0
func (tro *TaskRunObjectV1) SupportsPipelineRunArtifact() bool
func (*TaskRunObjectV1) SupportsTaskRunArtifact ¶ added in v0.20.0
func (tro *TaskRunObjectV1) SupportsTaskRunArtifact() bool
type TaskRunObjectV1Beta1 ¶ added in v0.20.0
TaskRunObjectV1Beta1 extends v1beta1.TaskRun with additional functions.
func NewTaskRunObjectV1Beta1 ¶ added in v0.20.0
func NewTaskRunObjectV1Beta1(tr *v1beta1.TaskRun) *TaskRunObjectV1Beta1
func (*TaskRunObjectV1Beta1) GetCompletitionTime ¶ added in v0.21.0
func (tro *TaskRunObjectV1Beta1) GetCompletitionTime() *time.Time
GetCompletitionTime returns the time when the TaskRun finished.
func (*TaskRunObjectV1Beta1) GetGVK ¶ added in v0.20.0
func (tro *TaskRunObjectV1Beta1) GetGVK() string
Get the TaskRun GroupVersionKind
func (*TaskRunObjectV1Beta1) GetKindName ¶ added in v0.20.0
func (tro *TaskRunObjectV1Beta1) GetKindName() string
func (*TaskRunObjectV1Beta1) GetLatestAnnotations ¶ added in v0.20.0
func (tro *TaskRunObjectV1Beta1) GetLatestAnnotations(ctx context.Context, clientSet versioned.Interface) (map[string]string, error)
Get the latest annotations on the TaskRun
func (*TaskRunObjectV1Beta1) GetObject ¶ added in v0.20.0
func (tro *TaskRunObjectV1Beta1) GetObject() interface{}
Get the base TaskRun object
func (*TaskRunObjectV1Beta1) GetProvenance ¶ added in v0.20.0
func (tro *TaskRunObjectV1Beta1) GetProvenance() *v1.Provenance
func (*TaskRunObjectV1Beta1) GetPullSecrets ¶ added in v0.20.0
func (tro *TaskRunObjectV1Beta1) GetPullSecrets() []string
Get the imgPullSecrets from the pod template
func (*TaskRunObjectV1Beta1) GetRemoteProvenance ¶ added in v0.20.0
func (tro *TaskRunObjectV1Beta1) GetRemoteProvenance() *v1.Provenance
func (*TaskRunObjectV1Beta1) GetResults ¶ added in v0.20.0
func (tro *TaskRunObjectV1Beta1) GetResults() []Result
Get the TaskRun results
func (*TaskRunObjectV1Beta1) GetServiceAccountName ¶ added in v0.20.0
func (tro *TaskRunObjectV1Beta1) GetServiceAccountName() string
Get the ServiceAccount declared in the TaskRun
func (*TaskRunObjectV1Beta1) GetSidecarImages ¶ added in v0.20.0
func (tro *TaskRunObjectV1Beta1) GetSidecarImages() []string
func (*TaskRunObjectV1Beta1) GetStartTime ¶ added in v0.21.0
func (tro *TaskRunObjectV1Beta1) GetStartTime() *time.Time
GetStartTime returns the time when the TaskRun started.
func (*TaskRunObjectV1Beta1) GetStepImages ¶ added in v0.20.0
func (tro *TaskRunObjectV1Beta1) GetStepImages() []string
func (*TaskRunObjectV1Beta1) IsRemote ¶ added in v0.20.0
func (tro *TaskRunObjectV1Beta1) IsRemote() bool
func (*TaskRunObjectV1Beta1) Patch ¶ added in v0.20.0
func (tro *TaskRunObjectV1Beta1) Patch(ctx context.Context, clientSet versioned.Interface, patchBytes []byte) error
Patch the original TaskRun object
func (*TaskRunObjectV1Beta1) SupportsOCIArtifact ¶ added in v0.20.0
func (tro *TaskRunObjectV1Beta1) SupportsOCIArtifact() bool
func (*TaskRunObjectV1Beta1) SupportsPipelineRunArtifact ¶ added in v0.20.0
func (tro *TaskRunObjectV1Beta1) SupportsPipelineRunArtifact() bool
func (*TaskRunObjectV1Beta1) SupportsTaskRunArtifact ¶ added in v0.20.0
func (tro *TaskRunObjectV1Beta1) SupportsTaskRunArtifact() bool
type TektonObject ¶
type TektonObject interface { Object GetGVK() string GetKindName() string GetObject() interface{} GetLatestAnnotations(ctx context.Context, clientSet versioned.Interface) (map[string]string, error) Patch(ctx context.Context, clientSet versioned.Interface, patchBytes []byte) error GetResults() []Result GetProvenance() *v1.Provenance GetServiceAccountName() string GetPullSecrets() []string IsDone() bool IsSuccessful() bool SupportsTaskRunArtifact() bool SupportsPipelineRunArtifact() bool SupportsOCIArtifact() bool GetRemoteProvenance() *v1.Provenance IsRemote() bool GetStartTime() *time.Time GetCompletitionTime() *time.Time }
Tekton object is an extended Kubernetes object with operations specific to Tekton objects.
func NewTektonObject ¶
func NewTektonObject(i interface{}) (TektonObject, error)