node

package
v1.6.0-beta.0 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2017 License: Apache-2.0 Imports: 20 Imported by: 0

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.

Jump to

Keyboard shortcuts

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