mocks

package
v0.20.2 Latest Latest
Warning

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

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

Documentation

Overview

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 MockPromAPI

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

MockPromAPI is a mock of PromAPI interface

func NewMockPromAPI

func NewMockPromAPI(ctrl *gomock.Controller) *MockPromAPI

NewMockPromAPI creates a new mock instance

func (*MockPromAPI) EXPECT

func (m *MockPromAPI) EXPECT() *MockPromAPIMockRecorder

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

func (*MockPromAPI) Query

func (m *MockPromAPI) Query(arg0 context.Context, arg1 string, arg2 time.Time) (model.Value, v1.Warnings, error)

Query mocks base method

type MockPromAPIMockRecorder

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

MockPromAPIMockRecorder is the mock recorder for MockPromAPI

func (*MockPromAPIMockRecorder) Query

func (mr *MockPromAPIMockRecorder) Query(arg0, arg1, arg2 interface{}) *gomock.Call

Query indicates an expected call of Query

Jump to

Keyboard shortcuts

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