roleassignments

package
v1.1.3 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 RoleAssignmentScope

type RoleAssignmentScope interface {
	azure.ClusterDescriber
	RoleAssignmentSpecs() []azure.RoleAssignmentSpec
}

RoleAssignmentScope defines the scope interface for a role assignment service.

type Service

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

Service provides operations on Azure resources.

func New

func New(scope RoleAssignmentScope) *Service

New creates a new service.

func (*Service) Delete

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

Delete is a no-op as the role assignments get deleted as part of VM deletion.

func (*Service) Reconcile

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

Reconcile creates a role assignment.

Directories

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

Jump to

Keyboard shortcuts

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