Help us shape the future of Go! Take the 2026 Go Developer Survey

config

package
v0.4.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 16, 2026 License: MPL-2.0 Imports: 2 Imported by: 0

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 NomadConfig struct {
	Address       string
	Namespace     string
	Region        string
	Token         string
	TLSSkipVerify bool
	TLSServerName string
	CACert        string
	ClientCert    string
	ClientKey     string
}

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL