mocks

package
v0.71.0 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Index

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

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) Keys

func (m *MockPostRestore) Keys() []string

Keys 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

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

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

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.

Jump to

Keyboard shortcuts

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