mocks

package
v0.0.0-...-570fd0e Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PingdomCheckAPI

type PingdomCheckAPI struct {
	mock.Mock
}

PingdomCheckAPI is an autogenerated mock type for the PingdomCheckAPI type

func NewPingdomCheckAPI

func NewPingdomCheckAPI(t interface {
	mock.TestingT
	Cleanup(func())
}) *PingdomCheckAPI

NewPingdomCheckAPI creates a new instance of PingdomCheckAPI. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*PingdomCheckAPI) List

func (_m *PingdomCheckAPI) List(params ...map[string]string) ([]pingdom.CheckResponse, error)

List provides a mock function with given fields: params

func (*PingdomCheckAPI) Read

func (_m *PingdomCheckAPI) Read(id int) (*pingdom.CheckResponse, error)

Read provides a mock function with given fields: id

type PingdomTransactionCheckAPI

type PingdomTransactionCheckAPI struct {
	mock.Mock
}

PingdomTransactionCheckAPI is an autogenerated mock type for the PingdomTransactionCheckAPI type

func NewPingdomTransactionCheckAPI

func NewPingdomTransactionCheckAPI(t interface {
	mock.TestingT
	Cleanup(func())
}) *PingdomTransactionCheckAPI

NewPingdomTransactionCheckAPI creates a new instance of PingdomTransactionCheckAPI. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*PingdomTransactionCheckAPI) List

List provides a mock function with given fields: params

func (*PingdomTransactionCheckAPI) Read

Read provides a mock function with given fields: id

Jump to

Keyboard shortcuts

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