Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Collector ¶ added in v1.61.0
type Collector struct {
// contains filtered or unexported fields
}
func NewCollector ¶ added in v1.61.0
func NewCollector(ctx context.Context, client ctrlruntimeclient.Client) *Collector
NewCollector creates new machine deployment collector for metrics collection.
func (*Collector) Collect ¶ added in v1.61.0
func (c *Collector) Collect(metrics chan<- prometheus.Metric)
Collect implements the prometheus.Collector interface.
func (*Collector) Describe ¶ added in v1.61.0
func (c *Collector) Describe(desc chan<- *prometheus.Desc)
Describe implements the prometheus.Describe interface.
type ReconcileMachineDeployment ¶
ReconcileMachineDeployment reconciles a MachineDeployment object.
func (*ReconcileMachineDeployment) MachineSetToDeployments ¶
func (r *ReconcileMachineDeployment) MachineSetToDeployments() handler.MapFunc
MachineSetTodeployments is a handler.MapFunc to be used to enqeue requests for reconciliation for MachineDeployments that might adopt an orphaned MachineSet.
func (*ReconcileMachineDeployment) Reconcile ¶
func (r *ReconcileMachineDeployment) Reconcile(ctx context.Context, request reconcile.Request) (reconcile.Result, error)
Reconcile reads that state of the cluster for a MachineDeployment object and makes changes based on the state read and what is in the MachineDeployment.Spec.
+kubebuilder:rbac:groups=cluster.k8s.io,resources=machinedeployments;machinedeployments/status,verbs=get;list;watch;create;update;patch;delete