Documentation ¶
Overview ¶
Package build is a generated GoMock package.
Package build is a generated GoMock package.
Index ¶
Constants ¶
const ( StatusCompleted = "completed" StatusCreated = "created" StatusInProgress = "in progress" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Helper ¶
type Helper interface { ApplyBuildArgOverrides(args []v1beta1.BuildArg, overrides ...v1beta1.BuildArg) []v1beta1.BuildArg GetRelevantBuild(mod kmmv1beta1.Module, km kmmv1beta1.KernelMapping) *kmmv1beta1.Build }
type Manager ¶
type Manager interface {
Sync(ctx context.Context, mod kmmv1beta1.Module, m kmmv1beta1.KernelMapping, targetKernel string) (Result, error)
}
type MockHelper ¶
type MockHelper struct {
// contains filtered or unexported fields
}
MockHelper is a mock of Helper interface.
func NewMockHelper ¶
func NewMockHelper(ctrl *gomock.Controller) *MockHelper
NewMockHelper creates a new mock instance.
func (*MockHelper) ApplyBuildArgOverrides ¶
func (m *MockHelper) ApplyBuildArgOverrides(args []v1beta1.BuildArg, overrides ...v1beta1.BuildArg) []v1beta1.BuildArg
ApplyBuildArgOverrides mocks base method.
func (*MockHelper) EXPECT ¶
func (m *MockHelper) EXPECT() *MockHelperMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockHelper) GetRelevantBuild ¶
func (m *MockHelper) GetRelevantBuild(mod v1beta1.Module, km v1beta1.KernelMapping) *v1beta1.Build
GetRelevantBuild mocks base method.
type MockHelperMockRecorder ¶
type MockHelperMockRecorder struct {
// contains filtered or unexported fields
}
MockHelperMockRecorder is the mock recorder for MockHelper.
func (*MockHelperMockRecorder) ApplyBuildArgOverrides ¶
func (mr *MockHelperMockRecorder) ApplyBuildArgOverrides(args interface{}, overrides ...interface{}) *gomock.Call
ApplyBuildArgOverrides indicates an expected call of ApplyBuildArgOverrides.
func (*MockHelperMockRecorder) GetRelevantBuild ¶
func (mr *MockHelperMockRecorder) GetRelevantBuild(mod, km interface{}) *gomock.Call
GetRelevantBuild indicates an expected call of GetRelevantBuild.
type MockManager ¶
type MockManager struct {
// contains filtered or unexported fields
}
MockManager is a mock of Manager interface.
func NewMockManager ¶
func NewMockManager(ctrl *gomock.Controller) *MockManager
NewMockManager creates a new mock instance.
func (*MockManager) EXPECT ¶
func (m *MockManager) EXPECT() *MockManagerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockManagerMockRecorder ¶
type MockManagerMockRecorder struct {
// contains filtered or unexported fields
}
MockManagerMockRecorder is the mock recorder for MockManager.
func (*MockManagerMockRecorder) Sync ¶
func (mr *MockManagerMockRecorder) Sync(ctx, mod, m, targetKernel interface{}) *gomock.Call
Sync indicates an expected call of Sync.