Documentation ¶
Overview ¶
Package module is a generated GoMock package.
Index ¶
- type KernelMapper
- type MockKernelMapper
- func (m *MockKernelMapper) EXPECT() *MockKernelMapperMockRecorder
- func (m *MockKernelMapper) FindMappingForKernel(mappings []v1beta1.KernelMapping, kernelVersion string) (*v1beta1.KernelMapping, error)
- func (m *MockKernelMapper) GetNodeOSConfig(node *v1.Node) *NodeOSConfig
- func (m *MockKernelMapper) PrepareKernelMapping(mapping *v1beta1.KernelMapping, osConfig *NodeOSConfig) (*v1beta1.KernelMapping, error)
- type MockKernelMapperMockRecorder
- func (mr *MockKernelMapperMockRecorder) FindMappingForKernel(mappings, kernelVersion interface{}) *gomock.Call
- func (mr *MockKernelMapperMockRecorder) GetNodeOSConfig(node interface{}) *gomock.Call
- func (mr *MockKernelMapperMockRecorder) PrepareKernelMapping(mapping, osConfig interface{}) *gomock.Call
- type NodeOSConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KernelMapper ¶
type KernelMapper interface { FindMappingForKernel(mappings []kmmv1beta1.KernelMapping, kernelVersion string) (*kmmv1beta1.KernelMapping, error) GetNodeOSConfig(node *v1.Node) *NodeOSConfig PrepareKernelMapping(mapping *kmmv1beta1.KernelMapping, osConfig *NodeOSConfig) (*kmmv1beta1.KernelMapping, error) }
func NewKernelMapper ¶
func NewKernelMapper() KernelMapper
type MockKernelMapper ¶
type MockKernelMapper struct {
// contains filtered or unexported fields
}
MockKernelMapper is a mock of KernelMapper interface.
func NewMockKernelMapper ¶
func NewMockKernelMapper(ctrl *gomock.Controller) *MockKernelMapper
NewMockKernelMapper creates a new mock instance.
func (*MockKernelMapper) EXPECT ¶
func (m *MockKernelMapper) EXPECT() *MockKernelMapperMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockKernelMapper) FindMappingForKernel ¶
func (m *MockKernelMapper) FindMappingForKernel(mappings []v1beta1.KernelMapping, kernelVersion string) (*v1beta1.KernelMapping, error)
FindMappingForKernel mocks base method.
func (*MockKernelMapper) GetNodeOSConfig ¶
func (m *MockKernelMapper) GetNodeOSConfig(node *v1.Node) *NodeOSConfig
GetNodeOSConfig mocks base method.
func (*MockKernelMapper) PrepareKernelMapping ¶
func (m *MockKernelMapper) PrepareKernelMapping(mapping *v1beta1.KernelMapping, osConfig *NodeOSConfig) (*v1beta1.KernelMapping, error)
PrepareKernelMapping mocks base method.
type MockKernelMapperMockRecorder ¶
type MockKernelMapperMockRecorder struct {
// contains filtered or unexported fields
}
MockKernelMapperMockRecorder is the mock recorder for MockKernelMapper.
func (*MockKernelMapperMockRecorder) FindMappingForKernel ¶
func (mr *MockKernelMapperMockRecorder) FindMappingForKernel(mappings, kernelVersion interface{}) *gomock.Call
FindMappingForKernel indicates an expected call of FindMappingForKernel.
func (*MockKernelMapperMockRecorder) GetNodeOSConfig ¶
func (mr *MockKernelMapperMockRecorder) GetNodeOSConfig(node interface{}) *gomock.Call
GetNodeOSConfig indicates an expected call of GetNodeOSConfig.
func (*MockKernelMapperMockRecorder) PrepareKernelMapping ¶
func (mr *MockKernelMapperMockRecorder) PrepareKernelMapping(mapping, osConfig interface{}) *gomock.Call
PrepareKernelMapping indicates an expected call of PrepareKernelMapping.
Click to show internal directories.
Click to hide internal directories.