ocpbuild

package
v0.0.0-...-d67e381 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2024 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Overview

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

Generated by this command:

mockgen -source=maker.go -package=ocpbuild -destination=mock_maker.go Maker

Package ocpbuild is a generated GoMock package.

Index

Constants

View Source
const (
	BuildType = "build"
)

Variables

This section is empty.

Functions

func NewManager

func NewManager(
	client client.Client,
	maker Maker,
	ocpBuildsHelper ocpbuildutils.OCPBuildsHelper,
	authFactory auth.RegistryAuthGetterFactory,
	registry registry.Registry) build.Manager

Types

type Maker

type Maker interface {
	MakeBuildTemplate(
		ctx context.Context,
		mld *api.ModuleLoaderData,
		pushImage bool,
		owner metav1.Object,
	) (*buildv1.Build, error)
}

func NewMaker

func NewMaker(client client.Client, helper kmmbuild.Helper, scheme *runtime.Scheme, kernelOsDtkMapping syncronizedmap.KernelOsDtkMapping) Maker

type MockMaker

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

MockMaker is a mock of Maker interface.

func NewMockMaker

func NewMockMaker(ctrl *gomock.Controller) *MockMaker

NewMockMaker creates a new mock instance.

func (*MockMaker) EXPECT

func (m *MockMaker) EXPECT() *MockMakerMockRecorder

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

func (*MockMaker) MakeBuildTemplate

func (m *MockMaker) MakeBuildTemplate(ctx context.Context, mld *api.ModuleLoaderData, pushImage bool, owner v10.Object) (*v1.Build, error)

MakeBuildTemplate mocks base method.

type MockMakerMockRecorder

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

MockMakerMockRecorder is the mock recorder for MockMaker.

func (*MockMakerMockRecorder) MakeBuildTemplate

func (mr *MockMakerMockRecorder) MakeBuildTemplate(ctx, mld, pushImage, owner any) *gomock.Call

MakeBuildTemplate indicates an expected call of MakeBuildTemplate.

Jump to

Keyboard shortcuts

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