Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Logger logger.Config
// TmpDir defines temporary directory path where bundles .tgz files will be extracted
TmpDir string
Port int `default:"8080"`
Storage []storage.Config `valid:"required"`
Repository ybundle.RepositoryConfig
Helm helm.Config `valid:"required"`
}
Config provide helm broker configuration Supported tags:
- json: github.com/ghodss/yaml
- envconfig: github.com/vrischmann/envconfig
- default: github.com/mcuadros/go-defaults
- valid github.com/asaskevich/govalidator
Example of valid tag: `valid:"alphanum,required"` Combining many tags: tags have to be separated by WHITESPACE: `json:"port" default:"8080" valid:"required"`
Click to show internal directories.
Click to hide internal directories.