Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNotFound = errors.New("No local repository")
ErrNotFound indicates no local repository could be found.
Functions ¶
This section is empty.
Types ¶
type Configfile ¶
type Configfile struct { // Repos points to the repository configuration Repos *Repos `yaml:"repos"` Workspace *Workspace `yaml:"workspace"` // contains filtered or unexported fields }
Configfile is the top-level conifguration object for Helm.
func Parse ¶
func Parse(data []byte) (*Configfile, error)
Parse parses a byte slice into a *Configfile.
func (*Configfile) Save ¶
func (c *Configfile) Save(filename string) error
Save writes the Configfile as YAML into the named file.
type Repos ¶
type Repos struct { // Dir points to the directory where the Git repositories are stored. // Currently we do not expose this as a changeable option, but we may // choose to in the future. Dir string `yaml:"-"` // Default is the local name of the default repository. Default string `yaml:"default"` // Tables is a list of table items. Tables []*Table `yaml:"tables"` }
Repos describes a collection of repository (table) mappings.
func (*Repos) Delete ¶
Delete removes a local copy of a remote.
This destroys the on-disk cache and removes the entry from the YAML file.
func (*Repos) RepoChart ¶
RepoChart takes a fully qualified name and returns a repo name and a chart name.
If no repo name is present in the fully qualified name, the default repo is returned.
Click to show internal directories.
Click to hide internal directories.