Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EstablishMasterConnection ¶
func EstablishMasterConnection(c *kubeadmapi.TokenDiscovery, clusterInfo *kubeadmapi.ClusterInfo) (*clientcmdapi.Config, error)
EstablishMasterConnection establishes a connection with exactly one of the provided API endpoints. The function builds a client for every endpoint and concurrently keeps trying to connect to any one of the provided endpoints. Blocks until at least one connection is established, then it stops the connection attempts for other endpoints and returns the valid client configuration, if any.
func PerformTLSBootstrap ¶
func PerformTLSBootstrap(cfg *clientcmdapi.Config) error
PerformTLSBootstrap executes a node certificate signing request.
func RetrieveTrustedClusterInfo ¶
func RetrieveTrustedClusterInfo(d *kubeadmapi.TokenDiscovery) (*kubeadmapi.ClusterInfo, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.