Documentation ¶
Index ¶
- Constants
- func New(s *cloud.Scope) cloud.Interface
- type ClusterManager
- func (cm *ClusterManager) AddToManager(m manager.Manager) error
- func (cm *ClusterManager) ApplyDelete() error
- func (cm *ClusterManager) ApplyScale() error
- func (cm *ClusterManager) CreateCredentials(kc kubernetes.Interface) error
- func (cm *ClusterManager) EnsureMaster(leaderMachine *clusterv1.Machine) error
- func (cm *ClusterManager) GetClusterAPIComponents() (string, error)
- func (cm *ClusterManager) GetDefaultMachineProviderSpec(sku string, role api.MachineRole) (clusterapi.ProviderSpec, error)
- func (cm *ClusterManager) GetKubeConfig() (*api.KubeConfig, error)
- func (cm *ClusterManager) GetMasterSKU(totalNodes int32) string
- func (cm *ClusterManager) NewMasterTemplateData(machine *clusterapi.Machine, token string, td cloud.TemplateData) cloud.TemplateData
- func (cm *ClusterManager) NewNodeTemplateData(machine *clusterapi.Machine, token string, td cloud.TemplateData) cloud.TemplateData
- func (cm *ClusterManager) PrepareCloud() error
- func (cm *ClusterManager) SetCloudConnector() error
- func (cm *ClusterManager) SetDefaultCluster() error
Constants ¶
View Source
const ControllerManager = `` /* 72556-byte string literal not displayed */
TODO: we're using our own forks now, so we should generate this yamls and use from them instead of hard-coding
View Source
const (
ProviderName = "gce"
)
View Source
const (
UID = "gce"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ClusterManager ¶
func (*ClusterManager) AddToManager ¶
func (cm *ClusterManager) AddToManager(m manager.Manager) error
AddToManager adds all Controllers to the Manager
func (*ClusterManager) ApplyDelete ¶
func (cm *ClusterManager) ApplyDelete() error
func (*ClusterManager) ApplyScale ¶
func (cm *ClusterManager) ApplyScale() error
func (*ClusterManager) CreateCredentials ¶
func (cm *ClusterManager) CreateCredentials(kc kubernetes.Interface) error
TODO: Verify
func (*ClusterManager) EnsureMaster ¶
func (cm *ClusterManager) EnsureMaster(leaderMachine *clusterv1.Machine) error
func (*ClusterManager) GetClusterAPIComponents ¶
func (cm *ClusterManager) GetClusterAPIComponents() (string, error)
func (*ClusterManager) GetDefaultMachineProviderSpec ¶
func (cm *ClusterManager) GetDefaultMachineProviderSpec(sku string, role api.MachineRole) (clusterapi.ProviderSpec, error)
func (*ClusterManager) GetKubeConfig ¶
func (cm *ClusterManager) GetKubeConfig() (*api.KubeConfig, error)
func (*ClusterManager) GetMasterSKU ¶
func (cm *ClusterManager) GetMasterSKU(totalNodes int32) string
func (*ClusterManager) NewMasterTemplateData ¶
func (cm *ClusterManager) NewMasterTemplateData(machine *clusterapi.Machine, token string, td cloud.TemplateData) cloud.TemplateData
func (*ClusterManager) NewNodeTemplateData ¶
func (cm *ClusterManager) NewNodeTemplateData(machine *clusterapi.Machine, token string, td cloud.TemplateData) cloud.TemplateData
func (*ClusterManager) PrepareCloud ¶
func (cm *ClusterManager) PrepareCloud() error
func (*ClusterManager) SetCloudConnector ¶
func (cm *ClusterManager) SetCloudConnector() error
func (*ClusterManager) SetDefaultCluster ¶
func (cm *ClusterManager) SetDefaultCluster() error
Click to show internal directories.
Click to hide internal directories.