Documentation ¶
Index ¶
- func GetFullPipelineTaskStatuses(ctx context.Context, client versioned.Interface, ns string, ...) (map[string]*v1beta1.PipelineRunTaskRunStatus, ...)
- func GetRunStatusForPipelineTask(ctx context.Context, client versioned.Interface, ns string, ...) (*v1beta1.CustomRunStatus, error)
- func GetTaskRunStatusForPipelineTask(ctx context.Context, client versioned.Interface, ns string, ...) (*v1beta1.TaskRunStatus, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetFullPipelineTaskStatuses ¶ added in v0.36.0
func GetFullPipelineTaskStatuses(ctx context.Context, client versioned.Interface, ns string, pr *v1beta1.PipelineRun) (map[string]*v1beta1.PipelineRunTaskRunStatus, map[string]*v1beta1.PipelineRunRunStatus, error)
GetFullPipelineTaskStatuses returns populated TaskRun and Run status maps for a PipelineRun from its ChildReferences. If the PipelineRun has no ChildReferences, its .Status.TaskRuns and .Status.Runs will be returned instead.
func GetRunStatusForPipelineTask ¶ added in v0.36.0
func GetRunStatusForPipelineTask(ctx context.Context, client versioned.Interface, ns string, childRef v1beta1.ChildStatusReference) (*v1beta1.CustomRunStatus, error)
GetRunStatusForPipelineTask takes a minimal embedded status child reference and returns the actual CustomRunStatus for the PipelineTask. It returns an error if the child reference's kind isn't CustomRun.
func GetTaskRunStatusForPipelineTask ¶ added in v0.36.0
func GetTaskRunStatusForPipelineTask(ctx context.Context, client versioned.Interface, ns string, childRef v1beta1.ChildStatusReference) (*v1beta1.TaskRunStatus, error)
GetTaskRunStatusForPipelineTask takes a minimal embedded status child reference and returns the actual TaskRunStatus for the PipelineTask. It returns an error if the child reference's kind isn't TaskRun.
Types ¶
This section is empty.