Module stubs

Source
Expand description

Traits to mock the clients in this library.

Application developers may need to mock the clients in this library to test how their application works with different (and sometimes hard to trigger) client and service behavior. Such test can define mocks implementing the trait(s) defined in this module, initialize the client with an instance of this mock in their tests, and verify their application responds as expected.

Traitsยง

AlertPolicyService
Defines the trait used to implement crate::client::AlertPolicyService.
GroupService
Defines the trait used to implement crate::client::GroupService.
MetricService
Defines the trait used to implement crate::client::MetricService.
NotificationChannelService
Defines the trait used to implement crate::client::NotificationChannelService.
QueryService
Defines the trait used to implement crate::client::QueryService.
ServiceMonitoringService
Defines the trait used to implement crate::client::ServiceMonitoringService.
SnoozeService
Defines the trait used to implement crate::client::SnoozeService.
UptimeCheckService
Defines the trait used to implement crate::client::UptimeCheckService.