cloudauthzaz

package
v0.0.0-...-5004fd2 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ListRoleAssignments

func ListRoleAssignments(c context.Context, client *armauthorization.RoleAssignmentsClient, scope string, assignedTo uuid.UUID) utils.ItemsPager[*armauthorization.RoleAssignment]

Types

type RoleAssignmentProvisioner

type RoleAssignmentProvisioner struct {
	AssignedTo       uuid.UUID
	Scope            string
	RoleDefinitionID uuid.UUID
}

func (*RoleAssignmentProvisioner) AssignRole

func (p *RoleAssignmentProvisioner) AssignRole(c context.Context, client *armauthorization.RoleAssignmentsClient, roleDefinitionResourceID string) error

func (*RoleAssignmentProvisioner) IsRoleAssigned

func (p *RoleAssignmentProvisioner) IsRoleAssigned(c context.Context, client *armauthorization.RoleAssignmentsClient, roleDefinitionResourceID string) (bool, error)

Jump to

Keyboard shortcuts

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