cluster

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsClusterNetworkWasChangedError

func IsClusterNetworkWasChangedError(err error) bool

IsClusterNetworkWasChangedError asserts clusterNetworkWasChangedError.

func IsControlPlaneEndpointWasChangedError

func IsControlPlaneEndpointWasChangedError(err error) bool

IsControlPlaneEndpointWasChangedError asserts controlPlaneEndpointWasChangedError.

func IsEmptyClusterNetworkError

func IsEmptyClusterNetworkError(err error) bool

IsEmptyClusterNetworkError asserts emptyClusterNetworkError.

func IsEmptyClusterNetworkServicesError

func IsEmptyClusterNetworkServicesError(err error) bool

IsEmptyClusterNetworkServicesError asserts emptyClusterNetworkServicesError.

func IsInvalidConfig

func IsInvalidConfig(err error) bool

IsInvalidConfig asserts invalidConfigError.

func IsInvalidControlPlaneEndpointHostError

func IsInvalidControlPlaneEndpointHostError(err error) bool

IsInvalidControlPlaneEndpointHostError asserts invalidControlPlaneEndpointHostError.

func IsInvalidControlPlaneEndpointPortError

func IsInvalidControlPlaneEndpointPortError(err error) bool

IsInvalidControlPlaneEndpointPortError asserts invalidControlPlaneEndpointPortError.

func IsParsingFailed

func IsParsingFailed(err error) bool

IsParsingFailed asserts parsingFailedError.

func IsUnexpectedAPIServerPortError

func IsUnexpectedAPIServerPortError(err error) bool

IsUnexpectedAPIServerPortError asserts unexpectedAPIServerPortError.

func IsUnexpectedCIDRBlocksError

func IsUnexpectedCIDRBlocksError(err error) bool

IsUnexpectedCIDRBlocksError asserts unexpectedCIDRBlocksError.

func IsUnexpectedServiceDomainError

func IsUnexpectedServiceDomainError(err error) bool

IsUnexpectedServiceDomainError asserts unexpectedServiceDomainError.

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 {
	BaseDomain string
	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 {
	BaseDomain string
	CtrlClient client.Client
	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 {
	CtrlClient client.Client
	Logger     micrologger.Logger
}

Jump to

Keyboard shortcuts

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