client_certificates

package
v0.0.0-...-c407d37 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 12, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const CreateClientCertificateBadRequestCode int = 400

CreateClientCertificateBadRequestCode is the HTTP code returned for type CreateClientCertificateBadRequest

View Source
const CreateClientCertificateCreatedCode int = 201

CreateClientCertificateCreatedCode is the HTTP code returned for type CreateClientCertificateCreated

View Source
const CreateClientCertificateForbiddenCode int = 403

CreateClientCertificateForbiddenCode is the HTTP code returned for type CreateClientCertificateForbidden

View Source
const CreateClientCertificateInternalServerErrorCode int = 500

CreateClientCertificateInternalServerErrorCode is the HTTP code returned for type CreateClientCertificateInternalServerError

View Source
const CreateClientCertificateUnauthorizedCode int = 401

CreateClientCertificateUnauthorizedCode is the HTTP code returned for type CreateClientCertificateUnauthorized

View Source
const GetClientCertificateBadRequestCode int = 400

GetClientCertificateBadRequestCode is the HTTP code returned for type GetClientCertificateBadRequest

View Source
const GetClientCertificateInternalServerErrorCode int = 500

GetClientCertificateInternalServerErrorCode is the HTTP code returned for type GetClientCertificateInternalServerError

View Source
const GetClientCertificateNotFoundCode int = 404

GetClientCertificateNotFoundCode is the HTTP code returned for type GetClientCertificateNotFound

View Source
const GetClientCertificateOKCode int = 200

GetClientCertificateOKCode is the HTTP code returned for type GetClientCertificateOK

View Source
const GetClientCertificateUnauthorizedCode int = 401

GetClientCertificateUnauthorizedCode is the HTTP code returned for type GetClientCertificateUnauthorized

View Source
const IndexClientCertificatesBadRequestCode int = 400

IndexClientCertificatesBadRequestCode is the HTTP code returned for type IndexClientCertificatesBadRequest

View Source
const IndexClientCertificatesInternalServerErrorCode int = 500

IndexClientCertificatesInternalServerErrorCode is the HTTP code returned for type IndexClientCertificatesInternalServerError

View Source
const IndexClientCertificatesNotFoundCode int = 404

IndexClientCertificatesNotFoundCode is the HTTP code returned for type IndexClientCertificatesNotFound

View Source
const IndexClientCertificatesOKCode int = 200

IndexClientCertificatesOKCode is the HTTP code returned for type IndexClientCertificatesOK

View Source
const IndexClientCertificatesUnauthorizedCode int = 401

IndexClientCertificatesUnauthorizedCode is the HTTP code returned for type IndexClientCertificatesUnauthorized

View Source
const RemoveClientCertificateBadRequestCode int = 400

RemoveClientCertificateBadRequestCode is the HTTP code returned for type RemoveClientCertificateBadRequest

View Source
const RemoveClientCertificateForbiddenCode int = 403

RemoveClientCertificateForbiddenCode is the HTTP code returned for type RemoveClientCertificateForbidden

View Source
const RemoveClientCertificateInternalServerErrorCode int = 500

RemoveClientCertificateInternalServerErrorCode is the HTTP code returned for type RemoveClientCertificateInternalServerError

View Source
const RemoveClientCertificateOKCode int = 200

RemoveClientCertificateOKCode is the HTTP code returned for type RemoveClientCertificateOK

View Source
const RemoveClientCertificateUnauthorizedCode int = 401

RemoveClientCertificateUnauthorizedCode is the HTTP code returned for type RemoveClientCertificateUnauthorized

View Source
const UpdateClientCertificateBadRequestCode int = 400

UpdateClientCertificateBadRequestCode is the HTTP code returned for type UpdateClientCertificateBadRequest

View Source
const UpdateClientCertificateForbiddenCode int = 403

UpdateClientCertificateForbiddenCode is the HTTP code returned for type UpdateClientCertificateForbidden

View Source
const UpdateClientCertificateInternalServerErrorCode int = 500

UpdateClientCertificateInternalServerErrorCode is the HTTP code returned for type UpdateClientCertificateInternalServerError

View Source
const UpdateClientCertificateOKCode int = 200

UpdateClientCertificateOKCode is the HTTP code returned for type UpdateClientCertificateOK

View Source
const UpdateClientCertificateUnauthorizedCode int = 401

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

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

SetPayload sets the payload to the create client certificate created response

func (*CreateClientCertificateCreated) WithPayload

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

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

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

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

func (o *CreateClientCertificateURL) Must(u *url.URL, err error) *url.URL

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

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

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

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

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

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

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

func (o *GetClientCertificateURL) Must(u *url.URL, err error) *url.URL

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

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

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

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

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

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

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

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

func (o *IndexClientCertificatesURL) Must(u *url.URL, err error) *url.URL

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

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

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

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

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

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

SetPayload sets the payload to the remove client certificate o k response

func (*RemoveClientCertificateOK) WithPayload

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

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

func (o *RemoveClientCertificateURL) Must(u *url.URL, err error) *url.URL

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

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

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

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

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

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

SetPayload sets the payload to the update client certificate o k response

func (*UpdateClientCertificateOK) WithPayload

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

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

func (o *UpdateClientCertificateURL) Must(u *url.URL, err error) *url.URL

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

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

WriteResponse to the client

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL