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

Method SetDefaults

cli/internal/specs/v0/destination.go:48–53  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

46}
47
48func (d *Destination) SetDefaults() {
49 d.Metadata.SetDefaults()
50 if d.Spec == nil {
51 d.Spec = make(map[string]any)
52 }
53}
54
55func (d *Destination) UnmarshalSpec(out any) error {
56 b, err := json.Marshal(d.Spec)

Calls

no outgoing calls