Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthStore ¶
func (*AuthStore) SetBackend ¶
type Storage ¶
type Storage struct {
Users []auth.IUserAuthInfo
Resources []auth.IResourceInfo
}
type StorageABAC ¶
type StorageABAC struct {
Users []auth.UserAuthInfoABAC `mapstructure:"users"`
Resources []auth.ResourceInfoABAC `mapstructure:"resources"`
}
StorageABAC is a temporary struct for unmarshaling ABAC configuration.
func (*StorageABAC) SetDefaults ¶
func (c *StorageABAC) SetDefaults() map[string]any
func (*StorageABAC) SetEnvBindings ¶
func (c *StorageABAC) SetEnvBindings() map[string]string
type StorageRBAC ¶
type StorageRBAC struct {
Users []auth.UserAuthInfoRBAC `mapstructure:"users"`
Resources []auth.ResourceInfoRBAC `mapstructure:"resources"`
}
StorageRBAC is a temporary struct for unmarshaling RBAC configuration.
func (*StorageRBAC) SetDefaults ¶
func (c *StorageRBAC) SetDefaults() map[string]any
func (*StorageRBAC) SetEnvBindings ¶
func (c *StorageRBAC) SetEnvBindings() map[string]string
Click to show internal directories.
Click to hide internal directories.