mock_cpu

package
v0.0.0-...-7ce84cd Latest Latest
Warning

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

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

Documentation

Overview

Package mock_cpu is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockQuerier

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

MockQuerier is a mock of Querier interface

func NewMockQuerier

func NewMockQuerier(ctrl *gomock.Controller) *MockQuerier

NewMockQuerier creates a new mock instance

func (*MockQuerier) EXPECT

func (m *MockQuerier) EXPECT() *MockQuerierMockRecorder

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

func (*MockQuerier) GetCPUByID

func (m *MockQuerier) GetCPUByID(ctx context.Context, id int64) (cpu.CPU, error)

GetCPUByID mocks base method

type MockQuerierMockRecorder

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

MockQuerierMockRecorder is the mock recorder for MockQuerier

func (*MockQuerierMockRecorder) GetCPUByID

func (mr *MockQuerierMockRecorder) GetCPUByID(ctx, id interface{}) *gomock.Call

GetCPUByID indicates an expected call of GetCPUByID

Jump to

Keyboard shortcuts

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