Documentation
¶
Overview ¶
Package machinedeployment implements machinedeployment controller.
Index ¶
- type CanUpdateMachineSetCacheEntry
- type Reconciler
- func (r *Reconciler) MachineSetToDeployments(ctx context.Context, o client.Object) []ctrl.Request
- func (r *Reconciler) Reconcile(ctx context.Context, req ctrl.Request) (retres ctrl.Result, reterr error)
- func (r *Reconciler) 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 CanUpdateMachineSetCacheEntry ¶
type CanUpdateMachineSetCacheEntry struct {
OldMS client.ObjectKey
NewMS client.ObjectKey
CanUpdateMachineSet bool
}
CanUpdateMachineSetCacheEntry is an entry for the CanUpdateMachineSet hook cache.
func (CanUpdateMachineSetCacheEntry) Key ¶
func (r CanUpdateMachineSetCacheEntry) Key() string
Key returns the cache key of a CanUpdateMachineSetCacheEntry.
type Reconciler ¶
type Reconciler struct {
Client client.Client
APIReader client.Reader
RuntimeClient runtimeclient.Client
// WatchFilterValue is the label value used to filter events prior to reconciliation.
WatchFilterValue string
// contains filtered or unexported fields
}
Reconciler reconciles a MachineDeployment object.
func (*Reconciler) MachineSetToDeployments ¶
MachineSetToDeployments is a handler.ToRequestsFunc to be used to enqueue requests for reconciliation for MachineDeployments that might adopt an orphaned MachineSet.
func (*Reconciler) SetupWithManager ¶
func (r *Reconciler) SetupWithManager(ctx context.Context, mgr ctrl.Manager, options controller.Options) error
Source Files
¶
Click to show internal directories.
Click to hide internal directories.