Documentation
¶
Index ¶
- Constants
- type CreateClientCertificate
- type CreateClientCertificateBadRequest
- type CreateClientCertificateCreated
- func (o *CreateClientCertificateCreated) SetPayload(payload *adminmessages.ClientCertificate)
- func (o *CreateClientCertificateCreated) WithPayload(payload *adminmessages.ClientCertificate) *CreateClientCertificateCreated
- func (o *CreateClientCertificateCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type CreateClientCertificateForbidden
- type CreateClientCertificateHandler
- type CreateClientCertificateHandlerFunc
- type CreateClientCertificateInternalServerError
- type CreateClientCertificateParams
- type CreateClientCertificateURL
- func (o *CreateClientCertificateURL) Build() (*url.URL, error)
- func (o *CreateClientCertificateURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *CreateClientCertificateURL) Must(u *url.URL, err error) *url.URL
- func (o *CreateClientCertificateURL) SetBasePath(bp string)
- func (o *CreateClientCertificateURL) String() string
- func (o *CreateClientCertificateURL) StringFull(scheme, host string) string
- func (o *CreateClientCertificateURL) WithBasePath(bp string) *CreateClientCertificateURL
- type CreateClientCertificateUnauthorized
- type GetClientCertificate
- type GetClientCertificateBadRequest
- type GetClientCertificateHandler
- type GetClientCertificateHandlerFunc
- type GetClientCertificateInternalServerError
- type GetClientCertificateNotFound
- type GetClientCertificateOK
- type GetClientCertificateParams
- type GetClientCertificateURL
- func (o *GetClientCertificateURL) Build() (*url.URL, error)
- func (o *GetClientCertificateURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetClientCertificateURL) Must(u *url.URL, err error) *url.URL
- func (o *GetClientCertificateURL) SetBasePath(bp string)
- func (o *GetClientCertificateURL) String() string
- func (o *GetClientCertificateURL) StringFull(scheme, host string) string
- func (o *GetClientCertificateURL) WithBasePath(bp string) *GetClientCertificateURL
- type GetClientCertificateUnauthorized
- type IndexClientCertificates
- type IndexClientCertificatesBadRequest
- type IndexClientCertificatesHandler
- type IndexClientCertificatesHandlerFunc
- type IndexClientCertificatesInternalServerError
- type IndexClientCertificatesNotFound
- type IndexClientCertificatesOK
- func (o *IndexClientCertificatesOK) SetContentRange(contentRange string)
- func (o *IndexClientCertificatesOK) SetPayload(payload adminmessages.ClientCertificates)
- func (o *IndexClientCertificatesOK) WithContentRange(contentRange string) *IndexClientCertificatesOK
- func (o *IndexClientCertificatesOK) WithPayload(payload adminmessages.ClientCertificates) *IndexClientCertificatesOK
- func (o *IndexClientCertificatesOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type IndexClientCertificatesParams
- type IndexClientCertificatesURL
- func (o *IndexClientCertificatesURL) Build() (*url.URL, error)
- func (o *IndexClientCertificatesURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *IndexClientCertificatesURL) Must(u *url.URL, err error) *url.URL
- func (o *IndexClientCertificatesURL) SetBasePath(bp string)
- func (o *IndexClientCertificatesURL) String() string
- func (o *IndexClientCertificatesURL) StringFull(scheme, host string) string
- func (o *IndexClientCertificatesURL) WithBasePath(bp string) *IndexClientCertificatesURL
- type IndexClientCertificatesUnauthorized
- type RemoveClientCertificate
- type RemoveClientCertificateBadRequest
- type RemoveClientCertificateForbidden
- type RemoveClientCertificateHandler
- type RemoveClientCertificateHandlerFunc
- type RemoveClientCertificateInternalServerError
- type RemoveClientCertificateOK
- func (o *RemoveClientCertificateOK) SetPayload(payload *adminmessages.ClientCertificate)
- func (o *RemoveClientCertificateOK) WithPayload(payload *adminmessages.ClientCertificate) *RemoveClientCertificateOK
- func (o *RemoveClientCertificateOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type RemoveClientCertificateParams
- type RemoveClientCertificateURL
- func (o *RemoveClientCertificateURL) Build() (*url.URL, error)
- func (o *RemoveClientCertificateURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *RemoveClientCertificateURL) Must(u *url.URL, err error) *url.URL
- func (o *RemoveClientCertificateURL) SetBasePath(bp string)
- func (o *RemoveClientCertificateURL) String() string
- func (o *RemoveClientCertificateURL) StringFull(scheme, host string) string
- func (o *RemoveClientCertificateURL) WithBasePath(bp string) *RemoveClientCertificateURL
- type RemoveClientCertificateUnauthorized
- type UpdateClientCertificate
- type UpdateClientCertificateBadRequest
- type UpdateClientCertificateForbidden
- type UpdateClientCertificateHandler
- type UpdateClientCertificateHandlerFunc
- type UpdateClientCertificateInternalServerError
- type UpdateClientCertificateOK
- func (o *UpdateClientCertificateOK) SetPayload(payload *adminmessages.ClientCertificate)
- func (o *UpdateClientCertificateOK) WithPayload(payload *adminmessages.ClientCertificate) *UpdateClientCertificateOK
- func (o *UpdateClientCertificateOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UpdateClientCertificateParams
- type UpdateClientCertificateURL
- func (o *UpdateClientCertificateURL) Build() (*url.URL, error)
- func (o *UpdateClientCertificateURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *UpdateClientCertificateURL) Must(u *url.URL, err error) *url.URL
- func (o *UpdateClientCertificateURL) SetBasePath(bp string)
- func (o *UpdateClientCertificateURL) String() string
- func (o *UpdateClientCertificateURL) StringFull(scheme, host string) string
- func (o *UpdateClientCertificateURL) WithBasePath(bp string) *UpdateClientCertificateURL
- type UpdateClientCertificateUnauthorized
Constants ¶
const CreateClientCertificateBadRequestCode int = 400
CreateClientCertificateBadRequestCode is the HTTP code returned for type CreateClientCertificateBadRequest
const CreateClientCertificateCreatedCode int = 201
CreateClientCertificateCreatedCode is the HTTP code returned for type CreateClientCertificateCreated
const CreateClientCertificateForbiddenCode int = 403
CreateClientCertificateForbiddenCode is the HTTP code returned for type CreateClientCertificateForbidden
const CreateClientCertificateInternalServerErrorCode int = 500
CreateClientCertificateInternalServerErrorCode is the HTTP code returned for type CreateClientCertificateInternalServerError
CreateClientCertificateUnauthorizedCode is the HTTP code returned for type CreateClientCertificateUnauthorized
const GetClientCertificateBadRequestCode int = 400
GetClientCertificateBadRequestCode is the HTTP code returned for type GetClientCertificateBadRequest
const GetClientCertificateInternalServerErrorCode int = 500
GetClientCertificateInternalServerErrorCode is the HTTP code returned for type GetClientCertificateInternalServerError
const GetClientCertificateNotFoundCode int = 404
GetClientCertificateNotFoundCode is the HTTP code returned for type GetClientCertificateNotFound
const GetClientCertificateOKCode int = 200
GetClientCertificateOKCode is the HTTP code returned for type GetClientCertificateOK
GetClientCertificateUnauthorizedCode is the HTTP code returned for type GetClientCertificateUnauthorized
const IndexClientCertificatesBadRequestCode int = 400
IndexClientCertificatesBadRequestCode is the HTTP code returned for type IndexClientCertificatesBadRequest
const IndexClientCertificatesInternalServerErrorCode int = 500
IndexClientCertificatesInternalServerErrorCode is the HTTP code returned for type IndexClientCertificatesInternalServerError
const IndexClientCertificatesNotFoundCode int = 404
IndexClientCertificatesNotFoundCode is the HTTP code returned for type IndexClientCertificatesNotFound
const IndexClientCertificatesOKCode int = 200
IndexClientCertificatesOKCode is the HTTP code returned for type IndexClientCertificatesOK
IndexClientCertificatesUnauthorizedCode is the HTTP code returned for type IndexClientCertificatesUnauthorized
const RemoveClientCertificateBadRequestCode int = 400
RemoveClientCertificateBadRequestCode is the HTTP code returned for type RemoveClientCertificateBadRequest
const RemoveClientCertificateForbiddenCode int = 403
RemoveClientCertificateForbiddenCode is the HTTP code returned for type RemoveClientCertificateForbidden
const RemoveClientCertificateInternalServerErrorCode int = 500
RemoveClientCertificateInternalServerErrorCode is the HTTP code returned for type RemoveClientCertificateInternalServerError
const RemoveClientCertificateOKCode int = 200
RemoveClientCertificateOKCode is the HTTP code returned for type RemoveClientCertificateOK
RemoveClientCertificateUnauthorizedCode is the HTTP code returned for type RemoveClientCertificateUnauthorized
const UpdateClientCertificateBadRequestCode int = 400
UpdateClientCertificateBadRequestCode is the HTTP code returned for type UpdateClientCertificateBadRequest
const UpdateClientCertificateForbiddenCode int = 403
UpdateClientCertificateForbiddenCode is the HTTP code returned for type UpdateClientCertificateForbidden
const UpdateClientCertificateInternalServerErrorCode int = 500
UpdateClientCertificateInternalServerErrorCode is the HTTP code returned for type UpdateClientCertificateInternalServerError
const UpdateClientCertificateOKCode int = 200
UpdateClientCertificateOKCode is the HTTP code returned for type UpdateClientCertificateOK
UpdateClientCertificateUnauthorizedCode is the HTTP code returned for type UpdateClientCertificateUnauthorized
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateClientCertificate ¶
type CreateClientCertificate struct { Context *middleware.Context Handler CreateClientCertificateHandler }
CreateClientCertificate swagger:route POST /client-certificates Client certificates createClientCertificate
create a client cert
This endpoint creates a Client Certificate record and returns the created record in the `201` response. Do not use this endpoint directly as it is meant to be used with the Admin UI exclusively.
func NewCreateClientCertificate ¶
func NewCreateClientCertificate(ctx *middleware.Context, handler CreateClientCertificateHandler) *CreateClientCertificate
NewCreateClientCertificate creates a new http.Handler for the create client certificate operation
func (*CreateClientCertificate) ServeHTTP ¶
func (o *CreateClientCertificate) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type CreateClientCertificateBadRequest ¶
type CreateClientCertificateBadRequest struct { }
CreateClientCertificateBadRequest Invalid Request
swagger:response createClientCertificateBadRequest
func NewCreateClientCertificateBadRequest ¶
func NewCreateClientCertificateBadRequest() *CreateClientCertificateBadRequest
NewCreateClientCertificateBadRequest creates CreateClientCertificateBadRequest with default headers values
func (*CreateClientCertificateBadRequest) WriteResponse ¶
func (o *CreateClientCertificateBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateClientCertificateCreated ¶
type CreateClientCertificateCreated struct { /* In: Body */ Payload *adminmessages.ClientCertificate `json:"body,omitempty"` }
CreateClientCertificateCreated Successfully created client certificate
swagger:response createClientCertificateCreated
func NewCreateClientCertificateCreated ¶
func NewCreateClientCertificateCreated() *CreateClientCertificateCreated
NewCreateClientCertificateCreated creates CreateClientCertificateCreated with default headers values
func (*CreateClientCertificateCreated) SetPayload ¶
func (o *CreateClientCertificateCreated) SetPayload(payload *adminmessages.ClientCertificate)
SetPayload sets the payload to the create client certificate created response
func (*CreateClientCertificateCreated) WithPayload ¶
func (o *CreateClientCertificateCreated) WithPayload(payload *adminmessages.ClientCertificate) *CreateClientCertificateCreated
WithPayload adds the payload to the create client certificate created response
func (*CreateClientCertificateCreated) WriteResponse ¶
func (o *CreateClientCertificateCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateClientCertificateForbidden ¶
type CreateClientCertificateForbidden struct { }
CreateClientCertificateForbidden Not authorized to create a client certificate
swagger:response createClientCertificateForbidden
func NewCreateClientCertificateForbidden ¶
func NewCreateClientCertificateForbidden() *CreateClientCertificateForbidden
NewCreateClientCertificateForbidden creates CreateClientCertificateForbidden with default headers values
func (*CreateClientCertificateForbidden) WriteResponse ¶
func (o *CreateClientCertificateForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateClientCertificateHandler ¶
type CreateClientCertificateHandler interface {
Handle(CreateClientCertificateParams) middleware.Responder
}
CreateClientCertificateHandler interface for that can handle valid create client certificate params
type CreateClientCertificateHandlerFunc ¶
type CreateClientCertificateHandlerFunc func(CreateClientCertificateParams) middleware.Responder
CreateClientCertificateHandlerFunc turns a function with the right signature into a create client certificate handler
func (CreateClientCertificateHandlerFunc) Handle ¶
func (fn CreateClientCertificateHandlerFunc) Handle(params CreateClientCertificateParams) middleware.Responder
Handle executing the request and returning a response
type CreateClientCertificateInternalServerError ¶
type CreateClientCertificateInternalServerError struct { }
CreateClientCertificateInternalServerError Server error
swagger:response createClientCertificateInternalServerError
func NewCreateClientCertificateInternalServerError ¶
func NewCreateClientCertificateInternalServerError() *CreateClientCertificateInternalServerError
NewCreateClientCertificateInternalServerError creates CreateClientCertificateInternalServerError with default headers values
func (*CreateClientCertificateInternalServerError) WriteResponse ¶
func (o *CreateClientCertificateInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateClientCertificateParams ¶
type CreateClientCertificateParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*client cert information In: body */ ClientCertificate *adminmessages.ClientCertificateCreate }
CreateClientCertificateParams contains all the bound params for the create client certificate operation typically these are obtained from a http.Request
swagger:parameters createClientCertificate
func NewCreateClientCertificateParams ¶
func NewCreateClientCertificateParams() CreateClientCertificateParams
NewCreateClientCertificateParams creates a new CreateClientCertificateParams object
There are no default values defined in the spec.
func (*CreateClientCertificateParams) BindRequest ¶
func (o *CreateClientCertificateParams) 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 NewCreateClientCertificateParams() beforehand.
type CreateClientCertificateURL ¶
type CreateClientCertificateURL struct {
// contains filtered or unexported fields
}
CreateClientCertificateURL generates an URL for the create client certificate operation
func (*CreateClientCertificateURL) Build ¶
func (o *CreateClientCertificateURL) Build() (*url.URL, error)
Build a url path and query string
func (*CreateClientCertificateURL) BuildFull ¶
func (o *CreateClientCertificateURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*CreateClientCertificateURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*CreateClientCertificateURL) SetBasePath ¶
func (o *CreateClientCertificateURL) 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 (*CreateClientCertificateURL) String ¶
func (o *CreateClientCertificateURL) String() string
String returns the string representation of the path with query string
func (*CreateClientCertificateURL) StringFull ¶
func (o *CreateClientCertificateURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*CreateClientCertificateURL) WithBasePath ¶
func (o *CreateClientCertificateURL) WithBasePath(bp string) *CreateClientCertificateURL
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 CreateClientCertificateUnauthorized ¶
type CreateClientCertificateUnauthorized struct { }
CreateClientCertificateUnauthorized Must be authenticated to use this end point
swagger:response createClientCertificateUnauthorized
func NewCreateClientCertificateUnauthorized ¶
func NewCreateClientCertificateUnauthorized() *CreateClientCertificateUnauthorized
NewCreateClientCertificateUnauthorized creates CreateClientCertificateUnauthorized with default headers values
func (*CreateClientCertificateUnauthorized) WriteResponse ¶
func (o *CreateClientCertificateUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetClientCertificate ¶
type GetClientCertificate struct { Context *middleware.Context Handler GetClientCertificateHandler }
GetClientCertificate swagger:route GET /client-certificates/{clientCertificateId} Client certificates getClientCertificate
Get a client certificate ¶
This endpoint returns a single Client Certificate by ID. Do not use this endpoint directly as it is meant to be used with the Admin UI exclusively.
func NewGetClientCertificate ¶
func NewGetClientCertificate(ctx *middleware.Context, handler GetClientCertificateHandler) *GetClientCertificate
NewGetClientCertificate creates a new http.Handler for the get client certificate operation
func (*GetClientCertificate) ServeHTTP ¶
func (o *GetClientCertificate) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetClientCertificateBadRequest ¶
type GetClientCertificateBadRequest struct { }
GetClientCertificateBadRequest invalid request
swagger:response getClientCertificateBadRequest
func NewGetClientCertificateBadRequest ¶
func NewGetClientCertificateBadRequest() *GetClientCertificateBadRequest
NewGetClientCertificateBadRequest creates GetClientCertificateBadRequest with default headers values
func (*GetClientCertificateBadRequest) WriteResponse ¶
func (o *GetClientCertificateBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetClientCertificateHandler ¶
type GetClientCertificateHandler interface {
Handle(GetClientCertificateParams) middleware.Responder
}
GetClientCertificateHandler interface for that can handle valid get client certificate params
type GetClientCertificateHandlerFunc ¶
type GetClientCertificateHandlerFunc func(GetClientCertificateParams) middleware.Responder
GetClientCertificateHandlerFunc turns a function with the right signature into a get client certificate handler
func (GetClientCertificateHandlerFunc) Handle ¶
func (fn GetClientCertificateHandlerFunc) Handle(params GetClientCertificateParams) middleware.Responder
Handle executing the request and returning a response
type GetClientCertificateInternalServerError ¶
type GetClientCertificateInternalServerError struct { }
GetClientCertificateInternalServerError server error
swagger:response getClientCertificateInternalServerError
func NewGetClientCertificateInternalServerError ¶
func NewGetClientCertificateInternalServerError() *GetClientCertificateInternalServerError
NewGetClientCertificateInternalServerError creates GetClientCertificateInternalServerError with default headers values
func (*GetClientCertificateInternalServerError) WriteResponse ¶
func (o *GetClientCertificateInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetClientCertificateNotFound ¶
type GetClientCertificateNotFound struct { }
GetClientCertificateNotFound id not found
swagger:response getClientCertificateNotFound
func NewGetClientCertificateNotFound ¶
func NewGetClientCertificateNotFound() *GetClientCertificateNotFound
NewGetClientCertificateNotFound creates GetClientCertificateNotFound with default headers values
func (*GetClientCertificateNotFound) WriteResponse ¶
func (o *GetClientCertificateNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetClientCertificateOK ¶
type GetClientCertificateOK struct { /* In: Body */ Payload *adminmessages.ClientCertificate `json:"body,omitempty"` }
GetClientCertificateOK success
swagger:response getClientCertificateOK
func NewGetClientCertificateOK ¶
func NewGetClientCertificateOK() *GetClientCertificateOK
NewGetClientCertificateOK creates GetClientCertificateOK with default headers values
func (*GetClientCertificateOK) SetPayload ¶
func (o *GetClientCertificateOK) SetPayload(payload *adminmessages.ClientCertificate)
SetPayload sets the payload to the get client certificate o k response
func (*GetClientCertificateOK) WithPayload ¶
func (o *GetClientCertificateOK) WithPayload(payload *adminmessages.ClientCertificate) *GetClientCertificateOK
WithPayload adds the payload to the get client certificate o k response
func (*GetClientCertificateOK) WriteResponse ¶
func (o *GetClientCertificateOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetClientCertificateParams ¶
type GetClientCertificateParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: path */ ClientCertificateID strfmt.UUID }
GetClientCertificateParams contains all the bound params for the get client certificate operation typically these are obtained from a http.Request
swagger:parameters getClientCertificate
func NewGetClientCertificateParams ¶
func NewGetClientCertificateParams() GetClientCertificateParams
NewGetClientCertificateParams creates a new GetClientCertificateParams object
There are no default values defined in the spec.
func (*GetClientCertificateParams) BindRequest ¶
func (o *GetClientCertificateParams) 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 NewGetClientCertificateParams() beforehand.
type GetClientCertificateURL ¶
type GetClientCertificateURL struct { ClientCertificateID strfmt.UUID // contains filtered or unexported fields }
GetClientCertificateURL generates an URL for the get client certificate operation
func (*GetClientCertificateURL) Build ¶
func (o *GetClientCertificateURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetClientCertificateURL) BuildFull ¶
func (o *GetClientCertificateURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetClientCertificateURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetClientCertificateURL) SetBasePath ¶
func (o *GetClientCertificateURL) 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 (*GetClientCertificateURL) String ¶
func (o *GetClientCertificateURL) String() string
String returns the string representation of the path with query string
func (*GetClientCertificateURL) StringFull ¶
func (o *GetClientCertificateURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetClientCertificateURL) WithBasePath ¶
func (o *GetClientCertificateURL) WithBasePath(bp string) *GetClientCertificateURL
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 GetClientCertificateUnauthorized ¶
type GetClientCertificateUnauthorized struct { }
GetClientCertificateUnauthorized request requires user authentication
swagger:response getClientCertificateUnauthorized
func NewGetClientCertificateUnauthorized ¶
func NewGetClientCertificateUnauthorized() *GetClientCertificateUnauthorized
NewGetClientCertificateUnauthorized creates GetClientCertificateUnauthorized with default headers values
func (*GetClientCertificateUnauthorized) WriteResponse ¶
func (o *GetClientCertificateUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type IndexClientCertificates ¶
type IndexClientCertificates struct { Context *middleware.Context Handler IndexClientCertificatesHandler }
IndexClientCertificates swagger:route GET /client-certificates Client certificates indexClientCertificates
List client certificates ¶
This endpoint returns a list of Client Certificates. Do not use this endpoint directly as it is meant to be used with the Admin UI exclusively.
func NewIndexClientCertificates ¶
func NewIndexClientCertificates(ctx *middleware.Context, handler IndexClientCertificatesHandler) *IndexClientCertificates
NewIndexClientCertificates creates a new http.Handler for the index client certificates operation
func (*IndexClientCertificates) ServeHTTP ¶
func (o *IndexClientCertificates) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type IndexClientCertificatesBadRequest ¶
type IndexClientCertificatesBadRequest struct { }
IndexClientCertificatesBadRequest invalid request
swagger:response indexClientCertificatesBadRequest
func NewIndexClientCertificatesBadRequest ¶
func NewIndexClientCertificatesBadRequest() *IndexClientCertificatesBadRequest
NewIndexClientCertificatesBadRequest creates IndexClientCertificatesBadRequest with default headers values
func (*IndexClientCertificatesBadRequest) WriteResponse ¶
func (o *IndexClientCertificatesBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type IndexClientCertificatesHandler ¶
type IndexClientCertificatesHandler interface {
Handle(IndexClientCertificatesParams) middleware.Responder
}
IndexClientCertificatesHandler interface for that can handle valid index client certificates params
type IndexClientCertificatesHandlerFunc ¶
type IndexClientCertificatesHandlerFunc func(IndexClientCertificatesParams) middleware.Responder
IndexClientCertificatesHandlerFunc turns a function with the right signature into a index client certificates handler
func (IndexClientCertificatesHandlerFunc) Handle ¶
func (fn IndexClientCertificatesHandlerFunc) Handle(params IndexClientCertificatesParams) middleware.Responder
Handle executing the request and returning a response
type IndexClientCertificatesInternalServerError ¶
type IndexClientCertificatesInternalServerError struct { }
IndexClientCertificatesInternalServerError server error
swagger:response indexClientCertificatesInternalServerError
func NewIndexClientCertificatesInternalServerError ¶
func NewIndexClientCertificatesInternalServerError() *IndexClientCertificatesInternalServerError
NewIndexClientCertificatesInternalServerError creates IndexClientCertificatesInternalServerError with default headers values
func (*IndexClientCertificatesInternalServerError) WriteResponse ¶
func (o *IndexClientCertificatesInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type IndexClientCertificatesNotFound ¶
type IndexClientCertificatesNotFound struct { }
IndexClientCertificatesNotFound office not found
swagger:response indexClientCertificatesNotFound
func NewIndexClientCertificatesNotFound ¶
func NewIndexClientCertificatesNotFound() *IndexClientCertificatesNotFound
NewIndexClientCertificatesNotFound creates IndexClientCertificatesNotFound with default headers values
func (*IndexClientCertificatesNotFound) WriteResponse ¶
func (o *IndexClientCertificatesNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type IndexClientCertificatesOK ¶
type IndexClientCertificatesOK struct { /*Used for pagination */ ContentRange string `json:"Content-Range"` /* In: Body */ Payload adminmessages.ClientCertificates `json:"body,omitempty"` }
IndexClientCertificatesOK success
swagger:response indexClientCertificatesOK
func NewIndexClientCertificatesOK ¶
func NewIndexClientCertificatesOK() *IndexClientCertificatesOK
NewIndexClientCertificatesOK creates IndexClientCertificatesOK with default headers values
func (*IndexClientCertificatesOK) SetContentRange ¶
func (o *IndexClientCertificatesOK) SetContentRange(contentRange string)
SetContentRange sets the contentRange to the index client certificates o k response
func (*IndexClientCertificatesOK) SetPayload ¶
func (o *IndexClientCertificatesOK) SetPayload(payload adminmessages.ClientCertificates)
SetPayload sets the payload to the index client certificates o k response
func (*IndexClientCertificatesOK) WithContentRange ¶
func (o *IndexClientCertificatesOK) WithContentRange(contentRange string) *IndexClientCertificatesOK
WithContentRange adds the contentRange to the index client certificates o k response
func (*IndexClientCertificatesOK) WithPayload ¶
func (o *IndexClientCertificatesOK) WithPayload(payload adminmessages.ClientCertificates) *IndexClientCertificatesOK
WithPayload adds the payload to the index client certificates o k response
func (*IndexClientCertificatesOK) WriteResponse ¶
func (o *IndexClientCertificatesOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type IndexClientCertificatesParams ¶
type IndexClientCertificatesParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* In: query */ Filter *string /* In: query */ Order *bool /* In: query */ Page *int64 /* In: query */ PerPage *int64 /* In: query */ Sort *string }
IndexClientCertificatesParams contains all the bound params for the index client certificates operation typically these are obtained from a http.Request
swagger:parameters indexClientCertificates
func NewIndexClientCertificatesParams ¶
func NewIndexClientCertificatesParams() IndexClientCertificatesParams
NewIndexClientCertificatesParams creates a new IndexClientCertificatesParams object
There are no default values defined in the spec.
func (*IndexClientCertificatesParams) BindRequest ¶
func (o *IndexClientCertificatesParams) 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 NewIndexClientCertificatesParams() beforehand.
type IndexClientCertificatesURL ¶
type IndexClientCertificatesURL struct { Filter *string Order *bool Page *int64 PerPage *int64 Sort *string // contains filtered or unexported fields }
IndexClientCertificatesURL generates an URL for the index client certificates operation
func (*IndexClientCertificatesURL) Build ¶
func (o *IndexClientCertificatesURL) Build() (*url.URL, error)
Build a url path and query string
func (*IndexClientCertificatesURL) BuildFull ¶
func (o *IndexClientCertificatesURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*IndexClientCertificatesURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*IndexClientCertificatesURL) SetBasePath ¶
func (o *IndexClientCertificatesURL) 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 (*IndexClientCertificatesURL) String ¶
func (o *IndexClientCertificatesURL) String() string
String returns the string representation of the path with query string
func (*IndexClientCertificatesURL) StringFull ¶
func (o *IndexClientCertificatesURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*IndexClientCertificatesURL) WithBasePath ¶
func (o *IndexClientCertificatesURL) WithBasePath(bp string) *IndexClientCertificatesURL
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 IndexClientCertificatesUnauthorized ¶
type IndexClientCertificatesUnauthorized struct { }
IndexClientCertificatesUnauthorized request requires user authentication
swagger:response indexClientCertificatesUnauthorized
func NewIndexClientCertificatesUnauthorized ¶
func NewIndexClientCertificatesUnauthorized() *IndexClientCertificatesUnauthorized
NewIndexClientCertificatesUnauthorized creates IndexClientCertificatesUnauthorized with default headers values
func (*IndexClientCertificatesUnauthorized) WriteResponse ¶
func (o *IndexClientCertificatesUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type RemoveClientCertificate ¶
type RemoveClientCertificate struct { Context *middleware.Context Handler RemoveClientCertificateHandler }
RemoveClientCertificate swagger:route DELETE /client-certificates/{clientCertificateId} Client certificates removeClientCertificate
removes a client certificate
This endpoint removes a single Client Certificate by ID. Do not use this endpoint directly as it is meant to be used with the Admin UI exclusively.
func NewRemoveClientCertificate ¶
func NewRemoveClientCertificate(ctx *middleware.Context, handler RemoveClientCertificateHandler) *RemoveClientCertificate
NewRemoveClientCertificate creates a new http.Handler for the remove client certificate operation
func (*RemoveClientCertificate) ServeHTTP ¶
func (o *RemoveClientCertificate) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type RemoveClientCertificateBadRequest ¶
type RemoveClientCertificateBadRequest struct { }
RemoveClientCertificateBadRequest Invalid Request
swagger:response removeClientCertificateBadRequest
func NewRemoveClientCertificateBadRequest ¶
func NewRemoveClientCertificateBadRequest() *RemoveClientCertificateBadRequest
NewRemoveClientCertificateBadRequest creates RemoveClientCertificateBadRequest with default headers values
func (*RemoveClientCertificateBadRequest) WriteResponse ¶
func (o *RemoveClientCertificateBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type RemoveClientCertificateForbidden ¶
type RemoveClientCertificateForbidden struct { }
RemoveClientCertificateForbidden Not authorized to remove a client certificate
swagger:response removeClientCertificateForbidden
func NewRemoveClientCertificateForbidden ¶
func NewRemoveClientCertificateForbidden() *RemoveClientCertificateForbidden
NewRemoveClientCertificateForbidden creates RemoveClientCertificateForbidden with default headers values
func (*RemoveClientCertificateForbidden) WriteResponse ¶
func (o *RemoveClientCertificateForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type RemoveClientCertificateHandler ¶
type RemoveClientCertificateHandler interface {
Handle(RemoveClientCertificateParams) middleware.Responder
}
RemoveClientCertificateHandler interface for that can handle valid remove client certificate params
type RemoveClientCertificateHandlerFunc ¶
type RemoveClientCertificateHandlerFunc func(RemoveClientCertificateParams) middleware.Responder
RemoveClientCertificateHandlerFunc turns a function with the right signature into a remove client certificate handler
func (RemoveClientCertificateHandlerFunc) Handle ¶
func (fn RemoveClientCertificateHandlerFunc) Handle(params RemoveClientCertificateParams) middleware.Responder
Handle executing the request and returning a response
type RemoveClientCertificateInternalServerError ¶
type RemoveClientCertificateInternalServerError struct { }
RemoveClientCertificateInternalServerError Server error
swagger:response removeClientCertificateInternalServerError
func NewRemoveClientCertificateInternalServerError ¶
func NewRemoveClientCertificateInternalServerError() *RemoveClientCertificateInternalServerError
NewRemoveClientCertificateInternalServerError creates RemoveClientCertificateInternalServerError with default headers values
func (*RemoveClientCertificateInternalServerError) WriteResponse ¶
func (o *RemoveClientCertificateInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type RemoveClientCertificateOK ¶
type RemoveClientCertificateOK struct { /* In: Body */ Payload *adminmessages.ClientCertificate `json:"body,omitempty"` }
RemoveClientCertificateOK Successfully removed Client Certificate
swagger:response removeClientCertificateOK
func NewRemoveClientCertificateOK ¶
func NewRemoveClientCertificateOK() *RemoveClientCertificateOK
NewRemoveClientCertificateOK creates RemoveClientCertificateOK with default headers values
func (*RemoveClientCertificateOK) SetPayload ¶
func (o *RemoveClientCertificateOK) SetPayload(payload *adminmessages.ClientCertificate)
SetPayload sets the payload to the remove client certificate o k response
func (*RemoveClientCertificateOK) WithPayload ¶
func (o *RemoveClientCertificateOK) WithPayload(payload *adminmessages.ClientCertificate) *RemoveClientCertificateOK
WithPayload adds the payload to the remove client certificate o k response
func (*RemoveClientCertificateOK) WriteResponse ¶
func (o *RemoveClientCertificateOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type RemoveClientCertificateParams ¶
type RemoveClientCertificateParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: path */ ClientCertificateID strfmt.UUID }
RemoveClientCertificateParams contains all the bound params for the remove client certificate operation typically these are obtained from a http.Request
swagger:parameters removeClientCertificate
func NewRemoveClientCertificateParams ¶
func NewRemoveClientCertificateParams() RemoveClientCertificateParams
NewRemoveClientCertificateParams creates a new RemoveClientCertificateParams object
There are no default values defined in the spec.
func (*RemoveClientCertificateParams) BindRequest ¶
func (o *RemoveClientCertificateParams) 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 NewRemoveClientCertificateParams() beforehand.
type RemoveClientCertificateURL ¶
type RemoveClientCertificateURL struct { ClientCertificateID strfmt.UUID // contains filtered or unexported fields }
RemoveClientCertificateURL generates an URL for the remove client certificate operation
func (*RemoveClientCertificateURL) Build ¶
func (o *RemoveClientCertificateURL) Build() (*url.URL, error)
Build a url path and query string
func (*RemoveClientCertificateURL) BuildFull ¶
func (o *RemoveClientCertificateURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*RemoveClientCertificateURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*RemoveClientCertificateURL) SetBasePath ¶
func (o *RemoveClientCertificateURL) 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 (*RemoveClientCertificateURL) String ¶
func (o *RemoveClientCertificateURL) String() string
String returns the string representation of the path with query string
func (*RemoveClientCertificateURL) StringFull ¶
func (o *RemoveClientCertificateURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*RemoveClientCertificateURL) WithBasePath ¶
func (o *RemoveClientCertificateURL) WithBasePath(bp string) *RemoveClientCertificateURL
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 RemoveClientCertificateUnauthorized ¶
type RemoveClientCertificateUnauthorized struct { }
RemoveClientCertificateUnauthorized Must be authenticated to use this end point
swagger:response removeClientCertificateUnauthorized
func NewRemoveClientCertificateUnauthorized ¶
func NewRemoveClientCertificateUnauthorized() *RemoveClientCertificateUnauthorized
NewRemoveClientCertificateUnauthorized creates RemoveClientCertificateUnauthorized with default headers values
func (*RemoveClientCertificateUnauthorized) WriteResponse ¶
func (o *RemoveClientCertificateUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateClientCertificate ¶
type UpdateClientCertificate struct { Context *middleware.Context Handler UpdateClientCertificateHandler }
UpdateClientCertificate swagger:route PATCH /client-certificates/{clientCertificateId} Client certificates updateClientCertificate
Updates a client certificate ¶
This endpoint updates a single Client Certificate by ID. Do not use this endpoint directly as it is meant to be used with the Admin UI exclusively.
func NewUpdateClientCertificate ¶
func NewUpdateClientCertificate(ctx *middleware.Context, handler UpdateClientCertificateHandler) *UpdateClientCertificate
NewUpdateClientCertificate creates a new http.Handler for the update client certificate operation
func (*UpdateClientCertificate) ServeHTTP ¶
func (o *UpdateClientCertificate) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type UpdateClientCertificateBadRequest ¶
type UpdateClientCertificateBadRequest struct { }
UpdateClientCertificateBadRequest Invalid Request
swagger:response updateClientCertificateBadRequest
func NewUpdateClientCertificateBadRequest ¶
func NewUpdateClientCertificateBadRequest() *UpdateClientCertificateBadRequest
NewUpdateClientCertificateBadRequest creates UpdateClientCertificateBadRequest with default headers values
func (*UpdateClientCertificateBadRequest) WriteResponse ¶
func (o *UpdateClientCertificateBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateClientCertificateForbidden ¶
type UpdateClientCertificateForbidden struct { }
UpdateClientCertificateForbidden Not authorized to update a client certificate
swagger:response updateClientCertificateForbidden
func NewUpdateClientCertificateForbidden ¶
func NewUpdateClientCertificateForbidden() *UpdateClientCertificateForbidden
NewUpdateClientCertificateForbidden creates UpdateClientCertificateForbidden with default headers values
func (*UpdateClientCertificateForbidden) WriteResponse ¶
func (o *UpdateClientCertificateForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateClientCertificateHandler ¶
type UpdateClientCertificateHandler interface {
Handle(UpdateClientCertificateParams) middleware.Responder
}
UpdateClientCertificateHandler interface for that can handle valid update client certificate params
type UpdateClientCertificateHandlerFunc ¶
type UpdateClientCertificateHandlerFunc func(UpdateClientCertificateParams) middleware.Responder
UpdateClientCertificateHandlerFunc turns a function with the right signature into a update client certificate handler
func (UpdateClientCertificateHandlerFunc) Handle ¶
func (fn UpdateClientCertificateHandlerFunc) Handle(params UpdateClientCertificateParams) middleware.Responder
Handle executing the request and returning a response
type UpdateClientCertificateInternalServerError ¶
type UpdateClientCertificateInternalServerError struct { }
UpdateClientCertificateInternalServerError Server error
swagger:response updateClientCertificateInternalServerError
func NewUpdateClientCertificateInternalServerError ¶
func NewUpdateClientCertificateInternalServerError() *UpdateClientCertificateInternalServerError
NewUpdateClientCertificateInternalServerError creates UpdateClientCertificateInternalServerError with default headers values
func (*UpdateClientCertificateInternalServerError) WriteResponse ¶
func (o *UpdateClientCertificateInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateClientCertificateOK ¶
type UpdateClientCertificateOK struct { /* In: Body */ Payload *adminmessages.ClientCertificate `json:"body,omitempty"` }
UpdateClientCertificateOK Successfully updated Client Certificate
swagger:response updateClientCertificateOK
func NewUpdateClientCertificateOK ¶
func NewUpdateClientCertificateOK() *UpdateClientCertificateOK
NewUpdateClientCertificateOK creates UpdateClientCertificateOK with default headers values
func (*UpdateClientCertificateOK) SetPayload ¶
func (o *UpdateClientCertificateOK) SetPayload(payload *adminmessages.ClientCertificate)
SetPayload sets the payload to the update client certificate o k response
func (*UpdateClientCertificateOK) WithPayload ¶
func (o *UpdateClientCertificateOK) WithPayload(payload *adminmessages.ClientCertificate) *UpdateClientCertificateOK
WithPayload adds the payload to the update client certificate o k response
func (*UpdateClientCertificateOK) WriteResponse ¶
func (o *UpdateClientCertificateOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateClientCertificateParams ¶
type UpdateClientCertificateParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*client cert information Required: true In: body */ ClientCertificate *adminmessages.ClientCertificateUpdate /* Required: true In: path */ ClientCertificateID strfmt.UUID }
UpdateClientCertificateParams contains all the bound params for the update client certificate operation typically these are obtained from a http.Request
swagger:parameters updateClientCertificate
func NewUpdateClientCertificateParams ¶
func NewUpdateClientCertificateParams() UpdateClientCertificateParams
NewUpdateClientCertificateParams creates a new UpdateClientCertificateParams object
There are no default values defined in the spec.
func (*UpdateClientCertificateParams) BindRequest ¶
func (o *UpdateClientCertificateParams) 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 NewUpdateClientCertificateParams() beforehand.
type UpdateClientCertificateURL ¶
type UpdateClientCertificateURL struct { ClientCertificateID strfmt.UUID // contains filtered or unexported fields }
UpdateClientCertificateURL generates an URL for the update client certificate operation
func (*UpdateClientCertificateURL) Build ¶
func (o *UpdateClientCertificateURL) Build() (*url.URL, error)
Build a url path and query string
func (*UpdateClientCertificateURL) BuildFull ¶
func (o *UpdateClientCertificateURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*UpdateClientCertificateURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*UpdateClientCertificateURL) SetBasePath ¶
func (o *UpdateClientCertificateURL) 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 (*UpdateClientCertificateURL) String ¶
func (o *UpdateClientCertificateURL) String() string
String returns the string representation of the path with query string
func (*UpdateClientCertificateURL) StringFull ¶
func (o *UpdateClientCertificateURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*UpdateClientCertificateURL) WithBasePath ¶
func (o *UpdateClientCertificateURL) WithBasePath(bp string) *UpdateClientCertificateURL
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 UpdateClientCertificateUnauthorized ¶
type UpdateClientCertificateUnauthorized struct { }
UpdateClientCertificateUnauthorized Must be authenticated to use this end point
swagger:response updateClientCertificateUnauthorized
func NewUpdateClientCertificateUnauthorized ¶
func NewUpdateClientCertificateUnauthorized() *UpdateClientCertificateUnauthorized
NewUpdateClientCertificateUnauthorized creates UpdateClientCertificateUnauthorized with default headers values
func (*UpdateClientCertificateUnauthorized) WriteResponse ¶
func (o *UpdateClientCertificateUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
Source Files
¶
- create_client_certificate.go
- create_client_certificate_parameters.go
- create_client_certificate_responses.go
- create_client_certificate_urlbuilder.go
- get_client_certificate.go
- get_client_certificate_parameters.go
- get_client_certificate_responses.go
- get_client_certificate_urlbuilder.go
- index_client_certificates.go
- index_client_certificates_parameters.go
- index_client_certificates_responses.go
- index_client_certificates_urlbuilder.go
- remove_client_certificate.go
- remove_client_certificate_parameters.go
- remove_client_certificate_responses.go
- remove_client_certificate_urlbuilder.go
- update_client_certificate.go
- update_client_certificate_parameters.go
- update_client_certificate_responses.go
- update_client_certificate_urlbuilder.go