Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Index ¶
- type MockPostRestore
- func (m *MockPostRestore) EXPECT() *MockPostRestoreMockRecorder
- func (m *MockPostRestore) GetState(arg0 string) ([]byte, []types.StateProvider, error)
- func (m *MockPostRestore) Keys() []string
- func (m *MockPostRestore) LoadState(arg0 context.Context, arg1 *types.Payload) ([]types.StateProvider, error)
- func (m *MockPostRestore) Namespace() types.SnapshotNamespace
- func (m *MockPostRestore) OnStateLoaded(arg0 context.Context) error
- func (m *MockPostRestore) Stopped() bool
- type MockPostRestoreMockRecorder
- func (mr *MockPostRestoreMockRecorder) GetState(arg0 interface{}) *gomock.Call
- func (mr *MockPostRestoreMockRecorder) Keys() *gomock.Call
- func (mr *MockPostRestoreMockRecorder) LoadState(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockPostRestoreMockRecorder) Namespace() *gomock.Call
- func (mr *MockPostRestoreMockRecorder) OnStateLoaded(arg0 interface{}) *gomock.Call
- func (mr *MockPostRestoreMockRecorder) Stopped() *gomock.Call
- type MockStateProvider
- func (m *MockStateProvider) EXPECT() *MockStateProviderMockRecorder
- func (m *MockStateProvider) GetState(arg0 string) ([]byte, []types.StateProvider, error)
- func (m *MockStateProvider) Keys() []string
- func (m *MockStateProvider) LoadState(arg0 context.Context, arg1 *types.Payload) ([]types.StateProvider, error)
- func (m *MockStateProvider) Namespace() types.SnapshotNamespace
- func (m *MockStateProvider) Stopped() bool
- type MockStateProviderMockRecorder
- func (mr *MockStateProviderMockRecorder) GetState(arg0 interface{}) *gomock.Call
- func (mr *MockStateProviderMockRecorder) Keys() *gomock.Call
- func (mr *MockStateProviderMockRecorder) LoadState(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStateProviderMockRecorder) Namespace() *gomock.Call
- func (mr *MockStateProviderMockRecorder) Stopped() *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockPostRestore ¶
type MockPostRestore struct {
// contains filtered or unexported fields
}
MockPostRestore is a mock of PostRestore interface.
func NewMockPostRestore ¶
func NewMockPostRestore(ctrl *gomock.Controller) *MockPostRestore
NewMockPostRestore creates a new mock instance.
func (*MockPostRestore) EXPECT ¶
func (m *MockPostRestore) EXPECT() *MockPostRestoreMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockPostRestore) GetState ¶
func (m *MockPostRestore) GetState(arg0 string) ([]byte, []types.StateProvider, error)
GetState mocks base method.
func (*MockPostRestore) LoadState ¶
func (m *MockPostRestore) LoadState(arg0 context.Context, arg1 *types.Payload) ([]types.StateProvider, error)
LoadState mocks base method.
func (*MockPostRestore) Namespace ¶
func (m *MockPostRestore) Namespace() types.SnapshotNamespace
Namespace mocks base method.
func (*MockPostRestore) OnStateLoaded ¶
func (m *MockPostRestore) OnStateLoaded(arg0 context.Context) error
OnStateLoaded mocks base method.
func (*MockPostRestore) Stopped ¶
func (m *MockPostRestore) Stopped() bool
Stopped mocks base method.
type MockPostRestoreMockRecorder ¶
type MockPostRestoreMockRecorder struct {
// contains filtered or unexported fields
}
MockPostRestoreMockRecorder is the mock recorder for MockPostRestore.
func (*MockPostRestoreMockRecorder) GetState ¶
func (mr *MockPostRestoreMockRecorder) GetState(arg0 interface{}) *gomock.Call
GetState indicates an expected call of GetState.
func (*MockPostRestoreMockRecorder) Keys ¶
func (mr *MockPostRestoreMockRecorder) Keys() *gomock.Call
Keys indicates an expected call of Keys.
func (*MockPostRestoreMockRecorder) LoadState ¶
func (mr *MockPostRestoreMockRecorder) LoadState(arg0, arg1 interface{}) *gomock.Call
LoadState indicates an expected call of LoadState.
func (*MockPostRestoreMockRecorder) Namespace ¶
func (mr *MockPostRestoreMockRecorder) Namespace() *gomock.Call
Namespace indicates an expected call of Namespace.
func (*MockPostRestoreMockRecorder) OnStateLoaded ¶
func (mr *MockPostRestoreMockRecorder) OnStateLoaded(arg0 interface{}) *gomock.Call
OnStateLoaded indicates an expected call of OnStateLoaded.
func (*MockPostRestoreMockRecorder) Stopped ¶
func (mr *MockPostRestoreMockRecorder) Stopped() *gomock.Call
Stopped indicates an expected call of Stopped.
type MockStateProvider ¶
type MockStateProvider struct {
// contains filtered or unexported fields
}
MockStateProvider is a mock of StateProvider interface.
func NewMockStateProvider ¶
func NewMockStateProvider(ctrl *gomock.Controller) *MockStateProvider
NewMockStateProvider creates a new mock instance.
func (*MockStateProvider) EXPECT ¶
func (m *MockStateProvider) EXPECT() *MockStateProviderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockStateProvider) GetState ¶
func (m *MockStateProvider) GetState(arg0 string) ([]byte, []types.StateProvider, error)
GetState mocks base method.
func (*MockStateProvider) Keys ¶
func (m *MockStateProvider) Keys() []string
Keys mocks base method.
func (*MockStateProvider) LoadState ¶
func (m *MockStateProvider) LoadState(arg0 context.Context, arg1 *types.Payload) ([]types.StateProvider, error)
LoadState mocks base method.
func (*MockStateProvider) Namespace ¶
func (m *MockStateProvider) Namespace() types.SnapshotNamespace
Namespace mocks base method.
func (*MockStateProvider) Stopped ¶
func (m *MockStateProvider) Stopped() bool
Stopped mocks base method.
type MockStateProviderMockRecorder ¶
type MockStateProviderMockRecorder struct {
// contains filtered or unexported fields
}
MockStateProviderMockRecorder is the mock recorder for MockStateProvider.
func (*MockStateProviderMockRecorder) GetState ¶
func (mr *MockStateProviderMockRecorder) GetState(arg0 interface{}) *gomock.Call
GetState indicates an expected call of GetState.
func (*MockStateProviderMockRecorder) Keys ¶
func (mr *MockStateProviderMockRecorder) Keys() *gomock.Call
Keys indicates an expected call of Keys.
func (*MockStateProviderMockRecorder) LoadState ¶
func (mr *MockStateProviderMockRecorder) LoadState(arg0, arg1 interface{}) *gomock.Call
LoadState indicates an expected call of LoadState.
func (*MockStateProviderMockRecorder) Namespace ¶
func (mr *MockStateProviderMockRecorder) Namespace() *gomock.Call
Namespace indicates an expected call of Namespace.
func (*MockStateProviderMockRecorder) Stopped ¶
func (mr *MockStateProviderMockRecorder) Stopped() *gomock.Call
Stopped indicates an expected call of Stopped.