controllers

package
v0.0.0-...-9516177 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2021 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClusterController

type ClusterController struct {
	client.Client
	Scheme *runtime.Scheme
}

ClusterController manages Component resources from Cluster resources

func (*ClusterController) Reconcile

func (r *ClusterController) Reconcile(req ctrl.Request) (ctrl.Result, error)

Reconcile reconciles the Component resources that belong to a Cluster resource

func (*ClusterController) SetupWithManager

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

SetupWithManager sets up the cluster controller with mgr manager

type ClusterInitializer

type ClusterInitializer struct {
	client.Client
	Scheme *runtime.Scheme
	// contains filtered or unexported fields
}

ClusterInitializer initializes a Cluster object

func (*ClusterInitializer) Reconcile

func (r *ClusterInitializer) Reconcile(req ctrl.Request) (ctrl.Result, error)

Reconcile initializes the cluster resources

func (*ClusterInitializer) SetupWithManager

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

SetupWithManager sets up the cluster initializer with mgr manager

type ClusterReconciler

type ClusterReconciler struct {
	client.Client
	Scheme *runtime.Scheme
}

ClusterReconciler reconciles a Cluster object

func (*ClusterReconciler) Reconcile

func (r *ClusterReconciler) Reconcile(req ctrl.Request) (ctrl.Result, error)

Reconcile reconciles the cluster resources

func (*ClusterReconciler) SetupWithManager

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

SetupWithManager sets up the cluster reconciler with mgr manager

type ComponentReconciler

type ComponentReconciler struct {
	client.Client
	Scheme         *runtime.Scheme
	ConnectionPool infra.HypervisorConnectionPool
}

ComponentReconciler reconciles a Component object

func (*ComponentReconciler) Reconcile

func (r *ComponentReconciler) Reconcile(req ctrl.Request) (ctrl.Result, error)

Reconcile reconciles the component resources

func (*ComponentReconciler) SetupWithManager

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

SetupWithManager sets up the component reconciler with mgr manager

type ComponentScheduler

type ComponentScheduler struct {
	client.Client
	Scheme *runtime.Scheme
	// contains filtered or unexported fields
}

ComponentScheduler schedules an unscheduled Component object

func (*ComponentScheduler) Reconcile

func (r *ComponentScheduler) Reconcile(req ctrl.Request) (ctrl.Result, error)

Reconcile schedules unscheduled component resources

func (*ComponentScheduler) SetupWithManager

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

SetupWithManager sets up the component reconciler with mgr manager

type NodeJoinRequestReconciler

type NodeJoinRequestReconciler struct {
	client.Client
	Scheme *runtime.Scheme
}

NodeJoinRequestReconciler reconciles node join requests on clusters that contain at least one join token

func (*NodeJoinRequestReconciler) Reconcile

func (r *NodeJoinRequestReconciler) Reconcile(req ctrl.Request) (ctrl.Result, error)

Reconcile reconciles the node join requests for the given cluster

func (*NodeJoinRequestReconciler) SetupWithManager

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

SetupWithManager sets up the node join request reconciler with mgr manager

Jump to

Keyboard shortcuts

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