# Functions
NewDeleteSilence creates a new http.Handler for the delete silence operation.
NewDeleteSilenceInternalServerError creates DeleteSilenceInternalServerError with default headers values.
NewDeleteSilenceNotFound creates DeleteSilenceNotFound with default headers values.
NewDeleteSilenceOK creates DeleteSilenceOK with default headers values.
NewDeleteSilenceParams creates a new DeleteSilenceParams object
There are no default values defined in the spec.
NewGetSilence creates a new http.Handler for the get silence operation.
NewGetSilenceInternalServerError creates GetSilenceInternalServerError with default headers values.
NewGetSilenceNotFound creates GetSilenceNotFound with default headers values.
NewGetSilenceOK creates GetSilenceOK with default headers values.
NewGetSilenceParams creates a new GetSilenceParams object
There are no default values defined in the spec.
NewGetSilences creates a new http.Handler for the get silences operation.
NewGetSilencesBadRequest creates GetSilencesBadRequest with default headers values.
NewGetSilencesInternalServerError creates GetSilencesInternalServerError with default headers values.
NewGetSilencesOK creates GetSilencesOK with default headers values.
NewGetSilencesParams creates a new GetSilencesParams object
There are no default values defined in the spec.
NewPostSilences creates a new http.Handler for the post silences operation.
NewPostSilencesBadRequest creates PostSilencesBadRequest with default headers values.
NewPostSilencesNotFound creates PostSilencesNotFound with default headers values.
NewPostSilencesOK creates PostSilencesOK with default headers values.
NewPostSilencesParams creates a new PostSilencesParams object
There are no default values defined in the spec.
# Constants
DeleteSilenceInternalServerErrorCode is the HTTP code returned for type DeleteSilenceInternalServerError.
DeleteSilenceNotFoundCode is the HTTP code returned for type DeleteSilenceNotFound.
DeleteSilenceOKCode is the HTTP code returned for type DeleteSilenceOK.
GetSilenceInternalServerErrorCode is the HTTP code returned for type GetSilenceInternalServerError.
GetSilenceNotFoundCode is the HTTP code returned for type GetSilenceNotFound.
GetSilenceOKCode is the HTTP code returned for type GetSilenceOK.
GetSilencesBadRequestCode is the HTTP code returned for type GetSilencesBadRequest.
GetSilencesInternalServerErrorCode is the HTTP code returned for type GetSilencesInternalServerError.
GetSilencesOKCode is the HTTP code returned for type GetSilencesOK.
PostSilencesBadRequestCode is the HTTP code returned for type PostSilencesBadRequest.
PostSilencesNotFoundCode is the HTTP code returned for type PostSilencesNotFound.
PostSilencesOKCode is the HTTP code returned for type PostSilencesOK.
# Structs
DeleteSilence swagger:route DELETE /silence/{silenceID} silence deleteSilence
Delete a silence by its ID
*/.
DeleteSilenceInternalServerError Internal server error
swagger:response deleteSilenceInternalServerError
*/.
DeleteSilenceNotFound A silence with the specified ID was not found
swagger:response deleteSilenceNotFound
*/.
DeleteSilenceOK Delete silence response
swagger:response deleteSilenceOK
*/.
DeleteSilenceParams contains all the bound params for the delete silence operation typically these are obtained from a http.Request
swagger:parameters deleteSilence.
DeleteSilenceURL generates an URL for the delete silence operation.
GetSilence swagger:route GET /silence/{silenceID} silence getSilence
Get a silence by its ID
*/.
GetSilenceInternalServerError Internal server error
swagger:response getSilenceInternalServerError
*/.
GetSilenceNotFound A silence with the specified ID was not found
swagger:response getSilenceNotFound
*/.
GetSilenceOK Get silence response
swagger:response getSilenceOK
*/.
GetSilenceParams contains all the bound params for the get silence operation typically these are obtained from a http.Request
swagger:parameters getSilence.
GetSilences swagger:route GET /silences silence getSilences
Get a list of silences
*/.
GetSilencesBadRequest Bad request
swagger:response getSilencesBadRequest
*/.
GetSilencesInternalServerError Internal server error
swagger:response getSilencesInternalServerError
*/.
GetSilencesOK Get silences response
swagger:response getSilencesOK
*/.
GetSilencesParams contains all the bound params for the get silences operation typically these are obtained from a http.Request
swagger:parameters getSilences.
GetSilencesURL generates an URL for the get silences operation.
GetSilenceURL generates an URL for the get silence operation.
PostSilences swagger:route POST /silences silence postSilences
Post a new silence or update an existing one
*/.
PostSilencesBadRequest Bad request
swagger:response postSilencesBadRequest
*/.
PostSilencesNotFound A silence with the specified ID was not found
swagger:response postSilencesNotFound
*/.
PostSilencesOK Create / update silence response
swagger:response postSilencesOK
*/.
PostSilencesOKBody post silences o k body
swagger:model PostSilencesOKBody.
PostSilencesParams contains all the bound params for the post silences operation typically these are obtained from a http.Request
swagger:parameters postSilences.
PostSilencesURL generates an URL for the post silences operation.
# Interfaces
DeleteSilenceHandler interface for that can handle valid delete silence params.
GetSilenceHandler interface for that can handle valid get silence params.
GetSilencesHandler interface for that can handle valid get silences params.
PostSilencesHandler interface for that can handle valid post silences params.
# Type aliases
DeleteSilenceHandlerFunc turns a function with the right signature into a delete silence handler.
GetSilenceHandlerFunc turns a function with the right signature into a get silence handler.
GetSilencesHandlerFunc turns a function with the right signature into a get silences handler.
PostSilencesHandlerFunc turns a function with the right signature into a post silences handler.