Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsNotFound ¶
IsNotFound asserts generic Azure API not found error.
Types ¶
type API ¶
type API interface { // GetVMSS gets VMSS metadata from Azure API. GetVMSS(ctx context.Context, resourceGroupName, vmssName string) (VMSS, error) // DeleteDeployment deletes the corresponding deployment via Azure API. DeleteDeployment(ctx context.Context, resourceGroupName, deploymentName string) error // DeleteVMSS deletes the corresponding VMSS via Azure API. DeleteVMSS(ctx context.Context, resourceGroupName, vmssName string) error // ListVMSSNodes lists VMs in given VMSS via Azure API. ListVMSSNodes(ctx context.Context, resourceGroupName, vmssName string) (VMSSNodes, error) }
func GetAPI ¶
func GetAPI(f *client.Factory, credentials *providerv1alpha1.CredentialSecret) API
type VMSS ¶
type VMSS *compute.VirtualMachineScaleSet
type VMSSNodes ¶
type VMSSNodes []compute.VirtualMachineScaleSetVM
Click to show internal directories.
Click to hide internal directories.