Documentation ¶
Overview ¶
Package mock_backends is a generated GoMock package.
Index ¶
- type MockStorageBackend
- func (m *MockStorageBackend) Close() error
- func (m *MockStorageBackend) EXPECT() *MockStorageBackendMockRecorder
- func (m *MockStorageBackend) GetTrialResult(request *_go.GetResultRequest) (*_go.GetResultReply, error)
- func (m *MockStorageBackend) Initialize() error
- func (m *MockStorageBackend) Name() string
- func (m *MockStorageBackend) SaveTrialResult(observationLog *_go.SaveResultRequest) error
- type MockStorageBackendMockRecorder
- func (mr *MockStorageBackendMockRecorder) Close() *gomock.Call
- func (mr *MockStorageBackendMockRecorder) GetTrialResult(request interface{}) *gomock.Call
- func (mr *MockStorageBackendMockRecorder) Initialize() *gomock.Call
- func (mr *MockStorageBackendMockRecorder) Name() *gomock.Call
- func (mr *MockStorageBackendMockRecorder) SaveTrialResult(observationLog interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockStorageBackend ¶
type MockStorageBackend struct {
// contains filtered or unexported fields
}
MockStorageBackend is a mock of StorageBackend interface
func NewMockStorageBackend ¶
func NewMockStorageBackend(ctrl *gomock.Controller) *MockStorageBackend
NewMockStorageBackend creates a new mock instance
func (*MockStorageBackend) Close ¶
func (m *MockStorageBackend) Close() error
Close mocks base method
func (*MockStorageBackend) EXPECT ¶
func (m *MockStorageBackend) EXPECT() *MockStorageBackendMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockStorageBackend) GetTrialResult ¶
func (m *MockStorageBackend) GetTrialResult(request *_go.GetResultRequest) (*_go.GetResultReply, error)
GetTrialResult mocks base method
func (*MockStorageBackend) Initialize ¶
func (m *MockStorageBackend) Initialize() error
Initialize mocks base method
func (*MockStorageBackend) SaveTrialResult ¶
func (m *MockStorageBackend) SaveTrialResult(observationLog *_go.SaveResultRequest) error
SaveTrialResult mocks base method
type MockStorageBackendMockRecorder ¶
type MockStorageBackendMockRecorder struct {
// contains filtered or unexported fields
}
MockStorageBackendMockRecorder is the mock recorder for MockStorageBackend
func (*MockStorageBackendMockRecorder) Close ¶
func (mr *MockStorageBackendMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close
func (*MockStorageBackendMockRecorder) GetTrialResult ¶
func (mr *MockStorageBackendMockRecorder) GetTrialResult(request interface{}) *gomock.Call
GetTrialResult indicates an expected call of GetTrialResult
func (*MockStorageBackendMockRecorder) Initialize ¶
func (mr *MockStorageBackendMockRecorder) Initialize() *gomock.Call
Initialize indicates an expected call of Initialize
func (*MockStorageBackendMockRecorder) Name ¶
func (mr *MockStorageBackendMockRecorder) Name() *gomock.Call
Name indicates an expected call of Name
func (*MockStorageBackendMockRecorder) SaveTrialResult ¶
func (mr *MockStorageBackendMockRecorder) SaveTrialResult(observationLog interface{}) *gomock.Call
SaveTrialResult indicates an expected call of SaveTrialResult