helmpath

package
v2.1.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2016 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Home

type Home string

Home describes the location of a CLI configuration.

This helper builds paths relative to a Helm Home directory.

func (Home) Cache

func (h Home) Cache() string

Cache returns the path to the local cache.

func (Home) CacheIndex

func (h Home) CacheIndex(name string) string

CacheIndex returns the path to an index for the given named repository.

func (Home) LocalRepository

func (h Home) LocalRepository(paths ...string) string

LocalRepository returns the location to the local repo.

The local repo is the one used by 'helm serve'

If additional path elements are passed, they are appended to the returned path.

func (Home) Plugins

func (h Home) Plugins() string

Plugins returns the path to the plugins directory.

func (Home) Repository

func (h Home) Repository() string

Repository returns the path to the local repository.

func (Home) RepositoryFile

func (h Home) RepositoryFile() string

RepositoryFile returns the path to the repositories.yaml file.

func (Home) Starters

func (h Home) Starters() string

Starters returns the path to the Helm starter packs.

func (Home) String

func (h Home) String() string

String returns Home as a string.

Implements fmt.Stringer.

Jump to

Keyboard shortcuts

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