Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ScaleSetVMScope ¶
type ScaleSetVMScope interface { azure.ClusterDescriber azure.AsyncStatusUpdater InstanceID() string ProviderID() string ScaleSetName() string OrchestrationMode() infrav1.OrchestrationModeType SetVMSSVM(vmssvm *azure.VMSSVM) }
ScaleSetVMScope defines the scope interface for a scale sets service.
type Service ¶
type Service struct { Client client VMClient virtualmachines.Client Scope ScaleSetVMScope }
Service provides operations on Azure resources.
func (*Service) Delete ¶
Delete deletes a scaleset instance asynchronously returning a future which encapsulates the long-running operation.
type VMSSFlexVMGetter ¶ added in v1.7.0
VMSSFlexVMGetter gets the information required to create, update, or delete an Azure resource.
func (*VMSSFlexVMGetter) OwnerResourceName ¶ added in v1.7.0
func (vm *VMSSFlexVMGetter) OwnerResourceName() string
OwnerResourceName returns the name of the resource that owns this Azure subresource.
func (*VMSSFlexVMGetter) Parameters ¶ added in v1.7.0
func (vm *VMSSFlexVMGetter) Parameters(ctx context.Context, existing interface{}) (params interface{}, err error)
Parameters takes the existing resource and returns the desired parameters of the resource. If the resource does not exist, or we do not care about existing parameters to update the resource, existing should be `nil`. If no update is needed on the resource, Parameters should return `nil`. NOTE: Not yet implemented, see kubernetes-sigs/cluster-api-provider-azure#2720.
func (*VMSSFlexVMGetter) ResourceGroupName ¶ added in v1.7.0
func (vm *VMSSFlexVMGetter) ResourceGroupName() string
ResourceGroupName returns the name of the resource group the resource is in.
func (*VMSSFlexVMGetter) ResourceName ¶ added in v1.7.0
func (vm *VMSSFlexVMGetter) ResourceName() string
ResourceName returns the name of the resource.
Directories ¶
Path | Synopsis |
---|---|
Package mock_scalesetvms is a generated GoMock package.
|
Package mock_scalesetvms is a generated GoMock package. |