Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNotExists = os.ErrNotExist
Functions ¶
Types ¶
type HostsSettings ¶
type HostsSettings struct {
ModuleSettings
HeaderComment string `yaml:"header"`
EditMode string `yaml:"editMode"` // Options: inline, block_top, block_bottom, block_first, block_last
}
type ModuleSettings ¶
type ModuleSettings struct {
Disabled bool `yaml:"disabled,omitempty"`
Requires []string `yaml:"requires,omitempty"`
}
ModuleSettings
type NodeJsSettings ¶
type NodeJsSettings struct {
ModuleSettings
VersionManager string `yaml:"version_manager"`
}
NodeJsSettings holds configuration about settings related to NodeJS
type ProfileSettings ¶
type ProfileSettings struct {
Name string `yaml:"name"`
Path string `yaml:"path,omitempty"`
URL string `yaml:"url,omitempty"`
ETag string `yaml:"etag,omitempty"`
}
ProfileSettings points to profile
func (ProfileSettings) DisplayPath ¶
func (v ProfileSettings) DisplayPath() string
type Ucm ¶
type Ucm struct {
Path string `yaml:"-"`
Raw []byte `yaml:"-"`
ActiveProfile string `yaml:"active_profile"`
Profiles []ProfileSettings `yaml:"profiles"`
Git *ModuleSettings `yaml:"git,omitempty"`
Hosts *HostsSettings `yaml:"hosts,omitempty"`
EnvVars *ModuleSettings `yaml:"environment_variables,omitempty"`
NodeJs *NodeJsSettings `yaml:"nodejs,omitempty"`
}
Ucm holds configuration for what settings are required and what not.
Click to show internal directories.
Click to hide internal directories.