| 12 | type ImportList = meta.ImportList |
| 13 | |
| 14 | type 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 | |
| 22 | func NewMeta(cfg config.Config) (Meta, error) { |
| 23 | switch { |
no outgoing calls
no test coverage detected