job

package
v0.0.0-...-5d8ad60 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2022 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Overview

Package job is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewBuildManager

func NewBuildManager(client client.Client, registry registry.Registry, maker Maker, helper build.Helper) *jobManager

Types

type Maker

type Maker interface {
	MakeJob(mod kmmv1beta1.Module, buildConfig *kmmv1beta1.Build, targetKernel, containerImage string) (*batchv1.Job, error)
}

func NewMaker

func NewMaker(helper build.Helper, scheme *runtime.Scheme) 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) MakeJob

func (m *MockMaker) MakeJob(mod v1beta1.Module, buildConfig *v1beta1.Build, targetKernel, containerImage string) (*v1.Job, error)

MakeJob mocks base method.

type MockMakerMockRecorder

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

MockMakerMockRecorder is the mock recorder for MockMaker.

func (*MockMakerMockRecorder) MakeJob

func (mr *MockMakerMockRecorder) MakeJob(mod, buildConfig, targetKernel, containerImage interface{}) *gomock.Call

MakeJob indicates an expected call of MakeJob.

Jump to

Keyboard shortcuts

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