tasks

package
v0.14.3-alpha2 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2022 License: Apache-2.0 Imports: 11 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"`
	// deprecated, use args instead
	ProjectVars    map[string]interface{} `json:"projectVars"`
	SelectedModels []string               `json:"selectedModels"`
	// 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