Documentation ¶
Overview ¶
Package finalizers is a generated GoMock package.
Index ¶
- type MockUpdater
- func (m *MockUpdater) AddDeletionFinalizer(ctx context.Context, cr *v1alpha1.DeviceConfig) error
- func (m *MockUpdater) ContainsDeletionFinalizer(cr *v1alpha1.DeviceConfig) bool
- func (m *MockUpdater) EXPECT() *MockUpdaterMockRecorder
- func (m *MockUpdater) RemoveDeletionFinalizer(ctx context.Context, cr *v1alpha1.DeviceConfig) error
- type MockUpdaterMockRecorder
- type Updater
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockUpdater ¶
type MockUpdater struct {
// contains filtered or unexported fields
}
MockUpdater is a mock of Updater interface.
func NewMockUpdater ¶
func NewMockUpdater(ctrl *gomock.Controller) *MockUpdater
NewMockUpdater creates a new mock instance.
func (*MockUpdater) AddDeletionFinalizer ¶
func (m *MockUpdater) AddDeletionFinalizer(ctx context.Context, cr *v1alpha1.DeviceConfig) error
AddDeletionFinalizer mocks base method.
func (*MockUpdater) ContainsDeletionFinalizer ¶
func (m *MockUpdater) ContainsDeletionFinalizer(cr *v1alpha1.DeviceConfig) bool
ContainsDeletionFinalizer mocks base method.
func (*MockUpdater) EXPECT ¶
func (m *MockUpdater) EXPECT() *MockUpdaterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockUpdater) RemoveDeletionFinalizer ¶
func (m *MockUpdater) RemoveDeletionFinalizer(ctx context.Context, cr *v1alpha1.DeviceConfig) error
RemoveDeletionFinalizer mocks base method.
type MockUpdaterMockRecorder ¶
type MockUpdaterMockRecorder struct {
// contains filtered or unexported fields
}
MockUpdaterMockRecorder is the mock recorder for MockUpdater.
func (*MockUpdaterMockRecorder) AddDeletionFinalizer ¶
func (mr *MockUpdaterMockRecorder) AddDeletionFinalizer(ctx, cr interface{}) *gomock.Call
AddDeletionFinalizer indicates an expected call of AddDeletionFinalizer.
func (*MockUpdaterMockRecorder) ContainsDeletionFinalizer ¶
func (mr *MockUpdaterMockRecorder) ContainsDeletionFinalizer(cr interface{}) *gomock.Call
ContainsDeletionFinalizer indicates an expected call of ContainsDeletionFinalizer.
func (*MockUpdaterMockRecorder) RemoveDeletionFinalizer ¶
func (mr *MockUpdaterMockRecorder) RemoveDeletionFinalizer(ctx, cr interface{}) *gomock.Call
RemoveDeletionFinalizer indicates an expected call of RemoveDeletionFinalizer.
type Updater ¶
type Updater interface { AddDeletionFinalizer(ctx context.Context, cr *examplecomv1alpha1.DeviceConfig) error RemoveDeletionFinalizer(ctx context.Context, cr *examplecomv1alpha1.DeviceConfig) error ContainsDeletionFinalizer(cr *examplecomv1alpha1.DeviceConfig) bool }
func NewUpdater ¶
func NewUpdater(sw client.StatusWriter) Updater