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 CarbonConfigVariable ¶
Click to show internal directories.
Click to hide internal directories.