status

package
v0.59.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 18, 2024 License: Apache-2.0 Imports: 7 Imported by: 7

Documentation

Index

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL