virtualnetworks

package
v1.16.1 Latest Latest
Warning

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

Go to latest
Published: Aug 31, 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 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
	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

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.

Jump to

Keyboard shortcuts

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