Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GetRegistrationAddresses ¶
type GetRegistrationAddresses func(cluster *clusterv1.Cluster, rcp *controlplanev1.RKE2ControlPlane, cpMachines collections.Machines) ([]string, error)
GetRegistrationAddresses is a function type that is used to provide different implementations of getting the addresses just when registering a new node into a cluster.
func NewRegistrationMethod ¶
func NewRegistrationMethod(method string) (GetRegistrationAddresses, error)
NewRegistrationMethod returns the function for the registration addresses based on the passed method name.
Click to show internal directories.
Click to hide internal directories.