mocks

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2020 License: BSD-3-Clause Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HttpClient

type HttpClient struct {
	mock.Mock
}

HttpClient is an autogenerated mock type for the HttpClient type

func (*HttpClient) PostForm

func (_m *HttpClient) PostForm(_a0 string, data url.Values) (*http.Response, error)

PostForm provides a mock function with given fields: _a0, data

type PrometheusAPI

type PrometheusAPI struct {
	mock.Mock
}

PrometheusAPI is an autogenerated mock type for the PrometheusAPI type

func (*PrometheusAPI) Query

func (_m *PrometheusAPI) Query(ctx context.Context, query string, ts time.Time) (model.Value, api.Warnings, error)

Query provides a mock function with given fields: ctx, query, ts

func (*PrometheusAPI) QueryRange

func (_m *PrometheusAPI) QueryRange(ctx context.Context, query string, r v1.Range) (model.Value, api.Warnings, error)

QueryRange provides a mock function with given fields: ctx, query, r

Jump to

Keyboard shortcuts

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