MCPcopy
hub / github.com/Azure/aztfexport / Meta

Interface Meta

pkg/meta/meta.go:14–20  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12type ImportList = meta.ImportList
13
14type Meta interface {
15 meta.BaseMeta
16 // ScopeName returns a string indicating current scope/mode.
17 ScopeName() string
18 // ListResource lists the resources belong to current scope.
19 ListResource(ctx context.Context) (meta.ImportList, error)
20}
21
22func NewMeta(cfg config.Config) (Meta, error) {
23 switch {

Callers 4

NewModelFunction · 0.65
BatchImportFunction · 0.95
TestNewDummyMetaFunction · 0.65
ListResourceFunction · 0.65

Implementers 5

MetaGroupDummyinternal/meta/meta_dummy.go
MetaResourceinternal/meta/meta_res.go
MetaQueryinternal/meta/meta_query.go
MetaResourceGroupinternal/meta/meta_rg.go
MetaMapinternal/meta/meta_map.go

Calls

no outgoing calls

Tested by

no test coverage detected