Documentation ¶
Index ¶
- func CreateBlockBlob(ctx context.Context, in *CreateBlockBlobInput) (string, error)
- type CreateBlobContainerInput
- type CreateBlobContainerOutput
- type CreateBlockBlobInput
- type CreateBlockBlobOutput
- type CreateGalleryImageInput
- type CreateGalleryImageOutput
- type CreateGalleryImageVersionInput
- type CreateGalleryImageVersionOutput
- type CreateImageGalleryInput
- type CreateImageGalleryOutput
- type CreatePageBlobInput
- type CreatePageBlobOutput
- type CreateStorageAccountInput
- type CreateStorageAccountOutput
- type Provider
- func (*Provider) BootstrapHasPublicIP() bool
- func (p Provider) Ignition(ctx context.Context, in clusterapi.IgnitionInput) ([]*corev1.Secret, error)
- func (p *Provider) InfraReady(ctx context.Context, in clusterapi.InfraReadyInput) error
- func (p *Provider) Name() string
- func (p *Provider) PostProvision(ctx context.Context, in clusterapi.PostProvisionInput) error
- func (p *Provider) PreProvision(ctx context.Context, in clusterapi.PreProvisionInput) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateBlockBlob ¶
func CreateBlockBlob(ctx context.Context, in *CreateBlockBlobInput) (string, error)
CreateBlockBlob creates a block blob and uploads a file from a URL to it.
Types ¶
type CreateBlobContainerInput ¶
type CreateBlobContainerInput struct { SubscriptionID string ResourceGroupName string StorageAccountName string ContainerName string StorageClientFactory *armstorage.ClientFactory }
CreateBlobContainerInput contains the input parameters used for creating a blob storage container.
type CreateBlobContainerOutput ¶
type CreateBlobContainerOutput struct {
BlobContainer *armstorage.BlobContainer
}
CreateBlobContainerOutput contains the return values after creating a blob storage container.
func CreateBlobContainer ¶
func CreateBlobContainer(ctx context.Context, in *CreateBlobContainerInput) (*CreateBlobContainerOutput, error)
CreateBlobContainer creates a blob container in a storage account.
type CreateBlockBlobInput ¶
type CreateBlockBlobInput struct { StorageURL string BlobURL string StorageAccountName string BootstrapIgnData []byte StorageAccountKeys []armstorage.AccountKey CloudConfiguration cloud.Configuration }
CreateBlockBlobInput containers the input parameters used for creating a block blob.
type CreateBlockBlobOutput ¶
CreateBlockBlobOutput contains the return values after creating a block blob.
type CreateGalleryImageInput ¶
type CreateGalleryImageInput struct { ResourceGroupName string GalleryName string GalleryImageName string Region string Tags map[string]*string TokenCredential azcore.TokenCredential CloudConfiguration cloud.Configuration OSType armcompute.OperatingSystemTypes OSState armcompute.OperatingSystemStateTypes HyperVGeneration armcompute.HyperVGeneration Publisher string Offer string SKU string ComputeClientFactory *armcompute.ClientFactory }
CreateGalleryImageInput contains the input parameters for creating a gallery image.
type CreateGalleryImageOutput ¶
type CreateGalleryImageOutput struct {
GalleryImage *armcompute.GalleryImage
}
CreateGalleryImageOutput contains the return values after creating a gallery image.
func CreateGalleryImage ¶
func CreateGalleryImage(ctx context.Context, in *CreateGalleryImageInput) (*CreateGalleryImageOutput, error)
CreateGalleryImage creates a gallery image.
type CreateGalleryImageVersionInput ¶
type CreateGalleryImageVersionInput struct { ResourceGroupName string GalleryName string GalleryImageName string GalleryImageVersionName string Region string StorageAccountID string BlobURL string Tags map[string]*string RegionalReplicaCount int32 ComputeClientFactory *armcompute.ClientFactory }
CreateGalleryImageVersionInput contains the input parameters for creating a gallery image version.
type CreateGalleryImageVersionOutput ¶
type CreateGalleryImageVersionOutput struct {
GalleryImageVersion *armcompute.GalleryImageVersion
}
CreateGalleryImageVersionOutput contains the return values after create a gallery image version.
func CreateGalleryImageVersion ¶
func CreateGalleryImageVersion(ctx context.Context, in *CreateGalleryImageVersionInput) (*CreateGalleryImageVersionOutput, error)
CreateGalleryImageVersion creates a gallery image version.
type CreateImageGalleryInput ¶
type CreateImageGalleryInput struct { SubscriptionID string ResourceGroupName string GalleryName string Region string Tags map[string]*string TokenCredential azcore.TokenCredential CloudConfiguration cloud.Configuration }
CreateImageGalleryInput contains the input parameters for creating a image gallery.
type CreateImageGalleryOutput ¶
type CreateImageGalleryOutput struct { ComputeClientFactory *armcompute.ClientFactory Gallery *armcompute.Gallery }
CreateImageGalleryOutput contains the return values after creating a image gallery.
func CreateImageGallery ¶
func CreateImageGallery(ctx context.Context, in *CreateImageGalleryInput) (*CreateImageGalleryOutput, error)
CreateImageGallery creates a image gallery.
type CreatePageBlobInput ¶
type CreatePageBlobInput struct { StorageURL string BlobURL string ImageURL string StorageAccountName string ImageLength int64 StorageAccountKeys []armstorage.AccountKey CloudConfiguration cloud.Configuration }
CreatePageBlobInput containers the input parameters used for creating a page blob.
type CreatePageBlobOutput ¶
CreatePageBlobOutput contains the return values after creating a page blob.
func CreatePageBlob ¶
func CreatePageBlob(ctx context.Context, in *CreatePageBlobInput) (*CreatePageBlobOutput, error)
CreatePageBlob creates a blob and uploads a file from a URL to it.
type CreateStorageAccountInput ¶
type CreateStorageAccountInput struct { SubscriptionID string ResourceGroupName string StorageAccountName string Region string Tags map[string]*string CloudName aztypes.CloudEnvironment TokenCredential azcore.TokenCredential CloudConfiguration cloud.Configuration }
CreateStorageAccountInput contains the input parameters for creating a storage account.
type CreateStorageAccountOutput ¶
type CreateStorageAccountOutput struct { StorageAccount *armstorage.Account StorageAccountsClient *armstorage.AccountsClient StorageClientFactory *armstorage.ClientFactory StorageAccountKeys []armstorage.AccountKey }
CreateStorageAccountOutput contains the return values after creating a storage account.
func CreateStorageAccount ¶
func CreateStorageAccount(ctx context.Context, in *CreateStorageAccountInput) (*CreateStorageAccountOutput, error)
CreateStorageAccount creates a new storage account.
type Provider ¶
type Provider struct { ResourceGroupName string StorageAccountName string StorageURL string StorageAccount *armstorage.Account StorageClientFactory *armstorage.ClientFactory StorageAccountKeys []armstorage.AccountKey Tags map[string]*string // contains filtered or unexported fields }
Provider implements Azure CAPI installation.
func (*Provider) BootstrapHasPublicIP ¶
BootstrapHasPublicIP indicates that an ExternalIP is not required in the machine ready checks.
func (Provider) Ignition ¶
func (p Provider) Ignition(ctx context.Context, in clusterapi.IgnitionInput) ([]*corev1.Secret, error)
Ignition provisions the Azure container that holds the bootstrap ignition file.
func (*Provider) InfraReady ¶
func (p *Provider) InfraReady(ctx context.Context, in clusterapi.InfraReadyInput) error
InfraReady is called once the installer infrastructure is ready.
func (*Provider) PostProvision ¶
func (p *Provider) PostProvision(ctx context.Context, in clusterapi.PostProvisionInput) error
PostProvision provisions an external Load Balancer (when appropriate), and adds configuration for the MCS to the CAPI-provisioned internal LB.
func (*Provider) PreProvision ¶
func (p *Provider) PreProvision(ctx context.Context, in clusterapi.PreProvisionInput) error
PreProvision is called before provisioning using CAPI controllers has begun.