zrok/rest_server_zrok/operations/admin/delete_frontend_responses.go
2022-12-02 08:58:41 -05:00

113 lines
3.0 KiB
Go

// Code generated by go-swagger; DO NOT EDIT.
package admin
// This file was generated by the swagger tool.
// Editing this file might prove futile when you re-run the swagger generate command
import (
"net/http"
"github.com/go-openapi/runtime"
)
// DeleteFrontendOKCode is the HTTP code returned for type DeleteFrontendOK
const DeleteFrontendOKCode int = 200
/*
DeleteFrontendOK frontend deleted
swagger:response deleteFrontendOK
*/
type DeleteFrontendOK struct {
}
// NewDeleteFrontendOK creates DeleteFrontendOK with default headers values
func NewDeleteFrontendOK() *DeleteFrontendOK {
return &DeleteFrontendOK{}
}
// WriteResponse to the client
func (o *DeleteFrontendOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) {
rw.Header().Del(runtime.HeaderContentType) //Remove Content-Type on empty responses
rw.WriteHeader(200)
}
// DeleteFrontendUnauthorizedCode is the HTTP code returned for type DeleteFrontendUnauthorized
const DeleteFrontendUnauthorizedCode int = 401
/*
DeleteFrontendUnauthorized unauthorized
swagger:response deleteFrontendUnauthorized
*/
type DeleteFrontendUnauthorized struct {
}
// NewDeleteFrontendUnauthorized creates DeleteFrontendUnauthorized with default headers values
func NewDeleteFrontendUnauthorized() *DeleteFrontendUnauthorized {
return &DeleteFrontendUnauthorized{}
}
// WriteResponse to the client
func (o *DeleteFrontendUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) {
rw.Header().Del(runtime.HeaderContentType) //Remove Content-Type on empty responses
rw.WriteHeader(401)
}
// DeleteFrontendNotFoundCode is the HTTP code returned for type DeleteFrontendNotFound
const DeleteFrontendNotFoundCode int = 404
/*
DeleteFrontendNotFound not found
swagger:response deleteFrontendNotFound
*/
type DeleteFrontendNotFound struct {
}
// NewDeleteFrontendNotFound creates DeleteFrontendNotFound with default headers values
func NewDeleteFrontendNotFound() *DeleteFrontendNotFound {
return &DeleteFrontendNotFound{}
}
// WriteResponse to the client
func (o *DeleteFrontendNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) {
rw.Header().Del(runtime.HeaderContentType) //Remove Content-Type on empty responses
rw.WriteHeader(404)
}
// DeleteFrontendInternalServerErrorCode is the HTTP code returned for type DeleteFrontendInternalServerError
const DeleteFrontendInternalServerErrorCode int = 500
/*
DeleteFrontendInternalServerError internal server error
swagger:response deleteFrontendInternalServerError
*/
type DeleteFrontendInternalServerError struct {
}
// NewDeleteFrontendInternalServerError creates DeleteFrontendInternalServerError with default headers values
func NewDeleteFrontendInternalServerError() *DeleteFrontendInternalServerError {
return &DeleteFrontendInternalServerError{}
}
// WriteResponse to the client
func (o *DeleteFrontendInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) {
rw.Header().Del(runtime.HeaderContentType) //Remove Content-Type on empty responses
rw.WriteHeader(500)
}