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ยง
- Alert
Policy Service - Defines the trait used to implement crate::client::AlertPolicyService.
- Group
Service - Defines the trait used to implement crate::client::GroupService.
- Metric
Service - Defines the trait used to implement crate::client::MetricService.
- Notification
Channel Service - Defines the trait used to implement crate::client::NotificationChannelService.
- Query
Service - Defines the trait used to implement crate::client::QueryService.
- Service
Monitoring Service - Defines the trait used to implement crate::client::ServiceMonitoringService.
- Snooze
Service - Defines the trait used to implement crate::client::SnoozeService.
- Uptime
Check Service - Defines the trait used to implement crate::client::UptimeCheckService.