Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Alert ¶
type Alert struct {
AlertType string `json:"alertType"`
ResourceName string `json:"resourceName"`
Header string `json:"header"`
Msg string `json:"msg"`
RFC3339Time string `json:"rfc3339Time"`
}
type Client ¶
type Client interface {
SendAlert(ctx context.Context, alert Alert) (AlertID, error)
}
func ProvideClient ¶
func ProvideClient() Client
func ProvideFakeClient ¶
func ProvideFakeClient() Client
Click to show internal directories.
Click to hide internal directories.