tetl

package
v1.3.13 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2022 License: MIT Imports: 17 Imported by: 0

Documentation

Overview

Package tetl provides helpers for ETL.

  • Copyright (c) 2018-2021, NVIDIA CORPORATION. All rights reserved.

Index

Constants

View Source
const (
	Tar2TF        = "tar2tf"
	Echo          = "transformer-echo"
	EchoGolang    = "echo-go"
	MD5           = "transformer-md5"
	Tar2tfFilters = "tar2tf-filters"
)

Variables

This section is empty.

Functions

func CheckNoRunningETLContainers

func CheckNoRunningETLContainers(t *testing.T, params api.BaseParams)

func ETLBucket

func ETLBucket(t *testing.T, baseParams api.BaseParams, fromBck, toBck cmn.Bck, bckMsg *apc.TCBMsg) string

func ETLShouldBeRunning

func ETLShouldBeRunning(t *testing.T, params api.BaseParams, etlID string)

func ETLShouldNotBeRunning

func ETLShouldNotBeRunning(t *testing.T, params api.BaseParams, etlID string)

func GetTransformYaml

func GetTransformYaml(name string) ([]byte, error)

func Init

func Init(t *testing.T, baseParams api.BaseParams, name, comm string) string

func InitCode

func InitCode(t *testing.T, baseParams api.BaseParams, msg etl.InitCodeMsg) string

func ReportXactionStatus

func ReportXactionStatus(baseParams api.BaseParams, xactID string, stopCh *cos.StopCh, interval time.Duration, totalObj int)

func SpecToInitMsg

func SpecToInitMsg(spec []byte) (msg *etl.InitSpecMsg, err error)

func StopAndDeleteETL

func StopAndDeleteETL(t *testing.T, baseParams api.BaseParams, etlID string)

func WaitForAborted

func WaitForAborted(baseParams api.BaseParams, xactID string, timeout time.Duration) error

func WaitForContainersStopped

func WaitForContainersStopped(t *testing.T, baseParams api.BaseParams)

func WaitForFinished

func WaitForFinished(baseParams api.BaseParams, xactID string, timeout time.Duration) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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