inboundnatrules

package
v0.5.4 Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type InboundNatScope

type InboundNatScope interface {
	logr.Logger
	azure.ClusterDescriber
	InboundNatSpecs() []azure.InboundNatSpec
}

InboundNatScope defines the scope interface for an inbound NAT service.

type Service

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

Service provides operations on Azure resources.

func New

func New(scope InboundNatScope) *Service

New creates a new service.

func (*Service) Delete

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

Delete deletes the inbound NAT rule with the provided name.

func (*Service) Reconcile

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

Reconcile gets/creates/updates an inbound NAT rule.

Directories

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

Jump to

Keyboard shortcuts

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