securitygroups

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2022 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 NSGScope

type NSGScope interface {
	azure.ClusterDescriber
	azure.NetworkDescriber
	NSGSpecs() []azure.NSGSpec
}

NSGScope defines the scope interface for a security groups service.

type Service

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

Service provides operations on Azure resources.

func New

func New(scope NSGScope) *Service

New creates a new service.

func (*Service) Delete

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

Delete deletes the network security group with the provided name.

func (*Service) Reconcile

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

Reconcile gets/creates/updates a network security group.

Directories

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

Jump to

Keyboard shortcuts

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