Documentation ¶
Overview ¶
Package spec provides functions for building a flux.Spec from different sources (e.g., string, AST). It is intended for internal use only.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FromAST ¶
func FromAST(ctx context.Context, deps dependencies.Interface, astPkg *ast.Package, now time.Time) (*flux.Spec, error)
FromAST returns a spec from an AST.
func FromScript ¶
func FromScript(ctx context.Context, deps dependencies.Interface, now time.Time, script string) (*flux.Spec, error)
FromScript returns a spec from a script expressed as a raw string.
func FromTableObject ¶
FromAST returns a spec from a TableObject.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.