controller

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2026 License: Apache-2.0 Imports: 35 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BootcNodePoolReconciler

type BootcNodePoolReconciler struct {
	client.Client
	Scheme     *runtime.Scheme
	KubeClient kubernetes.Interface
	Recorder   events.EventRecorder

	TagResolver           TagResolver
	TagResolutionInterval time.Duration
	// contains filtered or unexported fields
}

BootcNodePoolReconciler reconciles a BootcNodePool object

func (*BootcNodePoolReconciler) Reconcile

func (r *BootcNodePoolReconciler) Reconcile(
	ctx context.Context,
	req ctrl.Request,
) (ctrl.Result, error)

Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state.

func (*BootcNodePoolReconciler) SetupWithManager

func (r *BootcNodePoolReconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager sets up the controller with the Manager.

type EventNote

type EventNote interface {
	Note() string
}

EventNote renders the human-readable message of a Kubernetes Event. Each implementation owns a small set of well-defined fields and is responsible for producing a message that fits the events.k8s.io/v1 1 KiB note limit. Notes assembled entirely from bounded fields (image references, digests) are safe by construction; notes that embed unbounded free text (condition messages, error strings) cap themselves with capNote.

type TagResolver

type TagResolver interface {
	Resolve(ctx context.Context, ref string, auth []byte) (string, error)
}

TagResolver resolves a container image reference to a digest.

Jump to

Keyboard shortcuts

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