privileges

package
v0.0.33 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Overview

Package privileges handles privilege validation rule reconciliation.

Index

Constants

This section is empty.

Variables

View Source
var (
	// GetUserAndGroupPrincipals is defined to enable monkey patching the getUserAndGroupPrincipals function in integration tests
	GetUserAndGroupPrincipals = getUserAndGroupPrincipals
)

Functions

This section is empty.

Types

type PrivilegeValidationService

type PrivilegeValidationService struct {
	// contains filtered or unexported fields
}

PrivilegeValidationService is a service that validates user privileges

func NewPrivilegeValidationService

func NewPrivilegeValidationService(log logr.Logger, driver *vsphere.CloudDriver, datacenter string, authManager *object.AuthorizationManager, userName string) *PrivilegeValidationService

NewPrivilegeValidationService creates a new PrivilegeValidationService

func (*PrivilegeValidationService) ReconcileEntityPrivilegeRule

ReconcileEntityPrivilegeRule reconciles the entity privilege rule

func (*PrivilegeValidationService) ReconcileRolePrivilegesRule

ReconcileRolePrivilegesRule reconciles the role privilege rule

Jump to

Keyboard shortcuts

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