natgateways

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NatGatewayScope

type NatGatewayScope interface {
	logr.Logger
	azure.ClusterScoper
	NatGatewaySpecs() []azure.NatGatewaySpec
}

NatGatewayScope defines the scope interface for nat gateway service.

type Service

type Service struct {
	Scope NatGatewayScope
	// contains filtered or unexported fields
}

Service provides operations on azure resources.

func New

func New(scope NatGatewayScope) *Service

New creates a new service.

func (*Service) Delete

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

Delete deletes the nat gateway with the provided name.

func (*Service) Reconcile

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

Reconcile gets/creates/updates a nat gateway. Only when the Nat Gateway 'Name' property is defined we create the Nat Gateway: it's opt-in.

Directories

Path Synopsis
Package mock_natgateways is a generated GoMock package.
Package mock_natgateways is a generated GoMock package.

Jump to

Keyboard shortcuts

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