Documentation ¶
Index ¶
- Constants
- func Enabled(component util.Components, client string) bool
- func ParseFromFile(cfg Config, filePath string) error
- type Config
- type GlobalConfig
- type GlobalConfigGit
- type GlobalConfigGitOauth
- type GlobalConfigHarbor
- type GlobalConfigIngress
- type GlobalConfigStorage
- type GlobalConfigUI
- type StorageConfig
Constants ¶
View Source
const (
DefaultConfigFilePath = "./.idpctl/config.yaml"
)
Variables ¶
This section is empty.
Functions ¶
func ParseFromFile ¶
Types ¶
type Config ¶
type Config interface {
// SetEnvVars registers environment variables from configuration file.
SetEnvVars()
}
type GlobalConfig ¶
type GlobalConfig struct { Namespace string `yaml:"namespace,omitempty"` StorageClass string `yaml:"storageClass,omitempty"` Git *GlobalConfigGit `yaml:"git,omitempty"` Ingress *GlobalConfigIngress `yaml:"ingress,omitempty"` AdminPassword string `yaml:"adminPassword,omitempty"` Harbor *GlobalConfigHarbor `yaml:"harbor,omitempty"` UI *GlobalConfigUI `yaml:"ui,omitempty"` Storage *GlobalConfigStorage `yaml:"storage,omitempty"` Port int `yaml:"port,omitempty"` }
type GlobalConfigGit ¶
type GlobalConfigGit struct { Username string `yaml:"username,omitempty"` Token string `yaml:"token,omitempty"` Repo string `yaml:"repository,omitempty"` Email string `yaml:"email,omitempty"` Oauth *GlobalConfigGitOauth `yaml:"oauth,omitempty"` }
type GlobalConfigGitOauth ¶
type GlobalConfigHarbor ¶
type GlobalConfigIngress ¶
type GlobalConfigStorage ¶
type GlobalConfigUI ¶
Click to show internal directories.
Click to hide internal directories.