nodevalidator

package
v1.0.18 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2026 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewNodeReadinessChecker

func NewNodeReadinessChecker(client kubernetes.Interface, timeout time.Duration, logger *zap.Logger) *nodeReadinessChecker

func NewNodeRegistrationChecker

func NewNodeRegistrationChecker(client kubernetes.Interface, timeout time.Duration, logger *zap.Logger) *nodeRegistrationChecker

NewNodeRegistrationChecker creates a new NodeRegistrationChecker

func WithNodeReadiness

func WithNodeReadiness(validate bool) func(*ActiveNodeValidator)

func WithNodeRegistration

func WithNodeRegistration(validate bool) func(*ActiveNodeValidator)

func WithTimeout

func WithTimeout(timeout time.Duration) func(*ActiveNodeValidator)

configures the timeout for validations

Types

type ActiveNodeValidator

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

func NewActiveNodeValidator

func NewActiveNodeValidator(opts ...func(*ActiveNodeValidator)) ActiveNodeValidator

func (ActiveNodeValidator) Run

func (v ActiveNodeValidator) Run(ctx context.Context, informer validation.Informer, nodeConfig *api.NodeConfig) error

Jump to

Keyboard shortcuts

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