mocks

package
v0.0.0-...-52bbffb Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2020 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Index

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

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

func (*MockKubernetesClient) ListNodes

func (m *MockKubernetesClient) ListNodes() (*[]models.Node, error)

ListNodes mocks base method

func (*MockKubernetesClient) ListPods

func (m *MockKubernetesClient) ListPods() (*[]models.Pod, error)

ListPods 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

ListPods indicates an expected call of ListPods

Jump to

Keyboard shortcuts

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