automock

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2018 License: Apache-2.0, Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Code generated by mockery v1.0.0. DO NOT EDIT.

Code generated by mockery v1.0.0. DO NOT EDIT.

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