controller

package
v0.1.23-rc.6 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package controller registers the reusable MachineOperation provider controller with a controller-runtime manager.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddToManager

func AddToManager(mgr ctrl.Manager, providers []*machineops.Provider, options Options) error

AddToManager validates provider registrations and adds one MachineOperation reconciler to mgr.

Types

type ClusterInfo

type ClusterInfo = internalmachineops.ClusterInfo

ClusterInfo contains bootstrap data used by host replacement operations.

type Options

type Options struct {
	SiteName                    string
	ProviderName                string
	MaxConcurrentReconciles     int
	ProviderPollInterval        time.Duration
	ProviderStallAfter          time.Duration
	ProviderStalledPollInterval time.Duration
	APIServerEndpoint           string
	CredentialSecretNamespace   string
	ClusterInfo                 *ClusterInfo
}

Options scopes and tunes a MachineOperation provider controller.

Jump to

Keyboard shortcuts

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