routetables

package
v1.5.5 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2023 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RouteTableScope

type RouteTableScope interface {
	azure.Authorizer
	azure.AsyncStatusUpdater
	RouteTableSpecs() []azure.ResourceSpecGetter
	IsVnetManaged() bool
}

RouteTableScope defines the scope interface for route table service.

type RouteTableSpec added in v1.2.0

type RouteTableSpec struct {
	Name           string
	ResourceGroup  string
	Location       string
	ClusterName    string
	AdditionalTags infrav1.Tags
}

RouteTableSpec defines the specification for a route table.

func (*RouteTableSpec) OwnerResourceName added in v1.2.0

func (s *RouteTableSpec) OwnerResourceName() string

OwnerResourceName is a no-op for route tables.

func (*RouteTableSpec) Parameters added in v1.2.0

func (s *RouteTableSpec) Parameters(existing interface{}) (params interface{}, err error)

Parameters returns the parameters for the route table.

func (*RouteTableSpec) ResourceGroupName added in v1.2.0

func (s *RouteTableSpec) ResourceGroupName() string

ResourceGroupName returns the name of the resource group.

func (*RouteTableSpec) ResourceName added in v1.2.0

func (s *RouteTableSpec) ResourceName() string

ResourceName returns the name of the route table.

type Service

type Service struct {
	Scope RouteTableScope
	async.Reconciler
}

Service provides operations on azure resources.

func New

func New(scope RouteTableScope) *Service

New creates a new service.

func (*Service) Delete

func (s *Service) Delete(ctx context.Context) error

Delete deletes route tables.

func (*Service) IsManaged added in v1.3.0

func (s *Service) IsManaged(ctx context.Context) (bool, error)

IsManaged returns true if the route tables' lifecycles are managed.

func (*Service) Name added in v1.3.0

func (s *Service) Name() string

Name returns the service name.

func (*Service) Reconcile

func (s *Service) Reconcile(ctx context.Context) error

Reconcile gets/creates/updates route tables.

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