Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Index ¶
- type MockClient
- func (m *MockClient) EXPECT() *MockClientMockRecorder
- func (m *MockClient) GetPodsCPURequests(arg0 string) (client.MetricsList, error)
- func (m *MockClient) GetPodsCPUUsage(arg0 string) (client.MetricsList, error)
- func (m *MockClient) GetPodsMemoryRequests(arg0 string) (client.MetricsList, error)
- func (m *MockClient) GetPodsMemoryUsage(arg0 string) (client.MetricsList, error)
- type MockClientMockRecorder
- func (mr *MockClientMockRecorder) GetPodsCPURequests(arg0 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetPodsCPUUsage(arg0 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetPodsMemoryRequests(arg0 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetPodsMemoryUsage(arg0 interface{}) *gomock.Call
- type MockKubernetesClient
- type MockKubernetesClientMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockClient ¶
type MockClient struct {
// contains filtered or unexported fields
}
MockClient is a mock of Client interface
func NewMockClient ¶
func NewMockClient(ctrl *gomock.Controller) *MockClient
NewMockClient creates a new mock instance
func (*MockClient) EXPECT ¶
func (m *MockClient) EXPECT() *MockClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockClient) GetPodsCPURequests ¶
func (m *MockClient) GetPodsCPURequests(arg0 string) (client.MetricsList, error)
GetPodsCPURequests mocks base method
func (*MockClient) GetPodsCPUUsage ¶
func (m *MockClient) GetPodsCPUUsage(arg0 string) (client.MetricsList, error)
GetPodsCPUUsage mocks base method
func (*MockClient) GetPodsMemoryRequests ¶
func (m *MockClient) GetPodsMemoryRequests(arg0 string) (client.MetricsList, error)
GetPodsMemoryRequests mocks base method
func (*MockClient) GetPodsMemoryUsage ¶
func (m *MockClient) GetPodsMemoryUsage(arg0 string) (client.MetricsList, error)
GetPodsMemoryUsage mocks base method
type MockClientMockRecorder ¶
type MockClientMockRecorder struct {
// contains filtered or unexported fields
}
MockClientMockRecorder is the mock recorder for MockClient
func (*MockClientMockRecorder) GetPodsCPURequests ¶
func (mr *MockClientMockRecorder) GetPodsCPURequests(arg0 interface{}) *gomock.Call
GetPodsCPURequests indicates an expected call of GetPodsCPURequests
func (*MockClientMockRecorder) GetPodsCPUUsage ¶
func (mr *MockClientMockRecorder) GetPodsCPUUsage(arg0 interface{}) *gomock.Call
GetPodsCPUUsage indicates an expected call of GetPodsCPUUsage
func (*MockClientMockRecorder) GetPodsMemoryRequests ¶
func (mr *MockClientMockRecorder) GetPodsMemoryRequests(arg0 interface{}) *gomock.Call
GetPodsMemoryRequests indicates an expected call of GetPodsMemoryRequests
func (*MockClientMockRecorder) GetPodsMemoryUsage ¶
func (mr *MockClientMockRecorder) GetPodsMemoryUsage(arg0 interface{}) *gomock.Call
GetPodsMemoryUsage indicates an expected call of GetPodsMemoryUsage
type MockKubernetesClient ¶
type MockKubernetesClient struct {
// contains filtered or unexported fields
}
MockKubernetesClient is a mock of IClient interface
func NewMockKubernetesClient ¶
func NewMockKubernetesClient(ctrl *gomock.Controller) *MockKubernetesClient
NewMockKubernetesClient creates a new mock instance
func (*MockKubernetesClient) EXPECT ¶
func (m *MockKubernetesClient) EXPECT() *MockKubernetesClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockKubernetesClient) ListNamespaces ¶
func (m *MockKubernetesClient) ListNamespaces() (*[]models.Namespace, error)
ListNamespaces mocks base method
type MockKubernetesClientMockRecorder ¶
type MockKubernetesClientMockRecorder struct {
// contains filtered or unexported fields
}
MockKubernetesClientMockRecorder is the mock recorder for MockKubernetesClient
func (*MockKubernetesClientMockRecorder) ListNamespaces ¶
func (mr *MockKubernetesClientMockRecorder) ListNamespaces() *gomock.Call
ListNamespaces indicates an expected call of ListNamespaces
func (*MockKubernetesClientMockRecorder) ListNodes ¶
func (mr *MockKubernetesClientMockRecorder) ListNodes() *gomock.Call
ListNodes indicates an expected call of ListNodes
func (*MockKubernetesClientMockRecorder) ListPods ¶
func (mr *MockKubernetesClientMockRecorder) ListPods() *gomock.Call
ListPods indicates an expected call of ListPods