Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(scope NatGatewayScope) *aso.Service[*asonetworkv1.NatGateway, NatGatewayScope]
New creates a new service.
Types ¶
type NatGatewayScope ¶
type NatGatewayScope interface { azure.ClusterScoper aso.Scope SetNatGatewayIDInSubnets(natGatewayName string, natGatewayID string) NatGatewaySpecs() []azure.ASOResourceSpecGetter[*asonetworkv1.NatGateway] }
NatGatewayScope defines the scope interface for NAT gateway service.
type NatGatewaySpec ¶ added in v1.1.0
type NatGatewaySpec struct { Name string Namespace string ResourceGroup string SubscriptionID string Location string NatGatewayIP infrav1.PublicIPSpec ClusterName string AdditionalTags infrav1.Tags IsVnetManaged bool }
NatGatewaySpec defines the specification for a NAT gateway.
func (*NatGatewaySpec) Parameters ¶ added in v1.1.0
func (s *NatGatewaySpec) Parameters(ctx context.Context, existingNatGateway *asonetworkv1.NatGateway) (params *asonetworkv1.NatGateway, err error)
Parameters implements azure.ASOResourceSpecGetter.
func (*NatGatewaySpec) ResourceRef ¶ added in v1.12.0
func (s *NatGatewaySpec) ResourceRef() *asonetworkv1.NatGateway
ResourceRef implements azure.ASOResourceSpecGetter.
func (*NatGatewaySpec) WasManaged ¶ added in v1.12.0
func (s *NatGatewaySpec) WasManaged(resource *asonetworkv1.NatGateway) 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.