MCPcopy Create free account
hub / github.com/cloudquery/cloudquery / newSpecReader

Function newSpecReader

cli/internal/specs/v0/spec_reader.go:351–363  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

349}
350
351func newSpecReader() *SpecReader {
352 return &SpecReader{
353 sourcesMap: make(map[string]*Source),
354 destinationsMap: make(map[string]*Destination),
355 transformersMap: make(map[string]*Transformer),
356 Sources: make([]*Source, 0),
357 Destinations: make([]*Destination, 0),
358 Transformers: make([]*Transformer, 0),
359 sourceWarningsMap: make(map[string]Warnings),
360 destinationWarningsMap: make(map[string]Warnings),
361 transformerWarningsMap: make(map[string]Warnings),
362 }
363}
364
365func (r *SpecReader) initialize(paths []string) error {
366 for _, path := range paths {

Callers 3

NewSpecReaderFunction · 0.85
NewRelaxedSpecReaderFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected