validate

package
v2.5.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2019 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type APIValidator

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

APIValidator validator for external API

func NewAPIValidator

func NewAPIValidator(runningUnderTest bool) *APIValidator

NewAPIValidator return instance of external API validator

func (*APIValidator) Validate

func (v *APIValidator) Validate(cs, oldCs *api.OpenShiftManagedCluster, externalOnly bool) (errs []error)

Validate validates a OpenShiftManagedCluster struct

type AdminAPIValidator

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

AdminAPIValidator validator for external Admin API

func NewAdminValidator

func NewAdminValidator(runningUnderTest bool) *AdminAPIValidator

NewAdminValidator return instance of external Admin API validator

func (*AdminAPIValidator) Validate

func (v *AdminAPIValidator) Validate(cs, oldCs *api.OpenShiftManagedCluster, externalOnly bool) (errs []error)

Validate validates a OpenShiftManagedCluster struct

type PluginAPIValidator

type PluginAPIValidator struct{}

PluginAPIValidator validator for external Plugin API

func NewPluginAPIValidator

func NewPluginAPIValidator() *PluginAPIValidator

NewPluginAPIValidator return instance of external Plugin API validator

func (*PluginAPIValidator) Validate

func (v *PluginAPIValidator) Validate(t *pluginapi.Config) (errs []error)

Validate validates an Plugin API external template/config struct

Jump to

Keyboard shortcuts

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