nodeclass

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2026 License: Apache-2.0 Imports: 34 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ConditionReasonDependenciesNotReady = "DependenciesNotReady"
	ConditionReasonTagValidationFailed  = "TagValidationFailed"
)

Variables

View Source
var ValidationConditionMessages = map[string]string{}

Functions

func WaitingOnNodeClaimTerminationEvent

func WaitingOnNodeClaimTerminationEvent(nodeClass *v1alpha1.LinodeNodeClass, names []string) events.Event

Types

type Controller

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

func NewController

func NewController(
	kubeClient client.Client,
	cloudProvider cloudprovider.CloudProvider,
	recorder events.Recorder,
	region string,
	instanceTypeProvider instancetype.Provider,
	linodeClient sdk.LinodeAPI,
	validationCache *cache.Cache,
	disableDryRun bool,
) *Controller

func (*Controller) Name

func (c *Controller) Name() string

func (*Controller) Reconcile

func (c *Controller) Reconcile(ctx context.Context, nodeClass *v1alpha1.LinodeNodeClass) (reconcile.Result, error)

func (*Controller) Register

func (c *Controller) Register(_ context.Context, m manager.Manager) error

type Validation

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

func NewValidationReconciler

func NewValidationReconciler(
	kubeClient client.Client,
	cloudProvider cloudprovider.CloudProvider,
	linodeClient sdk.LinodeAPI,
	instanceTypeProvider instancetype.Provider,
	cache *cache.Cache,
	dryRunDisabled bool,
) *Validation

func (*Validation) Reconcile

func (v *Validation) Reconcile(ctx context.Context, nodeClass *v1alpha1.LinodeNodeClass) (reconcile.Result, error)

nolint:gocyclo

Jump to

Keyboard shortcuts

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