Documentation ¶
Index ¶
- func IsAcceleratedNetworkingWasChangedError(err error) bool
- func IsDatadisksFieldIsSetError(err error) bool
- func IsInsufficientCPUError(err error) bool
- func IsInsufficientMemoryError(err error) bool
- func IsInvalidConfig(err error) bool
- func IsInvalidStorageAccountTypeError(err error) bool
- func IsLocationWasChangedError(err error) bool
- func IsParsingFailed(err error) bool
- func IsPremiumStorageNotSupportedByVMSizeError(err error) bool
- func IsSSHFieldIsSetError(err error) bool
- func IsStorageAccountWasChangedError(err error) bool
- func IsSwitchToVmSizeThatDoesNotSupportAcceleratedNetworkingError(err error) bool
- func IsUnexpectedLocationError(err error) bool
- func IsVmsizeDoesNotSupportAcceleratedNetworkingError(err error) bool
- type CreateMutator
- type CreateMutatorConfig
- type CreateValidator
- type CreateValidatorConfig
- type UpdateValidator
- type UpdateValidatorConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsAcceleratedNetworkingWasChangedError ¶
IsAcceleratedNetworkingWasChangedError asserts acceleratedNetworkingWasChangedError.
func IsDatadisksFieldIsSetError ¶
IsDatadisksFieldIsSetError asserts datadisksFieldIsSetError.
func IsInsufficientCPUError ¶
IsInsufficientCPUError asserts insufficientCPUError.
func IsInsufficientMemoryError ¶
IsInsufficientMemoryError asserts insufficientMemoryError.
func IsInvalidConfig ¶
IsInvalidConfig asserts invalidConfigError.
func IsInvalidStorageAccountTypeError ¶
IsInvalidStorageAccountTypeError asserts invalidStorageAccountTypeError.
func IsLocationWasChangedError ¶
IsLocationWasChangedError asserts locationWasChangedError.
func IsParsingFailed ¶
IsParsingFailed asserts parsingFailedError.
func IsPremiumStorageNotSupportedByVMSizeError ¶
IsPremiumStorageNotSupportedByVMSizeError asserts premiumStorageNotSupportedByVMSizeError.
func IsSSHFieldIsSetError ¶
IsSSHFieldIsSetError asserts sshFieldIsSetError.
func IsStorageAccountWasChangedError ¶
IsStorageAccountWasChangedError asserts storageAccountWasChangedError.
func IsSwitchToVmSizeThatDoesNotSupportAcceleratedNetworkingError ¶
IsSwitchToVmSizeThatDoesNotSupportAcceleratedNetworkingError asserts switchToVmSizeThatDoesNotSupportAcceleratedNetworkingError.
func IsUnexpectedLocationError ¶
IsUnexpectedLocationError asserts unexpectedLocationError.
func IsVmsizeDoesNotSupportAcceleratedNetworkingError ¶
IsVmsizeDoesNotSupportAcceleratedNetworkingError asserts vmsizeDoesNotSupportAcceleratedNetworkingError.
Types ¶
type CreateMutator ¶
type CreateMutator struct {
// contains filtered or unexported fields
}
func NewCreateMutator ¶
func NewCreateMutator(config CreateMutatorConfig) (*CreateMutator, error)
func (*CreateMutator) Log ¶
func (m *CreateMutator) Log(keyVals ...interface{})
func (*CreateMutator) Mutate ¶
func (m *CreateMutator) Mutate(ctx context.Context, request *v1beta1.AdmissionRequest) ([]mutator.PatchOperation, error)
func (*CreateMutator) Resource ¶
func (m *CreateMutator) Resource() string
type CreateMutatorConfig ¶
type CreateMutatorConfig struct { CtrlClient client.Client Location string Logger micrologger.Logger VMcaps *vmcapabilities.VMSKU }
type CreateValidator ¶
type CreateValidator struct {
// contains filtered or unexported fields
}
func NewCreateValidator ¶
func NewCreateValidator(config CreateValidatorConfig) (*CreateValidator, error)
func (*CreateValidator) Log ¶
func (a *CreateValidator) Log(keyVals ...interface{})
func (*CreateValidator) Validate ¶
func (a *CreateValidator) Validate(ctx context.Context, request *v1beta1.AdmissionRequest) error
type CreateValidatorConfig ¶
type CreateValidatorConfig struct { CtrlClient client.Client Location string Logger micrologger.Logger VMcaps *vmcapabilities.VMSKU }
type UpdateValidator ¶
type UpdateValidator struct {
// contains filtered or unexported fields
}
func NewUpdateValidator ¶
func NewUpdateValidator(config UpdateValidatorConfig) (*UpdateValidator, error)
func (*UpdateValidator) Log ¶
func (a *UpdateValidator) Log(keyVals ...interface{})
func (*UpdateValidator) Validate ¶
func (a *UpdateValidator) Validate(ctx context.Context, request *v1beta1.AdmissionRequest) error
type UpdateValidatorConfig ¶
type UpdateValidatorConfig struct { Logger micrologger.Logger VMcaps *vmcapabilities.VMSKU }