latest

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2019 License: MIT Imports: 3 Imported by: 1

Documentation

Index

Constants

View Source
const Version string = "v1alpha1"

Variables

This section is empty.

Functions

func NewPackageConfig

func NewPackageConfig() vconf.ConfigInterface

Types

type PackageConfig

type PackageConfig struct {
	APIVersion    string                  `json:"apiVersion"`
	PkgName       string                  `json:"pkgName"`
	PkgVersion    string                  `json:"pkgVersion"`
	BuildTime     int64                   `json:"buildtime"`
	MainConfigB64 string                  `json:"mainConfigB64"`
	KubeConfigB64 string                  `json:"kubeConfigB64"`
	Variables     []PackageConfigVariable `json:"variables"`
}

func (*PackageConfig) GetVersion

func (c *PackageConfig) GetVersion() string

func (*PackageConfig) Parse

func (c *PackageConfig) Parse(data []byte) error

func (*PackageConfig) Upgrade

func (c *PackageConfig) Upgrade() (vconf.ConfigInterface, error)

type PackageConfigVariable

type PackageConfigVariable struct {
	Name        string `json:"name"`
	Default     string `json:"default"`
	Description string `json:"description"`
}

Jump to

Keyboard shortcuts

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