Documentation ¶
Index ¶
- func AddRegistryCmd(opts *options.Options, optionsFunc ...cliutils.OptionsFunc) *cobra.Command
- func Config(opts *options.Options, optionsFunc ...cliutils.OptionsFunc) *cobra.Command
- func DeleteRegistryCmd(opts *options.Options, optionsFunc ...cliutils.OptionsFunc) *cobra.Command
- func GetGlobalConfigPath(opts *options.Options) (string, error)
- func GetValetConfigDir() (string, error)
- func ListRegistriesCmd(opts *options.Options, optionsFunc ...cliutils.OptionsFunc) *cobra.Command
- func RegistryCmd(opts *options.Options, optionsFunc ...cliutils.OptionsFunc) *cobra.Command
- func SetCmd(opts *options.Options, optionsFunc ...cliutils.OptionsFunc) *cobra.Command
- func StoreGlobalConfig(opts *options.Options, config *ValetGlobalConfig) error
- type ValetGlobalConfig
- type ValetRegistry
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddRegistryCmd ¶ added in v0.4.1
Deprecated
func DeleteRegistryCmd ¶ added in v0.4.1
Deprecated
func GetValetConfigDir ¶
func ListRegistriesCmd ¶ added in v0.4.1
Deprecated
func RegistryCmd ¶ added in v0.4.1
Deprecated
func StoreGlobalConfig ¶
func StoreGlobalConfig(opts *options.Options, config *ValetGlobalConfig) error
Types ¶
type ValetGlobalConfig ¶
type ValetGlobalConfig struct { Env map[string]string `json:"env"` Registries map[string]ValetRegistry `json:"registries"` }
func LoadGlobalConfig ¶
func LoadGlobalConfig(opts *options.Options) (*ValetGlobalConfig, error)
type ValetRegistry ¶ added in v0.4.0
type ValetRegistry struct {
DirectoryRegistry *render.DirectoryRegistry `json:"directory"`
}
func (*ValetRegistry) GetType ¶ added in v0.4.1
func (v *ValetRegistry) GetType() string
Click to show internal directories.
Click to hide internal directories.