Documentation ¶
Overview ¶
Code generated by MockGen. DO NOT EDIT. Source: kmmmodule.go
Generated by this command:
mockgen -source=kmmmodule.go -package=kmmmodule -destination=mock_kmmmodule.go KMMModuleAPI
Package kmmmodule is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KMMModuleAPI ¶
type KMMModuleAPI interface { SetBuildConfigMapAsDesired(buildCM *v1.ConfigMap, devConfig *amdv1alpha1.DeviceConfig) error SetKMMModuleAsDesired(mod *kmmv1beta1.Module, devConfig *amdv1alpha1.DeviceConfig) error }
func NewKMMModule ¶
func NewKMMModule(client client.Client, scheme *runtime.Scheme) KMMModuleAPI
type MockKMMModuleAPI ¶
type MockKMMModuleAPI struct {
// contains filtered or unexported fields
}
MockKMMModuleAPI is a mock of KMMModuleAPI interface.
func NewMockKMMModuleAPI ¶
func NewMockKMMModuleAPI(ctrl *gomock.Controller) *MockKMMModuleAPI
NewMockKMMModuleAPI creates a new mock instance.
func (*MockKMMModuleAPI) EXPECT ¶
func (m *MockKMMModuleAPI) EXPECT() *MockKMMModuleAPIMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockKMMModuleAPI) SetBuildConfigMapAsDesired ¶
func (m *MockKMMModuleAPI) SetBuildConfigMapAsDesired(buildCM *v1.ConfigMap, devConfig *v1alpha1.DeviceConfig) error
SetBuildConfigMapAsDesired mocks base method.
func (*MockKMMModuleAPI) SetKMMModuleAsDesired ¶
func (m *MockKMMModuleAPI) SetKMMModuleAsDesired(mod *v1beta1.Module, devConfig *v1alpha1.DeviceConfig) error
SetKMMModuleAsDesired mocks base method.
type MockKMMModuleAPIMockRecorder ¶
type MockKMMModuleAPIMockRecorder struct {
// contains filtered or unexported fields
}
MockKMMModuleAPIMockRecorder is the mock recorder for MockKMMModuleAPI.
func (*MockKMMModuleAPIMockRecorder) SetBuildConfigMapAsDesired ¶
func (mr *MockKMMModuleAPIMockRecorder) SetBuildConfigMapAsDesired(buildCM, devConfig any) *gomock.Call
SetBuildConfigMapAsDesired indicates an expected call of SetBuildConfigMapAsDesired.
func (*MockKMMModuleAPIMockRecorder) SetKMMModuleAsDesired ¶
func (mr *MockKMMModuleAPIMockRecorder) SetKMMModuleAsDesired(mod, devConfig any) *gomock.Call
SetKMMModuleAsDesired indicates an expected call of SetKMMModuleAsDesired.