mocks

package
v0.0.0-...-6ea9dd7 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2022 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 Compressor

type Compressor struct {
	mock.Mock
}

Compressor is an autogenerated mock type for the Compressor type

func (*Compressor) Compress

func (_m *Compressor) Compress(c context.Context, fileName string, data []byte) ([]byte, error)

Compress provides a mock function with given fields: c, fileName, data

func (*Compressor) Decompress

func (_m *Compressor) Decompress(c context.Context, data []byte) ([]byte, error)

Decompress provides a mock function with given fields: c, data

type Storer

type Storer struct {
	mock.Mock
}

Storer is an autogenerated mock type for the Storer type

func (*Storer) Exists

func (_m *Storer) Exists(_a0 context.Context, _a1 string) (bool, error)

Exists provides a mock function with given fields: _a0, _a1

func (*Storer) Read

func (_m *Storer) Read(c context.Context, uuid string) ([]byte, error)

Read provides a mock function with given fields: c, uuid

func (*Storer) Write

func (_m *Storer) Write(c context.Context, uuid string, data []byte) error

Write provides a mock function with given fields: c, uuid, data

type UblExtension

type UblExtension struct {
	mock.Mock
}

UblExtension is an autogenerated mock type for the UblExtension type

func (*UblExtension) GetAdditionalInfo

func (_m *UblExtension) GetAdditionalInfo(data []byte) (*[]string, error)

GetAdditionalInfo provides a mock function with given fields: data

func (*UblExtension) Hash

func (_m *UblExtension) Hash(s string) string

Hash provides a mock function with given fields: s

func (*UblExtension) Parse

func (_m *UblExtension) Parse(_a0 []byte) (string, string, *map[string]string, error)

Parse provides a mock function with given fields: _a0

Jump to

Keyboard shortcuts

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