Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func APIEndpointFromClusterConfiguration ¶ added in v0.3.0
func APIEndpointFromClusterConfiguration(c *ClusterConfiguration) (*clusterv1.APIEndpoint, error)
APIEndpointFromClusterConfiguration parses the API Endpoint (Host and Port) from the kubeadm ClusterConfiguration.
Types ¶
type ClusterConfiguration ¶ added in v0.3.0
type ClusterConfiguration struct {
ControlPlaneEndpoint string `json:"controlPlaneEndpoint,omitempty"`
}
ClusterConfiguration is a subset of the equivalent kubeadm type
Click to show internal directories.
Click to hide internal directories.