Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewGroupRepository ¶
func NewGroupRepository() auth.GroupRepository
NewGroupRepository creates in-memory user repository
func NewKetoMock ¶
func NewKetoMock(db map[string][]MockSubjectSet) auth.PolicyAgent
NewKetoMock returns a mock service for Keto. This mock is not implemented yet.
func NewKeyRepository ¶
func NewKeyRepository() auth.KeyRepository
NewKeyRepository creates in-memory user repository
Types ¶
type MockSubjectSet ¶
Click to show internal directories.
Click to hide internal directories.