mbsc

package
v0.0.0-...-12d6079 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2025 License: Apache-2.0 Imports: 11 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

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, micObj *v1beta1.ModuleImagesConfig, moduleImageSpec *v1beta1.ModuleImageSpec, action v1beta1.BuildOrSignAction) 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.

func (*MockMBSC) GetImageSpec

func (m *MockMBSC) GetImageSpec(mbscObj *v1beta1.ModuleBuildSignConfig, image string) *v1beta1.ModuleBuildSignSpec

GetImageSpec mocks base method.

func (*MockMBSC) GetImageStatus

GetImageStatus mocks base method.

func (*MockMBSC) SetImageStatus

func (m *MockMBSC) SetImageStatus(mbscObj *v1beta1.ModuleBuildSignConfig, image string, action v1beta1.BuildOrSignAction, status v1beta1.BuildOrSignStatus)

SetImageStatus 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, micObj, moduleImageSpec, action 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.

func (*MockMBSCMockRecorder) GetImageSpec

func (mr *MockMBSCMockRecorder) GetImageSpec(mbscObj, image any) *gomock.Call

GetImageSpec indicates an expected call of GetImageSpec.

func (*MockMBSCMockRecorder) GetImageStatus

func (mr *MockMBSCMockRecorder) GetImageStatus(mbscObj, image, action any) *gomock.Call

GetImageStatus indicates an expected call of GetImageStatus.

func (*MockMBSCMockRecorder) SetImageStatus

func (mr *MockMBSCMockRecorder) SetImageStatus(mbscObj, image, action, status any) *gomock.Call

SetImageStatus indicates an expected call of SetImageStatus.

Jump to

Keyboard shortcuts

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