Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConfigPath ¶
func ConfigPath(role deployments.Role, target *deployments.Target) string
ConfigPath returns the configuration path for a specific Target; if this file does not exist, it will be created out of the template file
FIXME: being this a part of the go API accept the toplevel directory instead of
using the PWD
FIXME: error handling with `github.com/pkg/errors`; return errors
func Join ¶
func Join(joinConfiguration deployments.JoinConfiguration, target *deployments.Target)
Join joins a new machine to the cluster. The role of the machine will be provided by the JoinConfiguration, and will target Target node
FIXME: being this a part of the go API accept the toplevel directory instead of
using the PWD
FIXME: error handling with `github.com/pkg/errors`; return errors
func LoadJoinConfigurationFromFile ¶ added in v0.2.0
func LoadJoinConfigurationFromFile(cfgPath string) (*kubeadmapi.JoinConfiguration, error)
LoadJoinConfigurationFromFile loads versioned JoinConfiguration from file, converts it to internal, defaults and validates it
Types ¶
This section is empty.