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 }
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 }
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 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.
Directories ¶
Path | Synopsis |
---|---|
Package mock_virtualnetworks is a generated GoMock package.
|
Package mock_virtualnetworks is a generated GoMock package. |
Click to show internal directories.
Click to hide internal directories.