mocks

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: May 22, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Archive

type Archive struct {
	mock.Mock
}

Archive is an autogenerated mock type for the Archive type

func NewArchive

func NewArchive(t mockConstructorTestingTNewArchive) *Archive

NewArchive creates a new instance of Archive. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*Archive) Close

func (_m *Archive) Close(ctx context.Context) error

Close provides a mock function with given fields: ctx

func (*Archive) History

func (_m *Archive) History(ctx context.Context, latest []byte) ([][]byte, error)

History provides a mock function with given fields: ctx, latest

func (*Archive) Put

func (_m *Archive) Put(ctx context.Context, versions ...[]byte) error

Put provides a mock function with given fields: ctx, versions

Jump to

Keyboard shortcuts

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