pipelines

package
v1.58.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 8, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const DefaultTimeout = 20 * time.Minute

DefaultTimeout is the default amount of time that Terraform will wait when creating, updating and deleting pipelines.

Variables

This section is empty.

Functions

func Create added in v1.50.0

func Create(w *databricks.WorkspaceClient, ctx context.Context, d *schema.ResourceData, timeout time.Duration) error

func DataSourcePipelines added in v1.15.0

func DataSourcePipelines() common.Resource

func Delete added in v1.50.0

func Delete(w *databricks.WorkspaceClient, ctx context.Context, id string, timeout time.Duration) error

func Read added in v1.50.0

func Read(w *databricks.WorkspaceClient, ctx context.Context, id string) (*pipelines.GetPipelineResponse, error)

func ResourcePipeline

func ResourcePipeline() common.Resource

func Update added in v1.50.0

func Update(w *databricks.WorkspaceClient, ctx context.Context, d *schema.ResourceData, timeout time.Duration) error

Types

type Pipeline added in v1.50.0

type Pipeline struct {
	pipelines.PipelineSpec
	AllowDuplicateNames  bool                                `json:"allow_duplicate_names,omitempty"`
	Cause                string                              `json:"cause,omitempty"`
	ClusterId            string                              `json:"cluster_id,omitempty"`
	CreatorUserName      string                              `json:"creator_user_name,omitempty"`
	Health               pipelines.GetPipelineResponseHealth `json:"health,omitempty"`
	LastModified         int64                               `json:"last_modified,omitempty"`
	LatestUpdates        []pipelines.UpdateStateInfo         `json:"latest_updates,omitempty"`
	RunAsUserName        string                              `json:"run_as_user_name,omitempty"`
	ExpectedLastModified int64                               `json:"expected_last_modified,omitempty"`
	State                pipelines.PipelineState             `json:"state,omitempty"`
	// Provides the URL to the pipeline in the Databricks UI.
	URL string `json:"url,omitempty"`
}

func (Pipeline) Aliases added in v1.50.0

func (Pipeline) Aliases() map[string]map[string]string

func (Pipeline) CustomizeSchema added in v1.50.0

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL