Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
type Manager interface { // CreateTransfer creates a transfer job and returns a TxInfo object that includes a unique transfer id. // Specified target URIs are of form scheme://userinfo@host:port?name={path} CreateTransfer(ctx context.Context, srcTargetURI string, dstTargetURI string) (*datatx.TxInfo, error) // GetTransferStatus returns a TxInfo object including the current status, and error if any. GetTransferStatus(ctx context.Context, transferID string) (*datatx.TxInfo, error) // CancelTransfer cancels the transfer and returns a TxInfo object and error if any. CancelTransfer(ctx context.Context, transferID string) (*datatx.TxInfo, error) // RetryTransfer retries the transfer and returns a TxInfo object and error if any. // Note that tokens must still be valid. RetryTransfer(ctx context.Context, transferID string) (*datatx.TxInfo, error) }
Manager the interface any transfer driver should implement.
Click to show internal directories.
Click to hide internal directories.