Documentation ¶
Index ¶
- func Config(opts *options.Options, optionsFunc ...cliutils.OptionsFunc) *cobra.Command
- func GetGlobalConfigPath() (string, error)
- func GetValetConfigDir() (string, error)
- func SetCmd(opts *options.Options, optionsFunc ...cliutils.OptionsFunc) *cobra.Command
- func StoreGlobalConfig(ctx context.Context, config *ValetGlobalConfig) error
- type ValetGlobalConfig
- type ValetRegistry
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetGlobalConfigPath ¶
func GetValetConfigDir ¶
func StoreGlobalConfig ¶
func StoreGlobalConfig(ctx context.Context, config *ValetGlobalConfig) error
Types ¶
type ValetGlobalConfig ¶
type ValetGlobalConfig struct { Env map[string]string `yaml:"env"` Registries map[string]ValetRegistry `yaml:"registries"` }
func LoadGlobalConfig ¶
func LoadGlobalConfig(ctx context.Context) (*ValetGlobalConfig, error)
type ValetRegistry ¶ added in v0.4.0
type ValetRegistry struct {
LocalRegistry *render.LocalRegistry `yaml:"local"`
}
Click to show internal directories.
Click to hide internal directories.