Documentation ¶
Index ¶
- func MarshalScope(scope aclcore.Scope) (map[string]*dynamodb.AttributeValue, error)
- func MarshalScopeId(id aclcore.ScopeId) map[string]*dynamodb.AttributeValue
- func ScopeRecordPk(user, scopeType, owner, id string) appdynamodb.TablePk
- func UnmarshalScope(attributes map[string]*dynamodb.AttributeValue) (*aclcore.Scope, error)
- type GrantRepository
- type ScopeRecord
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MarshalScope ¶
func MarshalScopeId ¶
func MarshalScopeId(id aclcore.ScopeId) map[string]*dynamodb.AttributeValue
func ScopeRecordPk ¶
func ScopeRecordPk(user, scopeType, owner, id string) appdynamodb.TablePk
func UnmarshalScope ¶
Types ¶
type GrantRepository ¶
type GrantRepository interface { aclcore.ScopesReader aclcore.ReverseScopesReader aclcore.ScopeWriter aclcore.IdentityQueriesScopeRepository }
func Must ¶
func Must(repository GrantRepository, err error) GrantRepository
Click to show internal directories.
Click to hide internal directories.