machinepool

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: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsAzureMachinePoolNotFound

func IsAzureMachinePoolNotFound(err error) bool

IsAzureMachinePoolNotFound asserts azureMachinePoolNotFoundError.

func IsFailureDomainWasChangedError

func IsFailureDomainWasChangedError(err error) bool

IsFailureDomainWasChangedError asserts failureDomainWasChangedError.

func IsInvalidConfig

func IsInvalidConfig(err error) bool

IsInvalidConfig asserts invalidConfigError.

func IsLocationWithNoFailureDomainSupportError

func IsLocationWithNoFailureDomainSupportError(err error) bool

IsLocationWithNoFailureDomainSupportError asserts locationWithNoFailureDomainSupportError.

func IsParsingFailed

func IsParsingFailed(err error) bool

IsParsingFailed asserts parsingFailedError.

func IsUnsupportedFailureDomainError

func IsUnsupportedFailureDomainError(err error) bool

IsUnsupportedFailureDomainError asserts unsupportedFailureDomainError.

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
	Logger     micrologger.Logger
}

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
	Logger     micrologger.Logger
	VMcaps     *vmcapabilities.VMSKU
}

type UpdateMutator

type UpdateMutator struct {
	// contains filtered or unexported fields
}

func NewUpdateMutator

func NewUpdateMutator(config UpdateMutatorConfig) (*UpdateMutator, error)

func (*UpdateMutator) Log

func (m *UpdateMutator) Log(keyVals ...interface{})

func (*UpdateMutator) Mutate

func (*UpdateMutator) Resource

func (m *UpdateMutator) Resource() string

type UpdateMutatorConfig

type UpdateMutatorConfig struct {
	Logger micrologger.Logger
}

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
}

Jump to

Keyboard shortcuts

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