Documentation ¶
Index ¶
- type Grant
- func (g *Grant) Delete(policy policy.Policy)
- func (g *Grant) Exists(policy policy.Policy) bool
- func (g *Grant) Field(data any) (map[string]any, error)
- func (g *Grant) FieldByCKey(data any, cKey utils.CacheKey) (map[string]any, error)
- func (g *Grant) Filter(data any) (map[string]any, error)
- func (g *Grant) Get(pol policy.Policy) ([]policy.Policy, bool)
- func (g *Grant) GetAll() []policy.Policy
- func (g *Grant) GetPresent() map[string]policy.Policy
- func (g *Grant) Scopes(cKey *utils.CacheKey, prop string) []string
- func (g *Grant) Subjects(cKey *utils.CacheKey) []string
- func (g *Grant) Update(policy policy.Policy)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Grant ¶
type Grant struct {
// contains filtered or unexported fields
}
func (*Grant) FieldByCKey ¶
Click to show internal directories.
Click to hide internal directories.