Documentation
¶
Index ¶
- func ParseCluster(rc io.ReadCloser) (*clusterv1.Cluster, *existinginfrav1.ExistingInfraCluster, error)
- func ParseClusterManifest(file string) (*clusterv1.Cluster, *existinginfrav1.ExistingInfraCluster, error)
- func PrintErrors(errors field.ErrorList)
- func TranslateServerArgumentsToStringMap(args []existinginfrav1.ServerArgument) map[string]string
- func WriteManifest(cluster *clusterv1.Cluster, eic *existinginfrav1.ExistingInfraCluster, ...) error
- type Specs
- func (s *Specs) GetAPIServerArguments() map[string]string
- func (s *Specs) GetCloudProvider() string
- func (s *Specs) GetClusterName() string
- func (s *Specs) GetKubeletArguments() map[string]string
- func (s *Specs) GetKubernetesVersion() string
- func (s *Specs) GetMachineCount() int
- func (s *Specs) GetMasterCount() int
- func (s *Specs) GetMasterPrivateAddress() string
- func (s *Specs) GetMasterPublicAddress() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseCluster ¶ added in v0.0.4
func ParseCluster(rc io.ReadCloser) (*clusterv1.Cluster, *existinginfrav1.ExistingInfraCluster, error)
ParseCluster converts the manifest file into a Cluster
func ParseClusterManifest ¶ added in v0.0.4
func ParseClusterManifest(file string) (*clusterv1.Cluster, *existinginfrav1.ExistingInfraCluster, error)
ParseClusterManifest parses a cluster manifest file
func PrintErrors ¶ added in v0.0.4
func TranslateServerArgumentsToStringMap ¶
func TranslateServerArgumentsToStringMap(args []existinginfrav1.ServerArgument) map[string]string
func WriteManifest ¶ added in v0.0.4
func WriteManifest(cluster *clusterv1.Cluster, eic *existinginfrav1.ExistingInfraCluster, path string) error
WriteManifest takes a cluster and ExistingInfra cluster and creates the manifest file
Types ¶
type Specs ¶ added in v0.0.4
type Specs struct { Cluster *clusterv1.Cluster ClusterSpec *existinginfrav1.ClusterSpec MasterSpec *existinginfrav1.MachineSpec // contains filtered or unexported fields }
func New ¶ added in v0.0.4
func New(cluster *clusterv1.Cluster, eic *existinginfrav1.ExistingInfraCluster, machines []*clusterv1.Machine, bl []*existinginfrav1.ExistingInfraMachine) *Specs
Get a "Specs" object that can create an SSHClient (and retrieve useful nested fields)
func (*Specs) GetAPIServerArguments ¶ added in v0.0.7
func (*Specs) GetCloudProvider ¶ added in v0.0.4
func (*Specs) GetClusterName ¶ added in v0.0.4
Getters for nested fields needed externally
func (*Specs) GetKubeletArguments ¶ added in v0.0.4
func (*Specs) GetKubernetesVersion ¶ added in v0.0.4
func (*Specs) GetMachineCount ¶ added in v0.0.4
func (*Specs) GetMasterCount ¶ added in v0.0.4
func (*Specs) GetMasterPrivateAddress ¶ added in v0.0.4
func (*Specs) GetMasterPublicAddress ¶ added in v0.0.4
Click to show internal directories.
Click to hide internal directories.