package
0.28.0
Repository: https://github.com/prometheus/alertmanager.git
Documentation: pkg.go.dev

# Functions

New creates a new alert API client.
NewGetAlertsBadRequest creates a GetAlertsBadRequest with default headers values.
NewGetAlertsInternalServerError creates a GetAlertsInternalServerError with default headers values.
NewGetAlertsOK creates a GetAlertsOK with default headers values.
NewGetAlertsParams creates a new GetAlertsParams object, with the default timeout for this client.
NewGetAlertsParamsWithContext creates a new GetAlertsParams object with the ability to set a context for a request.
NewGetAlertsParamsWithHTTPClient creates a new GetAlertsParams object with the ability to set a custom HTTPClient for a request.
NewGetAlertsParamsWithTimeout creates a new GetAlertsParams object with the ability to set a timeout on a request.
NewPostAlertsBadRequest creates a PostAlertsBadRequest with default headers values.
NewPostAlertsInternalServerError creates a PostAlertsInternalServerError with default headers values.
NewPostAlertsOK creates a PostAlertsOK with default headers values.
NewPostAlertsParams creates a new PostAlertsParams object, with the default timeout for this client.
NewPostAlertsParamsWithContext creates a new PostAlertsParams object with the ability to set a context for a request.
NewPostAlertsParamsWithHTTPClient creates a new PostAlertsParams object with the ability to set a custom HTTPClient for a request.
NewPostAlertsParamsWithTimeout creates a new PostAlertsParams object with the ability to set a timeout on a request.

# Structs

Client for alert API */.
GetAlertsBadRequest describes a response with status code 400, with default header values.
GetAlertsInternalServerError describes a response with status code 500, with default header values.
GetAlertsOK describes a response with status code 200, with default header values.
GetAlertsParams contains all the parameters to send to the API endpoint for the get alerts operation.
GetAlertsReader is a Reader for the GetAlerts structure.
PostAlertsBadRequest describes a response with status code 400, with default header values.
PostAlertsInternalServerError describes a response with status code 500, with default header values.
PostAlertsOK describes a response with status code 200, with default header values.
PostAlertsParams contains all the parameters to send to the API endpoint for the post alerts operation.
PostAlertsReader is a Reader for the PostAlerts structure.

# Interfaces

ClientService is the interface for Client methods.

# Type aliases

ClientOption is the option for Client methods.