Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Amazon ¶
type Amazon struct { }
func NewAmazon ¶
func NewAmazon() *Amazon
NewAmazon is used to create a new client for using Amazon client to create RHEL 7 server cluster.
func (*Amazon) ProvisionCluster ¶
func (amz *Amazon) ProvisionCluster() ([]deploy.CloudServer, error)
type Centurylink ¶
type Centurylink struct {
// contains filtered or unexported fields
}
Centurylink has the data that is used for provisioning a server. Most of the data is passed in environment variables. The following env vars are required for provisioning a server in Centurylink, USERNAME, PASSWORD, GROUP_ID, CPU, MEMORY_GB, OPEN_TCP_PORTS
func NewCenturylink ¶
func NewCenturylink() *Centurylink
NewCenturylink is used to create a new client for using Centurylink client to create RHEL 7 server cluster.
func (Centurylink) ProvisionCluster ¶
func (clc Centurylink) ProvisionCluster() ([]deploy.CloudServer, error)
ProvisionCluster is used to provision a cluster of RHEL7 VMs (1 Master + n Minions).
type CloudProvider ¶
type CloudProvider interface {
ProvisionCluster() ([]deploy.CloudServer, error)
}
CloudProvider is used to deploy kubernetes cluster on any of the supported cloud providers.
func New ¶
func New(providerType string) CloudProvider
New is used to instantiate a CloudProvider to use to provision the cluster.