Documentation
¶
Index ¶
- func ParseCluster(r io.ReadCloser) (cluster *clusterv1.Cluster, bmc *baremetalspecv1.BareMetalCluster, err error)
- func ParseClusterManifest(file string) (*clusterv1.Cluster, *baremetalspecv1.BareMetalCluster, error)
- func TranslateServerArgumentsToStringMap(args []baremetalspecv1.ServerArgument) map[string]string
- type Specs
- func (s *Specs) GetCloudProvider() string
- func (s *Specs) GetClusterName() string
- func (s *Specs) GetKubeletArguments() map[string]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 ¶
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 ¶
func New(cluster *clusterv1.Cluster, bmc *baremetalspecv1.BareMetalCluster, machines []*clusterv1.Machine, bl []*baremetalspecv1.BareMetalMachine) *Specs
Get a "Specs" object that can create an SSHClient (and retrieve useful nested fields)
func NewFromPaths ¶
Get a "Specs" object that can create an SSHClient (and retrieve useful nested fields)
func (*Specs) GetCloudProvider ¶
func (*Specs) GetClusterName ¶
Getters for nested fields needed externally
func (*Specs) GetKubeletArguments ¶
func (*Specs) GetMachineCount ¶
func (*Specs) GetMasterCount ¶
func (*Specs) GetMasterPrivateAddress ¶
func (*Specs) GetMasterPublicAddress ¶
Click to show internal directories.
Click to hide internal directories.