admin create frontend now interrogates ziti for the identity (#129)

This commit is contained in:
Michael Quigley
2022-12-02 08:44:17 -05:00
parent cbf809c06a
commit f0228e8fe0
6 changed files with 127 additions and 1 deletions

View File

@ -83,6 +83,31 @@ func (o *CreateFrontendUnauthorized) WriteResponse(rw http.ResponseWriter, produ
rw.WriteHeader(401)
}
// CreateFrontendNotFoundCode is the HTTP code returned for type CreateFrontendNotFound
const CreateFrontendNotFoundCode int = 404
/*
CreateFrontendNotFound not found
swagger:response createFrontendNotFound
*/
type CreateFrontendNotFound struct {
}
// NewCreateFrontendNotFound creates CreateFrontendNotFound with default headers values
func NewCreateFrontendNotFound() *CreateFrontendNotFound {
return &CreateFrontendNotFound{}
}
// WriteResponse to the client
func (o *CreateFrontendNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) {
rw.Header().Del(runtime.HeaderContentType) //Remove Content-Type on empty responses
rw.WriteHeader(404)
}
// CreateFrontendInternalServerErrorCode is the HTTP code returned for type CreateFrontendInternalServerError
const CreateFrontendInternalServerErrorCode int = 500