spec

package
v0.46.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 11, 2019 License: MIT Imports: 11 Imported by: 0

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

func FromTableObject(to *flux.TableObject, now time.Time) *flux.Spec

FromAST returns a spec from a TableObject.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL