validation

package
v1.35.1-aplha Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2021 License: Apache-2.0 Imports: 22 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	DefaultConfig = Options{CheckDeploySource: true}
)

Functions

func Process added in v0.28.0

func Process(configs parser.SkaffoldConfigSet, validateConfig Options) error

Process checks if the Skaffold pipeline is valid and returns all encountered errors as a concatenated string

func ProcessWithRunContext added in v1.18.0

func ProcessWithRunContext(ctx context.Context, runCtx *runcontext.RunContext) error

ProcessWithRunContext checks if the Skaffold pipeline is valid when a RunContext is required. It returns all encountered errors as a concatenated string.

Types

type Options added in v1.27.0

type Options struct {
	CheckDeploySource bool
}

func GetValidationOpts added in v1.27.0

func GetValidationOpts(opts config.SkaffoldOptions) Options

Jump to

Keyboard shortcuts

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