subnets

package
v1.17.2 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2024 License: Apache-2.0 Imports: 12 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 SubnetScope

type SubnetScope interface {
	aso.Scope
	UpdateSubnetID(string, string)
	UpdateSubnetCIDRs(string, []string)
	SubnetSpecs() []azure.ASOResourceSpecGetter[*asonetworkv1.VirtualNetworksSubnet]
}

SubnetScope defines the scope interface for a subnet service.

type SubnetSpec added in v1.2.0

type SubnetSpec struct {
	Name              string
	ResourceGroup     string
	SubscriptionID    string
	CIDRs             []string
	VNetName          string
	VNetResourceGroup string
	IsVNetManaged     bool
	RouteTableName    string
	SecurityGroupName string
	NatGatewayName    string
	ServiceEndpoints  infrav1.ServiceEndpoints
}

SubnetSpec defines the specification for a Subnet.

func (*SubnetSpec) Parameters added in v1.2.0

func (s *SubnetSpec) Parameters(ctx context.Context, existing *asonetworkv1.VirtualNetworksSubnet) (parameters *asonetworkv1.VirtualNetworksSubnet, err error)

Parameters implements azure.ASOResourceSpecGetter.

func (*SubnetSpec) ResourceRef added in v1.13.0

func (s *SubnetSpec) ResourceRef() *asonetworkv1.VirtualNetworksSubnet

ResourceRef implements azure.ASOResourceSpecGetter.

func (*SubnetSpec) WasManaged added in v1.13.0

func (s *SubnetSpec) WasManaged(resource *asonetworkv1.VirtualNetworksSubnet) 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