Documentation ¶
Index ¶
- func GetPipelineTaskStatuses(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 GetPipelineTaskStatuses ¶ added in v0.45.0
func GetPipelineTaskStatuses(ctx context.Context, client versioned.Interface, ns string, pr *v1beta1.PipelineRun) (map[string]*v1beta1.PipelineRunTaskRunStatus, map[string]*v1beta1.PipelineRunRunStatus, error)
GetPipelineTaskStatuses returns populated TaskRun and Run status maps for a PipelineRun from its ChildReferences. If the PipelineRun has no ChildReferences, nothing will be populated.
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 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 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.
Click to show internal directories.
Click to hide internal directories.