Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(scope VNetScope) *aso.Service[*asonetworkv1.VirtualNetwork, VNetScope]
New creates a new service.
Types ¶
type VNetScope ¶
type VNetScope interface { aso.Scope Vnet() *infrav1.VnetSpec VNetSpec() azure.ASOResourceSpecGetter[*asonetworkv1.VirtualNetwork] 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 Namespace string CIDRs []string Location string ExtendedLocation *infrav1.ExtendedLocationSpec ClusterName string AdditionalTags infrav1.Tags }
VNetSpec defines the specification for a Virtual Network.
func (*VNetSpec) Parameters ¶ added in v1.2.0
func (s *VNetSpec) Parameters(ctx context.Context, existing *asonetworkv1.VirtualNetwork) (*asonetworkv1.VirtualNetwork, error)
Parameters implements azure.ASOResourceSpecGetter.
func (*VNetSpec) ResourceRef ¶ added in v1.13.0
func (s *VNetSpec) ResourceRef() *asonetworkv1.VirtualNetwork
ResourceRef implements azure.ASOResourceSpecGetter.
func (*VNetSpec) WasManaged ¶ added in v1.13.0
func (s *VNetSpec) WasManaged(resource *asonetworkv1.VirtualNetwork) bool
WasManaged implements azure.ASOResourceSpecGetter.
Directories ¶
Path | Synopsis |
---|---|
Run go generate to regenerate this mock.
|
Run go generate to regenerate this mock. |
Click to show internal directories.
Click to hide internal directories.