domain

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2025 License: MIT Imports: 7 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetDeleteActionFromInvalidActionOrNotActionError

func GetDeleteActionFromInvalidActionOrNotActionError(invalidActionErrMesg string) ([]string, error)

func GetScopePermissionsFromAuthError

func GetScopePermissionsFromAuthError(authErrMesg string) (map[string][]string, error)

Types

type MPFConfig

type MPFConfig struct {
	ResourceGroup  ResourceGroup
	SubscriptionID string
	TenantID       string
	SP             ServicePrincipal
	Role           Role
}

type MPFResult

type MPFResult struct {
	// The map from which the minimum permissions will be calculated
	RequiredPermissions map[string][]string
}

func GetMPFResult

func GetMPFResult(requiredPermissions map[string][]string) MPFResult

type PermissionErrorDetails added in v0.13.0

type PermissionErrorDetails struct {
	MissingPermissions string
	Scope              string
}

type ResourceGroup

type ResourceGroup struct {
	ResourceGroupName       string
	ResourceGroupResourceID string
	Location                string
}

type Role

type Role struct {
	RoleDefinitionID          string
	RoleDefinitionName        string
	RoleDefinitionDescription string
	RoleDefinitionResourceID  string
}

type ServicePrincipal

type ServicePrincipal struct {
	SPClientID     string
	SPObjectID     string
	SPClientSecret string
}

Jump to

Keyboard shortcuts

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