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

# Functions

New creates a new silence API client.
NewDeleteSilenceInternalServerError creates a DeleteSilenceInternalServerError with default headers values.
NewDeleteSilenceNotFound creates a DeleteSilenceNotFound with default headers values.
NewDeleteSilenceOK creates a DeleteSilenceOK with default headers values.
NewDeleteSilenceParams creates a new DeleteSilenceParams object, with the default timeout for this client.
NewDeleteSilenceParamsWithContext creates a new DeleteSilenceParams object with the ability to set a context for a request.
NewDeleteSilenceParamsWithHTTPClient creates a new DeleteSilenceParams object with the ability to set a custom HTTPClient for a request.
NewDeleteSilenceParamsWithTimeout creates a new DeleteSilenceParams object with the ability to set a timeout on a request.
NewGetSilenceInternalServerError creates a GetSilenceInternalServerError with default headers values.
NewGetSilenceNotFound creates a GetSilenceNotFound with default headers values.
NewGetSilenceOK creates a GetSilenceOK with default headers values.
NewGetSilenceParams creates a new GetSilenceParams object, with the default timeout for this client.
NewGetSilenceParamsWithContext creates a new GetSilenceParams object with the ability to set a context for a request.
NewGetSilenceParamsWithHTTPClient creates a new GetSilenceParams object with the ability to set a custom HTTPClient for a request.
NewGetSilenceParamsWithTimeout creates a new GetSilenceParams object with the ability to set a timeout on a request.
NewGetSilencesBadRequest creates a GetSilencesBadRequest with default headers values.
NewGetSilencesInternalServerError creates a GetSilencesInternalServerError with default headers values.
NewGetSilencesOK creates a GetSilencesOK with default headers values.
NewGetSilencesParams creates a new GetSilencesParams object, with the default timeout for this client.
NewGetSilencesParamsWithContext creates a new GetSilencesParams object with the ability to set a context for a request.
NewGetSilencesParamsWithHTTPClient creates a new GetSilencesParams object with the ability to set a custom HTTPClient for a request.
NewGetSilencesParamsWithTimeout creates a new GetSilencesParams object with the ability to set a timeout on a request.
NewPostSilencesBadRequest creates a PostSilencesBadRequest with default headers values.
NewPostSilencesNotFound creates a PostSilencesNotFound with default headers values.
NewPostSilencesOK creates a PostSilencesOK with default headers values.
NewPostSilencesParams creates a new PostSilencesParams object, with the default timeout for this client.
NewPostSilencesParamsWithContext creates a new PostSilencesParams object with the ability to set a context for a request.
NewPostSilencesParamsWithHTTPClient creates a new PostSilencesParams object with the ability to set a custom HTTPClient for a request.
NewPostSilencesParamsWithTimeout creates a new PostSilencesParams object with the ability to set a timeout on a request.

# Structs

Client for silence API */.
DeleteSilenceInternalServerError describes a response with status code 500, with default header values.
DeleteSilenceNotFound describes a response with status code 404, with default header values.
DeleteSilenceOK describes a response with status code 200, with default header values.
DeleteSilenceParams contains all the parameters to send to the API endpoint for the delete silence operation.
DeleteSilenceReader is a Reader for the DeleteSilence structure.
GetSilenceInternalServerError describes a response with status code 500, with default header values.
GetSilenceNotFound describes a response with status code 404, with default header values.
GetSilenceOK describes a response with status code 200, with default header values.
GetSilenceParams contains all the parameters to send to the API endpoint for the get silence operation.
GetSilenceReader is a Reader for the GetSilence structure.
GetSilencesBadRequest describes a response with status code 400, with default header values.
GetSilencesInternalServerError describes a response with status code 500, with default header values.
GetSilencesOK describes a response with status code 200, with default header values.
GetSilencesParams contains all the parameters to send to the API endpoint for the get silences operation.
GetSilencesReader is a Reader for the GetSilences structure.
PostSilencesBadRequest describes a response with status code 400, with default header values.
PostSilencesNotFound describes a response with status code 404, with default header values.
PostSilencesOK describes a response with status code 200, with default header values.
PostSilencesOKBody post silences o k body swagger:model PostSilencesOKBody */.
PostSilencesParams contains all the parameters to send to the API endpoint for the post silences operation.
PostSilencesReader is a Reader for the PostSilences structure.

# Interfaces

ClientService is the interface for Client methods.

# Type aliases

ClientOption is the option for Client methods.