groups

package
v0.5.2 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2021 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GroupScope

type GroupScope interface {
	logr.Logger
	azure.ClusterDescriber
}

GroupScope defines the scope interface for a group service.

type Service

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

Service provides operations on Azure resources.

func New

func New(scope GroupScope) *Service

New creates a new service.

func (*Service) Delete

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

Delete deletes the resource group with the provided name.

func (*Service) IsGroupManaged

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

IsGroupManaged returns true if the resource group has an owned tag with the cluster name as value, meaning that the resource group's lifecycle is managed.

func (*Service) Reconcile

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

Reconcile gets/creates/updates a resource group.

Directories

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

Jump to

Keyboard shortcuts

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