Documentation
¶
Index ¶
Constants ¶
View Source
const DefaultFilename = ".spacefile.hcl"
View Source
const SpacefileTemplate = `` /* 990-byte string literal not displayed */
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ErrSpacefileNotFound ¶
type ErrSpacefileNotFound struct {
Path string
}
func (ErrSpacefileNotFound) Error ¶
func (n ErrSpacefileNotFound) Error() string
type SoftwareDef ¶
type SpaceDef ¶
type SpaceDef struct {
DNSLabel string `hcl:",key"`
Name string `hcl:"name"`
TeamID string `hcl:"team"`
Stages []StageDef `hcl:"stage"`
// contains filtered or unexported fields
}
func (*SpaceDef) ToSpaceDeclaration ¶
func (s *SpaceDef) ToSpaceDeclaration() (*spaces.SpaceDeclaration, error)
type Spacefile ¶
func ParseSpacefile ¶
type StageDef ¶
type StageDef struct {
Name string `hcl:",key"`
Inherit string `hcl:"inherit"`
Applications []SoftwareDef `hcl:"application"`
Databases []SoftwareDef `hcl:"database"`
// contains filtered or unexported fields
}
type SyntaxError ¶
func (SyntaxError) Error ¶
func (s SyntaxError) Error() string
Click to show internal directories.
Click to hide internal directories.