Documentation ¶
Index ¶
Constants ¶
View Source
const ServiceName = "group"
ServiceName is the name of this service.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GroupScope ¶
type GroupScope interface { azure.Authorizer azure.AsyncStatusUpdater GroupSpec() azure.ResourceSpecGetter ClusterName() string }
GroupScope defines the scope interface for a group service.
type GroupSpec ¶ added in v0.5.3
type GroupSpec struct { Name string Location string ClusterName string AdditionalTags infrav1.Tags }
GroupSpec defines the specification for a Resource Group.
func (*GroupSpec) OwnerResourceName ¶ added in v0.5.3
OwnerResourceName is a no-op for groups.
func (*GroupSpec) Parameters ¶ added in v0.5.3
func (s *GroupSpec) Parameters(ctx context.Context, existing interface{}) (params interface{}, err error)
Parameters returns the parameters for the group.
func (*GroupSpec) ResourceGroupName ¶ added in v0.5.3
ResourceGroupName returns the name of the group. Note that it is the same as the resource name in this case.
func (*GroupSpec) ResourceName ¶ added in v0.5.3
ResourceName returns the name of the group.
type Service ¶
type Service struct { Scope GroupScope async.Reconciler // contains filtered or unexported fields }
Service provides operations on Azure resources.
func (*Service) IsManaged ¶ added in v1.3.0
IsManaged returns true if the resource group has an owned tag with the cluster name as value, meaning that the resource group's lifecycle is managed.
Directories ¶
Path | Synopsis |
---|---|
Package mock_groups is a generated GoMock package.
|
Package mock_groups is a generated GoMock package. |
Click to show internal directories.
Click to hide internal directories.