Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DefaultValidator

type DefaultValidator struct {
	manifest.Generator
}

func (*DefaultValidator) InjectClient

func (g *DefaultValidator) InjectClient(c client.Client)

func (*DefaultValidator) ValidateExperiment

func (g *DefaultValidator) ValidateExperiment(instance, oldInst *experimentsv1alpha3.Experiment) error

type Validator

type Validator interface {
	ValidateExperiment(instance, oldInst *experimentsv1alpha3.Experiment) error
	InjectClient(c client.Client)
}

func New

func New(generator manifest.Generator) Validator

Source Files