controlplane

package
v1.3.0-rc.2 Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2024 License: Apache-2.0 Imports: 5 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{}

Validator validates ControlPlane objects.

func NewValidator

func NewValidator(c client.Client) *Validator

NewValidator creates a ControlPlane validator.

func (*Validator) Validate

func (v *Validator) Validate(controlplane *operatorv1beta1.ControlPlane) error

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

func (*Validator) ValidateDeploymentOptions

func (v *Validator) ValidateDeploymentOptions(opts *operatorv1beta1.ControlPlaneDeploymentOptions) error

ValidateDeploymentOptions validates the DeploymentOptions field of ControlPlane object.

Jump to

Keyboard shortcuts

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