Documentation ¶
Overview ¶
Package machine implements machine controller.
Index ¶
Constants ¶
View Source
const ( // KubeadmControlPlaneAPIVersion inlined from KCP (we want to avoid importing the KCP API package). KubeadmControlPlaneAPIVersion = "controlplane.cluster.x-k8s.io/v1beta1" // KubeadmControlPlanePreTerminateHookCleanupAnnotation inlined from KCP (we want to avoid importing the KCP API package). KubeadmControlPlanePreTerminateHookCleanupAnnotation = clusterv1.PreTerminateDeleteHookAnnotationPrefix + "/kcp-cleanup" )
Variables ¶
View Source
var ( // ErrNodeNotFound signals that a corev1.Node could not be found for the given provider id. ErrNodeNotFound = errors.New("cannot find node with matching ProviderID") )
Functions ¶
func HasMatchingLabels ¶
func HasMatchingLabels(matchSelector metav1.LabelSelector, matchLabels map[string]string) bool
HasMatchingLabels verifies that the Label Selector matches the given Labels.
Types ¶
type Reconciler ¶
type Reconciler struct { Client client.Client APIReader client.Reader ClusterCache clustercache.ClusterCache // WatchFilterValue is the label value used to filter events prior to reconciliation. WatchFilterValue string RemoteConditionsGracePeriod time.Duration // contains filtered or unexported fields }
Reconciler reconciles a Machine object.
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.