Documentation ¶
Overview ¶
Package mock_deletionstate is a generated GoMock package.
Index ¶
- type MockObjectDeletionState
- func (m *MockObjectDeletionState) Add(ids map[string]struct{})
- func (m *MockObjectDeletionState) AddObserver(observer deletionstate.StateUpdateObserver)
- func (m *MockObjectDeletionState) Delete(id string) error
- func (m *MockObjectDeletionState) EXPECT() *MockObjectDeletionStateMockRecorder
- func (m *MockObjectDeletionState) Exists(id string) bool
- func (m *MockObjectDeletionState) Filter(ids []string) []string
- func (m *MockObjectDeletionState) GetQueued() []string
- func (m *MockObjectDeletionState) Init(a *app.App) error
- func (m *MockObjectDeletionState) Name() string
- type MockObjectDeletionStateMockRecorder
- func (mr *MockObjectDeletionStateMockRecorder) Add(ids any) *gomock.Call
- func (mr *MockObjectDeletionStateMockRecorder) AddObserver(observer any) *gomock.Call
- func (mr *MockObjectDeletionStateMockRecorder) Delete(id any) *gomock.Call
- func (mr *MockObjectDeletionStateMockRecorder) Exists(id any) *gomock.Call
- func (mr *MockObjectDeletionStateMockRecorder) Filter(ids any) *gomock.Call
- func (mr *MockObjectDeletionStateMockRecorder) GetQueued() *gomock.Call
- func (mr *MockObjectDeletionStateMockRecorder) Init(a any) *gomock.Call
- func (mr *MockObjectDeletionStateMockRecorder) Name() *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockObjectDeletionState ¶
type MockObjectDeletionState struct {
// contains filtered or unexported fields
}
MockObjectDeletionState is a mock of ObjectDeletionState interface.
func NewMockObjectDeletionState ¶
func NewMockObjectDeletionState(ctrl *gomock.Controller) *MockObjectDeletionState
NewMockObjectDeletionState creates a new mock instance.
func (*MockObjectDeletionState) Add ¶
func (m *MockObjectDeletionState) Add(ids map[string]struct{})
Add mocks base method.
func (*MockObjectDeletionState) AddObserver ¶
func (m *MockObjectDeletionState) AddObserver(observer deletionstate.StateUpdateObserver)
AddObserver mocks base method.
func (*MockObjectDeletionState) Delete ¶
func (m *MockObjectDeletionState) Delete(id string) error
Delete mocks base method.
func (*MockObjectDeletionState) EXPECT ¶
func (m *MockObjectDeletionState) EXPECT() *MockObjectDeletionStateMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockObjectDeletionState) Exists ¶
func (m *MockObjectDeletionState) Exists(id string) bool
Exists mocks base method.
func (*MockObjectDeletionState) Filter ¶
func (m *MockObjectDeletionState) Filter(ids []string) []string
Filter mocks base method.
func (*MockObjectDeletionState) GetQueued ¶
func (m *MockObjectDeletionState) GetQueued() []string
GetQueued mocks base method.
func (*MockObjectDeletionState) Init ¶
func (m *MockObjectDeletionState) Init(a *app.App) error
Init mocks base method.
func (*MockObjectDeletionState) Name ¶
func (m *MockObjectDeletionState) Name() string
Name mocks base method.
type MockObjectDeletionStateMockRecorder ¶
type MockObjectDeletionStateMockRecorder struct {
// contains filtered or unexported fields
}
MockObjectDeletionStateMockRecorder is the mock recorder for MockObjectDeletionState.
func (*MockObjectDeletionStateMockRecorder) Add ¶
func (mr *MockObjectDeletionStateMockRecorder) Add(ids any) *gomock.Call
Add indicates an expected call of Add.
func (*MockObjectDeletionStateMockRecorder) AddObserver ¶
func (mr *MockObjectDeletionStateMockRecorder) AddObserver(observer any) *gomock.Call
AddObserver indicates an expected call of AddObserver.
func (*MockObjectDeletionStateMockRecorder) Delete ¶
func (mr *MockObjectDeletionStateMockRecorder) Delete(id any) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockObjectDeletionStateMockRecorder) Exists ¶
func (mr *MockObjectDeletionStateMockRecorder) Exists(id any) *gomock.Call
Exists indicates an expected call of Exists.
func (*MockObjectDeletionStateMockRecorder) Filter ¶
func (mr *MockObjectDeletionStateMockRecorder) Filter(ids any) *gomock.Call
Filter indicates an expected call of Filter.
func (*MockObjectDeletionStateMockRecorder) GetQueued ¶
func (mr *MockObjectDeletionStateMockRecorder) GetQueued() *gomock.Call
GetQueued indicates an expected call of GetQueued.
func (*MockObjectDeletionStateMockRecorder) Init ¶
func (mr *MockObjectDeletionStateMockRecorder) Init(a any) *gomock.Call
Init indicates an expected call of Init.
func (*MockObjectDeletionStateMockRecorder) Name ¶
func (mr *MockObjectDeletionStateMockRecorder) Name() *gomock.Call
Name indicates an expected call of Name.