extension

package
v0.4.4 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2025 License: MIT Imports: 39 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Templates embed.FS
View Source
var Templatesapp embed.FS
View Source
var Templatessimple embed.FS

Functions

func Create

func Create(p string, config any, temp embed.FS, trimPrefix string) error

func CreateApp added in v0.4.0

func CreateApp(chartPath string) error

func CreateAppChart added in v0.2.0

func CreateAppChart(p string, name string, chart []byte) error

func CreateSimple added in v0.4.0

func CreateSimple(chartPath string) error

func Load

func Load(path string) (*api.Extension, error)

func LoadApplicationClass added in v0.2.0

func LoadApplicationClass(name, tempDir string) error

func LoadFromHelm added in v0.3.11

func LoadFromHelm(path string) (*api.Extension, error)

func PrintTemplate added in v0.3.8

func PrintTemplate(args []string, o *options.TemplateOptions, out io.Writer) error

func WithBuiltins added in v0.3.8

func WithBuiltins(o *options.LintOptions, paths []string) error

func WithHelm added in v0.3.8

func WithHelm(o *options.LintOptions, paths []string) error

func WriteFilesToTempDir added in v0.4.0

func WriteFilesToTempDir(path, tempDir string) error

Types

type ApplicationClass added in v0.2.0

type ApplicationClass struct {
	ApplicationClassGroup string               `json:"applicationClassGroup,omitempty"`
	Name                  string               `json:"name,omitempty"`
	Provisioner           string               `json:"provisioner,omitempty"`
	Parameters            map[string]string    `json:"parameters,omitempty"`
	AppVersion            string               `json:"appVersion,omitempty"`
	PackageVersion        string               `json:"packageVersion,omitempty"`
	Icon                  string               `json:"icon,omitempty"`
	Description           corev1alpha1.Locales `json:"description,omitempty"`
	Maintainer            *chart.Maintainer    `json:"maintainer,omitempty"`
}

type Config

type Config struct {
	Name     string
	Category string
	Author   string
	Email    string
	URL      string
}

type ConfigApp added in v0.4.0

type ConfigApp struct {
	Name           string
	Maintainers    string
	AppName        string
	Version        string
	AppHome        string
	Abstraction    string
	AppVersionName string
	ZipName        string
}

type ConfigSimple added in v0.4.0

type ConfigSimple struct {
	Name string
}

Jump to

Keyboard shortcuts

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