helm

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2018 License: MIT Imports: 11 Imported by: 11

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateChartPackage

func CreateChartPackage(c *Chart, outDir string) (string, error)

CreateChartPackage creates a new .tgz package in directory

Types

type Chart

type Chart struct {
	*chart.Chart
}

Chart is a helm package that contains metadata

func GetChartByName

func GetChartByName(name string) (*Chart, error)

GetChartByName returns a chart by "name", which can be either a directory or .tgz package

func (*Chart) SetVersion

func (c *Chart) SetVersion(version string)

SetVersion overrides the chart version

type Index added in v0.7.0

type Index struct {
	*repo.IndexFile
	ServerInfo ServerInfo `json:"serverInfo"`
}

Index represents the index file in a chart repository

func GetIndexByDownloader added in v0.7.0

func GetIndexByDownloader(downloadIndex IndexDownloader) (*Index, error)

GetIndexByDownloader takes binary data from IndexDownloader and returns an Index object

func GetIndexByRepo added in v0.7.0

func GetIndexByRepo(repo *Repo, downloadIndex IndexDownloader) (*Index, error)

GetIndexByRepo returns index by repository

func LoadIndex added in v0.7.0

func LoadIndex(data []byte) (*Index, error)

LoadIndex loads an index file

type IndexDownloader added in v0.7.0

type IndexDownloader func() ([]byte, error)

IndexDownloader is a function to download the index

type Repo

type Repo struct {
	*repo.Entry
}

Repo represents a collection of parameters for chart repository

func GetRepoByName

func GetRepoByName(name string) (*Repo, error)

GetRepoByName returns repository by name

func TempRepoFromURL added in v0.5.0

func TempRepoFromURL(url string) (*Repo, error)

TempRepoFromURL builds a temporary Repo from a given URL

type ServerInfo added in v0.7.0

type ServerInfo struct {
	ContextPath string `json:"contextPath"`
}

ServerInfo describes the server information

Jump to

Keyboard shortcuts

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