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