readiness

package
v0.2.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	ValidatorName = "built-in:readiness"
)

Variables

This section is empty.

Functions

func NewReadinessValidator

func NewReadinessValidator(ctx context.Context, configDir string, ignoreMissingResources bool) (common.Validator, error)

Types

type ReadinessValidator

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

func (*ReadinessValidator) GetName

func (v *ReadinessValidator) GetName() string

func (*ReadinessValidator) Validate

func (v *ReadinessValidator) Validate(resources []unstructured.Unstructured) ([]common.Violation, error)

validates all the resources from readinesslist are ready

type ReadinesslistItem

type ReadinesslistItem struct {
	Name      string `yaml:"name"`
	Namespace string `yaml:"namespace"`
	Kind      string `yaml:"kind"`
}

Jump to

Keyboard shortcuts

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