nodepool

package
v1.4.4 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2024 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Add

Add creates a new NodePool Controller and adds it to the Manager with default RBAC. The Manager will set fields on the Controller and Start it when the Manager is Started.

func Format

func Format(format string, args ...interface{}) string

Types

type EnqueueNodePoolForNode

type EnqueueNodePoolForNode struct {
	EnableSyncNodePoolConfigurations bool
	Recorder                         record.EventRecorder
}

func (*EnqueueNodePoolForNode) Create

Create implements EventHandler

func (*EnqueueNodePoolForNode) Delete

Delete implements EventHandler

func (*EnqueueNodePoolForNode) Generic

Generic implements EventHandler

func (*EnqueueNodePoolForNode) Update

Update implements EventHandler

type NodePoolRelatedAttributes

type NodePoolRelatedAttributes struct {
	Labels      map[string]string `json:"labels,omitempty"`
	Annotations map[string]string `json:"annotations,omitempty"`
	Taints      []corev1.Taint    `json:"taints,omitempty"`
}

type ReconcileNodePool

type ReconcileNodePool struct {
	client.Client
	// contains filtered or unexported fields
}

ReconcileNodePool reconciles a NodePool object

func (*ReconcileNodePool) InjectClient

func (r *ReconcileNodePool) InjectClient(c client.Client) error

func (*ReconcileNodePool) InjectMapper

func (r *ReconcileNodePool) InjectMapper(mapper meta.RESTMapper) error

func (*ReconcileNodePool) Reconcile

Reconcile reads that state of the cluster for a NodePool object and makes changes based on the state read and what is in the NodePool.Spec

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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