Documentation
¶
Overview ¶
Package shared provides shared state and utilities for devnet-builder commands. This package is designed to be imported by all command subpackages without creating import cycles.
Index ¶
- func GetAppContainer() *di.Container
- func GetConfigPath() string
- func GetHomeDir() string
- func GetJSONMode() bool
- func GetLoadedFileConfig() *config.FileConfig
- func GetNoColor() bool
- func GetVerbose() bool
- func SetAppContainer(container *di.Container)
- func SetConfigPath(path string)
- func SetHomeDir(dir string)
- func SetJSONMode(mode bool)
- func SetLoadedFileConfig(cfg *config.FileConfig)
- func SetNoColor(mode bool)
- func SetVerbose(mode bool)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAppContainer ¶
GetAppContainer returns the dependency injection container.
func GetLoadedFileConfig ¶
func GetLoadedFileConfig() *config.FileConfig
GetLoadedFileConfig returns the loaded file configuration.
func SetAppContainer ¶
SetAppContainer sets the dependency injection container.
func SetConfigPath ¶
func SetConfigPath(path string)
SetConfigPath sets the configuration file path.
func SetLoadedFileConfig ¶
func SetLoadedFileConfig(cfg *config.FileConfig)
SetLoadedFileConfig sets the loaded file configuration.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.