Documentation ¶
Index ¶
- func New(config string) (driver.Storager, error)
- type AppConfig
- type Collection
- type Config
- func (c *Config) AddCollection(name string)
- func (c *Config) AddGroup(name string)
- func (c *Config) AddPolicy(name, group, collection string)
- func (c *Config) AddResource(name, rtype, value, options string)
- func (c *Config) AddResourceToCollection(collection, resource string)
- func (c *Config) AddUser(name string)
- func (c *Config) AddUserToGroup(group, user string)
- func (c *Config) CountCollection() int
- func (c *Config) CountGroup() int
- func (c *Config) CountPolicy() int
- func (c *Config) CountResource(rtype string) int
- func (c *Config) CountUser() int
- func (c *Config) End()
- func (c *Config) FindCollection(name string) bool
- func (c *Config) FindGroup(name string) bool
- func (c *Config) FindPolicy(name string) bool
- func (c *Config) FindResource(name string) bool
- func (c *Config) FindUser(name string) bool
- func (c *Config) GetConfig(name string) bool
- func (c *Config) GetResourceValues(username, rType string) []types.Resource
- func (c *Config) ListCollections(filter map[string]string) map[string][]string
- func (c *Config) ListConfigs(filter map[string]string) []types.Config
- func (c *Config) ListGroups(filter map[string]string) map[string][]string
- func (c *Config) ListPolicies(filter map[string]string) []types.Policy
- func (c *Config) ListResources(filter map[string]string) map[types.Resource][]string
- func (c *Config) ListUsers(filter map[string]string) map[string][]string
- func (c *Config) RemoveCollection(name string) error
- func (c *Config) RemoveGroup(name string) error
- func (c *Config) RemovePolicy(name string)
- func (c *Config) RemoveResource(name string) error
- func (c *Config) RemoveResourceFromCollection(collection, resource string)
- func (c *Config) RemoveUser(name string) error
- func (c *Config) RemoveUserFromGroup(group, user string)
- func (c *Config) SetConfig(name string, value bool)
- type Group
- type Model
- type Policy
- type Resource
- type User
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Collection ¶
type Config ¶
func (*Config) AddCollection ¶
func (*Config) AddResource ¶
func (*Config) AddResourceToCollection ¶
func (*Config) AddUserToGroup ¶
func (*Config) CountCollection ¶
func (*Config) CountGroup ¶
func (*Config) CountPolicy ¶
func (*Config) CountResource ¶
func (*Config) FindCollection ¶
func (*Config) FindPolicy ¶
func (*Config) FindResource ¶
func (*Config) GetResourceValues ¶
func (*Config) ListCollections ¶
func (*Config) ListGroups ¶
func (*Config) ListPolicies ¶
func (*Config) ListResources ¶
func (*Config) RemoveCollection ¶
func (*Config) RemoveGroup ¶
func (*Config) RemovePolicy ¶
func (*Config) RemoveResource ¶
func (*Config) RemoveResourceFromCollection ¶
func (*Config) RemoveUser ¶
func (*Config) RemoveUserFromGroup ¶
Click to show internal directories.
Click to hide internal directories.