config

package
v2.9.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 9, 2024 License: MIT Imports: 17 Imported by: 0

Documentation

Index

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 NewServer

func NewServer(config model.ConfigurationStorage, restartChan chan<- bool) (model.Server, error)

NewServer creates new server instance from ServerSettings

func NewServerFromFlag

func NewServerFromFlag(configFlag string, restartChan chan<- bool) (model.Server, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL