helmcommon

package
v0.0.0-...-22ac6ec Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetHelmTestData

func GetHelmTestData(debug bool) cidsdk.ModuleActionData

func UploadChart

func UploadChart(url string, username string, password string, file string) (responseCode int, responseContent []byte)

UploadChart will upload the chart to a nexus repository

Types

type ChartConfig

type ChartConfig struct {
	APIVersion  string            `yaml:"apiVersion"`
	AppVersion  string            `yaml:"appVersion"`
	KubeVersion string            `yaml:"kubeVersion"`
	Version     string            `yaml:"version"`
	Description string            `yaml:"description"`
	Name        string            `yaml:"name"`
	Deprecated  bool              `yaml:"deprecated"`
	Keywords    []string          `yaml:"keywords"`
	Home        string            `yaml:"home"`
	Icon        string            `yaml:"icon"`
	Annotations map[string]string `yaml:"annotations"`
	Maintainers []struct {
		Name  string `yaml:"name"`
		EMail string `yaml:"email"`
		URL   string `yaml:"url"`
	} `yaml:"maintainers"`
	Dependencies []struct {
		Name       string `yaml:"name"`
		Version    string `yaml:"version"`
		Repository string `yaml:"repository"`
	} `yaml:"dependencies"`
}

func ParseChart

func ParseChart(content []byte) (ChartConfig, error)

Jump to

Keyboard shortcuts

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