Documentation ¶
Index ¶
Constants ¶
View Source
const ( // We directly access alerts from Kubernetes pod to pod // so https is not required. API_INCIDENTS_PATTERN = "http://%s/_/incidents" API_SILENCES_PATTERN = "http://%s/_/silences" )
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(hc HTTPClient, server string) *apiclient
New creates a new APIClient with the given parameters.
Types ¶
Click to show internal directories.
Click to hide internal directories.