Documentation ¶
Index ¶
- func GetAPIEndpointsFromConfigMap(client clientset.Interface) ([]string, error)
- func GetClusterConfiguration(client clientset.Interface) (*kubeadmapi.InitConfiguration, error)
- func GetCurrentClusterVersion(client clientset.Interface) (*version.Version, error)
- func GetKubeadmApisVersion(kubernetesVersion *version.Version) string
- func RemoveAPIEndpointFromConfigMap(client clientset.Interface, node *v1.Node) error
- func SetContainerImagesWithClusterVersion(initConfiguration *kubeadmapi.InitConfiguration, ...)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAPIEndpointsFromConfigMap ¶
GetAPIEndpointsFromConfigMap returns the api endpoint held in the config map
func GetClusterConfiguration ¶ added in v0.8.0
func GetClusterConfiguration(client clientset.Interface) (*kubeadmapi.InitConfiguration, error)
GetClusterConfiguration returns the cluster configuration from the `kubeadm-config` ConfigMap
func GetCurrentClusterVersion ¶ added in v0.6.0
GetCurrentClusterVersion returns the current cluster version
func GetKubeadmApisVersion ¶ added in v0.9.0
GetKubeadmApisVersion returns the api version to use in the kubeadm-init.conf
func RemoveAPIEndpointFromConfigMap ¶
RemoveAPIEndpointFromConfigMap removes api endpoints from the config map
func SetContainerImagesWithClusterVersion ¶ added in v0.8.0
func SetContainerImagesWithClusterVersion(initConfiguration *kubeadmapi.InitConfiguration, clusterVersion *version.Version)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.