Documentation ¶
Overview ¶
Package controllers implements the Docker controllers.
Package controllers implements controller functionality.
Index ¶
- type DockerClusterReconciler
- type DockerMachineReconciler
- func (r *DockerMachineReconciler) DockerClusterToDockerMachines(ctx context.Context, o client.Object) []ctrl.Request
- func (r *DockerMachineReconciler) Reconcile(ctx context.Context, req ctrl.Request) (_ ctrl.Result, rerr error)
- func (r *DockerMachineReconciler) SetupWithManager(ctx context.Context, mgr ctrl.Manager, options controller.Options) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DockerClusterReconciler ¶
type DockerClusterReconciler struct { client.Client ContainerRuntime container.Runtime // WatchFilterValue is the label value used to filter events prior to reconciliation. WatchFilterValue string }
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(ctx context.Context, mgr ctrl.Manager, options controller.Options) error
SetupWithManager will add watches for this controller.
type DockerMachineReconciler ¶
type DockerMachineReconciler struct { client.Client ContainerRuntime container.Runtime Tracker *remote.ClusterCacheTracker // WatchFilterValue is the label value used to filter events prior to reconciliation. WatchFilterValue string }
DockerMachineReconciler reconciles a DockerMachine object.
func (*DockerMachineReconciler) DockerClusterToDockerMachines ¶
func (r *DockerMachineReconciler) DockerClusterToDockerMachines(ctx context.Context, o client.Object) []ctrl.Request
DockerClusterToDockerMachines is a handler.ToRequestsFunc to be used to enqueue 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.