module

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: 16 Imported by: 0

Documentation

Overview

Package module is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetModuleName

func GetModuleName(cr *examplecomv1alpha1.DeviceConfig) string

func NewReconciler

func NewReconciler(c client.Client, s *runtime.Scheme) *moduleReconciler

Types

type MockReconciler

type MockReconciler struct {
	// contains filtered or unexported fields
}

MockReconciler is a mock of Reconciler interface.

func NewMockReconciler

func NewMockReconciler(ctrl *gomock.Controller) *MockReconciler

NewMockReconciler creates a new mock instance.

func (*MockReconciler) DeleteModule

func (m *MockReconciler) DeleteModule(ctx context.Context, dc *v1alpha1.DeviceConfig) error

DeleteModule mocks base method.

func (*MockReconciler) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockReconciler) ReconcileModule

func (m *MockReconciler) ReconcileModule(ctx context.Context, dc *v1alpha1.DeviceConfig) error

ReconcileModule mocks base method.

func (*MockReconciler) SetDesiredModule

func (m_2 *MockReconciler) SetDesiredModule(m *v1beta1.Module, cr *v1alpha1.DeviceConfig) error

SetDesiredModule mocks base method.

type MockReconcilerMockRecorder

type MockReconcilerMockRecorder struct {
	// contains filtered or unexported fields
}

MockReconcilerMockRecorder is the mock recorder for MockReconciler.

func (*MockReconcilerMockRecorder) DeleteModule

func (mr *MockReconcilerMockRecorder) DeleteModule(ctx, dc interface{}) *gomock.Call

DeleteModule indicates an expected call of DeleteModule.

func (*MockReconcilerMockRecorder) ReconcileModule

func (mr *MockReconcilerMockRecorder) ReconcileModule(ctx, dc interface{}) *gomock.Call

ReconcileModule indicates an expected call of ReconcileModule.

func (*MockReconcilerMockRecorder) SetDesiredModule

func (mr *MockReconcilerMockRecorder) SetDesiredModule(m, cr interface{}) *gomock.Call

SetDesiredModule indicates an expected call of SetDesiredModule.

type Reconciler

type Reconciler interface {
	ReconcileModule(ctx context.Context, dc *examplecomv1alpha1.DeviceConfig) error
	SetDesiredModule(m *kmmv1beta1.Module, cr *examplecomv1alpha1.DeviceConfig) error
	DeleteModule(ctx context.Context, dc *examplecomv1alpha1.DeviceConfig) error
}

Jump to

Keyboard shortcuts

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