validate

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Feb 3, 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 added in v0.6.0

func PipelineRefExists(spec v1alpha1.PipelineRunSpec) string

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

func PipelineResourceRefExists added in v0.6.0

func PipelineResourceRefExists(res v1alpha1.PipelineResourceBinding) string

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

func StepReasonExists added in v0.6.0

func StepReasonExists(state v1alpha1.StepState) string

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

func TaskRefExists

func TaskRefExists(spec v1alpha1.TaskRunSpec) string

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

func TaskResourceRefExists added in v0.6.0

func TaskResourceRefExists(res v1alpha1.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
JackTT - Gopher 🇻🇳