controllers

package
v0.0.0-...-40841d9 Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2021 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Overview

Package controllers implements controller functionality.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DockerClusterReconciler

type DockerClusterReconciler struct {
	client.Client
	Log logr.Logger
}

DockerClusterReconciler reconciles a DockerCluster object.

func (*DockerClusterReconciler) Reconcile

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

Reconcile reads that state of the cluster for a DockerCluster object and makes changes based on the state read and what is in the DockerCluster.Spec.

func (*DockerClusterReconciler) SetupWithManager

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

SetupWithManager will add watches for this controller.

type DockerMachineReconciler

type DockerMachineReconciler struct {
	client.Client
}

DockerMachineReconciler reconciles a DockerMachine object.

func (*DockerMachineReconciler) DockerClusterToDockerMachines

func (r *DockerMachineReconciler) DockerClusterToDockerMachines(o client.Object) []ctrl.Request

DockerClusterToDockerMachines is a handler.ToRequestsFunc to be used to enqeue requests for reconciliation of DockerMachines.

func (*DockerMachineReconciler) Reconcile

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

Reconcile handles DockerMachine events.

func (*DockerMachineReconciler) SetupWithManager

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

SetupWithManager will add watches for this controller.

Jump to

Keyboard shortcuts

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