mirror of https://github.com/databricks/cli.git
19 lines
483 B
Go
19 lines
483 B
Go
|
package config
|
||
|
|
||
|
type Experimental struct {
|
||
|
Scripts map[ScriptHook]Command `json:"scripts,omitempty"`
|
||
|
}
|
||
|
|
||
|
type Command string
|
||
|
type ScriptHook string
|
||
|
|
||
|
// These hook names are subject to change and currently experimental
|
||
|
const (
|
||
|
ScriptPreInit ScriptHook = "preinit"
|
||
|
ScriptPostInit ScriptHook = "postinit"
|
||
|
ScriptPreBuild ScriptHook = "prebuild"
|
||
|
ScriptPostBuild ScriptHook = "postbuild"
|
||
|
ScriptPreDeploy ScriptHook = "predeploy"
|
||
|
ScriptPostDeploy ScriptHook = "postdeploy"
|
||
|
)
|