mocks

package
v2.2.0-dev.2 Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	mock.Mock
}

Client is an autogenerated mock type for the Client type

func (*Client) GetAllServiceEndpoints added in v2.1.0

func (_m *Client) GetAllServiceEndpoints() ([]types.ServiceEndpoint, error)

GetAllServiceEndpoints provides a mock function with given fields:

func (*Client) GetServiceEndpoint

func (_m *Client) GetServiceEndpoint(serviceId string) (types.ServiceEndpoint, error)

GetServiceEndpoint provides a mock function with given fields: serviceId

func (*Client) IsAlive

func (_m *Client) IsAlive() bool

IsAlive provides a mock function with given fields:

func (*Client) IsServiceAvailable

func (_m *Client) IsServiceAvailable(serviceId string) (bool, error)

IsServiceAvailable provides a mock function with given fields: serviceId

func (*Client) Register

func (_m *Client) Register() error

Register provides a mock function with given fields:

func (*Client) RegisterCheck

func (_m *Client) RegisterCheck(id string, name string, notes string, url string, interval string) error

RegisterCheck provides a mock function with given fields: id, name, notes, url, interval

func (*Client) Unregister

func (_m *Client) Unregister() error

Unregister provides a mock function with given fields:

Jump to

Keyboard shortcuts

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