Documentation ¶
Index ¶
- func FromEvaluation(ctx context.Context, ses []interpreter.SideEffect, now time.Time) (*flux.Spec, error)
- func FromScript(ctx context.Context, runtime flux.Runtime, now time.Time, script string) (*flux.Spec, error)
- func FromTableObject(ctx context.Context, to *flux.TableObject, now time.Time) (*flux.Spec, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FromEvaluation ¶
func FromEvaluation(ctx context.Context, ses []interpreter.SideEffect, now time.Time) (*flux.Spec, error)
func FromScript ¶
func FromScript(ctx context.Context, runtime flux.Runtime, now time.Time, script string) (*flux.Spec, error)
FromScript returns a spec from a script expressed as a raw string. This is duplicate logic for what happens when a flux.Program runs. This function is used in tests that compare flux.Specs (e.g. in planner tests).
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.