validate

package
v2.3.1 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2023 License: Apache-2.0 Imports: 9 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Validator

type Validator struct {
	// contains filtered or unexported fields
}

func NewValidator

func NewValidator(config []latest.Validator) (Validator, error)

NewValidator instantiates a Validator object.

func (Validator) GetDeclarativeValidators

func (v Validator) GetDeclarativeValidators() []kptfile.Function

GetDeclarativeValidators transforms and returns the skaffold validators defined in skaffold.yaml

func (Validator) Validate added in v2.2.0

func (v Validator) Validate(ctx context.Context, ml manifest.ManifestList) error

Jump to

Keyboard shortcuts

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