init

package
v0.0.0-rc8 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2024 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(provider abstract.ProviderType) func(lgr log.Logger, registry metrics.Registry, cp coordinator.Coordinator, transfer *model.Transfer) providers.Provider

Types

type Provider

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

func (*Provider) Cleanup

func (p *Provider) Cleanup(ctx context.Context, task *model.TransferOperation) error

func (*Provider) DataProvider

func (p *Provider) DataProvider() (provider base.DataProvider, err error)

func (*Provider) Sink

func (*Provider) Storage

func (p *Provider) Storage() (abstract.Storage, error)

func (*Provider) TMPCleaner

func (p *Provider) TMPCleaner(ctx context.Context, task *model.TransferOperation) (providers.Cleaner, error)

func (*Provider) Target

func (p *Provider) Target(...abstract.SinkOption) (base.EventTarget, error)

func (*Provider) Type

func (p *Provider) Type() abstract.ProviderType

func (*Provider) Verify

func (p *Provider) Verify(ctx context.Context) error

Jump to

Keyboard shortcuts

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