Documentation ¶
Index ¶
- func IsControlPlaneLabelNotEqualError(err error) bool
- func IsExecutionFailed(err error) bool
- func IsInvalidConfig(err error) bool
- func IsNotAllowed(err error) bool
- func IsNotFound(err error) bool
- func IsParsingFailed(err error) bool
- type Mutator
- type Validator
- func (v *Validator) AZCount(awsControlPlane infrastructurev1alpha2.AWSControlPlane) error
- func (v *Validator) AZOrder(awsControlPlane infrastructurev1alpha2.AWSControlPlane, ...) error
- func (v *Validator) AZReplicaMatch(awsControlPlane infrastructurev1alpha2.AWSControlPlane, ...) error
- func (v *Validator) AZUnique(awsControlPlane infrastructurev1alpha2.AWSControlPlane) error
- func (v *Validator) AZValid(awsControlPlane infrastructurev1alpha2.AWSControlPlane) error
- func (v *Validator) ControlPlaneLabelMatch(awsControlPlane infrastructurev1alpha2.AWSControlPlane, ...) error
- func (v *Validator) InstanceTypeValid(awsControlPlane infrastructurev1alpha2.AWSControlPlane) error
- func (v *Validator) Log(keyVals ...interface{})
- func (v *Validator) Resource() string
- func (v *Validator) Validate(request *admissionv1.AdmissionRequest) (bool, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsControlPlaneLabelNotEqualError ¶
IsControlPlaneLabelNotEqualError asserts controlPlaneLabelNotEqualError.
func IsExecutionFailed ¶
IsExecutionFailed asserts executionFailedError.
func IsInvalidConfig ¶
IsInvalidConfig asserts invalidConfigError.
func IsParsingFailed ¶
IsParsingFailed asserts parsingFailedError.
Types ¶
type Mutator ¶
type Mutator struct {
// contains filtered or unexported fields
}
func (*Mutator) Mutate ¶
func (m *Mutator) Mutate(request *admissionv1.AdmissionRequest) ([]mutator.PatchOperation, error)
type Validator ¶
type Validator struct {
// contains filtered or unexported fields
}
func (*Validator) AZCount ¶
func (v *Validator) AZCount(awsControlPlane infrastructurev1alpha2.AWSControlPlane) error
func (*Validator) AZOrder ¶
func (v *Validator) AZOrder(awsControlPlane infrastructurev1alpha2.AWSControlPlane, awsControlPlaneOld infrastructurev1alpha2.AWSControlPlane) error
func (*Validator) AZReplicaMatch ¶
func (v *Validator) AZReplicaMatch(awsControlPlane infrastructurev1alpha2.AWSControlPlane, g8sControlPlane infrastructurev1alpha2.G8sControlPlane) error
func (*Validator) AZUnique ¶
func (v *Validator) AZUnique(awsControlPlane infrastructurev1alpha2.AWSControlPlane) error
func (*Validator) AZValid ¶
func (v *Validator) AZValid(awsControlPlane infrastructurev1alpha2.AWSControlPlane) error
func (*Validator) ControlPlaneLabelMatch ¶
func (v *Validator) ControlPlaneLabelMatch(awsControlPlane infrastructurev1alpha2.AWSControlPlane, g8sControlPlane infrastructurev1alpha2.G8sControlPlane) error
func (*Validator) InstanceTypeValid ¶
func (v *Validator) InstanceTypeValid(awsControlPlane infrastructurev1alpha2.AWSControlPlane) error
func (*Validator) Validate ¶
func (v *Validator) Validate(request *admissionv1.AdmissionRequest) (bool, error)
Click to show internal directories.
Click to hide internal directories.