2022-11-30 13:15:22 +00:00
|
|
|
package config
|
|
|
|
|
|
|
|
import "github.com/databricks/databricks-sdk-go/service/workspace"
|
|
|
|
|
|
|
|
// Artifact defines a single local code artifact that can be
|
|
|
|
// built/uploaded/referenced in the context of this bundle.
|
|
|
|
type Artifact struct {
|
|
|
|
Notebook *NotebookArtifact `json:"notebook,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
type NotebookArtifact struct {
|
|
|
|
Path string `json:"path"`
|
|
|
|
|
|
|
|
// Language is detected during build step.
|
2023-04-04 10:16:07 +00:00
|
|
|
Language workspace.Language `json:"language,omitempty" bundle:"readonly"`
|
2022-11-30 13:15:22 +00:00
|
|
|
|
|
|
|
// Paths are synthesized during build step.
|
2023-04-04 10:16:07 +00:00
|
|
|
LocalPath string `json:"local_path,omitempty" bundle:"readonly"`
|
|
|
|
RemotePath string `json:"remote_path,omitempty" bundle:"readonly"`
|
2022-11-30 13:15:22 +00:00
|
|
|
}
|