dataplane

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Validator

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

Validator validates DataPlane objects.

func NewValidator

func NewValidator(c client.Client) *Validator

NewValidator creates a DataPlane validator.

func (*Validator) Validate

func (v *Validator) Validate(dataplane *apisixoperatorv1alpha1.DataPlane) error

Validate validates a DataPlane object and return the first validation error found.

func (*Validator) ValidateDeployOptions

func (v *Validator) ValidateDeployOptions(namespace string, opts *apisixoperatorv1alpha1.DeploymentOptions) error

ValidateDeployOptions validates the DeploymentOptions field of DataPlane object.

Jump to

Keyboard shortcuts

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