Documentation ¶
Index ¶
- type RemoteClientMock
- func (r *RemoteClientMock) CreateUploadSession(ctx context.Context, session *serializer.UploadSession, ttl int64, ...) error
- func (r *RemoteClientMock) DeleteUploadSession(ctx context.Context, sessionID string) error
- func (r *RemoteClientMock) GetUploadURL(ttl int64, sessionID string) (string, string, error)
- func (r *RemoteClientMock) Upload(ctx context.Context, file fsctx.FileHeader) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RemoteClientMock ¶
func (*RemoteClientMock) CreateUploadSession ¶
func (r *RemoteClientMock) CreateUploadSession(ctx context.Context, session *serializer.UploadSession, ttl int64, overwrite bool) error
func (*RemoteClientMock) DeleteUploadSession ¶
func (r *RemoteClientMock) DeleteUploadSession(ctx context.Context, sessionID string) error
func (*RemoteClientMock) GetUploadURL ¶
func (*RemoteClientMock) Upload ¶
func (r *RemoteClientMock) Upload(ctx context.Context, file fsctx.FileHeader) error
Click to show internal directories.
Click to hide internal directories.