Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
InvalidDefTypeErr = errgo.Newf("invalid definition type")
)
Functions ¶
func IsInvalidDefType ¶
Types ¶
type DefType ¶
type DefType string
DefType is the app definition type an app can have.
const (
DefTypeV2GiantSwarm DefType = "V2GiantSwarm"
)
func ParseTypeFromBytes ¶
ParseTypeFromBytes tries to find out what kind of app definition is given by b. If no proper type can be detected, it returns an error. Valid definition types are: DefTypeV1GiantSwarm.
Click to show internal directories.
Click to hide internal directories.