databricks-cli/bundle/config/artifact.go

21 lines
594 B
Go
Raw Permalink Normal View History

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.
Language workspace.Language `json:"language,omitempty"`
// Paths are synthesized during build step.
LocalPath string `json:"local_path,omitempty"`
RemotePath string `json:"remote_path,omitempty"`
}