mirror of https://github.com/databricks/cli.git
22 lines
266 B
Go
22 lines
266 B
Go
|
package mutator
|
||
|
|
||
|
import (
|
||
|
"context"
|
||
|
|
||
|
"github.com/databricks/cli/bundle"
|
||
|
)
|
||
|
|
||
|
type noop struct{}
|
||
|
|
||
|
func (*noop) Apply(context.Context, *bundle.Bundle) error {
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (*noop) Name() string {
|
||
|
return "NoOp"
|
||
|
}
|
||
|
|
||
|
func NoOp() bundle.Mutator {
|
||
|
return &noop{}
|
||
|
}
|