Documentation
¶
Overview ¶
Package controllers implements controller functionality.
Package controllers implements the Docker controllers.
Package controllers implements controller functionality.
Index ¶
- type DevClusterReconciler
- type DevMachineReconciler
- func (r *DevMachineReconciler) DevClusterToDevMachines(ctx context.Context, o client.Object) []ctrl.Request
- func (r *DevMachineReconciler) Reconcile(ctx context.Context, req ctrl.Request) (_ ctrl.Result, rerr error)
- func (r *DevMachineReconciler) SetupWithManager(ctx context.Context, mgr ctrl.Manager, options controller.Options) error
- type DevMachineTemplateReconciler
- type DockerClusterReconciler
- type DockerMachineReconciler
- type DockerMachineTemplateReconciler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DevClusterReconciler ¶ added in v1.10.0
type DevClusterReconciler struct { client.Client // WatchFilterValue is the label value used to filter events prior to reconciliation. WatchFilterValue string ContainerRuntime container.Runtime InMemoryManager inmemoryruntime.Manager APIServerMux *inmemoryserver.WorkloadClustersMux // contains filtered or unexported fields }
DevClusterReconciler reconciles a DevCluster object.
func (*DevClusterReconciler) SetupWithManager ¶ added in v1.10.0
func (r *DevClusterReconciler) SetupWithManager(ctx context.Context, mgr ctrl.Manager, options controller.Options) error
SetupWithManager will add watches for this controller.
type DevMachineReconciler ¶ added in v1.10.0
type DevMachineReconciler struct { client.Client // WatchFilterValue is the label value used to filter events prior to reconciliation. WatchFilterValue string ContainerRuntime container.Runtime ClusterCache clustercache.ClusterCache InMemoryManager inmemoryruntime.Manager APIServerMux *inmemoryserver.WorkloadClustersMux }
DevMachineReconciler reconciles a DevMachine object.
func (*DevMachineReconciler) DevClusterToDevMachines ¶ added in v1.10.0
func (r *DevMachineReconciler) DevClusterToDevMachines(ctx context.Context, o client.Object) []ctrl.Request
DevClusterToDevMachines is a handler.ToRequestsFunc to be used to enqueue requests for reconciliation of DevMachines.
func (*DevMachineReconciler) Reconcile ¶ added in v1.10.0
func (r *DevMachineReconciler) Reconcile(ctx context.Context, req ctrl.Request) (_ ctrl.Result, rerr error)
Reconcile handles DevMachine events.
func (*DevMachineReconciler) SetupWithManager ¶ added in v1.10.0
func (r *DevMachineReconciler) SetupWithManager(ctx context.Context, mgr ctrl.Manager, options controller.Options) error
SetupWithManager will add watches for this controller.
type DevMachineTemplateReconciler ¶ added in v1.11.0
type DevMachineTemplateReconciler struct { client.Client ContainerRuntime container.Runtime // WatchFilterValue is the label value used to filter events prior to reconciliation. WatchFilterValue string }
DevMachineTemplateReconciler reconciles a DevMachineTemplate object.
func (*DevMachineTemplateReconciler) Reconcile ¶ added in v1.11.0
func (r *DevMachineTemplateReconciler) Reconcile(ctx context.Context, req ctrl.Request) (_ ctrl.Result, rerr error)
Reconcile reconciles the DevMachineTemplate to set the capcity information.
func (*DevMachineTemplateReconciler) SetupWithManager ¶ added in v1.11.0
func (r *DevMachineTemplateReconciler) SetupWithManager(ctx context.Context, mgr ctrl.Manager, options controller.Options) error
SetupWithManager will add watches for this controller.
type DockerClusterReconciler ¶
type DockerClusterReconciler struct { client.Client ContainerRuntime container.Runtime // WatchFilterValue is the label value used to filter events prior to reconciliation. WatchFilterValue string // contains filtered or unexported fields }
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 ClusterCache clustercache.ClusterCache // WatchFilterValue is the label value used to filter events prior to reconciliation. WatchFilterValue string // contains filtered or unexported fields }
DockerMachineReconciler reconciles a DockerMachine object.
func (*DockerMachineReconciler) Reconcile ¶
func (r *DockerMachineReconciler) Reconcile(ctx context.Context, req ctrl.Request) (_ ctrl.Result, reterr 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.
type DockerMachineTemplateReconciler ¶ added in v1.11.0
type DockerMachineTemplateReconciler struct { client.Client ContainerRuntime container.Runtime // WatchFilterValue is the label value used to filter events prior to reconciliation. WatchFilterValue string }
DockerMachineTemplateReconciler reconciles a DockerMachineTemplate object.
func (*DockerMachineTemplateReconciler) Reconcile ¶ added in v1.11.0
func (r *DockerMachineTemplateReconciler) Reconcile(ctx context.Context, req ctrl.Request) (_ ctrl.Result, rerr error)
Reconcile reconciles the DockerMachineTemplate to set the capcity information.
func (*DockerMachineTemplateReconciler) SetupWithManager ¶ added in v1.11.0
func (r *DockerMachineTemplateReconciler) SetupWithManager(ctx context.Context, mgr ctrl.Manager, options controller.Options) error
SetupWithManager will add watches for this controller.
Source Files
¶
Directories
¶
Path | Synopsis |
---|---|
Package backends groups backends for DevClusters and DevMachines.
|
Package backends groups backends for DevClusters and DevMachines. |
docker
Package docker implements docker backends for DevClusters and DevMachines.
|
Package docker implements docker backends for DevClusters and DevMachines. |
inmemory
Package inmemory implements in memory backend for DevClusters and DevMachines.
|
Package inmemory implements in memory backend for DevClusters and DevMachines. |