kkmachine

package
v3.1.0-rc.0-20240516-1 Latest Latest
Warning

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

Go to latest
Published: May 17, 2024 License: Apache-2.0 Imports: 33 Imported by: 1

Documentation

Overview

Package kkmachine implements kkmachine controllers.

Index

Constants

View Source
const (
	InstanceIDIndex = ".spec.instanceID"
)

InstanceIDIndex defines the kk machine controller's instance ID index.

Variables

This section is empty.

Functions

This section is empty.

Types

type Reconciler

type Reconciler struct {
	client.Client

	Scheme           *runtime.Scheme
	Recorder         record.EventRecorder
	Tracker          *remote.ClusterCacheTracker
	WatchFilterValue string
	DataDir          string
	// contains filtered or unexported fields
}

Reconciler reconciles a KKMachine object

func (*Reconciler) KKClusterToKKMachines

func (r *Reconciler) KKClusterToKKMachines(log logr.Logger) handler.MapFunc

KKClusterToKKMachines is a handler.ToRequestsFunc to be used to enqeue requests for reconciliation of KKMachines.

func (*Reconciler) Reconcile

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

func (*Reconciler) SetupWithManager

func (r *Reconciler) SetupWithManager(ctx context.Context, mgr ctrl.Manager, options controller.Options) error

SetupWithManager sets up the controller with the Manager.

Jump to

Keyboard shortcuts

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