tasks

package
v0.15.0-rc4 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2023 License: Apache-2.0 Imports: 12 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DbtConverterMeta = core.SubTaskMeta{
	Name:             "DbtConverter",
	EntryPoint:       DbtConverter,
	EnabledByDefault: true,
	Description:      "Convert data by dbt",
}
View Source
var GitMeta = core.SubTaskMeta{
	Name:             "Git",
	EntryPoint:       Git,
	EnabledByDefault: true,
	Description:      "Clone dbt project from git",
}

Functions

func DbtConverter

func DbtConverter(taskCtx core.SubTaskContext) errors.Error

func Git added in v0.14.3

func Git(taskCtx core.SubTaskContext) errors.Error

Types

type DbtOptions

type DbtOptions struct {
	ProjectPath   string `json:"projectPath"`
	ProjectName   string `json:"projectName"`
	ProjectTarget string `json:"projectTarget"`
	// clone from git to projectPath if projectGitURL is not empty
	ProjectGitURL  string                 `json:"projectGitURL"`
	ProjectVars    map[string]interface{} `json:"projectVars"`
	SelectedModels []string               `json:"selectedModels"`
	FailFast       bool                   `json:"failFast"`
	ProfilesPath   string                 `json:"profilesPath"`
	Profile        string                 `json:"profile"`
	Threads        int                    `json:"threads"`
	NoVersionCheck bool                   `json:"noVersionCheck"`
	ExcludeModels  []string               `json:"excludeModels"`
	Selector       string                 `json:"selector"`
	State          string                 `json:"state"`
	Defer          bool                   `json:"defer"`
	NoDefer        bool                   `json:"noDefer"`
	FullRefresh    bool                   `json:"fullRefresh"`
	// deprecated, dbt run args
	Args  []string `json:"args"`
	Tasks []string `json:"tasks,omitempty"`
}

type DbtTaskData

type DbtTaskData struct {
	Options *DbtOptions
}

Jump to

Keyboard shortcuts

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