Documentation ¶
Overview ¶
Package mock_spacestatus is a generated GoMock package.
Index ¶
- type MockSpaceStatus
- func (m *MockSpaceStatus) ChangeStatus(arg0 context.Context, arg1 spacestatus.StatusChange) (spacestatus.StatusEntry, error)
- func (m *MockSpaceStatus) Close(arg0 context.Context) error
- func (m *MockSpaceStatus) EXPECT() *MockSpaceStatusMockRecorder
- func (m *MockSpaceStatus) Init(arg0 *app.App) error
- func (m *MockSpaceStatus) Name() string
- func (m *MockSpaceStatus) NewStatus(arg0 context.Context, arg1 string, arg2, arg3 crypto.PubKey, arg4 bool) error
- func (m *MockSpaceStatus) Run(arg0 context.Context) error
- func (m *MockSpaceStatus) Status(arg0 context.Context, arg1 string, arg2 crypto.PubKey) (spacestatus.StatusEntry, error)
- type MockSpaceStatusMockRecorder
- func (mr *MockSpaceStatusMockRecorder) ChangeStatus(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockSpaceStatusMockRecorder) Close(arg0 interface{}) *gomock.Call
- func (mr *MockSpaceStatusMockRecorder) Init(arg0 interface{}) *gomock.Call
- func (mr *MockSpaceStatusMockRecorder) Name() *gomock.Call
- func (mr *MockSpaceStatusMockRecorder) NewStatus(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- func (mr *MockSpaceStatusMockRecorder) Run(arg0 interface{}) *gomock.Call
- func (mr *MockSpaceStatusMockRecorder) Status(arg0, arg1, arg2 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockSpaceStatus ¶
type MockSpaceStatus struct {
// contains filtered or unexported fields
}
MockSpaceStatus is a mock of SpaceStatus interface.
func NewMockSpaceStatus ¶
func NewMockSpaceStatus(ctrl *gomock.Controller) *MockSpaceStatus
NewMockSpaceStatus creates a new mock instance.
func (*MockSpaceStatus) ChangeStatus ¶
func (m *MockSpaceStatus) ChangeStatus(arg0 context.Context, arg1 spacestatus.StatusChange) (spacestatus.StatusEntry, error)
ChangeStatus mocks base method.
func (*MockSpaceStatus) Close ¶
func (m *MockSpaceStatus) Close(arg0 context.Context) error
Close mocks base method.
func (*MockSpaceStatus) EXPECT ¶
func (m *MockSpaceStatus) EXPECT() *MockSpaceStatusMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockSpaceStatus) Init ¶
func (m *MockSpaceStatus) Init(arg0 *app.App) error
Init mocks base method.
func (*MockSpaceStatus) NewStatus ¶
func (m *MockSpaceStatus) NewStatus(arg0 context.Context, arg1 string, arg2, arg3 crypto.PubKey, arg4 bool) error
NewStatus mocks base method.
func (*MockSpaceStatus) Run ¶
func (m *MockSpaceStatus) Run(arg0 context.Context) error
Run mocks base method.
func (*MockSpaceStatus) Status ¶
func (m *MockSpaceStatus) Status(arg0 context.Context, arg1 string, arg2 crypto.PubKey) (spacestatus.StatusEntry, error)
Status mocks base method.
type MockSpaceStatusMockRecorder ¶
type MockSpaceStatusMockRecorder struct {
// contains filtered or unexported fields
}
MockSpaceStatusMockRecorder is the mock recorder for MockSpaceStatus.
func (*MockSpaceStatusMockRecorder) ChangeStatus ¶
func (mr *MockSpaceStatusMockRecorder) ChangeStatus(arg0, arg1 interface{}) *gomock.Call
ChangeStatus indicates an expected call of ChangeStatus.
func (*MockSpaceStatusMockRecorder) Close ¶
func (mr *MockSpaceStatusMockRecorder) Close(arg0 interface{}) *gomock.Call
Close indicates an expected call of Close.
func (*MockSpaceStatusMockRecorder) Init ¶
func (mr *MockSpaceStatusMockRecorder) Init(arg0 interface{}) *gomock.Call
Init indicates an expected call of Init.
func (*MockSpaceStatusMockRecorder) Name ¶
func (mr *MockSpaceStatusMockRecorder) Name() *gomock.Call
Name indicates an expected call of Name.
func (*MockSpaceStatusMockRecorder) NewStatus ¶
func (mr *MockSpaceStatusMockRecorder) NewStatus(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
NewStatus indicates an expected call of NewStatus.
func (*MockSpaceStatusMockRecorder) Run ¶
func (mr *MockSpaceStatusMockRecorder) Run(arg0 interface{}) *gomock.Call
Run indicates an expected call of Run.
func (*MockSpaceStatusMockRecorder) Status ¶
func (mr *MockSpaceStatusMockRecorder) Status(arg0, arg1, arg2 interface{}) *gomock.Call
Status indicates an expected call of Status.