validate

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NamespaceExists

func NamespaceExists(p params) error

Check if namespace exists. Returns error if namespace specified with -n doesn't exist or if user doesn't have permissions to view.

func PipelineRefExists

func PipelineRefExists(spec v1beta1.PipelineRunSpec) string

Check if PipelineRef exists on a PipelineRunSpec. Returns empty string if not present.

func PipelineResourceRefExists

func PipelineResourceRefExists(res v1beta1.PipelineResourceBinding) string

Check if PipelineResourceRef exists on a PipelineResourceBinding. Returns empty string if not present.

func SidecarReasonExists

func SidecarReasonExists(state v1beta1.SidecarState) string

Check if sidecar is in waiting, running, or terminated state by checking SidecarState of the sidecar.

func StepReasonExists

func StepReasonExists(state v1beta1.StepState) string

Check if step is in waiting, running, or terminated state by checking StepState of the step.

func TaskRefExists

func TaskRefExists(spec v1beta1.TaskRunSpec) string

Check if TaskRef exists on a TaskRunSpec. Returns empty string if not present.

func TaskResourceRefExists

func TaskResourceRefExists(res v1beta1.TaskResourceBinding) string

Check if TaskResourceRef exists on a TaskResourceBinding. Returns empty string if not present.

Types

This section is empty.

Jump to

Keyboard shortcuts

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