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 }
Click to show internal directories.
Click to hide internal directories.