latest

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2019 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const Version string = "v1alpha1"

Variables

This section is empty.

Functions

func NewCarbonConfig

func NewCarbonConfig() vconf.ConfigInterface

Types

type CarbonConfig

type CarbonConfig struct {
	APIVersion    string                 `json:"apiVersion"`
	Name          string                 `json:"name"`
	Version       string                 `json:"version"`
	Dockerfile    string                 `json:"dockerfile"`
	KubeManifests string                 `json:"kubeManifests"`
	Artifacts     []string               `json:"artifacts"`
	Variables     []CarbonConfigVariable `json:"variables"`
	Hooks         CarbonConfigHooks      `json:"hooks"`
}

func (*CarbonConfig) GetVersion

func (c *CarbonConfig) GetVersion() string

func (*CarbonConfig) Parse

func (c *CarbonConfig) Parse(contents []byte) error

func (*CarbonConfig) Upgrade

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

type CarbonConfigHooks

type CarbonConfigHooks struct {
	PreBuild  []string `json:"pre-build"`
	PostBuild []string `json:"post-build"`
}

type CarbonConfigVariable

type CarbonConfigVariable 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