mocks

package
v1.20.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GatewayClient

type GatewayClient struct {
	mock.Mock
}

GatewayClient is an autogenerated mock type for the GatewayClient type

func (*GatewayClient) CreateStorageSpace

CreateStorageSpace provides a mock function with given fields: ctx, in, opts

func (*GatewayClient) DeleteStorageSpace

DeleteStorageSpace provides a mock function with given fields: ctx, in, opts

func (*GatewayClient) GetHome

GetHome provides a mock function with given fields: ctx, in, opts

func (*GatewayClient) GetPath

GetPath provides a mock function with given fields: ctx, in, opts

func (*GatewayClient) GetQuota

GetQuota provides a mock function with given fields: ctx, in, opts

func (*GatewayClient) InitiateFileDownload

InitiateFileDownload provides a mock function with given fields: ctx, in, opts

func (*GatewayClient) ListContainer

ListContainer provides a mock function with given fields: ctx, in, opts

func (*GatewayClient) ListStorageSpaces

ListStorageSpaces provides a mock function with given fields: ctx, in, opts

func (*GatewayClient) Stat

Stat provides a mock function with given fields: ctx, in, opts

func (*GatewayClient) UpdateStorageSpace

UpdateStorageSpace provides a mock function with given fields: ctx, in, opts

type HTTPClient

type HTTPClient struct {
	mock.Mock
}

HTTPClient is an autogenerated mock type for the HTTPClient type

func (*HTTPClient) Do

func (_m *HTTPClient) Do(req *http.Request) (*http.Response, error)

Do provides a mock function with given fields: req

type Publisher added in v1.20.0

type Publisher struct {
	mock.Mock
}

Publisher is an autogenerated mock type for the Publisher type

func (*Publisher) Publish added in v1.20.0

func (_m *Publisher) Publish(_a0 string, _a1 interface{}, _a2 ...events.PublishOption) error

Publish provides a mock function with given fields: _a0, _a1, _a2

Jump to

Keyboard shortcuts

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