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

18 lines
325 B
Go

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