controllers

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2019 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

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(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
	Log logr.Logger
}

DockerMachineReconciler reconciles a DockerMachine object

func (*DockerMachineReconciler) DockerClusterToDockerMachines

func (r *DockerMachineReconciler) DockerClusterToDockerMachines(o handler.MapObject) []ctrl.Request

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

func (*DockerMachineReconciler) Reconcile

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

Reconcile handles DockerMachine events

func (*DockerMachineReconciler) SetupWithManager

func (r *DockerMachineReconciler) SetupWithManager(mgr ctrl.Manager) 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