specs

package
v0.9.0-alpha.2 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2020 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseCluster

func ParseCluster(r io.ReadCloser) (cluster *clusterv1.Cluster, bmc *baremetalspecv1.BareMetalCluster, err error)

ParseCluster converts the manifest file into a Cluster

func ParseClusterManifest added in v0.10.0

func ParseClusterManifest(file string) (*clusterv1.Cluster, *baremetalspecv1.BareMetalCluster, error)

func TranslateServerArgumentsToStringMap

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

Types

type Specs

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

func New

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