node

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2025 License: Apache-2.0 Imports: 27 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsDrained

func IsDrained(ctx context.Context) error

func IsInitialized

func IsInitialized(ctx context.Context) error

func IsUnscheduled

func IsUnscheduled(ctx context.Context) error

func NewNodeProvider

func NewNodeProvider(configSource string, logger *zap.Logger) (nodeprovider.NodeProvider, error)

Types

type APIServerValidator

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

func NewAPIServerValidator

func NewAPIServerValidator(opts ...APIServerValidatorOption) APIServerValidator

func (APIServerValidator) CheckIdentity

func (a APIServerValidator) CheckIdentity(ctx context.Context, informer validation.Informer, node *api.NodeConfig) error

func (APIServerValidator) CheckVPCEndpointAccess

func (a APIServerValidator) CheckVPCEndpointAccess(ctx context.Context, informer validation.Informer, node *api.NodeConfig) error

func (APIServerValidator) MakeAuthenticatedRequest

func (a APIServerValidator) MakeAuthenticatedRequest(ctx context.Context, informer validation.Informer, node *api.NodeConfig) error

type APIServerValidatorOption

type APIServerValidatorOption func(*APIServerValidator)

func WithClientBuilder

func WithClientBuilder(buildClient func() (kubernetes.Interface, error)) APIServerValidatorOption

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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