databricks-cli/bundle
Pieter Noordhuis b88b35a510
Move mutator interface to top level bundle package (#105)
While working on artifact upload and workspace interrogation I realized
this mutator interface needs to:
1. Operate at the whole bundle level so it can apply to both
configuration and internal state
2. Include a `context.Context` parameter for a) long running operations
and b) progress reporting

Previous interface:
```
Apply(*config.Root) ([]Mutator, error)
```

New interface:
```
Apply(context.Context, *Bundle) ([]Mutator, error)
```
2022-11-28 10:59:43 +01:00
..
config Move mutator interface to top level bundle package (#105) 2022-11-28 10:59:43 +01:00
loader Move mutator interface to top level bundle package (#105) 2022-11-28 10:59:43 +01:00
tests Move mutator interface to top level bundle package (#105) 2022-11-28 10:59:43 +01:00
bundle.go Move mutator interface to top level bundle package (#105) 2022-11-28 10:59:43 +01:00
bundle_test.go Move mutator interface to top level bundle package (#105) 2022-11-28 10:59:43 +01:00
context.go Add command that writes the materialized bundle configuration to stdout (#95) 2022-11-21 15:39:53 +01:00
context_test.go Add command that writes the materialized bundle configuration to stdout (#95) 2022-11-21 15:39:53 +01:00
mutator.go Move mutator interface to top level bundle package (#105) 2022-11-28 10:59:43 +01:00
mutator_test.go Move mutator interface to top level bundle package (#105) 2022-11-28 10:59:43 +01:00
root.go Skeleton for configuration loading and mutation (#92) 2022-11-18 10:57:31 +01:00
root_test.go Skeleton for configuration loading and mutation (#92) 2022-11-18 10:57:31 +01:00