Documentation ¶
Index ¶
- func ExistsGroup(ctx context.Context, txn *dgo.Txn, name string) (bool, error)
- func ExistsPermission(ctx context.Context, txn *dgo.Txn, name string) (bool, error)
- func ExistsResource(ctx context.Context, txn *dgo.Txn, name string) (bool, error)
- func ExistsRole(ctx context.Context, txn *dgo.Txn, name string) (bool, error)
- func ExistsSubject(ctx context.Context, txn *dgo.Txn, name string) (bool, error)
- func HasChildren(ctx context.Context, txn *dgo.Txn, name string) (bool, error)
- type Binding
- type Group
- type Member
- type Permission
- type Policy
- type Resource
- type Role
- type Subject
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExistsPermission ¶
func ExistsResource ¶
func ExistsSubject ¶
Types ¶
type Group ¶
type Permission ¶
type Permission struct {
Name string `json:"Permission.name"`
}
type Resource ¶
type Role ¶
type Role struct { Name string `json:"Role.name"` Permissions []*Permission `json:"Role.permissions"` ETag string `json:"Role.etag"` }
Click to show internal directories.
Click to hide internal directories.