Documentation ¶
Index ¶
- func EvalObject(ctx context.Context, doc *enigma.Doc, objectID string)
- func PrintApps(docList []*enigma.DocListEntry, printAsJSON bool)
- func PrintAssociations(data *internal.ModelMetadata)
- func PrintConnection(connection *enigma.Connection)
- func PrintConnections(connections []*enigma.Connection, printAsJSON bool)
- func PrintFields(data *internal.ModelMetadata, keyOnly bool)
- func PrintGenericEntities(allInfos []*enigma.NxInfo, entityType string, printAsJSON bool)
- func PrintGenericEntityLayout(state *internal.State, entityID string, entityType string)
- func PrintGenericEntityProperties(state *internal.State, entityID string, entityType string)
- func PrintMetadata(data *internal.ModelMetadata)
- func PrintStatus(state *internal.State, engine string)
- func PrintTables(data *internal.ModelMetadata)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EvalObject ¶ added in v0.0.4
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
PrintGenericEntities prints a list of the id and type of all generic entities in the app
func PrintGenericEntityLayout ¶ added in v0.1.0
PrintGenericEntityLayout prints the layout of the object defined by objectID
func PrintGenericEntityProperties ¶ added in v0.1.0
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
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.