Documentation ¶
Overview ¶
Package mock_spacestatus is a generated GoMock package.
Index ¶
- type MockSpaceStatus
- func (m *MockSpaceStatus) AccountDelete(arg0 context.Context, arg1 spacestatus.AccountDeletion) (int64, error)
- func (m *MockSpaceStatus) AccountRevertDeletion(arg0 context.Context, arg1 spacestatus.AccountInfo) error
- 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) MakeShareable(arg0 context.Context, arg1 string, arg2 uint32) error
- func (m *MockSpaceStatus) MakeUnshareable(arg0 context.Context, arg1 string) error
- func (m *MockSpaceStatus) Name() string
- func (m *MockSpaceStatus) NewStatus(arg0 context.Context, arg1 string, arg2, arg3 crypto.PubKey, ...) error
- func (m *MockSpaceStatus) Run(arg0 context.Context) error
- func (m *MockSpaceStatus) SpaceDelete(arg0 context.Context, arg1 spacestatus.SpaceDeletion) (int64, error)
- func (m *MockSpaceStatus) Status(arg0 context.Context, arg1 string) (spacestatus.StatusEntry, error)
- type MockSpaceStatusMockRecorder
- func (mr *MockSpaceStatusMockRecorder) AccountDelete(arg0, arg1 any) *gomock.Call
- func (mr *MockSpaceStatusMockRecorder) AccountRevertDeletion(arg0, arg1 any) *gomock.Call
- func (mr *MockSpaceStatusMockRecorder) ChangeStatus(arg0, arg1 any) *gomock.Call
- func (mr *MockSpaceStatusMockRecorder) Close(arg0 any) *gomock.Call
- func (mr *MockSpaceStatusMockRecorder) Init(arg0 any) *gomock.Call
- func (mr *MockSpaceStatusMockRecorder) MakeShareable(arg0, arg1, arg2 any) *gomock.Call
- func (mr *MockSpaceStatusMockRecorder) MakeUnshareable(arg0, arg1 any) *gomock.Call
- func (mr *MockSpaceStatusMockRecorder) Name() *gomock.Call
- func (mr *MockSpaceStatusMockRecorder) NewStatus(arg0, arg1, arg2, arg3, arg4, arg5 any) *gomock.Call
- func (mr *MockSpaceStatusMockRecorder) Run(arg0 any) *gomock.Call
- func (mr *MockSpaceStatusMockRecorder) SpaceDelete(arg0, arg1 any) *gomock.Call
- func (mr *MockSpaceStatusMockRecorder) Status(arg0, arg1 any) *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) AccountDelete ¶ added in v0.3.3
func (m *MockSpaceStatus) AccountDelete(arg0 context.Context, arg1 spacestatus.AccountDeletion) (int64, error)
AccountDelete mocks base method.
func (*MockSpaceStatus) AccountRevertDeletion ¶ added in v0.3.3
func (m *MockSpaceStatus) AccountRevertDeletion(arg0 context.Context, arg1 spacestatus.AccountInfo) error
AccountRevertDeletion mocks base method.
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) MakeShareable ¶ added in v0.3.18
MakeShareable mocks base method.
func (*MockSpaceStatus) MakeUnshareable ¶ added in v0.3.18
func (m *MockSpaceStatus) MakeUnshareable(arg0 context.Context, arg1 string) error
MakeUnshareable mocks base method.
func (*MockSpaceStatus) NewStatus ¶
func (m *MockSpaceStatus) NewStatus(arg0 context.Context, arg1 string, arg2, arg3 crypto.PubKey, arg4 spacestatus.SpaceType, arg5 bool) error
NewStatus mocks base method.
func (*MockSpaceStatus) Run ¶
func (m *MockSpaceStatus) Run(arg0 context.Context) error
Run mocks base method.
func (*MockSpaceStatus) SpaceDelete ¶ added in v0.3.3
func (m *MockSpaceStatus) SpaceDelete(arg0 context.Context, arg1 spacestatus.SpaceDeletion) (int64, error)
SpaceDelete mocks base method.
func (*MockSpaceStatus) Status ¶
func (m *MockSpaceStatus) Status(arg0 context.Context, arg1 string) (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) AccountDelete ¶ added in v0.3.3
func (mr *MockSpaceStatusMockRecorder) AccountDelete(arg0, arg1 any) *gomock.Call
AccountDelete indicates an expected call of AccountDelete.
func (*MockSpaceStatusMockRecorder) AccountRevertDeletion ¶ added in v0.3.3
func (mr *MockSpaceStatusMockRecorder) AccountRevertDeletion(arg0, arg1 any) *gomock.Call
AccountRevertDeletion indicates an expected call of AccountRevertDeletion.
func (*MockSpaceStatusMockRecorder) ChangeStatus ¶
func (mr *MockSpaceStatusMockRecorder) ChangeStatus(arg0, arg1 any) *gomock.Call
ChangeStatus indicates an expected call of ChangeStatus.
func (*MockSpaceStatusMockRecorder) Close ¶
func (mr *MockSpaceStatusMockRecorder) Close(arg0 any) *gomock.Call
Close indicates an expected call of Close.
func (*MockSpaceStatusMockRecorder) Init ¶
func (mr *MockSpaceStatusMockRecorder) Init(arg0 any) *gomock.Call
Init indicates an expected call of Init.
func (*MockSpaceStatusMockRecorder) MakeShareable ¶ added in v0.3.18
func (mr *MockSpaceStatusMockRecorder) MakeShareable(arg0, arg1, arg2 any) *gomock.Call
MakeShareable indicates an expected call of MakeShareable.
func (*MockSpaceStatusMockRecorder) MakeUnshareable ¶ added in v0.3.18
func (mr *MockSpaceStatusMockRecorder) MakeUnshareable(arg0, arg1 any) *gomock.Call
MakeUnshareable indicates an expected call of MakeUnshareable.
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, arg5 any) *gomock.Call
NewStatus indicates an expected call of NewStatus.
func (*MockSpaceStatusMockRecorder) Run ¶
func (mr *MockSpaceStatusMockRecorder) Run(arg0 any) *gomock.Call
Run indicates an expected call of Run.
func (*MockSpaceStatusMockRecorder) SpaceDelete ¶ added in v0.3.3
func (mr *MockSpaceStatusMockRecorder) SpaceDelete(arg0, arg1 any) *gomock.Call
SpaceDelete indicates an expected call of SpaceDelete.