Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct { Scope VNetScope async.Reconciler async.Getter async.TagsGetter }
Service provides operations on Azure resources.
func (*Service) IsManaged ¶ added in v1.2.0
IsManaged returns true if the virtual network has an owned tag with the cluster name as value, meaning that the vnet's lifecycle is managed.
type VNetScope ¶
type VNetScope interface { azure.Authorizer azure.AsyncStatusUpdater Vnet() *infrav1.VnetSpec VNetSpec() azure.ResourceSpecGetter ClusterName() string IsVnetManaged() bool UpdateSubnetCIDRs(string, []string) }
VNetScope defines the scope interface for a virtual network service.
type VNetSpec ¶ added in v1.2.0
type VNetSpec struct { ResourceGroup string Name string CIDRs []string Location string ExtendedLocation *infrav1.ExtendedLocationSpec ClusterName string AdditionalTags infrav1.Tags }
VNetSpec defines the specification for a Virtual Network.
func (*VNetSpec) OwnerResourceName ¶ added in v1.2.0
OwnerResourceName is a no-op for vnets.
func (*VNetSpec) Parameters ¶ added in v1.2.0
Parameters returns the parameters for the vnet.
func (*VNetSpec) ResourceGroupName ¶ added in v1.2.0
ResourceGroupName returns the name of the resource group.
func (*VNetSpec) ResourceName ¶ added in v1.2.0
ResourceName returns the name of the vnet.
Click to show internal directories.
Click to hide internal directories.