controllers

package
v0.2.5 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2021 License: Apache-2.0 Imports: 55 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PoolSecretName       = "ip-pool"
	ConnectionSecretName = "connection-info"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ExistingInfraBootstrapReconciler

type ExistingInfraBootstrapReconciler struct {
	client.Client
	Log    logr.Logger
	Scheme *runtime.Scheme
}

ExistingInfraBootstrapReconciler reconciles a ExistingInfraMachine object

func (*ExistingInfraBootstrapReconciler) Reconcile

func (*ExistingInfraBootstrapReconciler) SetupWithManager

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

type ExistingInfraClusterReconciler

type ExistingInfraClusterReconciler struct {
	client.Client
	Log                 logr.Logger
	Scheme              *runtime.Scheme
	ControllerNamespace string
	EventRecorder       record.EventRecorder
}

ExistingInfraClusterReconciler reconciles a ExistingInfraCluster object

func (*ExistingInfraClusterReconciler) Reconcile

func (r *ExistingInfraClusterReconciler) Reconcile(req ctrl.Request) (_ ctrl.Result, reterr error)

func (*ExistingInfraClusterReconciler) SetupWithManager

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

func (*ExistingInfraClusterReconciler) SetupWithManagerOptions

func (r *ExistingInfraClusterReconciler) SetupWithManagerOptions(mgr ctrl.Manager, options controller.Options) error

type ExistingInfraMachineReconciler

type ExistingInfraMachineReconciler struct {
	Client client.Client
	Log    logr.Logger
	Scheme *runtime.Scheme
	// contains filtered or unexported fields
}

ExistingInfraMachineReconciler is responsible for managing this cluster's machines, and ensuring their state converge towards their definitions.

func NewMachineControllerWithLegacyParams added in v0.0.2

func NewMachineControllerWithLegacyParams(params *MachineControllerParams) *ExistingInfraMachineReconciler

func (*ExistingInfraMachineReconciler) Reconcile

func (a *ExistingInfraMachineReconciler) Reconcile(req ctrl.Request) (_ ctrl.Result, reterr error)

func (*ExistingInfraMachineReconciler) SetupWithManager

func (a *ExistingInfraMachineReconciler) SetupWithManager(mgr ctrl.Manager) error

func (*ExistingInfraMachineReconciler) SetupWithManagerOptions

func (a *ExistingInfraMachineReconciler) SetupWithManagerOptions(mgr ctrl.Manager, options controller.Options) error

type MachineControllerParams

type MachineControllerParams struct {
	Client              client.Client
	Log                 logr.Logger
	Scheme              *runtime.Scheme
	ClientSet           *kubernetes.Clientset
	ControllerNamespace string
	EventRecorder       record.EventRecorder
	Verbose             bool
}

MachineControllerParams groups required inputs to create a machine actuator.

type MachineMapper added in v0.0.7

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

func (MachineMapper) Map added in v0.0.7

Map processes changes to a cluster spec that affect the machines; look up machines in config map and queue them for reconcile when the cluster spec changes

Jump to

Keyboard shortcuts

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