Help us shape the future of Go! Take the 2026 Go Developer Survey

mock

package
v1.122.2 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package mock 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) GetCpuAverage

func (m *MockClient) GetCpuAverage(ctx context.Context, appName, envName string, compNames []string, duration string) ([]metrics.LabeledResults, error)

GetCpuAverage mocks base method.

func (*MockClient) GetCpuRequests

func (m *MockClient) GetCpuRequests(ctx context.Context, appName, envName string, compNames []string) ([]metrics.LabeledResults, error)

GetCpuRequests mocks base method.

func (*MockClient) GetMemoryMaximum

func (m *MockClient) GetMemoryMaximum(ctx context.Context, appName, envName string, compNames []string, duration string) ([]metrics.LabeledResults, error)

GetMemoryMaximum mocks base method.

func (*MockClient) GetMemoryRequests

func (m *MockClient) GetMemoryRequests(ctx context.Context, appName, envName string, compNames []string) ([]metrics.LabeledResults, error)

GetMemoryRequests mocks base method.

type MockClientMockRecorder

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

MockClientMockRecorder is the mock recorder for MockClient.

func (*MockClientMockRecorder) GetCpuAverage

func (mr *MockClientMockRecorder) GetCpuAverage(ctx, appName, envName, compNames, duration any) *gomock.Call

GetCpuAverage indicates an expected call of GetCpuAverage.

func (*MockClientMockRecorder) GetCpuRequests

func (mr *MockClientMockRecorder) GetCpuRequests(ctx, appName, envName, compNames any) *gomock.Call

GetCpuRequests indicates an expected call of GetCpuRequests.

func (*MockClientMockRecorder) GetMemoryMaximum

func (mr *MockClientMockRecorder) GetMemoryMaximum(ctx, appName, envName, compNames, duration any) *gomock.Call

GetMemoryMaximum indicates an expected call of GetMemoryMaximum.

func (*MockClientMockRecorder) GetMemoryRequests

func (mr *MockClientMockRecorder) GetMemoryRequests(ctx, appName, envName, compNames any) *gomock.Call

GetMemoryRequests indicates an expected call of GetMemoryRequests.

Jump to

Keyboard shortcuts

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