mirror of https://github.com/databricks/cli.git
b88b35a510
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) ``` |
||
---|---|---|
.. | ||
config | ||
loader | ||
tests | ||
bundle.go | ||
bundle_test.go | ||
context.go | ||
context_test.go | ||
mutator.go | ||
mutator_test.go | ||
root.go | ||
root_test.go |