validation

package
v0.0.0-...-4672b65 Latest Latest
Warning

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

Go to latest
Published: May 28, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Result

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

func NewErrorResult

func NewErrorResult(err error) Result

func NewValidationResult

func NewValidationResult(errs []error) Result

func Validate

func Validate(objClient client.Client, wavefront *wf.Wavefront) Result

func ValidateResources

func ValidateResources(resources *wf.Resources, resourceName string) Result

func (Result) IsError

func (result Result) IsError() bool

func (Result) IsValid

func (result Result) IsValid() bool

func (Result) IsWarning

func (result Result) IsWarning() bool

func (Result) Message

func (result Result) Message() string

Jump to

Keyboard shortcuts

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