Documentation ¶
Index ¶
- type Home
- func (h Home) Archive() string
- func (h Home) Cache() string
- func (h Home) CacheIndex(name string) string
- func (h Home) LocalRepository(elem ...string) string
- func (h Home) Path(elem ...string) string
- func (h Home) Plugins() string
- func (h Home) Repository() string
- func (h Home) RepositoryFile() string
- func (h Home) Starters() string
- func (h Home) String() string
- func (h Home) TLSCaCert() string
- func (h Home) TLSCert() string
- func (h Home) TLSKey() string
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) Archive ¶
Archive returns the path to download chart archives.
func (Home) CacheIndex ¶
CacheIndex returns the path to an index for the given named repository.
func (Home) LocalRepository ¶
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) Path ¶
Path returns Home with elements appended.
func (Home) Plugins ¶
Plugins returns the path to the plugins directory.
func (Home) Repository ¶
Repository returns the path to the local repository.
func (Home) RepositoryFile ¶
RepositoryFile returns the path to the repositories.yaml file.
func (Home) Starters ¶
Starters returns the path to the Helm starter packs.
func (Home) TLSCaCert ¶
TLSCaCert returns the path to fetch the CA certificate.
func (Home) TLSCert ¶
TLSCert returns the path to fetch the client certificate.