storagemock

package
v0.18.0 Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2018 License: MIT Imports: 5 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 InstrumentedStorage

type InstrumentedStorage struct {
	mock.Mock
}

InstrumentedStorage is an autogenerated mock type for the InstrumentedStorage type

func (*InstrumentedStorage) Abandon

func (_m *InstrumentedStorage) Abandon(_a0 context.Context, _a1 string) (bool, error)

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

func (*InstrumentedStorage) Collect

func (_m *InstrumentedStorage) Collect(_a0 chan<- prometheus.Metric)

Collect provides a mock function with given fields: _a0

func (*InstrumentedStorage) Delete

func (_m *InstrumentedStorage) Delete(_a0 context.Context, _a1 string, _a2 string, _a3 string, _a4 *time.Time, _a5 *time.Time) (int64, error)

Delete provides a mock function with given fields: _a0, _a1, _a2, _a3, _a4, _a5

func (*InstrumentedStorage) Describe

func (_m *InstrumentedStorage) Describe(_a0 chan<- *prometheus.Desc)

Describe provides a mock function with given fields: _a0

func (*InstrumentedStorage) Exists

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

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

func (*InstrumentedStorage) Get

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

func (*InstrumentedStorage) List

func (_m *InstrumentedStorage) List(_a0 context.Context, _a1 int64, _a2 int64, _a3 *time.Time, _a4 *time.Time) ([]*mnemosynerpc.Session, error)

List provides a mock function with given fields: _a0, _a1, _a2, _a3, _a4

func (*InstrumentedStorage) SetValue

func (_m *InstrumentedStorage) SetValue(_a0 context.Context, _a1 string, _a2 string, _a3 string) (map[string]string, error)

SetValue provides a mock function with given fields: _a0, _a1, _a2, _a3

func (*InstrumentedStorage) Setup

func (_m *InstrumentedStorage) Setup() error

Setup provides a mock function with given fields:

func (*InstrumentedStorage) Start

func (_m *InstrumentedStorage) Start(_a0 context.Context, _a1 string, _a2 string, _a3 string, _a4 string, _a5 map[string]string) (*mnemosynerpc.Session, error)

Start provides a mock function with given fields: _a0, _a1, _a2, _a3, _a4, _a5

func (*InstrumentedStorage) TearDown

func (_m *InstrumentedStorage) TearDown() error

TearDown provides a mock function with given fields:

type Storage

type Storage struct {
	mock.Mock
}

Storage is an autogenerated mock type for the Storage type

func (*Storage) Abandon

func (_m *Storage) Abandon(_a0 context.Context, _a1 string) (bool, error)

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

func (*Storage) Delete

func (_m *Storage) Delete(_a0 context.Context, _a1 string, _a2 string, _a3 string, _a4 *time.Time, _a5 *time.Time) (int64, error)

Delete provides a mock function with given fields: _a0, _a1, _a2, _a3, _a4, _a5

func (*Storage) Exists

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

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

func (*Storage) Get

func (_m *Storage) Get(_a0 context.Context, _a1 string) (*mnemosynerpc.Session, error)

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

func (*Storage) List

func (_m *Storage) List(_a0 context.Context, _a1 int64, _a2 int64, _a3 *time.Time, _a4 *time.Time) ([]*mnemosynerpc.Session, error)

List provides a mock function with given fields: _a0, _a1, _a2, _a3, _a4

func (*Storage) SetValue

func (_m *Storage) SetValue(_a0 context.Context, _a1 string, _a2 string, _a3 string) (map[string]string, error)

SetValue provides a mock function with given fields: _a0, _a1, _a2, _a3

func (*Storage) Setup

func (_m *Storage) Setup() error

Setup provides a mock function with given fields:

func (*Storage) Start

func (_m *Storage) Start(_a0 context.Context, _a1 string, _a2 string, _a3 string, _a4 string, _a5 map[string]string) (*mnemosynerpc.Session, error)

Start provides a mock function with given fields: _a0, _a1, _a2, _a3, _a4, _a5

func (*Storage) TearDown

func (_m *Storage) TearDown() error

TearDown provides a mock function with given fields:

Jump to

Keyboard shortcuts

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