Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Groups is an in-memory collection of groups Groups = map[string]*Group{} // Users is an in-memory collection of users Users = map[string]*User{} )
Functions ¶
Types ¶
type AccessControlRules ¶
AccessControlRules is a mapping of resource name to the role map which governs access control for it
type IdentitySet ¶
IdentitySet represents a set of identities
type ProtectedResource ¶
type ProtectedResource struct {
Name string
}
ProtectedResource represents a uniquely named, rbac-protected resource.
type RoleMap ¶
type RoleMap map[string]IdentitySet
RoleMap is a map of role name to the set of identities which can assume the role
Click to show internal directories.
Click to hide internal directories.