Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckCatalogDir ¶
Types ¶
type Config ¶
type Config struct {
// CatalogDir is the directory containing catalog of environments, projects and releases.
// Optional, defaults to ~/.joy
CatalogDir string `yaml:"catalogDir,omitempty"`
// Environments user has selected to work with.
Environments Environments `yaml:"environments,omitempty"`
// Releases user has selected to work with.
Releases Releases `yaml:"releases,omitempty"`
// MinVersion is the minimum version of the joy CLI required
MinVersion string `yaml:"minVersion,omitempty"`
// FilePath is the path to the config file that was loaded, used to write back to the same file.
FilePath string `yaml:"-"`
}
func FromContext ¶
type Environments ¶
type Environments struct {
// Selected is the list of environments user has selected to work with.
// Only those will be displayed in table columns by default.
// An empty list means all environments are selected.
Selected []string `yaml:"selected,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.