helmw

package
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2022 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (
	HelmRepoName    = "karavel"
	HelmDefaultRepo = "https://repository.platform.karavel.io"
)

Variables

View Source
var ErrVersionEmpty = fmt.Errorf("version cannot be empty")

Functions

func Clean added in v0.3.0

func Clean(ctx context.Context)

Clean removes all the temporary directories that have been used by Helm

func FromContext added in v0.3.0

func FromContext(ctx context.Context) *repo.File

func GetChartManifest

func GetChartManifest(ctx context.Context, chartName string, version string, unstable bool) (*chart.Metadata, error)

func GetRepoUrl

func GetRepoUrl(version string, repoUrl string) string

func NewRepo added in v0.3.0

func NewRepo(version string, repoUrl string) (*repo.Entry, error)

func UnstableRepoName

func UnstableRepoName() string

func WithRepository added in v0.3.0

func WithRepository(ctx context.Context, entry *repo.Entry) (context.Context, error)

Types

type ChartOptions added in v0.3.0

type ChartOptions struct {
	Namespace string
	Version   string
	Values    string
	Unstable  bool
}

type YamlDoc

type YamlDoc map[string]any

func TemplateChart

func TemplateChart(ctx context.Context, name string, options ChartOptions) ([]YamlDoc, error)

Jump to

Keyboard shortcuts

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