Documentation ¶
Index ¶
- func CreateKubeconfigs(cfg *kubeadmapi.InitConfiguration, kubeConfigDir string) error
- func CreateNewBootstrapToken() (string, error)
- func CreatePKISACertificates(cfg *kubeadmapi.InitConfiguration) error
- func GetDiscoveryHashes(kubeConfigFile string) ([]string, error)
- type Spec
- func (spec *Spec) Bootstrap() error
- func (spec *Spec) CleanupInfrastructure() error
- func (spec *Spec) CreateBaseInfrastructure() error
- func (spec *Spec) CreateInfrastructure() error
- func (in *Spec) DeepCopyInto(out *Spec)
- func (spec *Spec) GetBootstrapStartupScript(kubernetesVersion string) string
- func (spec *Spec) GetEncodedBootstrapStartupScript(kubernetesVersion string) string
- func (spec *Spec) UpdateSpec() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateKubeconfigs ¶
func CreateKubeconfigs(cfg *kubeadmapi.InitConfiguration, kubeConfigDir string) error
func CreateNewBootstrapToken ¶
func CreatePKISACertificates ¶
func CreatePKISACertificates(cfg *kubeadmapi.InitConfiguration) error
func GetDiscoveryHashes ¶
Types ¶
type Spec ¶
type Spec struct { azhelpers.CloudConfiguration `json:"inline"` DNSPrefix string `json:"dnsPrefix,omitempty"` ClusterName string `json:"clusterName,omitempty"` CACertificate string `json:"caCertificate,omitempty"` CACertificateKey string `json:"caCertificateKey,omitempty"` ServiceAccountKey string `json:"serviceAccountKey,omitempty"` ServiceAccountPub string `json:"serviceAccountPub,omitempty"` FrontProxyCACertificate string `json:"frontProxyCACertificate,omitempty"` FrontProxyCACertificateKey string `json:"frontProxyCACertificateKey,omitempty"` EtcdCACertificate string `json:"etcdCACertificate,omitempty"` EtcdCACertificateKey string `json:"etcdCACertificateKey,omitempty"` AdminKubeConfig string `json:"adminKubeConfig,omitempty"` CustomerKubeConfig string `json:"customerKubeConfig,omitempty"` DiscoveryHashes []string `json:"discoveryHashes,omitempty"` PublicDNSName string `json:"publicDNSName,omitempty"` PublicIPAdress string `json:"publicIPAddress,omitempty"` InternalDNSName string `json:"internalDNSName,omitempty"` AzureCloudProviderConfig string `json:"azureCloudProviderConfig,omitempty"` BootstrapVMSKUType string `json:"bootstrapVMSKUType,omitempty"` BootstrapKubernetesVersion string `json:"bootstrapKubernetesVersion,omitempty"` }
func CreateSpec ¶
func CreateSpec(cloudConfig *azhelpers.CloudConfiguration, dnsPrefix, vmSKUType, kubernetesVersion string) (*Spec, error)
func (*Spec) CleanupInfrastructure ¶
func (*Spec) CreateBaseInfrastructure ¶
func (*Spec) CreateInfrastructure ¶
func (*Spec) DeepCopyInto ¶
func (*Spec) GetBootstrapStartupScript ¶ added in v0.1.3
func (*Spec) GetEncodedBootstrapStartupScript ¶ added in v0.1.3
func (*Spec) UpdateSpec ¶
Click to show internal directories.
Click to hide internal directories.