helm

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2022 License: BSD-3-Clause Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AppendIndex

func AppendIndex(repo string) string

func ReleasesCacheKey

func ReleasesCacheKey(repo string) string

Types

type ChartVersion

type ChartVersion struct {
	Version    string `yaml:"version"`
	AppVersion string `yaml:"appVersion"`
}

type Index

type Index struct {
	APIVersion string `yaml:"apiVersion"`
	Entries    map[string][]*ChartVersion
}

func LoadIndex

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

type Provider

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

func NewProvider

func NewProvider(cache *cache.Cache, logger logr.Logger) *Provider

func (*Provider) GetCacheValue

func (p *Provider) GetCacheValue(key string) (interface{}, bool)

func (*Provider) GetIndex

func (p *Provider) GetIndex(repo string) (*Index, error)

func (*Provider) GetVersions

func (p *Provider) GetVersions(conf v1alpha1.RemoteVersion) ([]string, error)

func (*Provider) SetCacheValue

func (p *Provider) SetCacheValue(key string, value interface{})

Jump to

Keyboard shortcuts

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