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

18 lines
349 B
Go
Raw Normal View History

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