state

package
v0.0.0-...-5c05c6f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 13, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MaintenanceStateLabelKey string = "cloud.sap/maintenance-state"

	MachineDeletedLabelKey       string = "runtime-extension-maintenance-controller.cloud.sap/machine-deleted"
	MachineDeletedLabelValue     string = "true"
	MachineMaintenanceLabelKey   string = "runtime-extension-maintenance-controller.cloud.sap/machine-maintenance"
	MachineMaintenanceLabelValue string = "true"
	ApproveMaintenanceLabelKey   string = "runtime-extension-maintenance-controller.cloud.sap/approve-maintenance"
	ApproveMaintenanceLabelValue string = "true"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Reconciler

type Reconciler struct {
	Log              logr.Logger
	ManagementClient client.Client
	Connections      *clusters.Connections
	Cluster          types.NamespacedName
}

func (*Reconciler) PatchState

func (r *Reconciler) PatchState(ctx context.Context, machine *clusterv1beta1.Machine, node *corev1.Node) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL