spec

package
v0.32.1 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2019 License: MIT Imports: 10 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, astPkg *ast.Package, now time.Time) (*flux.Spec, error)

FromAST returns a spec from an AST.

func FromScript

func FromScript(ctx context.Context, script string, now time.Time) (*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