mirror of
https://github.com/openziti/zrok.git
synced 2025-08-18 03:39:58 +02:00
update frontend backend (#129)
This commit is contained in:
112
rest_server_zrok/operations/admin/update_frontend_responses.go
Normal file
112
rest_server_zrok/operations/admin/update_frontend_responses.go
Normal file
@@ -0,0 +1,112 @@
|
||||
// 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)
|
||||
}
|
Reference in New Issue
Block a user