databricks-cli/bundle/config/mutator/mutator.go

18 lines
340 B
Go
Raw Permalink Normal View History

package mutator
import (
"github.com/databricks/cli/bundle"
)
func DefaultMutators() []bundle.Mutator {
return []bundle.Mutator{
ProcessRootIncludes(),
DefineDefaultEnvironment(),
LoadGitDetails(),
}
}
func DefaultMutatorsForEnvironment(env string) []bundle.Mutator {
return append(DefaultMutators(), SelectEnvironment(env))
}