Documentation
¶
Index ¶
- func ValidateFile(f *File) *parse.ErrorList
- type CompositeDecl
- type ConfigurationDecl
- type ConfigurationValue
- type ConstraintDecl
- type EncryptionDecl
- type FactoryBody
- type FactoryFile
- type File
- type FileKind
- type Ident
- type ImportDecl
- type InputDecl
- type LibraryFile
- type LocalDecl
- type LockDep
- type LockFile
- type LockToolchain
- type ManifestFile
- type ManifestReplace
- type ManifestRequire
- type NodeDecl
- type NodeKind
- type NodeSelector
- type OutputDecl
- type StackFactoryBlock
- type StackFile
- type StateDecl
- type StringKey
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateFile ¶
Types ¶
type CompositeDecl ¶
type CompositeDecl struct {
S parse.Span
Name Ident
Kind NodeKind
Body FactoryBody
}
type ConfigurationDecl ¶
type ConfigurationValue ¶
type EncryptionDecl ¶
type FactoryBody ¶
type FactoryBody struct {
S parse.Span
Description *parse.StringLit
Inputs []InputDecl
Locals []LocalDecl
Constraints []ConstraintDecl
Imports []ImportDecl
Configurations []ConfigurationDecl
Resources []NodeDecl
Data []NodeDecl
Actions []NodeDecl
Outputs []OutputDecl
}
type FactoryFile ¶
type FactoryFile struct {
S parse.Span
Body FactoryBody
}
type File ¶
type File struct {
S parse.Span
Kind FileKind
Path string
Factory *FactoryFile
Stack *StackFile
Manifest *ManifestFile
Lock *LockFile
Library *LibraryFile
Comments []parse.Comment
}
type LibraryFile ¶
type LibraryFile struct {
S parse.Span
Exports []CompositeDecl
}
type ManifestFile ¶
type ManifestFile struct {
S parse.Span
UnobinVersion *parse.StringLit
Requires []ManifestRequire
Replace []ManifestReplace
}
type ManifestReplace ¶
type ManifestRequire ¶
type StackFactoryBlock ¶
type StackFile ¶
type StackFile struct {
S parse.Span
Factory *StackFactoryBlock
State *StateDecl
Encryption *EncryptionDecl
Locals []LocalDecl
Parallelism parse.Expr
}
Click to show internal directories.
Click to hide internal directories.