template

package
v0.0.0-...-52d3256 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2024 License: Apache-2.0 Imports: 37 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HelmTemplate

func HelmTemplate(module cyclopsv1alpha1.Module, moduleTemplate *models.Template) (string, error)

func IsHelmRepo

func IsHelmRepo(repo string) (bool, error)

Types

type Repo

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

func NewRepo

func NewRepo(credResolver auth.TemplatesResolver, tc templateCache) *Repo

func (Repo) GetTemplate

func (r Repo) GetTemplate(repo, path, version string) (*models.Template, error)

func (Repo) GetTemplateInitialValues

func (r Repo) GetTemplateInitialValues(repo, path, version string) ([]byte, error)

func (Repo) LoadHelmChart

func (r Repo) LoadHelmChart(repo, chart, version string) (*models.Template, error)

func (Repo) LoadHelmChartInitialValues

func (r Repo) LoadHelmChartInitialValues(repo, chart, version string) (map[interface{}]interface{}, error)

func (Repo) LoadInitialTemplateValues

func (r Repo) LoadInitialTemplateValues(repoURL, path, commit string) (map[interface{}]interface{}, error)

func (Repo) LoadOCIHelmChart

func (r Repo) LoadOCIHelmChart(repo, chart, version string) (*models.Template, error)

func (Repo) LoadOCIHelmChartInitialValues

func (r Repo) LoadOCIHelmChartInitialValues(repo, chart, version string) (map[interface{}]interface{}, error)

func (Repo) LoadTemplate

func (r Repo) LoadTemplate(repoURL, path, commit string) (*models.Template, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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