azuremachinepool

package
v1.18.0 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2021 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsAcceleratedNetworkingWasChangedError

func IsAcceleratedNetworkingWasChangedError(err error) bool

IsAcceleratedNetworkingWasChangedError asserts acceleratedNetworkingWasChangedError.

func IsDatadisksFieldIsSetError

func IsDatadisksFieldIsSetError(err error) bool

IsDatadisksFieldIsSetError asserts datadisksFieldIsSetError.

func IsInsufficientCPUError

func IsInsufficientCPUError(err error) bool

IsInsufficientCPUError asserts insufficientCPUError.

func IsInsufficientMemoryError

func IsInsufficientMemoryError(err error) bool

IsInsufficientMemoryError asserts insufficientMemoryError.

func IsInvalidConfig

func IsInvalidConfig(err error) bool

IsInvalidConfig asserts invalidConfigError.

func IsInvalidStorageAccountTypeError

func IsInvalidStorageAccountTypeError(err error) bool

IsInvalidStorageAccountTypeError asserts invalidStorageAccountTypeError.

func IsLocationWasChangedError

func IsLocationWasChangedError(err error) bool

IsLocationWasChangedError asserts locationWasChangedError.

func IsParsingFailed

func IsParsingFailed(err error) bool

IsParsingFailed asserts parsingFailedError.

func IsPremiumStorageNotSupportedByVMSizeError

func IsPremiumStorageNotSupportedByVMSizeError(err error) bool

IsPremiumStorageNotSupportedByVMSizeError asserts premiumStorageNotSupportedByVMSizeError.

func IsSSHFieldIsSetError

func IsSSHFieldIsSetError(err error) bool

IsSSHFieldIsSetError asserts sshFieldIsSetError.

func IsStorageAccountWasChangedError

func IsStorageAccountWasChangedError(err error) bool

IsStorageAccountWasChangedError asserts storageAccountWasChangedError.

func IsSwitchToVmSizeThatDoesNotSupportAcceleratedNetworkingError

func IsSwitchToVmSizeThatDoesNotSupportAcceleratedNetworkingError(err error) bool

IsSwitchToVmSizeThatDoesNotSupportAcceleratedNetworkingError asserts switchToVmSizeThatDoesNotSupportAcceleratedNetworkingError.

func IsUnexpectedLocationError

func IsUnexpectedLocationError(err error) bool

IsUnexpectedLocationError asserts unexpectedLocationError.

func IsVmsizeDoesNotSupportAcceleratedNetworkingError

func IsVmsizeDoesNotSupportAcceleratedNetworkingError(err error) bool

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 (*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
}

Jump to

Keyboard shortcuts

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