Documentation
¶
Index ¶
- func Execute() error
- func LoadSchemaFromFileOrRepo(compiledSchema, repoDir, schemaName string) (*ls.Layer, error)
- func OutputIngestedGraph(outFormat string, target *digraph.Graph, wr io.Writer, includeSchema bool) error
- func ReadGraph(gfile []string) (*digraph.Graph, error)
- type ImportJSONSchemaRequest
- type SliceByTermsSpec
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func OutputIngestedGraph ¶
Types ¶
type ImportJSONSchemaRequest ¶
type ImportJSONSchemaRequest struct { Entities []jsonsch.Entity `json:"entities"` SchemaID string `json:"schemaId"` Schema string `json:"schemaManifest"` ObjectType string `json:"objectType"` Layers []SliceByTermsSpec `json:"layers"` }
func (*ImportJSONSchemaRequest) CompileAndImport ¶
func (req *ImportJSONSchemaRequest) CompileAndImport() ([]jsonsch.ImportedEntity, error)
func (*ImportJSONSchemaRequest) SetSchemaNames ¶
func (req *ImportJSONSchemaRequest) SetSchemaNames()
func (*ImportJSONSchemaRequest) Slice ¶
func (req *ImportJSONSchemaRequest) Slice(item jsonsch.ImportedEntity) ([]*ls.Layer, *ls.SchemaManifest, error)
Click to show internal directories.
Click to hide internal directories.