validate

package
Version: v2.2.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2018 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LintWorkflowDir

func LintWorkflowDir(dirPath string, strict bool) error

LintWorkflowDir validates all workflow manifests in a directory. Ignores non-workflow manifests

func LintWorkflowFile

func LintWorkflowFile(filePath string, strict bool) error

LintWorkflowFile lints a json file, or multiple workflow manifest in a single yaml file. Ignores non-workflow manifests

func ValidateWorkflow

func ValidateWorkflow(wf *wfv1.Workflow, lint ...bool) error

ValidateWorkflow accepts a workflow and performs validation against it. If lint is specified as true, will skip some validations which is permissible during linting but not submission

Types

This section is empty.

Jump to

Keyboard shortcuts

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