Documentation ¶
Index ¶
- type Client
- func (_m *Client) GetAllServiceEndpoints() ([]types.ServiceEndpoint, error)
- func (_m *Client) GetServiceEndpoint(serviceId string) (types.ServiceEndpoint, error)
- func (_m *Client) IsAlive() bool
- func (_m *Client) IsServiceAvailable(serviceId string) (bool, error)
- func (_m *Client) Register() error
- func (_m *Client) RegisterCheck(id string, name string, notes string, url string, interval string) error
- func (_m *Client) Unregister() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
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) IsServiceAvailable ¶
IsServiceAvailable provides a mock function with given fields: serviceId
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 ¶
Unregister provides a mock function with given fields:
Click to show internal directories.
Click to hide internal directories.