config

package
v0.0.0-...-472a40a Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2024 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func OpenConfig

func OpenConfig(configDirectory string, configuration *models.Configuration)

func OverrideWithEnvironmentVariables

func OverrideWithEnvironmentVariables(configuration *models.Configuration)

This function will override the configuration with environment variables.

func ReadUserConfig

func ReadUserConfig(configDirectory string) (userConfig models.User)

ReadUserConfig Reads the user configuration of the Kerberos Open Source instance. This will return a models.User struct including the username, password, selected language, and if the installation was completed or not.

func SaveConfig

func SaveConfig(configDirectory string, config models.Config, configuration *models.Configuration, communication *models.Communication) error

func StoreConfig

func StoreConfig(configDirectory string, config models.Config) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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