repositories

package
v2.1.1+incompatible Latest Latest
Warning

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

Go to latest
Published: May 21, 2019 License: Apache-2.0 Imports: 13 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	DefaultHome = filepath.Join(os.TempDir(), ".helm")
)

Functions

This section is empty.

Types

type Interface

type Interface interface {
	GetIndexFile(e *repo.Entry) (*repo.IndexFile, error)
	GetChart(conf repo.Entry, ref string) (*chart.Chart, error)
}

Interface represents an interface for the repositories manager.

type Manager

type Manager struct {
	// contains filtered or unexported fields
}

Manager is responsible for dealing with helm repositories.

func New

func New(homePath string) (*Manager, error)

New is a constructor for helm Manager.

func (Manager) GetChart

func (m Manager) GetChart(conf repo.Entry, ref string) (*chart.Chart, error)

GetChart retrieves a chart to from the remote repository and stores it to local cache. If chart exists locally it will be read from the cache.

func (Manager) GetIndexFile

func (m Manager) GetIndexFile(conf *repo.Entry) (*repo.IndexFile, error)

GetIndexFile retrieves IndexFile for the provided repository.

Jump to

Keyboard shortcuts

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