Documentation
¶
Index ¶
Constants ¶
View Source
const ( FileNameMetadata = "metadata.hcl" FileNameOutputs = "outputs.tpl" FileNameReadme = "README.md" FileNameChangelog = "CHANGELOG.md" FileNameVariables = "variables.hcl" FolderNameTemplates = "templates" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CacheConfig ¶
type CacheConfig struct {
CacheRoot string
}
type NomadConfig ¶
type PackConfig ¶
type PackConfig struct {
UI terminal.UI
PackName string
RegistryName string
Ref string
Plain bool
OutPath string
AutoApproved bool
// If the directory we output to is not empty, should we overwrite?
Overwrite bool
// Used for the "registry generate" command
CreateSamplePack bool
CacheConfig CacheConfig
NomadConfig NomadConfig
}
func NewPackConfig ¶
func NewPackConfig() PackConfig
func (*PackConfig) GetUI ¶
func (c *PackConfig) GetUI() terminal.UI
Click to show internal directories.
Click to hide internal directories.