processing

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FromConnectionContext

func FromConnectionContext(dbConnection drivers.DBDriver, tx interface{}, modelName string, inPlaceFunctions template.FuncMap) template.FuncMap

Types

type Asset

type Asset interface {
	Execute(input map[string]interface{}) (interface{}, error)
	GetUpstreams() []string
	GetDownstreams() []string
	GetName() string
}

func InitSQLModelAsset

func InitSQLModelAsset(descriptor *models.SQLModelDescriptor) Asset

type SQLModelAsset

type SQLModelAsset struct {
	// contains filtered or unexported fields
}

func (*SQLModelAsset) Execute

func (s *SQLModelAsset) Execute(input map[string]interface{}) (interface{}, error)

Execute implements Asset.

func (*SQLModelAsset) GetDownstreams

func (s *SQLModelAsset) GetDownstreams() []string

GetDownstrem implements Asset.

func (*SQLModelAsset) GetName

func (s *SQLModelAsset) GetName() string

GetName implements Asset.

func (*SQLModelAsset) GetUpstreams

func (s *SQLModelAsset) GetUpstreams() []string

GetUpstream implements Asset.

Jump to

Keyboard shortcuts

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