automock

package
v0.0.0-...-1ac4f16 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2019 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cache

type Cache struct {
	mock.Mock
}

Cache is an autogenerated mock type for the Cache type

func (*Cache) Delete

func (_m *Cache) Delete(key string) error

Delete provides a mock function with given fields: key

func (*Cache) Get

func (_m *Cache) Get(key string) ([]byte, error)

Get provides a mock function with given fields: key

func (*Cache) Reset

func (_m *Cache) Reset() error

Reset provides a mock function with given fields:

func (*Cache) Set

func (_m *Cache) Set(key string, entry []byte) error

Set provides a mock function with given fields: key, entry

type Minio

type Minio struct {
	mock.Mock
}

Minio is an autogenerated mock type for the Minio type

func (*Minio) GetObject

func (_m *Minio) GetObject(bucketName string, objectName string, opts minio.GetObjectOptions) (*minio.Object, error)

GetObject provides a mock function with given fields: bucketName, objectName, opts

func (*Minio) ListenBucketNotification

func (_m *Minio) ListenBucketNotification(bucketName string, prefix string, suffix string, events []string, doneCh <-chan struct{}) <-chan minio.NotificationInfo

ListenBucketNotification provides a mock function with given fields: bucketName, prefix, suffix, events, doneCh

Jump to

Keyboard shortcuts

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