azure

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2019 License: Apache-2.0 Imports: 32 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// DefaultUserName is the default username for created vm
	DefaultUserName = "capi"
	// DefaultVnetCIDR is the default Vnet CIDR
	DefaultVnetCIDR = "10.0.0.0/8"
	// DefaultControlPlaneSubnetCIDR is the default Control Plane Subnet CIDR
	DefaultControlPlaneSubnetCIDR = "10.0.0.0/16"
	// DefaultNodeSubnetCIDR is the default Node Subnet CIDR
	DefaultNodeSubnetCIDR = "10.1.0.0/16"
	// DefaultInternalLBIPAddress is the default internal load balancer ip address
	DefaultInternalLBIPAddress = "10.0.0.100"
	// DefaultAzureDNSZone is the default provided azure dns zone
	DefaultAzureDNSZone = "cloudapp.azure.com"
)
View Source
const ClusterAPIComponents = `` /* 67259-byte string literal not displayed */
View Source
const (
	UID = "azure"
)

Variables

This section is empty.

Functions

func New

func New(s *cloud.Scope) cloud.Interface

Types

type ClusterManager

type ClusterManager struct {
	*cloud.Scope
	// contains filtered or unexported fields
}

func (*ClusterManager) AddToManager

func (cm *ClusterManager) AddToManager(m manager.Manager) error

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

func (*ClusterManager) EnsureMaster

func (cm *ClusterManager) EnsureMaster(leaderMachine *v1alpha1.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 *v1alpha1.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) SetClusterProviderConfig

func (cm *ClusterManager) SetClusterProviderConfig() error

func (*ClusterManager) SetDefaultCluster

func (cm *ClusterManager) SetDefaultCluster() error

TODO: add test to make sure that apiserver certSANs have internal lb adress

Jump to

Keyboard shortcuts

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