validation

package
v1.15.0 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewValidator

func NewValidator(extensions []syncer.TranslatorSyncerExtension, settings *v1.Settings) *validator

NewValidator will create a new validator for the purpose of validating extensions.

Types

type Validator

type Validator interface {
	// Validate will validate resources from a snapshot, and return the resource reports corresponding to the
	// resources in the snapshot.
	Validate(ctx context.Context, snapshot *gloosnapshot.ApiSnapshot) reporter.ResourceReports
}

Jump to

Keyboard shortcuts

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