specs

package
v0.8.5-rc.1 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2020 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func TranslateServerArgumentsToStringMap

func TranslateServerArgumentsToStringMap(args []baremetalspecv1.ServerArgument) map[string]string

Types

type Specs

type Specs struct {
	Cluster     *clusterv1.Cluster
	ClusterSpec *baremetalspecv1.BareMetalClusterProviderSpec
	MasterSpec  *baremetalspecv1.BareMetalMachineProviderSpec
	// contains filtered or unexported fields
}

func New

func New(cluster *clusterv1.Cluster, machines []*clusterv1.Machine) *Specs

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

func NewFromPaths

func NewFromPaths(clusterManifestPath, machinesManifestPath string) *Specs

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

func (*Specs) GetCloudProvider

func (s *Specs) GetCloudProvider() string

func (*Specs) GetClusterName

func (s *Specs) GetClusterName() string

Getters for nested fields needed externally

func (*Specs) GetKubeletArguments

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

func (*Specs) GetMachineCount

func (s *Specs) GetMachineCount() int

func (*Specs) GetMasterCount

func (s *Specs) GetMasterCount() int

func (*Specs) GetMasterPrivateAddress

func (s *Specs) GetMasterPrivateAddress() string

func (*Specs) GetMasterPublicAddress

func (s *Specs) GetMasterPublicAddress() string

Jump to

Keyboard shortcuts

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