Documentation ¶
Index ¶
- func GetCustomRunStatusForPipelineTask(ctx context.Context, client versioned.Interface, ns string, ...) (*v1beta1.CustomRunStatus, error)
- func GetPipelineTaskStatuses(ctx context.Context, client versioned.Interface, ns string, pr *v1.PipelineRun) (map[string]*v1.PipelineRunTaskRunStatus, map[string]*v1.PipelineRunRunStatus, ...)
- func GetTaskRunStatusForPipelineTask(ctx context.Context, client versioned.Interface, ns string, ...) (*v1.TaskRunStatus, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetCustomRunStatusForPipelineTask ¶ added in v0.47.0
func GetCustomRunStatusForPipelineTask(ctx context.Context, client versioned.Interface, ns string, childRef v1.ChildStatusReference) (*v1beta1.CustomRunStatus, error)
GetCustomRunStatusForPipelineTask 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 GetPipelineTaskStatuses ¶ added in v0.45.0
func GetPipelineTaskStatuses(ctx context.Context, client versioned.Interface, ns string, pr *v1.PipelineRun) (map[string]*v1.PipelineRunTaskRunStatus, map[string]*v1.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 GetTaskRunStatusForPipelineTask ¶ added in v0.36.0
func GetTaskRunStatusForPipelineTask(ctx context.Context, client versioned.Interface, ns string, childRef v1.ChildStatusReference) (*v1.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.