Documentation
¶
Index ¶
- type CacheMultiStore
- func (_m *CacheMultiStore) CacheMultiStore() types.CacheMultiStore
- func (_m *CacheMultiStore) CacheMultiStoreWithVersion(version int64) (types.CacheMultiStore, error)
- func (_m *CacheMultiStore) CacheWrap() types.CacheWrap
- func (_m *CacheMultiStore) CacheWrapWithTrace(w io.Writer, tc types.TraceContext) types.CacheWrap
- func (_m *CacheMultiStore) GetKVStore(_a0 types.StoreKey) types.KVStore
- func (_m *CacheMultiStore) GetStore(_a0 types.StoreKey) types.Store
- func (_m *CacheMultiStore) GetStoreType() types.StoreType
- func (_m *CacheMultiStore) LatestVersion() int64
- func (_m *CacheMultiStore) SetTracer(w io.Writer) types.MultiStore
- func (_m *CacheMultiStore) SetTracingContext(_a0 types.TraceContext) types.MultiStore
- func (_m *CacheMultiStore) TracingEnabled() bool
- func (_m *CacheMultiStore) Write()
- type MultiStore
- func (_m *MultiStore) CacheMultiStore() types.CacheMultiStore
- func (_m *MultiStore) CacheMultiStoreWithVersion(version int64) (types.CacheMultiStore, error)
- func (_m *MultiStore) CacheWrap() types.CacheWrap
- func (_m *MultiStore) CacheWrapWithTrace(w io.Writer, tc types.TraceContext) types.CacheWrap
- func (_m *MultiStore) GetKVStore(_a0 types.StoreKey) types.KVStore
- func (_m *MultiStore) GetStore(_a0 types.StoreKey) types.Store
- func (_m *MultiStore) GetStoreType() types.StoreType
- func (_m *MultiStore) LatestVersion() int64
- func (_m *MultiStore) SetTracer(w io.Writer) types.MultiStore
- func (_m *MultiStore) SetTracingContext(_a0 types.TraceContext) types.MultiStore
- func (_m *MultiStore) TracingEnabled() bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CacheMultiStore ¶
CacheMultiStore is an autogenerated mock type for the CacheMultiStore type
func NewCacheMultiStore ¶
func NewCacheMultiStore(t interface { mock.TestingT Cleanup(func()) }) *CacheMultiStore
NewCacheMultiStore creates a new instance of CacheMultiStore. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*CacheMultiStore) CacheMultiStore ¶
func (_m *CacheMultiStore) CacheMultiStore() types.CacheMultiStore
CacheMultiStore provides a mock function with given fields:
func (*CacheMultiStore) CacheMultiStoreWithVersion ¶
func (_m *CacheMultiStore) CacheMultiStoreWithVersion(version int64) (types.CacheMultiStore, error)
CacheMultiStoreWithVersion provides a mock function with given fields: version
func (*CacheMultiStore) CacheWrap ¶
func (_m *CacheMultiStore) CacheWrap() types.CacheWrap
CacheWrap provides a mock function with given fields:
func (*CacheMultiStore) CacheWrapWithTrace ¶
func (_m *CacheMultiStore) CacheWrapWithTrace(w io.Writer, tc types.TraceContext) types.CacheWrap
CacheWrapWithTrace provides a mock function with given fields: w, tc
func (*CacheMultiStore) GetKVStore ¶
func (_m *CacheMultiStore) GetKVStore(_a0 types.StoreKey) types.KVStore
GetKVStore provides a mock function with given fields: _a0
func (*CacheMultiStore) GetStore ¶
func (_m *CacheMultiStore) GetStore(_a0 types.StoreKey) types.Store
GetStore provides a mock function with given fields: _a0
func (*CacheMultiStore) GetStoreType ¶
func (_m *CacheMultiStore) GetStoreType() types.StoreType
GetStoreType provides a mock function with given fields:
func (*CacheMultiStore) LatestVersion ¶
func (_m *CacheMultiStore) LatestVersion() int64
LatestVersion provides a mock function with given fields:
func (*CacheMultiStore) SetTracer ¶
func (_m *CacheMultiStore) SetTracer(w io.Writer) types.MultiStore
SetTracer provides a mock function with given fields: w
func (*CacheMultiStore) SetTracingContext ¶
func (_m *CacheMultiStore) SetTracingContext(_a0 types.TraceContext) types.MultiStore
SetTracingContext provides a mock function with given fields: _a0
func (*CacheMultiStore) TracingEnabled ¶
func (_m *CacheMultiStore) TracingEnabled() bool
TracingEnabled provides a mock function with given fields:
func (*CacheMultiStore) Write ¶
func (_m *CacheMultiStore) Write()
Write provides a mock function with given fields:
type MultiStore ¶
MultiStore is an autogenerated mock type for the MultiStore type
func NewMultiStore ¶
func NewMultiStore(t interface { mock.TestingT Cleanup(func()) }) *MultiStore
NewMultiStore creates a new instance of MultiStore. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*MultiStore) CacheMultiStore ¶
func (_m *MultiStore) CacheMultiStore() types.CacheMultiStore
CacheMultiStore provides a mock function with given fields:
func (*MultiStore) CacheMultiStoreWithVersion ¶
func (_m *MultiStore) CacheMultiStoreWithVersion(version int64) (types.CacheMultiStore, error)
CacheMultiStoreWithVersion provides a mock function with given fields: version
func (*MultiStore) CacheWrap ¶
func (_m *MultiStore) CacheWrap() types.CacheWrap
CacheWrap provides a mock function with given fields:
func (*MultiStore) CacheWrapWithTrace ¶
func (_m *MultiStore) CacheWrapWithTrace(w io.Writer, tc types.TraceContext) types.CacheWrap
CacheWrapWithTrace provides a mock function with given fields: w, tc
func (*MultiStore) GetKVStore ¶
func (_m *MultiStore) GetKVStore(_a0 types.StoreKey) types.KVStore
GetKVStore provides a mock function with given fields: _a0
func (*MultiStore) GetStore ¶
func (_m *MultiStore) GetStore(_a0 types.StoreKey) types.Store
GetStore provides a mock function with given fields: _a0
func (*MultiStore) GetStoreType ¶
func (_m *MultiStore) GetStoreType() types.StoreType
GetStoreType provides a mock function with given fields:
func (*MultiStore) LatestVersion ¶
func (_m *MultiStore) LatestVersion() int64
LatestVersion provides a mock function with given fields:
func (*MultiStore) SetTracer ¶
func (_m *MultiStore) SetTracer(w io.Writer) types.MultiStore
SetTracer provides a mock function with given fields: w
func (*MultiStore) SetTracingContext ¶
func (_m *MultiStore) SetTracingContext(_a0 types.TraceContext) types.MultiStore
SetTracingContext provides a mock function with given fields: _a0
func (*MultiStore) TracingEnabled ¶
func (_m *MultiStore) TracingEnabled() bool
TracingEnabled provides a mock function with given fields: