Documentation ¶
Index ¶
- type InstrumentedStorage
- func (_m *InstrumentedStorage) Abandon(_a0 context.Context, _a1 string) (bool, error)
- func (_m *InstrumentedStorage) Collect(_a0 chan<- prometheus.Metric)
- func (_m *InstrumentedStorage) Delete(_a0 context.Context, _a1 string, _a2 string, _a3 string, _a4 *time.Time, ...) (int64, error)
- func (_m *InstrumentedStorage) Describe(_a0 chan<- *prometheus.Desc)
- func (_m *InstrumentedStorage) Exists(_a0 context.Context, _a1 string) (bool, error)
- func (_m *InstrumentedStorage) Get(_a0 context.Context, _a1 string) (*mnemosynerpc.Session, error)
- func (_m *InstrumentedStorage) List(_a0 context.Context, _a1 int64, _a2 int64, _a3 *time.Time, _a4 *time.Time) ([]*mnemosynerpc.Session, error)
- func (_m *InstrumentedStorage) SetValue(_a0 context.Context, _a1 string, _a2 string, _a3 string) (map[string]string, error)
- func (_m *InstrumentedStorage) Setup() error
- func (_m *InstrumentedStorage) Start(_a0 context.Context, _a1 string, _a2 string, _a3 string, _a4 string, ...) (*mnemosynerpc.Session, error)
- func (_m *InstrumentedStorage) TearDown() error
- type Storage
- func (_m *Storage) Abandon(_a0 context.Context, _a1 string) (bool, error)
- func (_m *Storage) Delete(_a0 context.Context, _a1 string, _a2 string, _a3 string, _a4 *time.Time, ...) (int64, error)
- func (_m *Storage) Exists(_a0 context.Context, _a1 string) (bool, error)
- func (_m *Storage) Get(_a0 context.Context, _a1 string) (*mnemosynerpc.Session, error)
- func (_m *Storage) List(_a0 context.Context, _a1 int64, _a2 int64, _a3 *time.Time, _a4 *time.Time) ([]*mnemosynerpc.Session, error)
- func (_m *Storage) SetValue(_a0 context.Context, _a1 string, _a2 string, _a3 string) (map[string]string, error)
- func (_m *Storage) Setup() error
- func (_m *Storage) Start(_a0 context.Context, _a1 string, _a2 string, _a3 string, _a4 string, ...) (*mnemosynerpc.Session, error)
- func (_m *Storage) TearDown() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InstrumentedStorage ¶
InstrumentedStorage is an autogenerated mock type for the InstrumentedStorage type
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) Get ¶
func (_m *InstrumentedStorage) Get(_a0 context.Context, _a1 string) (*mnemosynerpc.Session, error)
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 ¶
Storage is an autogenerated mock type for the Storage type
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) 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