mbsc

package
v0.0.0-...-23cfbb7 Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2025 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Overview

Code generated by MockGen. DO NOT EDIT. Source: mbsc.go

Generated by this command:

mockgen -source=mbsc.go -package=mbsc -destination=mock_mbsc.go

Package mbsc is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MBSC

type MBSC interface {
	Get(ctx context.Context, name, namespace string) (*kmmv1beta1.ModuleBuildSignConfig, error)
	CreateOrPatch(ctx context.Context, name string, namespace string, moduleImageSpec *kmmv1beta1.ModuleImageSpec,
		imageRepoSecret *v1.LocalObjectReference, owner metav1.Object) error
}

func New

func New(client client.Client, scheme *runtime.Scheme) MBSC

type MockMBSC

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

MockMBSC is a mock of MBSC interface.

func NewMockMBSC

func NewMockMBSC(ctrl *gomock.Controller) *MockMBSC

NewMockMBSC creates a new mock instance.

func (*MockMBSC) CreateOrPatch

func (m *MockMBSC) CreateOrPatch(ctx context.Context, name, namespace string, moduleImageSpec *v1beta1.ModuleImageSpec, imageRepoSecret *v1.LocalObjectReference, owner v10.Object) error

CreateOrPatch mocks base method.

func (*MockMBSC) EXPECT

func (m *MockMBSC) EXPECT() *MockMBSCMockRecorder

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

func (*MockMBSC) Get

func (m *MockMBSC) Get(ctx context.Context, name, namespace string) (*v1beta1.ModuleBuildSignConfig, error)

Get mocks base method.

type MockMBSCMockRecorder

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

MockMBSCMockRecorder is the mock recorder for MockMBSC.

func (*MockMBSCMockRecorder) CreateOrPatch

func (mr *MockMBSCMockRecorder) CreateOrPatch(ctx, name, namespace, moduleImageSpec, imageRepoSecret, owner any) *gomock.Call

CreateOrPatch indicates an expected call of CreateOrPatch.

func (*MockMBSCMockRecorder) Get

func (mr *MockMBSCMockRecorder) Get(ctx, name, namespace any) *gomock.Call

Get indicates an expected call of Get.

Jump to

Keyboard shortcuts

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