Documentation ¶
Index ¶
- type Callbacks
- type Plugin
- func (_m *Plugin) Capabilities() *sharedstorage.Capabilities
- func (_m *Plugin) DownloadData(ctx context.Context, payloadRef string) (io.ReadCloser, error)
- func (_m *Plugin) Init(ctx context.Context, _a1 config.Section) error
- func (_m *Plugin) InitConfig(_a0 config.Section)
- func (_m *Plugin) Name() string
- func (_m *Plugin) SetHandler(namespace string, handler sharedstorage.Callbacks)
- func (_m *Plugin) UploadData(ctx context.Context, data io.Reader) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Callbacks ¶
Callbacks is an autogenerated mock type for the Callbacks type
func NewCallbacks ¶ added in v1.1.2
NewCallbacks creates a new instance of Callbacks. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
type Plugin ¶
Plugin is an autogenerated mock type for the Plugin type
func NewPlugin ¶ added in v1.1.2
NewPlugin creates a new instance of Plugin. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*Plugin) Capabilities ¶
func (_m *Plugin) Capabilities() *sharedstorage.Capabilities
Capabilities provides a mock function with given fields:
func (*Plugin) DownloadData ¶
DownloadData provides a mock function with given fields: ctx, payloadRef
func (*Plugin) InitConfig ¶ added in v1.1.0
InitConfig provides a mock function with given fields: _a0
func (*Plugin) SetHandler ¶ added in v1.1.0
func (_m *Plugin) SetHandler(namespace string, handler sharedstorage.Callbacks)
SetHandler provides a mock function with given fields: namespace, handler