specs

package
v0.2.5 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2021 License: Apache-2.0 Imports: 13 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseCluster added in v0.0.4

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 PrintErrors(errors field.ErrorList)

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

Get a "Specs" object that can create an SSHClient (and retrieve useful nested fields)

func (*Specs) GetAPIServerArguments added in v0.0.7

func (s *Specs) GetAPIServerArguments() map[string]string

func (*Specs) GetCloudProvider added in v0.0.4

func (s *Specs) GetCloudProvider() string

func (*Specs) GetClusterName added in v0.0.4

func (s *Specs) GetClusterName() string

Getters for nested fields needed externally

func (*Specs) GetKubeletArguments added in v0.0.4

func (s *Specs) GetKubeletArguments() map[string]string

func (*Specs) GetKubernetesVersion added in v0.0.4

func (s *Specs) GetKubernetesVersion() string

func (*Specs) GetMachineCount added in v0.0.4

func (s *Specs) GetMachineCount() int

func (*Specs) GetMasterCount added in v0.0.4

func (s *Specs) GetMasterCount() int

func (*Specs) GetMasterPrivateAddress added in v0.0.4

func (s *Specs) GetMasterPrivateAddress() string

func (*Specs) GetMasterPublicAddress added in v0.0.4

func (s *Specs) GetMasterPublicAddress() string

Jump to

Keyboard shortcuts

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