Documentation ¶
Overview ¶
Package locking implements locking functionality.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ControlPlaneInitMutex ¶
type ControlPlaneInitMutex struct {
// contains filtered or unexported fields
}
ControlPlaneInitMutex uses a ConfigMap to synchronize cluster initialization.
func NewControlPlaneInitMutex ¶
func NewControlPlaneInitMutex(client client.Client) *ControlPlaneInitMutex
NewControlPlaneInitMutex returns a lock that can be held by a control plane node before init.
Click to show internal directories.
Click to hide internal directories.