Versions in this module Expand all Collapse all v1 v1.4.0 Feb 9, 2018 Changes in this version + func NewRoleManager(maxHierarchyLevel int) rbac.RoleManager + type Role struct + type RoleManager struct + func (rm *RoleManager) AddLink(name1 string, name2 string, domain ...string) + func (rm *RoleManager) Clear() + func (rm *RoleManager) DeleteLink(name1 string, name2 string, domain ...string) + func (rm *RoleManager) GetRoles(name string, domain ...string) []string + func (rm *RoleManager) GetUsers(name string, domain ...string) []string + func (rm *RoleManager) HasLink(name1 string, name2 string, domain ...string) bool + func (rm *RoleManager) PrintRoles()