Documentation ¶
Overview ¶
package loader loads a source file into a sysl Module
Index ¶
- func EnsureSyslPb(fs afero.Fs, root, syslPath string) error
- func FindRootFromSyslModule(modulePath string, fs afero.Fs) (string, error)
- func LoadSyslModule(root, filename string, fs afero.Fs, logger *logrus.Logger) (*sysl.Module, string, error)
- func LoadSyslModuleFromPb(pbPath string, fs afero.Fs) (*sysl.Module, error)
- type ProjectConfiguration
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EnsureSyslPb ¶ added in v0.249.0
EnsureSyslPb generates a binary protobuf message alongside a Sysl file if one does not already exist. TODO(ladeo): Remove once parsed modules can be easily passed into arr.ai.
func FindRootFromSyslModule ¶
func LoadSyslModule ¶
Types ¶
type ProjectConfiguration ¶
func NewProjectConfiguration ¶
func NewProjectConfiguration() *ProjectConfiguration
func (*ProjectConfiguration) ConfigureProject ¶
Click to show internal directories.
Click to hide internal directories.