Documentation ¶
Index ¶
- type AzureVMScaleSetClient
- func (p *AzureVMScaleSetClient) AddVMScaleSetCredsToSecrets(ctx context.Context, data map[string][]byte, ...) error
- func (c *AzureVMScaleSetClient) CreateVMScaleSet(ctx context.Context, location string, resourceGroupName string, ...) (future compute.VirtualMachineScaleSetsCreateOrUpdateFuture, err error)
- func (c *AzureVMScaleSetClient) Delete(ctx context.Context, obj runtime.Object, opts ...resourcemanager.ConfigOption) (bool, error)
- func (c *AzureVMScaleSetClient) DeleteVMScaleSet(ctx context.Context, vmssName string, resourcegroup string) (status string, err error)
- func (c *AzureVMScaleSetClient) Ensure(ctx context.Context, obj runtime.Object, opts ...resourcemanager.ConfigOption) (bool, error)
- func (p *AzureVMScaleSetClient) GetOrPrepareSecret(ctx context.Context, instance *azurev1alpha1.AzureVMScaleSet) (map[string][]byte, error)
- func (c *AzureVMScaleSetClient) GetParents(obj runtime.Object) ([]resourcemanager.KubeParent, error)
- func (c *AzureVMScaleSetClient) GetStatus(obj runtime.Object) (*azurev1alpha1.ASOStatus, error)
- func (c *AzureVMScaleSetClient) GetVMScaleSet(ctx context.Context, resourcegroup string, vmssName string) (vmss compute.VirtualMachineScaleSet, err error)
- type VMScaleSetManager
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AzureVMScaleSetClient ¶
type AzureVMScaleSetClient struct { Creds config.Credentials SecretClient secrets.SecretClient Scheme *runtime.Scheme }
func NewAzureVMScaleSetClient ¶
func NewAzureVMScaleSetClient(creds config.Credentials, secretclient secrets.SecretClient, scheme *runtime.Scheme) *AzureVMScaleSetClient
func (*AzureVMScaleSetClient) AddVMScaleSetCredsToSecrets ¶
func (p *AzureVMScaleSetClient) AddVMScaleSetCredsToSecrets(ctx context.Context, data map[string][]byte, instance *azurev1alpha1.AzureVMScaleSet) error
func (*AzureVMScaleSetClient) CreateVMScaleSet ¶
func (c *AzureVMScaleSetClient) CreateVMScaleSet(ctx context.Context, location string, resourceGroupName string, resourceName string, vmSize string, capacity int64, osType string, adminUserName string, adminPassword string, sshPublicKeyData string, platformImageURN string, vnetName string, subnetName string, loadBalancerName string, backendAddressPoolName string, inboundNatPoolName string) (future compute.VirtualMachineScaleSetsCreateOrUpdateFuture, err error)
func (*AzureVMScaleSetClient) Delete ¶
func (c *AzureVMScaleSetClient) Delete(ctx context.Context, obj runtime.Object, opts ...resourcemanager.ConfigOption) (bool, error)
func (*AzureVMScaleSetClient) DeleteVMScaleSet ¶
func (*AzureVMScaleSetClient) Ensure ¶
func (c *AzureVMScaleSetClient) Ensure(ctx context.Context, obj runtime.Object, opts ...resourcemanager.ConfigOption) (bool, error)
func (*AzureVMScaleSetClient) GetOrPrepareSecret ¶
func (p *AzureVMScaleSetClient) GetOrPrepareSecret(ctx context.Context, instance *azurev1alpha1.AzureVMScaleSet) (map[string][]byte, error)
func (*AzureVMScaleSetClient) GetParents ¶
func (c *AzureVMScaleSetClient) GetParents(obj runtime.Object) ([]resourcemanager.KubeParent, error)
func (*AzureVMScaleSetClient) GetStatus ¶
func (c *AzureVMScaleSetClient) GetStatus(obj runtime.Object) (*azurev1alpha1.ASOStatus, error)
func (*AzureVMScaleSetClient) GetVMScaleSet ¶
func (c *AzureVMScaleSetClient) GetVMScaleSet(ctx context.Context, resourcegroup string, vmssName string) (vmss compute.VirtualMachineScaleSet, err error)
type VMScaleSetManager ¶
type VMScaleSetManager interface { CreateVMScaleSet(ctx context.Context, location string, resourceGroupName string, resourceName string, vmSize string, osType string, adminUserName string, adminPassword string, sshPublicKeyData string, networkInterfaceName string, platformImageURN string, loadBalancerName string) (compute.VirtualMachineScaleSet, error) DeleteVMScaleSet(ctx context.Context, resourceName string, resourceGroupName string) (string, error) GetVMScaleSet(ctx context.Context, resourceGroupName string, resourceName string) (compute.VirtualMachineScaleSet, error) // also embed async client methods resourcemanager.ARMClient }
Click to show internal directories.
Click to hide internal directories.