publicstoragemocks

package
v0.0.0-...-93e01a0 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Callbacks

type Callbacks struct {
	mock.Mock
}

Callbacks is an autogenerated mock type for the Callbacks type

type Plugin

type Plugin struct {
	mock.Mock
}

Plugin is an autogenerated mock type for the Plugin type

func (*Plugin) Capabilities

func (_m *Plugin) Capabilities() *publicstorage.Capabilities

Capabilities provides a mock function with given fields:

func (*Plugin) Init

func (_m *Plugin) Init(ctx context.Context, prefix config.Prefix, callbacks publicstorage.Callbacks) error

Init provides a mock function with given fields: ctx, prefix, callbacks

func (*Plugin) InitPrefix

func (_m *Plugin) InitPrefix(prefix config.Prefix)

InitPrefix provides a mock function with given fields: prefix

func (*Plugin) Name

func (_m *Plugin) Name() string

Name provides a mock function with given fields:

func (*Plugin) PublishData

func (_m *Plugin) PublishData(ctx context.Context, data io.Reader) (string, error)

PublishData provides a mock function with given fields: ctx, data

func (*Plugin) RetrieveData

func (_m *Plugin) RetrieveData(ctx context.Context, payloadRef string) (io.ReadCloser, error)

RetrieveData provides a mock function with given fields: ctx, payloadRef

Jump to

Keyboard shortcuts

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