Help us shape the future of Go! Take the 2026 Go Developer Survey

data

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2017 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetRepos added in v0.4.0

func GetRepos() (*zoom.Collection, error)

GetRepos returns the Repos Zoom collection

func UpdateCache added in v0.4.0

func UpdateCache(repos []models.Repo) error

UpdateCache takes an array of Repos to save in the cache

Types

type Charts

type Charts interface {
	// ChartFromRepo retrieves the latest version of a particular chart from a repo
	ChartFromRepo(repo, name string) (*models.ChartPackage, error)
	// ChartVersionFromRepo retrieves a specific chart version from a repo
	ChartVersionFromRepo(repo, name, version string) (*models.ChartPackage, error)
	// ChartVersionsFromRepo retrieves all chart versions from a repo
	ChartVersionsFromRepo(repo, name string) ([]*models.ChartPackage, error)
	// AllFromRepo retrieves all charts from a repo
	AllFromRepo(repo string) ([]*models.ChartPackage, error)
	// All retrieves all charts from all repos
	All() ([]*models.ChartPackage, error)
	// Search operates against all charts/repos
	Search(params charts.SearchChartsParams) ([]*models.ChartPackage, error)
	// Refresh freshens charts data
	Refresh() error
}

Charts is an interface for managing chart data sourced from a repository index

type Client

type Client interface {
	ListReleases(params releasesapi.GetAllReleasesParams) (*rls.ListReleasesResponse, error)
	InstallRelease(chartPath string, params releasesapi.CreateReleaseParams) (*rls.InstallReleaseResponse, error)
	DeleteRelease(releaseName string) (*rls.UninstallReleaseResponse, error)
	GetRelease(releaseName string) (*rls.GetReleaseContentResponse, error)
}

Client is an interface for managing Helm Chart releases

type Repo added in v0.4.0

type Repo models.Repo

Repo is a Zoom Model for storing repositories

func (*Repo) ModelId added in v0.4.0

func (r *Repo) ModelId() string

ModelId returns the unique name of the Repo

func (*Repo) SetModelId added in v0.4.0

func (r *Repo) SetModelId(name string)

SetModelId sets the unique name of the Repo

Directories

Path Synopsis
helm

Jump to

Keyboard shortcuts

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