cluster-api: sigs.k8s.io/cluster-api/test/infrastructure/docker/controllers Index | Files

package controllers

import "sigs.k8s.io/cluster-api/test/infrastructure/docker/controllers"

Index

Package Files

dockercluster_controller.go dockermachine_controller.go

type DockerClusterReconciler Uses

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

DockerClusterReconciler reconciles a DockerCluster object

func (*DockerClusterReconciler) Reconcile Uses

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 Uses

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

SetupWithManager will add watches for this controller

type DockerMachineReconciler Uses

type DockerMachineReconciler struct {
    client.Client
}

DockerMachineReconciler reconciles a DockerMachine object

func (*DockerMachineReconciler) DockerClusterToDockerMachines Uses

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 Uses

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

Reconcile handles DockerMachine events

func (*DockerMachineReconciler) SetupWithManager Uses

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

SetupWithManager will add watches for this controller

Package controllers imports 22 packages (graph) and is imported by 1 packages. Updated 2020-10-29. Refresh now. Tools for package owners.