Documentation ¶
Index ¶
- func DefaultStorage() model.ConfigurationStorage
- func ImportApps(filename string, storage model.AppStorage, cleanOldData bool) error
- func ImportManagement(filename string, storage model.ManagementKeysStorage, cleanOldData bool) error
- func ImportUsers(filename string, storage model.UserStorage, cleanOldData bool) error
- func InitConfigurationStorage(config model.FileStorageSettings) (model.ConfigurationStorage, error)
- func InitConfigurationStorageFromFlag(configFlag string) (model.ConfigurationStorage, error)
- func NewConfigWatcher(settings model.FileStorageSettings) (model.ConfigurationWatcher, error)
- func NewImpersonationProvider(settings model.ImpersonationSettings) (model.ImpersonationProvider, error)
- func NewServer(config model.ConfigurationStorage, restartChan chan<- bool) (model.Server, error)
- func NewServerFromFlag(configFlag string, restartChan chan<- bool) (model.Server, error)
- func NewTokenService(settings model.GeneralServerSettings, storages model.ServerStorageCollection) (model.TokenService, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultStorage ¶
func DefaultStorage() model.ConfigurationStorage
DefaultStorage trying to create a default storage with default file
func ImportApps ¶
func ImportApps(filename string, storage model.AppStorage, cleanOldData bool) error
ImportApps imports apps from file.
func ImportManagement ¶ added in v2.4.5
func ImportManagement(filename string, storage model.ManagementKeysStorage, cleanOldData bool) error
ImportUsers imports users from file.
func ImportUsers ¶
func ImportUsers(filename string, storage model.UserStorage, cleanOldData bool) error
ImportUsers imports users from file.
func InitConfigurationStorage ¶
func InitConfigurationStorage(config model.FileStorageSettings) (model.ConfigurationStorage, error)
InitConfigurationStorage initializes configuration storage.
func InitConfigurationStorageFromFlag ¶
func InitConfigurationStorageFromFlag(configFlag string) (model.ConfigurationStorage, error)
func NewConfigWatcher ¶
func NewConfigWatcher(settings model.FileStorageSettings) (model.ConfigurationWatcher, error)
func NewImpersonationProvider ¶ added in v2.9.0
func NewImpersonationProvider(settings model.ImpersonationSettings) (model.ImpersonationProvider, error)
func NewServerFromFlag ¶
func NewTokenService ¶
func NewTokenService(settings model.GeneralServerSettings, storages model.ServerStorageCollection) (model.TokenService, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.