natgateways

package
v1.13.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 24, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL