Documentation ¶
Index ¶
- Constants
- type CreateExternalJwtSigner
- type CreateExternalJwtSignerBadRequest
- func (o *CreateExternalJwtSignerBadRequest) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *CreateExternalJwtSignerBadRequest) WithPayload(payload *rest_model.APIErrorEnvelope) *CreateExternalJwtSignerBadRequest
- func (o *CreateExternalJwtSignerBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type CreateExternalJwtSignerCreated
- func (o *CreateExternalJwtSignerCreated) SetPayload(payload *rest_model.CreateEnvelope)
- func (o *CreateExternalJwtSignerCreated) WithPayload(payload *rest_model.CreateEnvelope) *CreateExternalJwtSignerCreated
- func (o *CreateExternalJwtSignerCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type CreateExternalJwtSignerHandler
- type CreateExternalJwtSignerHandlerFunc
- type CreateExternalJwtSignerParams
- type CreateExternalJwtSignerURL
- func (o *CreateExternalJwtSignerURL) Build() (*url.URL, error)
- func (o *CreateExternalJwtSignerURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *CreateExternalJwtSignerURL) Must(u *url.URL, err error) *url.URL
- func (o *CreateExternalJwtSignerURL) SetBasePath(bp string)
- func (o *CreateExternalJwtSignerURL) String() string
- func (o *CreateExternalJwtSignerURL) StringFull(scheme, host string) string
- func (o *CreateExternalJwtSignerURL) WithBasePath(bp string) *CreateExternalJwtSignerURL
- type CreateExternalJwtSignerUnauthorized
- func (o *CreateExternalJwtSignerUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *CreateExternalJwtSignerUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *CreateExternalJwtSignerUnauthorized
- func (o *CreateExternalJwtSignerUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DeleteExternalJwtSigner
- type DeleteExternalJwtSignerBadRequest
- func (o *DeleteExternalJwtSignerBadRequest) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *DeleteExternalJwtSignerBadRequest) WithPayload(payload *rest_model.APIErrorEnvelope) *DeleteExternalJwtSignerBadRequest
- func (o *DeleteExternalJwtSignerBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DeleteExternalJwtSignerHandler
- type DeleteExternalJwtSignerHandlerFunc
- type DeleteExternalJwtSignerOK
- type DeleteExternalJwtSignerParams
- type DeleteExternalJwtSignerURL
- func (o *DeleteExternalJwtSignerURL) Build() (*url.URL, error)
- func (o *DeleteExternalJwtSignerURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *DeleteExternalJwtSignerURL) Must(u *url.URL, err error) *url.URL
- func (o *DeleteExternalJwtSignerURL) SetBasePath(bp string)
- func (o *DeleteExternalJwtSignerURL) String() string
- func (o *DeleteExternalJwtSignerURL) StringFull(scheme, host string) string
- func (o *DeleteExternalJwtSignerURL) WithBasePath(bp string) *DeleteExternalJwtSignerURL
- type DeleteExternalJwtSignerUnauthorized
- func (o *DeleteExternalJwtSignerUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *DeleteExternalJwtSignerUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *DeleteExternalJwtSignerUnauthorized
- func (o *DeleteExternalJwtSignerUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DetailExternalJwtSigner
- type DetailExternalJwtSignerHandler
- type DetailExternalJwtSignerHandlerFunc
- type DetailExternalJwtSignerNotFound
- func (o *DetailExternalJwtSignerNotFound) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *DetailExternalJwtSignerNotFound) WithPayload(payload *rest_model.APIErrorEnvelope) *DetailExternalJwtSignerNotFound
- func (o *DetailExternalJwtSignerNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DetailExternalJwtSignerOK
- func (o *DetailExternalJwtSignerOK) SetPayload(payload *rest_model.DetailExternalJwtSignerEnvelope)
- func (o *DetailExternalJwtSignerOK) WithPayload(payload *rest_model.DetailExternalJwtSignerEnvelope) *DetailExternalJwtSignerOK
- func (o *DetailExternalJwtSignerOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DetailExternalJwtSignerParams
- type DetailExternalJwtSignerURL
- func (o *DetailExternalJwtSignerURL) Build() (*url.URL, error)
- func (o *DetailExternalJwtSignerURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *DetailExternalJwtSignerURL) Must(u *url.URL, err error) *url.URL
- func (o *DetailExternalJwtSignerURL) SetBasePath(bp string)
- func (o *DetailExternalJwtSignerURL) String() string
- func (o *DetailExternalJwtSignerURL) StringFull(scheme, host string) string
- func (o *DetailExternalJwtSignerURL) WithBasePath(bp string) *DetailExternalJwtSignerURL
- type DetailExternalJwtSignerUnauthorized
- func (o *DetailExternalJwtSignerUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *DetailExternalJwtSignerUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *DetailExternalJwtSignerUnauthorized
- func (o *DetailExternalJwtSignerUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ListExternalJwtSigners
- type ListExternalJwtSignersBadRequest
- func (o *ListExternalJwtSignersBadRequest) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *ListExternalJwtSignersBadRequest) WithPayload(payload *rest_model.APIErrorEnvelope) *ListExternalJwtSignersBadRequest
- func (o *ListExternalJwtSignersBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ListExternalJwtSignersHandler
- type ListExternalJwtSignersHandlerFunc
- type ListExternalJwtSignersOK
- func (o *ListExternalJwtSignersOK) SetPayload(payload *rest_model.ListExternalJwtSignersEnvelope)
- func (o *ListExternalJwtSignersOK) WithPayload(payload *rest_model.ListExternalJwtSignersEnvelope) *ListExternalJwtSignersOK
- func (o *ListExternalJwtSignersOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ListExternalJwtSignersParams
- type ListExternalJwtSignersURL
- func (o *ListExternalJwtSignersURL) Build() (*url.URL, error)
- func (o *ListExternalJwtSignersURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *ListExternalJwtSignersURL) Must(u *url.URL, err error) *url.URL
- func (o *ListExternalJwtSignersURL) SetBasePath(bp string)
- func (o *ListExternalJwtSignersURL) String() string
- func (o *ListExternalJwtSignersURL) StringFull(scheme, host string) string
- func (o *ListExternalJwtSignersURL) WithBasePath(bp string) *ListExternalJwtSignersURL
- type ListExternalJwtSignersUnauthorized
- func (o *ListExternalJwtSignersUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *ListExternalJwtSignersUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *ListExternalJwtSignersUnauthorized
- func (o *ListExternalJwtSignersUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type PatchExternalJwtSigner
- type PatchExternalJwtSignerBadRequest
- func (o *PatchExternalJwtSignerBadRequest) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *PatchExternalJwtSignerBadRequest) WithPayload(payload *rest_model.APIErrorEnvelope) *PatchExternalJwtSignerBadRequest
- func (o *PatchExternalJwtSignerBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type PatchExternalJwtSignerHandler
- type PatchExternalJwtSignerHandlerFunc
- type PatchExternalJwtSignerNotFound
- func (o *PatchExternalJwtSignerNotFound) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *PatchExternalJwtSignerNotFound) WithPayload(payload *rest_model.APIErrorEnvelope) *PatchExternalJwtSignerNotFound
- func (o *PatchExternalJwtSignerNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type PatchExternalJwtSignerOK
- type PatchExternalJwtSignerParams
- type PatchExternalJwtSignerURL
- func (o *PatchExternalJwtSignerURL) Build() (*url.URL, error)
- func (o *PatchExternalJwtSignerURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *PatchExternalJwtSignerURL) Must(u *url.URL, err error) *url.URL
- func (o *PatchExternalJwtSignerURL) SetBasePath(bp string)
- func (o *PatchExternalJwtSignerURL) String() string
- func (o *PatchExternalJwtSignerURL) StringFull(scheme, host string) string
- func (o *PatchExternalJwtSignerURL) WithBasePath(bp string) *PatchExternalJwtSignerURL
- type PatchExternalJwtSignerUnauthorized
- func (o *PatchExternalJwtSignerUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *PatchExternalJwtSignerUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *PatchExternalJwtSignerUnauthorized
- func (o *PatchExternalJwtSignerUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UpdateExternalJwtSigner
- type UpdateExternalJwtSignerBadRequest
- func (o *UpdateExternalJwtSignerBadRequest) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *UpdateExternalJwtSignerBadRequest) WithPayload(payload *rest_model.APIErrorEnvelope) *UpdateExternalJwtSignerBadRequest
- func (o *UpdateExternalJwtSignerBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UpdateExternalJwtSignerHandler
- type UpdateExternalJwtSignerHandlerFunc
- type UpdateExternalJwtSignerNotFound
- func (o *UpdateExternalJwtSignerNotFound) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *UpdateExternalJwtSignerNotFound) WithPayload(payload *rest_model.APIErrorEnvelope) *UpdateExternalJwtSignerNotFound
- func (o *UpdateExternalJwtSignerNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UpdateExternalJwtSignerOK
- type UpdateExternalJwtSignerParams
- type UpdateExternalJwtSignerURL
- func (o *UpdateExternalJwtSignerURL) Build() (*url.URL, error)
- func (o *UpdateExternalJwtSignerURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *UpdateExternalJwtSignerURL) Must(u *url.URL, err error) *url.URL
- func (o *UpdateExternalJwtSignerURL) SetBasePath(bp string)
- func (o *UpdateExternalJwtSignerURL) String() string
- func (o *UpdateExternalJwtSignerURL) StringFull(scheme, host string) string
- func (o *UpdateExternalJwtSignerURL) WithBasePath(bp string) *UpdateExternalJwtSignerURL
- type UpdateExternalJwtSignerUnauthorized
- func (o *UpdateExternalJwtSignerUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *UpdateExternalJwtSignerUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *UpdateExternalJwtSignerUnauthorized
- func (o *UpdateExternalJwtSignerUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
Constants ¶
const CreateExternalJwtSignerBadRequestCode int = 400
CreateExternalJwtSignerBadRequestCode is the HTTP code returned for type CreateExternalJwtSignerBadRequest
const CreateExternalJwtSignerCreatedCode int = 201
CreateExternalJwtSignerCreatedCode is the HTTP code returned for type CreateExternalJwtSignerCreated
CreateExternalJwtSignerUnauthorizedCode is the HTTP code returned for type CreateExternalJwtSignerUnauthorized
const DeleteExternalJwtSignerBadRequestCode int = 400
DeleteExternalJwtSignerBadRequestCode is the HTTP code returned for type DeleteExternalJwtSignerBadRequest
const DeleteExternalJwtSignerOKCode int = 200
DeleteExternalJwtSignerOKCode is the HTTP code returned for type DeleteExternalJwtSignerOK
DeleteExternalJwtSignerUnauthorizedCode is the HTTP code returned for type DeleteExternalJwtSignerUnauthorized
const DetailExternalJwtSignerNotFoundCode int = 404
DetailExternalJwtSignerNotFoundCode is the HTTP code returned for type DetailExternalJwtSignerNotFound
const DetailExternalJwtSignerOKCode int = 200
DetailExternalJwtSignerOKCode is the HTTP code returned for type DetailExternalJwtSignerOK
DetailExternalJwtSignerUnauthorizedCode is the HTTP code returned for type DetailExternalJwtSignerUnauthorized
const ListExternalJwtSignersBadRequestCode int = 400
ListExternalJwtSignersBadRequestCode is the HTTP code returned for type ListExternalJwtSignersBadRequest
const ListExternalJwtSignersOKCode int = 200
ListExternalJwtSignersOKCode is the HTTP code returned for type ListExternalJwtSignersOK
ListExternalJwtSignersUnauthorizedCode is the HTTP code returned for type ListExternalJwtSignersUnauthorized
const PatchExternalJwtSignerBadRequestCode int = 400
PatchExternalJwtSignerBadRequestCode is the HTTP code returned for type PatchExternalJwtSignerBadRequest
const PatchExternalJwtSignerNotFoundCode int = 404
PatchExternalJwtSignerNotFoundCode is the HTTP code returned for type PatchExternalJwtSignerNotFound
const PatchExternalJwtSignerOKCode int = 200
PatchExternalJwtSignerOKCode is the HTTP code returned for type PatchExternalJwtSignerOK
PatchExternalJwtSignerUnauthorizedCode is the HTTP code returned for type PatchExternalJwtSignerUnauthorized
const UpdateExternalJwtSignerBadRequestCode int = 400
UpdateExternalJwtSignerBadRequestCode is the HTTP code returned for type UpdateExternalJwtSignerBadRequest
const UpdateExternalJwtSignerNotFoundCode int = 404
UpdateExternalJwtSignerNotFoundCode is the HTTP code returned for type UpdateExternalJwtSignerNotFound
const UpdateExternalJwtSignerOKCode int = 200
UpdateExternalJwtSignerOKCode is the HTTP code returned for type UpdateExternalJwtSignerOK
UpdateExternalJwtSignerUnauthorizedCode is the HTTP code returned for type UpdateExternalJwtSignerUnauthorized
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateExternalJwtSigner ¶
type CreateExternalJwtSigner struct { Context *middleware.Context Handler CreateExternalJwtSignerHandler }
CreateExternalJwtSigner swagger:route POST /external-jwt-signers External JWT Signer createExternalJwtSigner
Creates an External JWT Signer ¶
Creates an External JWT Signer. Requires admin access.
func NewCreateExternalJwtSigner ¶
func NewCreateExternalJwtSigner(ctx *middleware.Context, handler CreateExternalJwtSignerHandler) *CreateExternalJwtSigner
NewCreateExternalJwtSigner creates a new http.Handler for the create external jwt signer operation
func (*CreateExternalJwtSigner) ServeHTTP ¶
func (o *CreateExternalJwtSigner) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type CreateExternalJwtSignerBadRequest ¶
type CreateExternalJwtSignerBadRequest struct { /* In: Body */ Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` }
CreateExternalJwtSignerBadRequest The supplied request contains invalid fields or could not be parsed (json and non-json bodies). The error's code, message, and cause fields can be inspected for further information
swagger:response createExternalJwtSignerBadRequest
func NewCreateExternalJwtSignerBadRequest ¶
func NewCreateExternalJwtSignerBadRequest() *CreateExternalJwtSignerBadRequest
NewCreateExternalJwtSignerBadRequest creates CreateExternalJwtSignerBadRequest with default headers values
func (*CreateExternalJwtSignerBadRequest) SetPayload ¶
func (o *CreateExternalJwtSignerBadRequest) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the create external jwt signer bad request response
func (*CreateExternalJwtSignerBadRequest) WithPayload ¶
func (o *CreateExternalJwtSignerBadRequest) WithPayload(payload *rest_model.APIErrorEnvelope) *CreateExternalJwtSignerBadRequest
WithPayload adds the payload to the create external jwt signer bad request response
func (*CreateExternalJwtSignerBadRequest) WriteResponse ¶
func (o *CreateExternalJwtSignerBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateExternalJwtSignerCreated ¶
type CreateExternalJwtSignerCreated struct { /* In: Body */ Payload *rest_model.CreateEnvelope `json:"body,omitempty"` }
CreateExternalJwtSignerCreated The create request was successful and the resource has been added at the following location
swagger:response createExternalJwtSignerCreated
func NewCreateExternalJwtSignerCreated ¶
func NewCreateExternalJwtSignerCreated() *CreateExternalJwtSignerCreated
NewCreateExternalJwtSignerCreated creates CreateExternalJwtSignerCreated with default headers values
func (*CreateExternalJwtSignerCreated) SetPayload ¶
func (o *CreateExternalJwtSignerCreated) SetPayload(payload *rest_model.CreateEnvelope)
SetPayload sets the payload to the create external jwt signer created response
func (*CreateExternalJwtSignerCreated) WithPayload ¶
func (o *CreateExternalJwtSignerCreated) WithPayload(payload *rest_model.CreateEnvelope) *CreateExternalJwtSignerCreated
WithPayload adds the payload to the create external jwt signer created response
func (*CreateExternalJwtSignerCreated) WriteResponse ¶
func (o *CreateExternalJwtSignerCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateExternalJwtSignerHandler ¶
type CreateExternalJwtSignerHandler interface {
Handle(CreateExternalJwtSignerParams, interface{}) middleware.Responder
}
CreateExternalJwtSignerHandler interface for that can handle valid create external jwt signer params
type CreateExternalJwtSignerHandlerFunc ¶
type CreateExternalJwtSignerHandlerFunc func(CreateExternalJwtSignerParams, interface{}) middleware.Responder
CreateExternalJwtSignerHandlerFunc turns a function with the right signature into a create external jwt signer handler
func (CreateExternalJwtSignerHandlerFunc) Handle ¶
func (fn CreateExternalJwtSignerHandlerFunc) Handle(params CreateExternalJwtSignerParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type CreateExternalJwtSignerParams ¶
type CreateExternalJwtSignerParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*An External JWT Signer to create Required: true In: body */ ExternalJwtSigner *rest_model.ExternalJwtSignerCreate }
CreateExternalJwtSignerParams contains all the bound params for the create external jwt signer operation typically these are obtained from a http.Request
swagger:parameters createExternalJwtSigner
func NewCreateExternalJwtSignerParams ¶
func NewCreateExternalJwtSignerParams() CreateExternalJwtSignerParams
NewCreateExternalJwtSignerParams creates a new CreateExternalJwtSignerParams object
There are no default values defined in the spec.
func (*CreateExternalJwtSignerParams) BindRequest ¶
func (o *CreateExternalJwtSignerParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewCreateExternalJwtSignerParams() beforehand.
type CreateExternalJwtSignerURL ¶
type CreateExternalJwtSignerURL struct {
// contains filtered or unexported fields
}
CreateExternalJwtSignerURL generates an URL for the create external jwt signer operation
func (*CreateExternalJwtSignerURL) Build ¶
func (o *CreateExternalJwtSignerURL) Build() (*url.URL, error)
Build a url path and query string
func (*CreateExternalJwtSignerURL) BuildFull ¶
func (o *CreateExternalJwtSignerURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*CreateExternalJwtSignerURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*CreateExternalJwtSignerURL) SetBasePath ¶
func (o *CreateExternalJwtSignerURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*CreateExternalJwtSignerURL) String ¶
func (o *CreateExternalJwtSignerURL) String() string
String returns the string representation of the path with query string
func (*CreateExternalJwtSignerURL) StringFull ¶
func (o *CreateExternalJwtSignerURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*CreateExternalJwtSignerURL) WithBasePath ¶
func (o *CreateExternalJwtSignerURL) WithBasePath(bp string) *CreateExternalJwtSignerURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type CreateExternalJwtSignerUnauthorized ¶
type CreateExternalJwtSignerUnauthorized struct { rest_model.APIErrorEnvelope `json:"body,omitempty"` }Payload *
CreateExternalJwtSignerUnauthorized The currently supplied session does not have the correct access rights to request this resource
swagger:response createExternalJwtSignerUnauthorized
func NewCreateExternalJwtSignerUnauthorized ¶
func NewCreateExternalJwtSignerUnauthorized() *CreateExternalJwtSignerUnauthorized
NewCreateExternalJwtSignerUnauthorized creates CreateExternalJwtSignerUnauthorized with default headers values
func (*CreateExternalJwtSignerUnauthorized) SetPayload ¶
func (o *CreateExternalJwtSignerUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the create external jwt signer unauthorized response
func (*CreateExternalJwtSignerUnauthorized) WithPayload ¶
func (o *CreateExternalJwtSignerUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *CreateExternalJwtSignerUnauthorized
WithPayload adds the payload to the create external jwt signer unauthorized response
func (*CreateExternalJwtSignerUnauthorized) WriteResponse ¶
func (o *CreateExternalJwtSignerUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteExternalJwtSigner ¶
type DeleteExternalJwtSigner struct { Context *middleware.Context Handler DeleteExternalJwtSignerHandler }
DeleteExternalJwtSigner swagger:route DELETE /external-jwt-signers/{id} External JWT Signer deleteExternalJwtSigner
Delete an External JWT Signer ¶
Delete an External JWT Signer by id. Requires admin access.
func NewDeleteExternalJwtSigner ¶
func NewDeleteExternalJwtSigner(ctx *middleware.Context, handler DeleteExternalJwtSignerHandler) *DeleteExternalJwtSigner
NewDeleteExternalJwtSigner creates a new http.Handler for the delete external jwt signer operation
func (*DeleteExternalJwtSigner) ServeHTTP ¶
func (o *DeleteExternalJwtSigner) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type DeleteExternalJwtSignerBadRequest ¶
type DeleteExternalJwtSignerBadRequest struct { /* In: Body */ Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` }
DeleteExternalJwtSignerBadRequest The supplied request contains invalid fields or could not be parsed (json and non-json bodies). The error's code, message, and cause fields can be inspected for further information
swagger:response deleteExternalJwtSignerBadRequest
func NewDeleteExternalJwtSignerBadRequest ¶
func NewDeleteExternalJwtSignerBadRequest() *DeleteExternalJwtSignerBadRequest
NewDeleteExternalJwtSignerBadRequest creates DeleteExternalJwtSignerBadRequest with default headers values
func (*DeleteExternalJwtSignerBadRequest) SetPayload ¶
func (o *DeleteExternalJwtSignerBadRequest) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the delete external jwt signer bad request response
func (*DeleteExternalJwtSignerBadRequest) WithPayload ¶
func (o *DeleteExternalJwtSignerBadRequest) WithPayload(payload *rest_model.APIErrorEnvelope) *DeleteExternalJwtSignerBadRequest
WithPayload adds the payload to the delete external jwt signer bad request response
func (*DeleteExternalJwtSignerBadRequest) WriteResponse ¶
func (o *DeleteExternalJwtSignerBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteExternalJwtSignerHandler ¶
type DeleteExternalJwtSignerHandler interface {
Handle(DeleteExternalJwtSignerParams, interface{}) middleware.Responder
}
DeleteExternalJwtSignerHandler interface for that can handle valid delete external jwt signer params
type DeleteExternalJwtSignerHandlerFunc ¶
type DeleteExternalJwtSignerHandlerFunc func(DeleteExternalJwtSignerParams, interface{}) middleware.Responder
DeleteExternalJwtSignerHandlerFunc turns a function with the right signature into a delete external jwt signer handler
func (DeleteExternalJwtSignerHandlerFunc) Handle ¶
func (fn DeleteExternalJwtSignerHandlerFunc) Handle(params DeleteExternalJwtSignerParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type DeleteExternalJwtSignerOK ¶
type DeleteExternalJwtSignerOK struct { /* In: Body */ Payload *rest_model.Empty `json:"body,omitempty"` }
DeleteExternalJwtSignerOK The delete request was successful and the resource has been removed
swagger:response deleteExternalJwtSignerOK
func NewDeleteExternalJwtSignerOK ¶
func NewDeleteExternalJwtSignerOK() *DeleteExternalJwtSignerOK
NewDeleteExternalJwtSignerOK creates DeleteExternalJwtSignerOK with default headers values
func (*DeleteExternalJwtSignerOK) SetPayload ¶
func (o *DeleteExternalJwtSignerOK) SetPayload(payload *rest_model.Empty)
SetPayload sets the payload to the delete external jwt signer o k response
func (*DeleteExternalJwtSignerOK) WithPayload ¶
func (o *DeleteExternalJwtSignerOK) WithPayload(payload *rest_model.Empty) *DeleteExternalJwtSignerOK
WithPayload adds the payload to the delete external jwt signer o k response
func (*DeleteExternalJwtSignerOK) WriteResponse ¶
func (o *DeleteExternalJwtSignerOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteExternalJwtSignerParams ¶
type DeleteExternalJwtSignerParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*The id of the requested resource Required: true In: path */ ID string }
DeleteExternalJwtSignerParams contains all the bound params for the delete external jwt signer operation typically these are obtained from a http.Request
swagger:parameters deleteExternalJwtSigner
func NewDeleteExternalJwtSignerParams ¶
func NewDeleteExternalJwtSignerParams() DeleteExternalJwtSignerParams
NewDeleteExternalJwtSignerParams creates a new DeleteExternalJwtSignerParams object
There are no default values defined in the spec.
func (*DeleteExternalJwtSignerParams) BindRequest ¶
func (o *DeleteExternalJwtSignerParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewDeleteExternalJwtSignerParams() beforehand.
type DeleteExternalJwtSignerURL ¶
type DeleteExternalJwtSignerURL struct { ID string // contains filtered or unexported fields }
DeleteExternalJwtSignerURL generates an URL for the delete external jwt signer operation
func (*DeleteExternalJwtSignerURL) Build ¶
func (o *DeleteExternalJwtSignerURL) Build() (*url.URL, error)
Build a url path and query string
func (*DeleteExternalJwtSignerURL) BuildFull ¶
func (o *DeleteExternalJwtSignerURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*DeleteExternalJwtSignerURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*DeleteExternalJwtSignerURL) SetBasePath ¶
func (o *DeleteExternalJwtSignerURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*DeleteExternalJwtSignerURL) String ¶
func (o *DeleteExternalJwtSignerURL) String() string
String returns the string representation of the path with query string
func (*DeleteExternalJwtSignerURL) StringFull ¶
func (o *DeleteExternalJwtSignerURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*DeleteExternalJwtSignerURL) WithBasePath ¶
func (o *DeleteExternalJwtSignerURL) WithBasePath(bp string) *DeleteExternalJwtSignerURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type DeleteExternalJwtSignerUnauthorized ¶
type DeleteExternalJwtSignerUnauthorized struct { rest_model.APIErrorEnvelope `json:"body,omitempty"` }Payload *
DeleteExternalJwtSignerUnauthorized The currently supplied session does not have the correct access rights to request this resource
swagger:response deleteExternalJwtSignerUnauthorized
func NewDeleteExternalJwtSignerUnauthorized ¶
func NewDeleteExternalJwtSignerUnauthorized() *DeleteExternalJwtSignerUnauthorized
NewDeleteExternalJwtSignerUnauthorized creates DeleteExternalJwtSignerUnauthorized with default headers values
func (*DeleteExternalJwtSignerUnauthorized) SetPayload ¶
func (o *DeleteExternalJwtSignerUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the delete external jwt signer unauthorized response
func (*DeleteExternalJwtSignerUnauthorized) WithPayload ¶
func (o *DeleteExternalJwtSignerUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *DeleteExternalJwtSignerUnauthorized
WithPayload adds the payload to the delete external jwt signer unauthorized response
func (*DeleteExternalJwtSignerUnauthorized) WriteResponse ¶
func (o *DeleteExternalJwtSignerUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DetailExternalJwtSigner ¶
type DetailExternalJwtSigner struct { Context *middleware.Context Handler DetailExternalJwtSignerHandler }
DetailExternalJwtSigner swagger:route GET /external-jwt-signers/{id} External JWT Signer detailExternalJwtSigner
Retrieves a single External JWT Signer ¶
Retrieves a single External JWT Signer by id. Requires admin access.
func NewDetailExternalJwtSigner ¶
func NewDetailExternalJwtSigner(ctx *middleware.Context, handler DetailExternalJwtSignerHandler) *DetailExternalJwtSigner
NewDetailExternalJwtSigner creates a new http.Handler for the detail external jwt signer operation
func (*DetailExternalJwtSigner) ServeHTTP ¶
func (o *DetailExternalJwtSigner) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type DetailExternalJwtSignerHandler ¶
type DetailExternalJwtSignerHandler interface {
Handle(DetailExternalJwtSignerParams, interface{}) middleware.Responder
}
DetailExternalJwtSignerHandler interface for that can handle valid detail external jwt signer params
type DetailExternalJwtSignerHandlerFunc ¶
type DetailExternalJwtSignerHandlerFunc func(DetailExternalJwtSignerParams, interface{}) middleware.Responder
DetailExternalJwtSignerHandlerFunc turns a function with the right signature into a detail external jwt signer handler
func (DetailExternalJwtSignerHandlerFunc) Handle ¶
func (fn DetailExternalJwtSignerHandlerFunc) Handle(params DetailExternalJwtSignerParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type DetailExternalJwtSignerNotFound ¶
type DetailExternalJwtSignerNotFound struct { /* In: Body */ Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` }
DetailExternalJwtSignerNotFound The requested resource does not exist
swagger:response detailExternalJwtSignerNotFound
func NewDetailExternalJwtSignerNotFound ¶
func NewDetailExternalJwtSignerNotFound() *DetailExternalJwtSignerNotFound
NewDetailExternalJwtSignerNotFound creates DetailExternalJwtSignerNotFound with default headers values
func (*DetailExternalJwtSignerNotFound) SetPayload ¶
func (o *DetailExternalJwtSignerNotFound) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the detail external jwt signer not found response
func (*DetailExternalJwtSignerNotFound) WithPayload ¶
func (o *DetailExternalJwtSignerNotFound) WithPayload(payload *rest_model.APIErrorEnvelope) *DetailExternalJwtSignerNotFound
WithPayload adds the payload to the detail external jwt signer not found response
func (*DetailExternalJwtSignerNotFound) WriteResponse ¶
func (o *DetailExternalJwtSignerNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DetailExternalJwtSignerOK ¶
type DetailExternalJwtSignerOK struct { /* In: Body */ Payload *rest_model.DetailExternalJwtSignerEnvelope `json:"body,omitempty"` }
DetailExternalJwtSignerOK A singular External JWT Signer resource
swagger:response detailExternalJwtSignerOK
func NewDetailExternalJwtSignerOK ¶
func NewDetailExternalJwtSignerOK() *DetailExternalJwtSignerOK
NewDetailExternalJwtSignerOK creates DetailExternalJwtSignerOK with default headers values
func (*DetailExternalJwtSignerOK) SetPayload ¶
func (o *DetailExternalJwtSignerOK) SetPayload(payload *rest_model.DetailExternalJwtSignerEnvelope)
SetPayload sets the payload to the detail external jwt signer o k response
func (*DetailExternalJwtSignerOK) WithPayload ¶
func (o *DetailExternalJwtSignerOK) WithPayload(payload *rest_model.DetailExternalJwtSignerEnvelope) *DetailExternalJwtSignerOK
WithPayload adds the payload to the detail external jwt signer o k response
func (*DetailExternalJwtSignerOK) WriteResponse ¶
func (o *DetailExternalJwtSignerOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DetailExternalJwtSignerParams ¶
type DetailExternalJwtSignerParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*The id of the requested resource Required: true In: path */ ID string }
DetailExternalJwtSignerParams contains all the bound params for the detail external jwt signer operation typically these are obtained from a http.Request
swagger:parameters detailExternalJwtSigner
func NewDetailExternalJwtSignerParams ¶
func NewDetailExternalJwtSignerParams() DetailExternalJwtSignerParams
NewDetailExternalJwtSignerParams creates a new DetailExternalJwtSignerParams object
There are no default values defined in the spec.
func (*DetailExternalJwtSignerParams) BindRequest ¶
func (o *DetailExternalJwtSignerParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewDetailExternalJwtSignerParams() beforehand.
type DetailExternalJwtSignerURL ¶
type DetailExternalJwtSignerURL struct { ID string // contains filtered or unexported fields }
DetailExternalJwtSignerURL generates an URL for the detail external jwt signer operation
func (*DetailExternalJwtSignerURL) Build ¶
func (o *DetailExternalJwtSignerURL) Build() (*url.URL, error)
Build a url path and query string
func (*DetailExternalJwtSignerURL) BuildFull ¶
func (o *DetailExternalJwtSignerURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*DetailExternalJwtSignerURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*DetailExternalJwtSignerURL) SetBasePath ¶
func (o *DetailExternalJwtSignerURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*DetailExternalJwtSignerURL) String ¶
func (o *DetailExternalJwtSignerURL) String() string
String returns the string representation of the path with query string
func (*DetailExternalJwtSignerURL) StringFull ¶
func (o *DetailExternalJwtSignerURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*DetailExternalJwtSignerURL) WithBasePath ¶
func (o *DetailExternalJwtSignerURL) WithBasePath(bp string) *DetailExternalJwtSignerURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type DetailExternalJwtSignerUnauthorized ¶
type DetailExternalJwtSignerUnauthorized struct { rest_model.APIErrorEnvelope `json:"body,omitempty"` }Payload *
DetailExternalJwtSignerUnauthorized The currently supplied session does not have the correct access rights to request this resource
swagger:response detailExternalJwtSignerUnauthorized
func NewDetailExternalJwtSignerUnauthorized ¶
func NewDetailExternalJwtSignerUnauthorized() *DetailExternalJwtSignerUnauthorized
NewDetailExternalJwtSignerUnauthorized creates DetailExternalJwtSignerUnauthorized with default headers values
func (*DetailExternalJwtSignerUnauthorized) SetPayload ¶
func (o *DetailExternalJwtSignerUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the detail external jwt signer unauthorized response
func (*DetailExternalJwtSignerUnauthorized) WithPayload ¶
func (o *DetailExternalJwtSignerUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *DetailExternalJwtSignerUnauthorized
WithPayload adds the payload to the detail external jwt signer unauthorized response
func (*DetailExternalJwtSignerUnauthorized) WriteResponse ¶
func (o *DetailExternalJwtSignerUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListExternalJwtSigners ¶
type ListExternalJwtSigners struct { Context *middleware.Context Handler ListExternalJwtSignersHandler }
ListExternalJwtSigners swagger:route GET /external-jwt-signers External JWT Signer listExternalJwtSigners
List External JWT Signers ¶
Retrieves a list of external JWT signers for authentication
func NewListExternalJwtSigners ¶
func NewListExternalJwtSigners(ctx *middleware.Context, handler ListExternalJwtSignersHandler) *ListExternalJwtSigners
NewListExternalJwtSigners creates a new http.Handler for the list external jwt signers operation
func (*ListExternalJwtSigners) ServeHTTP ¶
func (o *ListExternalJwtSigners) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type ListExternalJwtSignersBadRequest ¶
type ListExternalJwtSignersBadRequest struct { /* In: Body */ Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` }
ListExternalJwtSignersBadRequest The supplied request contains invalid fields or could not be parsed (json and non-json bodies). The error's code, message, and cause fields can be inspected for further information
swagger:response listExternalJwtSignersBadRequest
func NewListExternalJwtSignersBadRequest ¶
func NewListExternalJwtSignersBadRequest() *ListExternalJwtSignersBadRequest
NewListExternalJwtSignersBadRequest creates ListExternalJwtSignersBadRequest with default headers values
func (*ListExternalJwtSignersBadRequest) SetPayload ¶
func (o *ListExternalJwtSignersBadRequest) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the list external jwt signers bad request response
func (*ListExternalJwtSignersBadRequest) WithPayload ¶
func (o *ListExternalJwtSignersBadRequest) WithPayload(payload *rest_model.APIErrorEnvelope) *ListExternalJwtSignersBadRequest
WithPayload adds the payload to the list external jwt signers bad request response
func (*ListExternalJwtSignersBadRequest) WriteResponse ¶
func (o *ListExternalJwtSignersBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListExternalJwtSignersHandler ¶
type ListExternalJwtSignersHandler interface {
Handle(ListExternalJwtSignersParams, interface{}) middleware.Responder
}
ListExternalJwtSignersHandler interface for that can handle valid list external jwt signers params
type ListExternalJwtSignersHandlerFunc ¶
type ListExternalJwtSignersHandlerFunc func(ListExternalJwtSignersParams, interface{}) middleware.Responder
ListExternalJwtSignersHandlerFunc turns a function with the right signature into a list external jwt signers handler
func (ListExternalJwtSignersHandlerFunc) Handle ¶
func (fn ListExternalJwtSignersHandlerFunc) Handle(params ListExternalJwtSignersParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type ListExternalJwtSignersOK ¶
type ListExternalJwtSignersOK struct { /* In: Body */ Payload *rest_model.ListExternalJwtSignersEnvelope `json:"body,omitempty"` }
ListExternalJwtSignersOK A list of External JWT Signers
swagger:response listExternalJwtSignersOK
func NewListExternalJwtSignersOK ¶
func NewListExternalJwtSignersOK() *ListExternalJwtSignersOK
NewListExternalJwtSignersOK creates ListExternalJwtSignersOK with default headers values
func (*ListExternalJwtSignersOK) SetPayload ¶
func (o *ListExternalJwtSignersOK) SetPayload(payload *rest_model.ListExternalJwtSignersEnvelope)
SetPayload sets the payload to the list external jwt signers o k response
func (*ListExternalJwtSignersOK) WithPayload ¶
func (o *ListExternalJwtSignersOK) WithPayload(payload *rest_model.ListExternalJwtSignersEnvelope) *ListExternalJwtSignersOK
WithPayload adds the payload to the list external jwt signers o k response
func (*ListExternalJwtSignersOK) WriteResponse ¶
func (o *ListExternalJwtSignersOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListExternalJwtSignersParams ¶
type ListExternalJwtSignersParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* In: query */ Filter *string /* In: query */ Limit *int64 /* In: query */ Offset *int64 }
ListExternalJwtSignersParams contains all the bound params for the list external jwt signers operation typically these are obtained from a http.Request
swagger:parameters listExternalJwtSigners
func NewListExternalJwtSignersParams ¶
func NewListExternalJwtSignersParams() ListExternalJwtSignersParams
NewListExternalJwtSignersParams creates a new ListExternalJwtSignersParams object
There are no default values defined in the spec.
func (*ListExternalJwtSignersParams) BindRequest ¶
func (o *ListExternalJwtSignersParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewListExternalJwtSignersParams() beforehand.
type ListExternalJwtSignersURL ¶
type ListExternalJwtSignersURL struct { Filter *string Limit *int64 Offset *int64 // contains filtered or unexported fields }
ListExternalJwtSignersURL generates an URL for the list external jwt signers operation
func (*ListExternalJwtSignersURL) Build ¶
func (o *ListExternalJwtSignersURL) Build() (*url.URL, error)
Build a url path and query string
func (*ListExternalJwtSignersURL) BuildFull ¶
func (o *ListExternalJwtSignersURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*ListExternalJwtSignersURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*ListExternalJwtSignersURL) SetBasePath ¶
func (o *ListExternalJwtSignersURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*ListExternalJwtSignersURL) String ¶
func (o *ListExternalJwtSignersURL) String() string
String returns the string representation of the path with query string
func (*ListExternalJwtSignersURL) StringFull ¶
func (o *ListExternalJwtSignersURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*ListExternalJwtSignersURL) WithBasePath ¶
func (o *ListExternalJwtSignersURL) WithBasePath(bp string) *ListExternalJwtSignersURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type ListExternalJwtSignersUnauthorized ¶
type ListExternalJwtSignersUnauthorized struct { rest_model.APIErrorEnvelope `json:"body,omitempty"` }Payload *
ListExternalJwtSignersUnauthorized The currently supplied session does not have the correct access rights to request this resource
swagger:response listExternalJwtSignersUnauthorized
func NewListExternalJwtSignersUnauthorized ¶
func NewListExternalJwtSignersUnauthorized() *ListExternalJwtSignersUnauthorized
NewListExternalJwtSignersUnauthorized creates ListExternalJwtSignersUnauthorized with default headers values
func (*ListExternalJwtSignersUnauthorized) SetPayload ¶
func (o *ListExternalJwtSignersUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the list external jwt signers unauthorized response
func (*ListExternalJwtSignersUnauthorized) WithPayload ¶
func (o *ListExternalJwtSignersUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *ListExternalJwtSignersUnauthorized
WithPayload adds the payload to the list external jwt signers unauthorized response
func (*ListExternalJwtSignersUnauthorized) WriteResponse ¶
func (o *ListExternalJwtSignersUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PatchExternalJwtSigner ¶
type PatchExternalJwtSigner struct { Context *middleware.Context Handler PatchExternalJwtSignerHandler }
PatchExternalJwtSigner swagger:route PATCH /external-jwt-signers/{id} External JWT Signer patchExternalJwtSigner
Update the supplied fields on an External JWT Signer ¶
Update only the supplied fields on an External JWT Signer by id. Requires admin access.
func NewPatchExternalJwtSigner ¶
func NewPatchExternalJwtSigner(ctx *middleware.Context, handler PatchExternalJwtSignerHandler) *PatchExternalJwtSigner
NewPatchExternalJwtSigner creates a new http.Handler for the patch external jwt signer operation
func (*PatchExternalJwtSigner) ServeHTTP ¶
func (o *PatchExternalJwtSigner) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type PatchExternalJwtSignerBadRequest ¶
type PatchExternalJwtSignerBadRequest struct { /* In: Body */ Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` }
PatchExternalJwtSignerBadRequest The supplied request contains invalid fields or could not be parsed (json and non-json bodies). The error's code, message, and cause fields can be inspected for further information
swagger:response patchExternalJwtSignerBadRequest
func NewPatchExternalJwtSignerBadRequest ¶
func NewPatchExternalJwtSignerBadRequest() *PatchExternalJwtSignerBadRequest
NewPatchExternalJwtSignerBadRequest creates PatchExternalJwtSignerBadRequest with default headers values
func (*PatchExternalJwtSignerBadRequest) SetPayload ¶
func (o *PatchExternalJwtSignerBadRequest) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the patch external jwt signer bad request response
func (*PatchExternalJwtSignerBadRequest) WithPayload ¶
func (o *PatchExternalJwtSignerBadRequest) WithPayload(payload *rest_model.APIErrorEnvelope) *PatchExternalJwtSignerBadRequest
WithPayload adds the payload to the patch external jwt signer bad request response
func (*PatchExternalJwtSignerBadRequest) WriteResponse ¶
func (o *PatchExternalJwtSignerBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PatchExternalJwtSignerHandler ¶
type PatchExternalJwtSignerHandler interface {
Handle(PatchExternalJwtSignerParams, interface{}) middleware.Responder
}
PatchExternalJwtSignerHandler interface for that can handle valid patch external jwt signer params
type PatchExternalJwtSignerHandlerFunc ¶
type PatchExternalJwtSignerHandlerFunc func(PatchExternalJwtSignerParams, interface{}) middleware.Responder
PatchExternalJwtSignerHandlerFunc turns a function with the right signature into a patch external jwt signer handler
func (PatchExternalJwtSignerHandlerFunc) Handle ¶
func (fn PatchExternalJwtSignerHandlerFunc) Handle(params PatchExternalJwtSignerParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type PatchExternalJwtSignerNotFound ¶
type PatchExternalJwtSignerNotFound struct { /* In: Body */ Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` }
PatchExternalJwtSignerNotFound The requested resource does not exist
swagger:response patchExternalJwtSignerNotFound
func NewPatchExternalJwtSignerNotFound ¶
func NewPatchExternalJwtSignerNotFound() *PatchExternalJwtSignerNotFound
NewPatchExternalJwtSignerNotFound creates PatchExternalJwtSignerNotFound with default headers values
func (*PatchExternalJwtSignerNotFound) SetPayload ¶
func (o *PatchExternalJwtSignerNotFound) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the patch external jwt signer not found response
func (*PatchExternalJwtSignerNotFound) WithPayload ¶
func (o *PatchExternalJwtSignerNotFound) WithPayload(payload *rest_model.APIErrorEnvelope) *PatchExternalJwtSignerNotFound
WithPayload adds the payload to the patch external jwt signer not found response
func (*PatchExternalJwtSignerNotFound) WriteResponse ¶
func (o *PatchExternalJwtSignerNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PatchExternalJwtSignerOK ¶
type PatchExternalJwtSignerOK struct { /* In: Body */ Payload *rest_model.Empty `json:"body,omitempty"` }
PatchExternalJwtSignerOK The patch request was successful and the resource has been altered
swagger:response patchExternalJwtSignerOK
func NewPatchExternalJwtSignerOK ¶
func NewPatchExternalJwtSignerOK() *PatchExternalJwtSignerOK
NewPatchExternalJwtSignerOK creates PatchExternalJwtSignerOK with default headers values
func (*PatchExternalJwtSignerOK) SetPayload ¶
func (o *PatchExternalJwtSignerOK) SetPayload(payload *rest_model.Empty)
SetPayload sets the payload to the patch external jwt signer o k response
func (*PatchExternalJwtSignerOK) WithPayload ¶
func (o *PatchExternalJwtSignerOK) WithPayload(payload *rest_model.Empty) *PatchExternalJwtSignerOK
WithPayload adds the payload to the patch external jwt signer o k response
func (*PatchExternalJwtSignerOK) WriteResponse ¶
func (o *PatchExternalJwtSignerOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PatchExternalJwtSignerParams ¶
type PatchExternalJwtSignerParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*An External JWT Signer patch object Required: true In: body */ ExternalJwtSigner *rest_model.ExternalJwtSignerPatch /*The id of the requested resource Required: true In: path */ ID string }
PatchExternalJwtSignerParams contains all the bound params for the patch external jwt signer operation typically these are obtained from a http.Request
swagger:parameters patchExternalJwtSigner
func NewPatchExternalJwtSignerParams ¶
func NewPatchExternalJwtSignerParams() PatchExternalJwtSignerParams
NewPatchExternalJwtSignerParams creates a new PatchExternalJwtSignerParams object
There are no default values defined in the spec.
func (*PatchExternalJwtSignerParams) BindRequest ¶
func (o *PatchExternalJwtSignerParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewPatchExternalJwtSignerParams() beforehand.
type PatchExternalJwtSignerURL ¶
type PatchExternalJwtSignerURL struct { ID string // contains filtered or unexported fields }
PatchExternalJwtSignerURL generates an URL for the patch external jwt signer operation
func (*PatchExternalJwtSignerURL) Build ¶
func (o *PatchExternalJwtSignerURL) Build() (*url.URL, error)
Build a url path and query string
func (*PatchExternalJwtSignerURL) BuildFull ¶
func (o *PatchExternalJwtSignerURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*PatchExternalJwtSignerURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*PatchExternalJwtSignerURL) SetBasePath ¶
func (o *PatchExternalJwtSignerURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*PatchExternalJwtSignerURL) String ¶
func (o *PatchExternalJwtSignerURL) String() string
String returns the string representation of the path with query string
func (*PatchExternalJwtSignerURL) StringFull ¶
func (o *PatchExternalJwtSignerURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*PatchExternalJwtSignerURL) WithBasePath ¶
func (o *PatchExternalJwtSignerURL) WithBasePath(bp string) *PatchExternalJwtSignerURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type PatchExternalJwtSignerUnauthorized ¶
type PatchExternalJwtSignerUnauthorized struct { rest_model.APIErrorEnvelope `json:"body,omitempty"` }Payload *
PatchExternalJwtSignerUnauthorized The currently supplied session does not have the correct access rights to request this resource
swagger:response patchExternalJwtSignerUnauthorized
func NewPatchExternalJwtSignerUnauthorized ¶
func NewPatchExternalJwtSignerUnauthorized() *PatchExternalJwtSignerUnauthorized
NewPatchExternalJwtSignerUnauthorized creates PatchExternalJwtSignerUnauthorized with default headers values
func (*PatchExternalJwtSignerUnauthorized) SetPayload ¶
func (o *PatchExternalJwtSignerUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the patch external jwt signer unauthorized response
func (*PatchExternalJwtSignerUnauthorized) WithPayload ¶
func (o *PatchExternalJwtSignerUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *PatchExternalJwtSignerUnauthorized
WithPayload adds the payload to the patch external jwt signer unauthorized response
func (*PatchExternalJwtSignerUnauthorized) WriteResponse ¶
func (o *PatchExternalJwtSignerUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateExternalJwtSigner ¶
type UpdateExternalJwtSigner struct { Context *middleware.Context Handler UpdateExternalJwtSignerHandler }
UpdateExternalJwtSigner swagger:route PUT /external-jwt-signers/{id} External JWT Signer updateExternalJwtSigner
Update all fields on an External JWT Signer ¶
Update all fields on an External JWT Signer by id. Requires admin access.
func NewUpdateExternalJwtSigner ¶
func NewUpdateExternalJwtSigner(ctx *middleware.Context, handler UpdateExternalJwtSignerHandler) *UpdateExternalJwtSigner
NewUpdateExternalJwtSigner creates a new http.Handler for the update external jwt signer operation
func (*UpdateExternalJwtSigner) ServeHTTP ¶
func (o *UpdateExternalJwtSigner) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type UpdateExternalJwtSignerBadRequest ¶
type UpdateExternalJwtSignerBadRequest struct { /* In: Body */ Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` }
UpdateExternalJwtSignerBadRequest The supplied request contains invalid fields or could not be parsed (json and non-json bodies). The error's code, message, and cause fields can be inspected for further information
swagger:response updateExternalJwtSignerBadRequest
func NewUpdateExternalJwtSignerBadRequest ¶
func NewUpdateExternalJwtSignerBadRequest() *UpdateExternalJwtSignerBadRequest
NewUpdateExternalJwtSignerBadRequest creates UpdateExternalJwtSignerBadRequest with default headers values
func (*UpdateExternalJwtSignerBadRequest) SetPayload ¶
func (o *UpdateExternalJwtSignerBadRequest) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the update external jwt signer bad request response
func (*UpdateExternalJwtSignerBadRequest) WithPayload ¶
func (o *UpdateExternalJwtSignerBadRequest) WithPayload(payload *rest_model.APIErrorEnvelope) *UpdateExternalJwtSignerBadRequest
WithPayload adds the payload to the update external jwt signer bad request response
func (*UpdateExternalJwtSignerBadRequest) WriteResponse ¶
func (o *UpdateExternalJwtSignerBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateExternalJwtSignerHandler ¶
type UpdateExternalJwtSignerHandler interface {
Handle(UpdateExternalJwtSignerParams, interface{}) middleware.Responder
}
UpdateExternalJwtSignerHandler interface for that can handle valid update external jwt signer params
type UpdateExternalJwtSignerHandlerFunc ¶
type UpdateExternalJwtSignerHandlerFunc func(UpdateExternalJwtSignerParams, interface{}) middleware.Responder
UpdateExternalJwtSignerHandlerFunc turns a function with the right signature into a update external jwt signer handler
func (UpdateExternalJwtSignerHandlerFunc) Handle ¶
func (fn UpdateExternalJwtSignerHandlerFunc) Handle(params UpdateExternalJwtSignerParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type UpdateExternalJwtSignerNotFound ¶
type UpdateExternalJwtSignerNotFound struct { /* In: Body */ Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` }
UpdateExternalJwtSignerNotFound The requested resource does not exist
swagger:response updateExternalJwtSignerNotFound
func NewUpdateExternalJwtSignerNotFound ¶
func NewUpdateExternalJwtSignerNotFound() *UpdateExternalJwtSignerNotFound
NewUpdateExternalJwtSignerNotFound creates UpdateExternalJwtSignerNotFound with default headers values
func (*UpdateExternalJwtSignerNotFound) SetPayload ¶
func (o *UpdateExternalJwtSignerNotFound) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the update external jwt signer not found response
func (*UpdateExternalJwtSignerNotFound) WithPayload ¶
func (o *UpdateExternalJwtSignerNotFound) WithPayload(payload *rest_model.APIErrorEnvelope) *UpdateExternalJwtSignerNotFound
WithPayload adds the payload to the update external jwt signer not found response
func (*UpdateExternalJwtSignerNotFound) WriteResponse ¶
func (o *UpdateExternalJwtSignerNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateExternalJwtSignerOK ¶
type UpdateExternalJwtSignerOK struct { /* In: Body */ Payload *rest_model.Empty `json:"body,omitempty"` }
UpdateExternalJwtSignerOK The update request was successful and the resource has been altered
swagger:response updateExternalJwtSignerOK
func NewUpdateExternalJwtSignerOK ¶
func NewUpdateExternalJwtSignerOK() *UpdateExternalJwtSignerOK
NewUpdateExternalJwtSignerOK creates UpdateExternalJwtSignerOK with default headers values
func (*UpdateExternalJwtSignerOK) SetPayload ¶
func (o *UpdateExternalJwtSignerOK) SetPayload(payload *rest_model.Empty)
SetPayload sets the payload to the update external jwt signer o k response
func (*UpdateExternalJwtSignerOK) WithPayload ¶
func (o *UpdateExternalJwtSignerOK) WithPayload(payload *rest_model.Empty) *UpdateExternalJwtSignerOK
WithPayload adds the payload to the update external jwt signer o k response
func (*UpdateExternalJwtSignerOK) WriteResponse ¶
func (o *UpdateExternalJwtSignerOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateExternalJwtSignerParams ¶
type UpdateExternalJwtSignerParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*An External JWT Signer update object Required: true In: body */ ExternalJwtSigner *rest_model.ExternalJwtSignerUpdate /*The id of the requested resource Required: true In: path */ ID string }
UpdateExternalJwtSignerParams contains all the bound params for the update external jwt signer operation typically these are obtained from a http.Request
swagger:parameters updateExternalJwtSigner
func NewUpdateExternalJwtSignerParams ¶
func NewUpdateExternalJwtSignerParams() UpdateExternalJwtSignerParams
NewUpdateExternalJwtSignerParams creates a new UpdateExternalJwtSignerParams object
There are no default values defined in the spec.
func (*UpdateExternalJwtSignerParams) BindRequest ¶
func (o *UpdateExternalJwtSignerParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewUpdateExternalJwtSignerParams() beforehand.
type UpdateExternalJwtSignerURL ¶
type UpdateExternalJwtSignerURL struct { ID string // contains filtered or unexported fields }
UpdateExternalJwtSignerURL generates an URL for the update external jwt signer operation
func (*UpdateExternalJwtSignerURL) Build ¶
func (o *UpdateExternalJwtSignerURL) Build() (*url.URL, error)
Build a url path and query string
func (*UpdateExternalJwtSignerURL) BuildFull ¶
func (o *UpdateExternalJwtSignerURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*UpdateExternalJwtSignerURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*UpdateExternalJwtSignerURL) SetBasePath ¶
func (o *UpdateExternalJwtSignerURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*UpdateExternalJwtSignerURL) String ¶
func (o *UpdateExternalJwtSignerURL) String() string
String returns the string representation of the path with query string
func (*UpdateExternalJwtSignerURL) StringFull ¶
func (o *UpdateExternalJwtSignerURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*UpdateExternalJwtSignerURL) WithBasePath ¶
func (o *UpdateExternalJwtSignerURL) WithBasePath(bp string) *UpdateExternalJwtSignerURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type UpdateExternalJwtSignerUnauthorized ¶
type UpdateExternalJwtSignerUnauthorized struct { rest_model.APIErrorEnvelope `json:"body,omitempty"` }Payload *
UpdateExternalJwtSignerUnauthorized The currently supplied session does not have the correct access rights to request this resource
swagger:response updateExternalJwtSignerUnauthorized
func NewUpdateExternalJwtSignerUnauthorized ¶
func NewUpdateExternalJwtSignerUnauthorized() *UpdateExternalJwtSignerUnauthorized
NewUpdateExternalJwtSignerUnauthorized creates UpdateExternalJwtSignerUnauthorized with default headers values
func (*UpdateExternalJwtSignerUnauthorized) SetPayload ¶
func (o *UpdateExternalJwtSignerUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the update external jwt signer unauthorized response
func (*UpdateExternalJwtSignerUnauthorized) WithPayload ¶
func (o *UpdateExternalJwtSignerUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *UpdateExternalJwtSignerUnauthorized
WithPayload adds the payload to the update external jwt signer unauthorized response
func (*UpdateExternalJwtSignerUnauthorized) WriteResponse ¶
func (o *UpdateExternalJwtSignerUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
Source Files ¶
- create_external_jwt_signer.go
- create_external_jwt_signer_parameters.go
- create_external_jwt_signer_responses.go
- create_external_jwt_signer_urlbuilder.go
- delete_external_jwt_signer.go
- delete_external_jwt_signer_parameters.go
- delete_external_jwt_signer_responses.go
- delete_external_jwt_signer_urlbuilder.go
- detail_external_jwt_signer.go
- detail_external_jwt_signer_parameters.go
- detail_external_jwt_signer_responses.go
- detail_external_jwt_signer_urlbuilder.go
- list_external_jwt_signers.go
- list_external_jwt_signers_parameters.go
- list_external_jwt_signers_responses.go
- list_external_jwt_signers_urlbuilder.go
- patch_external_jwt_signer.go
- patch_external_jwt_signer_parameters.go
- patch_external_jwt_signer_responses.go
- patch_external_jwt_signer_urlbuilder.go
- update_external_jwt_signer.go
- update_external_jwt_signer_parameters.go
- update_external_jwt_signer_responses.go
- update_external_jwt_signer_urlbuilder.go