mirror of
https://github.com/openziti/zrok.git
synced 2024-11-28 19:14:07 +01:00
113 lines
3.0 KiB
Go
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"
|
|
)
|
|
|
|
// UpdateFrontendOKCode is the HTTP code returned for type UpdateFrontendOK
|
|
const UpdateFrontendOKCode int = 200
|
|
|
|
/*
|
|
UpdateFrontendOK frontend updated
|
|
|
|
swagger:response updateFrontendOK
|
|
*/
|
|
type UpdateFrontendOK struct {
|
|
}
|
|
|
|
// NewUpdateFrontendOK creates UpdateFrontendOK with default headers values
|
|
func NewUpdateFrontendOK() *UpdateFrontendOK {
|
|
|
|
return &UpdateFrontendOK{}
|
|
}
|
|
|
|
// WriteResponse to the client
|
|
func (o *UpdateFrontendOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) {
|
|
|
|
rw.Header().Del(runtime.HeaderContentType) //Remove Content-Type on empty responses
|
|
|
|
rw.WriteHeader(200)
|
|
}
|
|
|
|
// UpdateFrontendUnauthorizedCode is the HTTP code returned for type UpdateFrontendUnauthorized
|
|
const UpdateFrontendUnauthorizedCode int = 401
|
|
|
|
/*
|
|
UpdateFrontendUnauthorized unauthorized
|
|
|
|
swagger:response updateFrontendUnauthorized
|
|
*/
|
|
type UpdateFrontendUnauthorized struct {
|
|
}
|
|
|
|
// NewUpdateFrontendUnauthorized creates UpdateFrontendUnauthorized with default headers values
|
|
func NewUpdateFrontendUnauthorized() *UpdateFrontendUnauthorized {
|
|
|
|
return &UpdateFrontendUnauthorized{}
|
|
}
|
|
|
|
// WriteResponse to the client
|
|
func (o *UpdateFrontendUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) {
|
|
|
|
rw.Header().Del(runtime.HeaderContentType) //Remove Content-Type on empty responses
|
|
|
|
rw.WriteHeader(401)
|
|
}
|
|
|
|
// UpdateFrontendNotFoundCode is the HTTP code returned for type UpdateFrontendNotFound
|
|
const UpdateFrontendNotFoundCode int = 404
|
|
|
|
/*
|
|
UpdateFrontendNotFound not found
|
|
|
|
swagger:response updateFrontendNotFound
|
|
*/
|
|
type UpdateFrontendNotFound struct {
|
|
}
|
|
|
|
// NewUpdateFrontendNotFound creates UpdateFrontendNotFound with default headers values
|
|
func NewUpdateFrontendNotFound() *UpdateFrontendNotFound {
|
|
|
|
return &UpdateFrontendNotFound{}
|
|
}
|
|
|
|
// WriteResponse to the client
|
|
func (o *UpdateFrontendNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) {
|
|
|
|
rw.Header().Del(runtime.HeaderContentType) //Remove Content-Type on empty responses
|
|
|
|
rw.WriteHeader(404)
|
|
}
|
|
|
|
// UpdateFrontendInternalServerErrorCode is the HTTP code returned for type UpdateFrontendInternalServerError
|
|
const UpdateFrontendInternalServerErrorCode int = 500
|
|
|
|
/*
|
|
UpdateFrontendInternalServerError internal server error
|
|
|
|
swagger:response updateFrontendInternalServerError
|
|
*/
|
|
type UpdateFrontendInternalServerError struct {
|
|
}
|
|
|
|
// NewUpdateFrontendInternalServerError creates UpdateFrontendInternalServerError with default headers values
|
|
func NewUpdateFrontendInternalServerError() *UpdateFrontendInternalServerError {
|
|
|
|
return &UpdateFrontendInternalServerError{}
|
|
}
|
|
|
|
// WriteResponse to the client
|
|
func (o *UpdateFrontendInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) {
|
|
|
|
rw.Header().Del(runtime.HeaderContentType) //Remove Content-Type on empty responses
|
|
|
|
rw.WriteHeader(500)
|
|
}
|