uploaders

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2025 License: GPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	S3BucketParamName    = "BUCKET"
	S3RegionParamName    = "REGION"
	S3SubFolderParamName = "SUBFOLDER"

	AWSConfigFileMountPath = "/aws/config"
)
View Source
const (
	WebhookURLParamName    = "URL"
	WebhookMethodParamName = "METHOD"
)

Variables

This section is empty.

Functions

func GetAllDefaults

func GetAllDefaults() map[string]DefaultUploader

Types

type DefaultUploader

type DefaultUploader struct {
	Definition schemas.Uploader
	Uploader   Uploader `json:"uploader"`
}

type Uploader

type Uploader interface {
	Upload(
		ctx context.Context,
		metadata input.PipelineMetadata,
		params map[string]string,
		files []string,
	) error
}

Jump to

Keyboard shortcuts

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