testing

package
v1.23.5-rc.0 Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package testing is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockCPUsProvider

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

MockCPUsProvider is a mock of CPUsProvider interface

func NewMockCPUsProvider

func NewMockCPUsProvider(ctrl *gomock.Controller) *MockCPUsProvider

NewMockCPUsProvider creates a new mock instance

func (*MockCPUsProvider) EXPECT

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

func (*MockCPUsProvider) GetAllocatableCPUs

func (m *MockCPUsProvider) GetAllocatableCPUs() []int64

GetAllocatableCPUs mocks base method

func (*MockCPUsProvider) GetCPUs

func (m *MockCPUsProvider) GetCPUs(podUID, containerName string) []int64

GetCPUs mocks base method

type MockCPUsProviderMockRecorder

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

MockCPUsProviderMockRecorder is the mock recorder for MockCPUsProvider

func (*MockCPUsProviderMockRecorder) GetAllocatableCPUs

func (mr *MockCPUsProviderMockRecorder) GetAllocatableCPUs() *gomock.Call

GetAllocatableCPUs indicates an expected call of GetAllocatableCPUs

func (*MockCPUsProviderMockRecorder) GetCPUs

func (mr *MockCPUsProviderMockRecorder) GetCPUs(podUID, containerName interface{}) *gomock.Call

GetCPUs indicates an expected call of GetCPUs

type MockDevicesProvider

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

MockDevicesProvider is a mock of DevicesProvider interface

func NewMockDevicesProvider

func NewMockDevicesProvider(ctrl *gomock.Controller) *MockDevicesProvider

NewMockDevicesProvider creates a new mock instance

func (*MockDevicesProvider) EXPECT

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

func (*MockDevicesProvider) GetAllocatableDevices

func (m *MockDevicesProvider) GetAllocatableDevices() []*v10.ContainerDevices

GetAllocatableDevices mocks base method

func (*MockDevicesProvider) GetDevices

func (m *MockDevicesProvider) GetDevices(podUID, containerName string) []*v10.ContainerDevices

GetDevices mocks base method

func (*MockDevicesProvider) UpdateAllocatedDevices

func (m *MockDevicesProvider) UpdateAllocatedDevices()

UpdateAllocatedDevices mocks base method

type MockDevicesProviderMockRecorder

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

MockDevicesProviderMockRecorder is the mock recorder for MockDevicesProvider

func (*MockDevicesProviderMockRecorder) GetAllocatableDevices

func (mr *MockDevicesProviderMockRecorder) GetAllocatableDevices() *gomock.Call

GetAllocatableDevices indicates an expected call of GetAllocatableDevices

func (*MockDevicesProviderMockRecorder) GetDevices

func (mr *MockDevicesProviderMockRecorder) GetDevices(podUID, containerName interface{}) *gomock.Call

GetDevices indicates an expected call of GetDevices

func (*MockDevicesProviderMockRecorder) UpdateAllocatedDevices

func (mr *MockDevicesProviderMockRecorder) UpdateAllocatedDevices() *gomock.Call

UpdateAllocatedDevices indicates an expected call of UpdateAllocatedDevices

type MockMemoryProvider

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

MockMemoryProvider is a mock of MemoryProvider interface

func NewMockMemoryProvider

func NewMockMemoryProvider(ctrl *gomock.Controller) *MockMemoryProvider

NewMockMemoryProvider creates a new mock instance

func (*MockMemoryProvider) EXPECT

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

func (*MockMemoryProvider) GetAllocatableMemory

func (m *MockMemoryProvider) GetAllocatableMemory() []*v10.ContainerMemory

GetAllocatableMemory mocks base method

func (*MockMemoryProvider) GetMemory

func (m *MockMemoryProvider) GetMemory(podUID, containerName string) []*v10.ContainerMemory

GetMemory mocks base method

type MockMemoryProviderMockRecorder

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

MockMemoryProviderMockRecorder is the mock recorder for MockMemoryProvider

func (*MockMemoryProviderMockRecorder) GetAllocatableMemory

func (mr *MockMemoryProviderMockRecorder) GetAllocatableMemory() *gomock.Call

GetAllocatableMemory indicates an expected call of GetAllocatableMemory

func (*MockMemoryProviderMockRecorder) GetMemory

func (mr *MockMemoryProviderMockRecorder) GetMemory(podUID, containerName interface{}) *gomock.Call

GetMemory indicates an expected call of GetMemory

type MockPodsProvider

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

MockPodsProvider is a mock of PodsProvider interface

func NewMockPodsProvider

func NewMockPodsProvider(ctrl *gomock.Controller) *MockPodsProvider

NewMockPodsProvider creates a new mock instance

func (*MockPodsProvider) EXPECT

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

func (*MockPodsProvider) GetPods

func (m *MockPodsProvider) GetPods() []*v1.Pod

GetPods mocks base method

type MockPodsProviderMockRecorder

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

MockPodsProviderMockRecorder is the mock recorder for MockPodsProvider

func (*MockPodsProviderMockRecorder) GetPods

func (mr *MockPodsProviderMockRecorder) GetPods() *gomock.Call

GetPods indicates an expected call of GetPods

Jump to

Keyboard shortcuts

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