validator

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ManifestValidator = &Validator{limit: 500 * 1024} // the default manifest limit is 500k.

Functions

This section is empty.

Types

type Validator

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

func (*Validator) ValidateManifests

func (m *Validator) ValidateManifests(manifests []workv1.Manifest) error

func (*Validator) WithLimit

func (m *Validator) WithLimit(limit int)

Jump to

Keyboard shortcuts

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