printer

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2019 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EvalObject added in v0.0.4

func EvalObject(ctx context.Context, doc *enigma.Doc, objectID string)

EvalObject evalutes the data of the object identified by objectID

func PrintApps added in v0.0.3

func PrintApps(docList []*enigma.DocListEntry, printAsJSON bool)

PrintApps prints a list of apps and some meta to system out.

func PrintAssociations

func PrintAssociations(data *internal.ModelMetadata)

PrintAssociations prints a list of associations to system out.

func PrintConnection added in v0.2.0

func PrintConnection(connection *enigma.Connection)

PrintConnection prints a connection to standard out

func PrintConnections added in v0.2.0

func PrintConnections(connections []*enigma.Connection, printAsJSON bool)

PrintConnections prints a list of connections to standard out

func PrintFields

func PrintFields(data *internal.ModelMetadata, keyOnly bool)

PrintFields prints a table sof fields along with various metadata to system out.

func PrintGenericEntities added in v0.1.0

func PrintGenericEntities(allInfos []*enigma.NxInfo, entityType string, printAsJSON bool)

PrintGenericEntities prints a list of the id and type of all generic entities in the app

func PrintGenericEntityLayout added in v0.1.0

func PrintGenericEntityLayout(state *internal.State, entityID string, entityType string)

PrintGenericEntityLayout prints the layout of the object defined by objectID

func PrintGenericEntityProperties added in v0.1.0

func PrintGenericEntityProperties(state *internal.State, entityID string, entityType string)

PrintGenericEntityProperties prints the properties of the generic entity defined by entityID

func PrintMetadata

func PrintMetadata(data *internal.ModelMetadata)

PrintMetadata prints fields tables and associations to system out.

func PrintStatus added in v0.0.3

func PrintStatus(state *internal.State, engine string)

PrintStatus prints the name of the app and the engine corectl is connected to. It also prints if the data model is empty or not

func PrintTables

func PrintTables(data *internal.ModelMetadata)

PrintTables prints a list of tables along with meta data to system out.

Types

This section is empty.

Jump to

Keyboard shortcuts

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