finalizers

package
v0.0.0-...-648786e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 21, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package finalizers is a generated GoMock package.

Index

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL