revocation

package
v0.28.1 Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2026 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const CreateRevocationBadRequestCode int = 400

CreateRevocationBadRequestCode is the HTTP code returned for type CreateRevocationBadRequest

View Source
const CreateRevocationCreatedCode int = 201

CreateRevocationCreatedCode is the HTTP code returned for type CreateRevocationCreated

View Source
const CreateRevocationNotFoundCode int = 404

CreateRevocationNotFoundCode is the HTTP code returned for type CreateRevocationNotFound

View Source
const CreateRevocationServiceUnavailableCode int = 503

CreateRevocationServiceUnavailableCode is the HTTP code returned for type CreateRevocationServiceUnavailable

View Source
const CreateRevocationTooManyRequestsCode int = 429

CreateRevocationTooManyRequestsCode is the HTTP code returned for type CreateRevocationTooManyRequests

View Source
const CreateRevocationUnauthorizedCode int = 401

CreateRevocationUnauthorizedCode is the HTTP code returned for type CreateRevocationUnauthorized

View Source
const DetailRevocationNotFoundCode int = 404

DetailRevocationNotFoundCode is the HTTP code returned for type DetailRevocationNotFound

View Source
const DetailRevocationOKCode int = 200

DetailRevocationOKCode is the HTTP code returned for type DetailRevocationOK

View Source
const DetailRevocationServiceUnavailableCode int = 503

DetailRevocationServiceUnavailableCode is the HTTP code returned for type DetailRevocationServiceUnavailable

View Source
const DetailRevocationTooManyRequestsCode int = 429

DetailRevocationTooManyRequestsCode is the HTTP code returned for type DetailRevocationTooManyRequests

View Source
const DetailRevocationUnauthorizedCode int = 401

DetailRevocationUnauthorizedCode is the HTTP code returned for type DetailRevocationUnauthorized

View Source
const ListRevocationsBadRequestCode int = 400

ListRevocationsBadRequestCode is the HTTP code returned for type ListRevocationsBadRequest

View Source
const ListRevocationsOKCode int = 200

ListRevocationsOKCode is the HTTP code returned for type ListRevocationsOK

View Source
const ListRevocationsServiceUnavailableCode int = 503

ListRevocationsServiceUnavailableCode is the HTTP code returned for type ListRevocationsServiceUnavailable

View Source
const ListRevocationsTooManyRequestsCode int = 429

ListRevocationsTooManyRequestsCode is the HTTP code returned for type ListRevocationsTooManyRequests

View Source
const ListRevocationsUnauthorizedCode int = 401

ListRevocationsUnauthorizedCode is the HTTP code returned for type ListRevocationsUnauthorized

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateRevocation

type CreateRevocation struct {
	Context *middleware.Context
	Handler CreateRevocationHandler
}
CreateRevocation swagger:route POST /revocations Revocation createRevocation

Create a Revocation

Creates a revocation entry. Requires admin access.

func NewCreateRevocation

func NewCreateRevocation(ctx *middleware.Context, handler CreateRevocationHandler) *CreateRevocation

NewCreateRevocation creates a new http.Handler for the create revocation operation

func (*CreateRevocation) ServeHTTP

func (o *CreateRevocation) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type CreateRevocationBadRequest

type CreateRevocationBadRequest struct {
	/*Denotes different type of security token related information

	 */
	WWWAuthenticate []string `json:"WWW-Authenticate"`

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

CreateRevocationBadRequest The supplied request contains invalid fields or could not be parsed (json and non-json bodies). The error's code, message, and cause fields can be inspected for further information

swagger:response createRevocationBadRequest

func NewCreateRevocationBadRequest

func NewCreateRevocationBadRequest() *CreateRevocationBadRequest

NewCreateRevocationBadRequest creates CreateRevocationBadRequest with default headers values

func (*CreateRevocationBadRequest) SetPayload

func (o *CreateRevocationBadRequest) SetPayload(payload *rest_model.APIErrorEnvelope)

SetPayload sets the payload to the create revocation bad request response

func (*CreateRevocationBadRequest) SetWWWAuthenticate

func (o *CreateRevocationBadRequest) SetWWWAuthenticate(wWWAuthenticate []string)

SetWWWAuthenticate sets the wWWAuthenticate to the create revocation bad request response

func (*CreateRevocationBadRequest) WithPayload

WithPayload adds the payload to the create revocation bad request response

func (*CreateRevocationBadRequest) WithWWWAuthenticate

func (o *CreateRevocationBadRequest) WithWWWAuthenticate(wWWAuthenticate []string) *CreateRevocationBadRequest

WithWWWAuthenticate adds the wWWAuthenticate to the create revocation bad request response

func (*CreateRevocationBadRequest) WriteResponse

func (o *CreateRevocationBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type CreateRevocationCreated

type CreateRevocationCreated struct {
	/*Denotes different type of security token related information

	 */
	WWWAuthenticate []string `json:"WWW-Authenticate"`

	/*
	  In: Body
	*/
	Payload *rest_model.CreateEnvelope `json:"body,omitempty"`
}

CreateRevocationCreated The create request was successful and the resource has been added at the following location

swagger:response createRevocationCreated

func NewCreateRevocationCreated

func NewCreateRevocationCreated() *CreateRevocationCreated

NewCreateRevocationCreated creates CreateRevocationCreated with default headers values

func (*CreateRevocationCreated) SetPayload

func (o *CreateRevocationCreated) SetPayload(payload *rest_model.CreateEnvelope)

SetPayload sets the payload to the create revocation created response

func (*CreateRevocationCreated) SetWWWAuthenticate

func (o *CreateRevocationCreated) SetWWWAuthenticate(wWWAuthenticate []string)

SetWWWAuthenticate sets the wWWAuthenticate to the create revocation created response

func (*CreateRevocationCreated) WithPayload

WithPayload adds the payload to the create revocation created response

func (*CreateRevocationCreated) WithWWWAuthenticate

func (o *CreateRevocationCreated) WithWWWAuthenticate(wWWAuthenticate []string) *CreateRevocationCreated

WithWWWAuthenticate adds the wWWAuthenticate to the create revocation created response

func (*CreateRevocationCreated) WriteResponse

func (o *CreateRevocationCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type CreateRevocationHandler

type CreateRevocationHandler interface {
	Handle(CreateRevocationParams, any) middleware.Responder
}

CreateRevocationHandler interface for that can handle valid create revocation params

type CreateRevocationHandlerFunc

type CreateRevocationHandlerFunc func(CreateRevocationParams, any) middleware.Responder

CreateRevocationHandlerFunc turns a function with the right signature into a create revocation handler

func (CreateRevocationHandlerFunc) Handle

Handle executing the request and returning a response

type CreateRevocationNotFound

type CreateRevocationNotFound struct {
	/*Denotes different type of security token related information

	 */
	WWWAuthenticate []string `json:"WWW-Authenticate"`

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

CreateRevocationNotFound The requested resource does not exist

swagger:response createRevocationNotFound

func NewCreateRevocationNotFound

func NewCreateRevocationNotFound() *CreateRevocationNotFound

NewCreateRevocationNotFound creates CreateRevocationNotFound with default headers values

func (*CreateRevocationNotFound) SetPayload

func (o *CreateRevocationNotFound) SetPayload(payload *rest_model.APIErrorEnvelope)

SetPayload sets the payload to the create revocation not found response

func (*CreateRevocationNotFound) SetWWWAuthenticate

func (o *CreateRevocationNotFound) SetWWWAuthenticate(wWWAuthenticate []string)

SetWWWAuthenticate sets the wWWAuthenticate to the create revocation not found response

func (*CreateRevocationNotFound) WithPayload

WithPayload adds the payload to the create revocation not found response

func (*CreateRevocationNotFound) WithWWWAuthenticate

func (o *CreateRevocationNotFound) WithWWWAuthenticate(wWWAuthenticate []string) *CreateRevocationNotFound

WithWWWAuthenticate adds the wWWAuthenticate to the create revocation not found response

func (*CreateRevocationNotFound) WriteResponse

func (o *CreateRevocationNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type CreateRevocationParams

type CreateRevocationParams struct {
	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*A Revocation to create
	  Required: true
	  In: body
	*/
	Revocation *rest_model.RevocationCreate
}

CreateRevocationParams contains all the bound params for the create revocation operation typically these are obtained from a http.Request

swagger:parameters createRevocation

func NewCreateRevocationParams

func NewCreateRevocationParams() CreateRevocationParams

NewCreateRevocationParams creates a new CreateRevocationParams object

There are no default values defined in the spec.

func (*CreateRevocationParams) BindRequest

func (o *CreateRevocationParams) 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 NewCreateRevocationParams() beforehand.

type CreateRevocationServiceUnavailable

type CreateRevocationServiceUnavailable struct {
	/*Denotes different type of security token related information

	 */
	WWWAuthenticate []string `json:"WWW-Authenticate"`

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

CreateRevocationServiceUnavailable The request could not be completed due to the server being busy or in a temporarily bad state

swagger:response createRevocationServiceUnavailable

func NewCreateRevocationServiceUnavailable

func NewCreateRevocationServiceUnavailable() *CreateRevocationServiceUnavailable

NewCreateRevocationServiceUnavailable creates CreateRevocationServiceUnavailable with default headers values

func (*CreateRevocationServiceUnavailable) SetPayload

SetPayload sets the payload to the create revocation service unavailable response

func (*CreateRevocationServiceUnavailable) SetWWWAuthenticate

func (o *CreateRevocationServiceUnavailable) SetWWWAuthenticate(wWWAuthenticate []string)

SetWWWAuthenticate sets the wWWAuthenticate to the create revocation service unavailable response

func (*CreateRevocationServiceUnavailable) WithPayload

WithPayload adds the payload to the create revocation service unavailable response

func (*CreateRevocationServiceUnavailable) WithWWWAuthenticate

func (o *CreateRevocationServiceUnavailable) WithWWWAuthenticate(wWWAuthenticate []string) *CreateRevocationServiceUnavailable

WithWWWAuthenticate adds the wWWAuthenticate to the create revocation service unavailable response

func (*CreateRevocationServiceUnavailable) WriteResponse

WriteResponse to the client

type CreateRevocationTooManyRequests

type CreateRevocationTooManyRequests struct {
	/*Denotes different type of security token related information

	 */
	WWWAuthenticate []string `json:"WWW-Authenticate"`

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

CreateRevocationTooManyRequests The resource requested is rate limited and the rate limit has been exceeded

swagger:response createRevocationTooManyRequests

func NewCreateRevocationTooManyRequests

func NewCreateRevocationTooManyRequests() *CreateRevocationTooManyRequests

NewCreateRevocationTooManyRequests creates CreateRevocationTooManyRequests with default headers values

func (*CreateRevocationTooManyRequests) SetPayload

SetPayload sets the payload to the create revocation too many requests response

func (*CreateRevocationTooManyRequests) SetWWWAuthenticate

func (o *CreateRevocationTooManyRequests) SetWWWAuthenticate(wWWAuthenticate []string)

SetWWWAuthenticate sets the wWWAuthenticate to the create revocation too many requests response

func (*CreateRevocationTooManyRequests) WithPayload

WithPayload adds the payload to the create revocation too many requests response

func (*CreateRevocationTooManyRequests) WithWWWAuthenticate

func (o *CreateRevocationTooManyRequests) WithWWWAuthenticate(wWWAuthenticate []string) *CreateRevocationTooManyRequests

WithWWWAuthenticate adds the wWWAuthenticate to the create revocation too many requests response

func (*CreateRevocationTooManyRequests) WriteResponse

func (o *CreateRevocationTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type CreateRevocationURL

type CreateRevocationURL struct {
	// contains filtered or unexported fields
}

CreateRevocationURL generates an URL for the create revocation operation

func (*CreateRevocationURL) Build

func (o *CreateRevocationURL) Build() (*url.URL, error)

Build a url path and query string

func (*CreateRevocationURL) BuildFull

func (o *CreateRevocationURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*CreateRevocationURL) Must

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

Must is a helper function to panic when the url builder returns an error

func (*CreateRevocationURL) SetBasePath

func (o *CreateRevocationURL) 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 (*CreateRevocationURL) String

func (o *CreateRevocationURL) String() string

String returns the string representation of the path with query string

func (*CreateRevocationURL) StringFull

func (o *CreateRevocationURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*CreateRevocationURL) WithBasePath

func (o *CreateRevocationURL) WithBasePath(bp string) *CreateRevocationURL

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 CreateRevocationUnauthorized

type CreateRevocationUnauthorized struct {
	/*Denotes different type of security token related information

	 */
	WWWAuthenticate []string `json:"WWW-Authenticate"`

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

CreateRevocationUnauthorized The supplied session does not have the correct access rights to request this resource

swagger:response createRevocationUnauthorized

func NewCreateRevocationUnauthorized

func NewCreateRevocationUnauthorized() *CreateRevocationUnauthorized

NewCreateRevocationUnauthorized creates CreateRevocationUnauthorized with default headers values

func (*CreateRevocationUnauthorized) SetPayload

SetPayload sets the payload to the create revocation unauthorized response

func (*CreateRevocationUnauthorized) SetWWWAuthenticate

func (o *CreateRevocationUnauthorized) SetWWWAuthenticate(wWWAuthenticate []string)

SetWWWAuthenticate sets the wWWAuthenticate to the create revocation unauthorized response

func (*CreateRevocationUnauthorized) WithPayload

WithPayload adds the payload to the create revocation unauthorized response

func (*CreateRevocationUnauthorized) WithWWWAuthenticate

func (o *CreateRevocationUnauthorized) WithWWWAuthenticate(wWWAuthenticate []string) *CreateRevocationUnauthorized

WithWWWAuthenticate adds the wWWAuthenticate to the create revocation unauthorized response

func (*CreateRevocationUnauthorized) WriteResponse

func (o *CreateRevocationUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type DetailRevocation

type DetailRevocation struct {
	Context *middleware.Context
	Handler DetailRevocationHandler
}
DetailRevocation swagger:route GET /revocations/{id} Revocation detailRevocation

Retrieves a single Revocation

Retrieves a single revocation by id. Requires admin access.

func NewDetailRevocation

func NewDetailRevocation(ctx *middleware.Context, handler DetailRevocationHandler) *DetailRevocation

NewDetailRevocation creates a new http.Handler for the detail revocation operation

func (*DetailRevocation) ServeHTTP

func (o *DetailRevocation) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type DetailRevocationHandler

type DetailRevocationHandler interface {
	Handle(DetailRevocationParams, any) middleware.Responder
}

DetailRevocationHandler interface for that can handle valid detail revocation params

type DetailRevocationHandlerFunc

type DetailRevocationHandlerFunc func(DetailRevocationParams, any) middleware.Responder

DetailRevocationHandlerFunc turns a function with the right signature into a detail revocation handler

func (DetailRevocationHandlerFunc) Handle

Handle executing the request and returning a response

type DetailRevocationNotFound

type DetailRevocationNotFound struct {
	/*Denotes different type of security token related information

	 */
	WWWAuthenticate []string `json:"WWW-Authenticate"`

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

DetailRevocationNotFound The requested resource does not exist

swagger:response detailRevocationNotFound

func NewDetailRevocationNotFound

func NewDetailRevocationNotFound() *DetailRevocationNotFound

NewDetailRevocationNotFound creates DetailRevocationNotFound with default headers values

func (*DetailRevocationNotFound) SetPayload

func (o *DetailRevocationNotFound) SetPayload(payload *rest_model.APIErrorEnvelope)

SetPayload sets the payload to the detail revocation not found response

func (*DetailRevocationNotFound) SetWWWAuthenticate

func (o *DetailRevocationNotFound) SetWWWAuthenticate(wWWAuthenticate []string)

SetWWWAuthenticate sets the wWWAuthenticate to the detail revocation not found response

func (*DetailRevocationNotFound) WithPayload

WithPayload adds the payload to the detail revocation not found response

func (*DetailRevocationNotFound) WithWWWAuthenticate

func (o *DetailRevocationNotFound) WithWWWAuthenticate(wWWAuthenticate []string) *DetailRevocationNotFound

WithWWWAuthenticate adds the wWWAuthenticate to the detail revocation not found response

func (*DetailRevocationNotFound) WriteResponse

func (o *DetailRevocationNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type DetailRevocationOK

type DetailRevocationOK struct {
	/*Denotes different type of security token related information

	 */
	WWWAuthenticate []string `json:"WWW-Authenticate"`

	/*
	  In: Body
	*/
	Payload *rest_model.DetailRevocationEnvelope `json:"body,omitempty"`
}

DetailRevocationOK A singular Revocation resource

swagger:response detailRevocationOK

func NewDetailRevocationOK

func NewDetailRevocationOK() *DetailRevocationOK

NewDetailRevocationOK creates DetailRevocationOK with default headers values

func (*DetailRevocationOK) SetPayload

func (o *DetailRevocationOK) SetPayload(payload *rest_model.DetailRevocationEnvelope)

SetPayload sets the payload to the detail revocation o k response

func (*DetailRevocationOK) SetWWWAuthenticate

func (o *DetailRevocationOK) SetWWWAuthenticate(wWWAuthenticate []string)

SetWWWAuthenticate sets the wWWAuthenticate to the detail revocation o k response

func (*DetailRevocationOK) WithPayload

WithPayload adds the payload to the detail revocation o k response

func (*DetailRevocationOK) WithWWWAuthenticate

func (o *DetailRevocationOK) WithWWWAuthenticate(wWWAuthenticate []string) *DetailRevocationOK

WithWWWAuthenticate adds the wWWAuthenticate to the detail revocation o k response

func (*DetailRevocationOK) WriteResponse

func (o *DetailRevocationOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type DetailRevocationParams

type DetailRevocationParams struct {
	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*The id of the requested resource
	  Required: true
	  In: path
	*/
	ID string
}

DetailRevocationParams contains all the bound params for the detail revocation operation typically these are obtained from a http.Request

swagger:parameters detailRevocation

func NewDetailRevocationParams

func NewDetailRevocationParams() DetailRevocationParams

NewDetailRevocationParams creates a new DetailRevocationParams object

There are no default values defined in the spec.

func (*DetailRevocationParams) BindRequest

func (o *DetailRevocationParams) 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 NewDetailRevocationParams() beforehand.

type DetailRevocationServiceUnavailable

type DetailRevocationServiceUnavailable struct {
	/*Denotes different type of security token related information

	 */
	WWWAuthenticate []string `json:"WWW-Authenticate"`

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

DetailRevocationServiceUnavailable The request could not be completed due to the server being busy or in a temporarily bad state

swagger:response detailRevocationServiceUnavailable

func NewDetailRevocationServiceUnavailable

func NewDetailRevocationServiceUnavailable() *DetailRevocationServiceUnavailable

NewDetailRevocationServiceUnavailable creates DetailRevocationServiceUnavailable with default headers values

func (*DetailRevocationServiceUnavailable) SetPayload

SetPayload sets the payload to the detail revocation service unavailable response

func (*DetailRevocationServiceUnavailable) SetWWWAuthenticate

func (o *DetailRevocationServiceUnavailable) SetWWWAuthenticate(wWWAuthenticate []string)

SetWWWAuthenticate sets the wWWAuthenticate to the detail revocation service unavailable response

func (*DetailRevocationServiceUnavailable) WithPayload

WithPayload adds the payload to the detail revocation service unavailable response

func (*DetailRevocationServiceUnavailable) WithWWWAuthenticate

func (o *DetailRevocationServiceUnavailable) WithWWWAuthenticate(wWWAuthenticate []string) *DetailRevocationServiceUnavailable

WithWWWAuthenticate adds the wWWAuthenticate to the detail revocation service unavailable response

func (*DetailRevocationServiceUnavailable) WriteResponse

WriteResponse to the client

type DetailRevocationTooManyRequests

type DetailRevocationTooManyRequests struct {
	/*Denotes different type of security token related information

	 */
	WWWAuthenticate []string `json:"WWW-Authenticate"`

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

DetailRevocationTooManyRequests The resource requested is rate limited and the rate limit has been exceeded

swagger:response detailRevocationTooManyRequests

func NewDetailRevocationTooManyRequests

func NewDetailRevocationTooManyRequests() *DetailRevocationTooManyRequests

NewDetailRevocationTooManyRequests creates DetailRevocationTooManyRequests with default headers values

func (*DetailRevocationTooManyRequests) SetPayload

SetPayload sets the payload to the detail revocation too many requests response

func (*DetailRevocationTooManyRequests) SetWWWAuthenticate

func (o *DetailRevocationTooManyRequests) SetWWWAuthenticate(wWWAuthenticate []string)

SetWWWAuthenticate sets the wWWAuthenticate to the detail revocation too many requests response

func (*DetailRevocationTooManyRequests) WithPayload

WithPayload adds the payload to the detail revocation too many requests response

func (*DetailRevocationTooManyRequests) WithWWWAuthenticate

func (o *DetailRevocationTooManyRequests) WithWWWAuthenticate(wWWAuthenticate []string) *DetailRevocationTooManyRequests

WithWWWAuthenticate adds the wWWAuthenticate to the detail revocation too many requests response

func (*DetailRevocationTooManyRequests) WriteResponse

func (o *DetailRevocationTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type DetailRevocationURL

type DetailRevocationURL struct {
	ID string
	// contains filtered or unexported fields
}

DetailRevocationURL generates an URL for the detail revocation operation

func (*DetailRevocationURL) Build

func (o *DetailRevocationURL) Build() (*url.URL, error)

Build a url path and query string

func (*DetailRevocationURL) BuildFull

func (o *DetailRevocationURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*DetailRevocationURL) Must

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

Must is a helper function to panic when the url builder returns an error

func (*DetailRevocationURL) SetBasePath

func (o *DetailRevocationURL) 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 (*DetailRevocationURL) String

func (o *DetailRevocationURL) String() string

String returns the string representation of the path with query string

func (*DetailRevocationURL) StringFull

func (o *DetailRevocationURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*DetailRevocationURL) WithBasePath

func (o *DetailRevocationURL) WithBasePath(bp string) *DetailRevocationURL

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 DetailRevocationUnauthorized

type DetailRevocationUnauthorized struct {
	/*Denotes different type of security token related information

	 */
	WWWAuthenticate []string `json:"WWW-Authenticate"`

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

DetailRevocationUnauthorized The supplied session does not have the correct access rights to request this resource

swagger:response detailRevocationUnauthorized

func NewDetailRevocationUnauthorized

func NewDetailRevocationUnauthorized() *DetailRevocationUnauthorized

NewDetailRevocationUnauthorized creates DetailRevocationUnauthorized with default headers values

func (*DetailRevocationUnauthorized) SetPayload

SetPayload sets the payload to the detail revocation unauthorized response

func (*DetailRevocationUnauthorized) SetWWWAuthenticate

func (o *DetailRevocationUnauthorized) SetWWWAuthenticate(wWWAuthenticate []string)

SetWWWAuthenticate sets the wWWAuthenticate to the detail revocation unauthorized response

func (*DetailRevocationUnauthorized) WithPayload

WithPayload adds the payload to the detail revocation unauthorized response

func (*DetailRevocationUnauthorized) WithWWWAuthenticate

func (o *DetailRevocationUnauthorized) WithWWWAuthenticate(wWWAuthenticate []string) *DetailRevocationUnauthorized

WithWWWAuthenticate adds the wWWAuthenticate to the detail revocation unauthorized response

func (*DetailRevocationUnauthorized) WriteResponse

func (o *DetailRevocationUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type ListRevocations

type ListRevocations struct {
	Context *middleware.Context
	Handler ListRevocationsHandler
}
ListRevocations swagger:route GET /revocations Revocation listRevocations

List Revocations

Retrieves a list of revocations

func NewListRevocations

func NewListRevocations(ctx *middleware.Context, handler ListRevocationsHandler) *ListRevocations

NewListRevocations creates a new http.Handler for the list revocations operation

func (*ListRevocations) ServeHTTP

func (o *ListRevocations) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type ListRevocationsBadRequest

type ListRevocationsBadRequest struct {
	/*Denotes different type of security token related information

	 */
	WWWAuthenticate []string `json:"WWW-Authenticate"`

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

ListRevocationsBadRequest The supplied request contains invalid fields or could not be parsed (json and non-json bodies). The error's code, message, and cause fields can be inspected for further information

swagger:response listRevocationsBadRequest

func NewListRevocationsBadRequest

func NewListRevocationsBadRequest() *ListRevocationsBadRequest

NewListRevocationsBadRequest creates ListRevocationsBadRequest with default headers values

func (*ListRevocationsBadRequest) SetPayload

func (o *ListRevocationsBadRequest) SetPayload(payload *rest_model.APIErrorEnvelope)

SetPayload sets the payload to the list revocations bad request response

func (*ListRevocationsBadRequest) SetWWWAuthenticate

func (o *ListRevocationsBadRequest) SetWWWAuthenticate(wWWAuthenticate []string)

SetWWWAuthenticate sets the wWWAuthenticate to the list revocations bad request response

func (*ListRevocationsBadRequest) WithPayload

WithPayload adds the payload to the list revocations bad request response

func (*ListRevocationsBadRequest) WithWWWAuthenticate

func (o *ListRevocationsBadRequest) WithWWWAuthenticate(wWWAuthenticate []string) *ListRevocationsBadRequest

WithWWWAuthenticate adds the wWWAuthenticate to the list revocations bad request response

func (*ListRevocationsBadRequest) WriteResponse

func (o *ListRevocationsBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type ListRevocationsHandler

type ListRevocationsHandler interface {
	Handle(ListRevocationsParams, any) middleware.Responder
}

ListRevocationsHandler interface for that can handle valid list revocations params

type ListRevocationsHandlerFunc

type ListRevocationsHandlerFunc func(ListRevocationsParams, any) middleware.Responder

ListRevocationsHandlerFunc turns a function with the right signature into a list revocations handler

func (ListRevocationsHandlerFunc) Handle

Handle executing the request and returning a response

type ListRevocationsOK

type ListRevocationsOK struct {
	/*Denotes different type of security token related information

	 */
	WWWAuthenticate []string `json:"WWW-Authenticate"`

	/*
	  In: Body
	*/
	Payload *rest_model.ListRevocationsEnvelope `json:"body,omitempty"`
}

ListRevocationsOK A list of revocations

swagger:response listRevocationsOK

func NewListRevocationsOK

func NewListRevocationsOK() *ListRevocationsOK

NewListRevocationsOK creates ListRevocationsOK with default headers values

func (*ListRevocationsOK) SetPayload

func (o *ListRevocationsOK) SetPayload(payload *rest_model.ListRevocationsEnvelope)

SetPayload sets the payload to the list revocations o k response

func (*ListRevocationsOK) SetWWWAuthenticate

func (o *ListRevocationsOK) SetWWWAuthenticate(wWWAuthenticate []string)

SetWWWAuthenticate sets the wWWAuthenticate to the list revocations o k response

func (*ListRevocationsOK) WithPayload

WithPayload adds the payload to the list revocations o k response

func (*ListRevocationsOK) WithWWWAuthenticate

func (o *ListRevocationsOK) WithWWWAuthenticate(wWWAuthenticate []string) *ListRevocationsOK

WithWWWAuthenticate adds the wWWAuthenticate to the list revocations o k response

func (*ListRevocationsOK) WriteResponse

func (o *ListRevocationsOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type ListRevocationsParams

type ListRevocationsParams struct {
	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  In: query
	*/
	Filter *string

	/*
	  In: query
	*/
	Limit *int64

	/*
	  In: query
	*/
	Offset *int64
}

ListRevocationsParams contains all the bound params for the list revocations operation typically these are obtained from a http.Request

swagger:parameters listRevocations

func NewListRevocationsParams

func NewListRevocationsParams() ListRevocationsParams

NewListRevocationsParams creates a new ListRevocationsParams object

There are no default values defined in the spec.

func (*ListRevocationsParams) BindRequest

func (o *ListRevocationsParams) 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 NewListRevocationsParams() beforehand.

type ListRevocationsServiceUnavailable

type ListRevocationsServiceUnavailable struct {
	/*Denotes different type of security token related information

	 */
	WWWAuthenticate []string `json:"WWW-Authenticate"`

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

ListRevocationsServiceUnavailable The request could not be completed due to the server being busy or in a temporarily bad state

swagger:response listRevocationsServiceUnavailable

func NewListRevocationsServiceUnavailable

func NewListRevocationsServiceUnavailable() *ListRevocationsServiceUnavailable

NewListRevocationsServiceUnavailable creates ListRevocationsServiceUnavailable with default headers values

func (*ListRevocationsServiceUnavailable) SetPayload

SetPayload sets the payload to the list revocations service unavailable response

func (*ListRevocationsServiceUnavailable) SetWWWAuthenticate

func (o *ListRevocationsServiceUnavailable) SetWWWAuthenticate(wWWAuthenticate []string)

SetWWWAuthenticate sets the wWWAuthenticate to the list revocations service unavailable response

func (*ListRevocationsServiceUnavailable) WithPayload

WithPayload adds the payload to the list revocations service unavailable response

func (*ListRevocationsServiceUnavailable) WithWWWAuthenticate

func (o *ListRevocationsServiceUnavailable) WithWWWAuthenticate(wWWAuthenticate []string) *ListRevocationsServiceUnavailable

WithWWWAuthenticate adds the wWWAuthenticate to the list revocations service unavailable response

func (*ListRevocationsServiceUnavailable) WriteResponse

func (o *ListRevocationsServiceUnavailable) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type ListRevocationsTooManyRequests

type ListRevocationsTooManyRequests struct {
	/*Denotes different type of security token related information

	 */
	WWWAuthenticate []string `json:"WWW-Authenticate"`

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

ListRevocationsTooManyRequests The resource requested is rate limited and the rate limit has been exceeded

swagger:response listRevocationsTooManyRequests

func NewListRevocationsTooManyRequests

func NewListRevocationsTooManyRequests() *ListRevocationsTooManyRequests

NewListRevocationsTooManyRequests creates ListRevocationsTooManyRequests with default headers values

func (*ListRevocationsTooManyRequests) SetPayload

SetPayload sets the payload to the list revocations too many requests response

func (*ListRevocationsTooManyRequests) SetWWWAuthenticate

func (o *ListRevocationsTooManyRequests) SetWWWAuthenticate(wWWAuthenticate []string)

SetWWWAuthenticate sets the wWWAuthenticate to the list revocations too many requests response

func (*ListRevocationsTooManyRequests) WithPayload

WithPayload adds the payload to the list revocations too many requests response

func (*ListRevocationsTooManyRequests) WithWWWAuthenticate

func (o *ListRevocationsTooManyRequests) WithWWWAuthenticate(wWWAuthenticate []string) *ListRevocationsTooManyRequests

WithWWWAuthenticate adds the wWWAuthenticate to the list revocations too many requests response

func (*ListRevocationsTooManyRequests) WriteResponse

func (o *ListRevocationsTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type ListRevocationsURL

type ListRevocationsURL struct {
	Filter *string
	Limit  *int64
	Offset *int64
	// contains filtered or unexported fields
}

ListRevocationsURL generates an URL for the list revocations operation

func (*ListRevocationsURL) Build

func (o *ListRevocationsURL) Build() (*url.URL, error)

Build a url path and query string

func (*ListRevocationsURL) BuildFull

func (o *ListRevocationsURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*ListRevocationsURL) Must

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

Must is a helper function to panic when the url builder returns an error

func (*ListRevocationsURL) SetBasePath

func (o *ListRevocationsURL) 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 (*ListRevocationsURL) String

func (o *ListRevocationsURL) String() string

String returns the string representation of the path with query string

func (*ListRevocationsURL) StringFull

func (o *ListRevocationsURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*ListRevocationsURL) WithBasePath

func (o *ListRevocationsURL) WithBasePath(bp string) *ListRevocationsURL

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 ListRevocationsUnauthorized

type ListRevocationsUnauthorized struct {
	/*Denotes different type of security token related information

	 */
	WWWAuthenticate []string `json:"WWW-Authenticate"`

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

ListRevocationsUnauthorized The supplied session does not have the correct access rights to request this resource

swagger:response listRevocationsUnauthorized

func NewListRevocationsUnauthorized

func NewListRevocationsUnauthorized() *ListRevocationsUnauthorized

NewListRevocationsUnauthorized creates ListRevocationsUnauthorized with default headers values

func (*ListRevocationsUnauthorized) SetPayload

SetPayload sets the payload to the list revocations unauthorized response

func (*ListRevocationsUnauthorized) SetWWWAuthenticate

func (o *ListRevocationsUnauthorized) SetWWWAuthenticate(wWWAuthenticate []string)

SetWWWAuthenticate sets the wWWAuthenticate to the list revocations unauthorized response

func (*ListRevocationsUnauthorized) WithPayload

WithPayload adds the payload to the list revocations unauthorized response

func (*ListRevocationsUnauthorized) WithWWWAuthenticate

func (o *ListRevocationsUnauthorized) WithWWWAuthenticate(wWWAuthenticate []string) *ListRevocationsUnauthorized

WithWWWAuthenticate adds the wWWAuthenticate to the list revocations unauthorized response

func (*ListRevocationsUnauthorized) WriteResponse

func (o *ListRevocationsUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

Jump to

Keyboard shortcuts

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