external_jwt_signer

package
v0.24.83 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for external jwt signer API

func (*Client) ListExternalJWTSigners

func (a *Client) ListExternalJWTSigners(params *ListExternalJWTSignersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListExternalJWTSignersOK, error)

ListExternalJWTSigners lists client authentication external JWT

Retrieves a list of external JWT signers for authentication

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	ListExternalJWTSigners(params *ListExternalJWTSignersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListExternalJWTSignersOK, error)

	SetTransport(transport runtime.ClientTransport)
}

ClientService is the interface for Client methods

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService

New creates a new external jwt signer API client.

type ListExternalJWTSignersBadRequest

type ListExternalJWTSignersBadRequest struct {
	Payload *rest_model.APIErrorEnvelope
}
ListExternalJWTSignersBadRequest describes a response with status code 400, with default header values.

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

func NewListExternalJWTSignersBadRequest

func NewListExternalJWTSignersBadRequest() *ListExternalJWTSignersBadRequest

NewListExternalJWTSignersBadRequest creates a ListExternalJWTSignersBadRequest with default headers values

func (*ListExternalJWTSignersBadRequest) Error

func (*ListExternalJWTSignersBadRequest) GetPayload

type ListExternalJWTSignersOK

type ListExternalJWTSignersOK struct {
	Payload *rest_model.ListClientExternalJWTSignersEnvelope
}
ListExternalJWTSignersOK describes a response with status code 200, with default header values.

A list of External JWT Signers

func NewListExternalJWTSignersOK

func NewListExternalJWTSignersOK() *ListExternalJWTSignersOK

NewListExternalJWTSignersOK creates a ListExternalJWTSignersOK with default headers values

func (*ListExternalJWTSignersOK) Error

func (o *ListExternalJWTSignersOK) Error() string

func (*ListExternalJWTSignersOK) GetPayload

type ListExternalJWTSignersParams

type ListExternalJWTSignersParams struct {

	// Filter.
	Filter *string

	// Limit.
	Limit *int64

	// Offset.
	Offset *int64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ListExternalJWTSignersParams contains all the parameters to send to the API endpoint

for the list external Jwt signers operation.

Typically these are written to a http.Request.

func NewListExternalJWTSignersParams

func NewListExternalJWTSignersParams() *ListExternalJWTSignersParams

NewListExternalJWTSignersParams creates a new ListExternalJWTSignersParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewListExternalJWTSignersParamsWithContext

func NewListExternalJWTSignersParamsWithContext(ctx context.Context) *ListExternalJWTSignersParams

NewListExternalJWTSignersParamsWithContext creates a new ListExternalJWTSignersParams object with the ability to set a context for a request.

func NewListExternalJWTSignersParamsWithHTTPClient

func NewListExternalJWTSignersParamsWithHTTPClient(client *http.Client) *ListExternalJWTSignersParams

NewListExternalJWTSignersParamsWithHTTPClient creates a new ListExternalJWTSignersParams object with the ability to set a custom HTTPClient for a request.

func NewListExternalJWTSignersParamsWithTimeout

func NewListExternalJWTSignersParamsWithTimeout(timeout time.Duration) *ListExternalJWTSignersParams

NewListExternalJWTSignersParamsWithTimeout creates a new ListExternalJWTSignersParams object with the ability to set a timeout on a request.

func (*ListExternalJWTSignersParams) SetContext

func (o *ListExternalJWTSignersParams) SetContext(ctx context.Context)

SetContext adds the context to the list external Jwt signers params

func (*ListExternalJWTSignersParams) SetDefaults

func (o *ListExternalJWTSignersParams) SetDefaults()

SetDefaults hydrates default values in the list external Jwt signers params (not the query body).

All values with no default are reset to their zero value.

func (*ListExternalJWTSignersParams) SetFilter

func (o *ListExternalJWTSignersParams) SetFilter(filter *string)

SetFilter adds the filter to the list external Jwt signers params

func (*ListExternalJWTSignersParams) SetHTTPClient

func (o *ListExternalJWTSignersParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the list external Jwt signers params

func (*ListExternalJWTSignersParams) SetLimit

func (o *ListExternalJWTSignersParams) SetLimit(limit *int64)

SetLimit adds the limit to the list external Jwt signers params

func (*ListExternalJWTSignersParams) SetOffset

func (o *ListExternalJWTSignersParams) SetOffset(offset *int64)

SetOffset adds the offset to the list external Jwt signers params

func (*ListExternalJWTSignersParams) SetTimeout

func (o *ListExternalJWTSignersParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the list external Jwt signers params

func (*ListExternalJWTSignersParams) WithContext

WithContext adds the context to the list external Jwt signers params

func (*ListExternalJWTSignersParams) WithDefaults

WithDefaults hydrates default values in the list external Jwt signers params (not the query body).

All values with no default are reset to their zero value.

func (*ListExternalJWTSignersParams) WithFilter

WithFilter adds the filter to the list external Jwt signers params

func (*ListExternalJWTSignersParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the list external Jwt signers params

func (*ListExternalJWTSignersParams) WithLimit

WithLimit adds the limit to the list external Jwt signers params

func (*ListExternalJWTSignersParams) WithOffset

WithOffset adds the offset to the list external Jwt signers params

func (*ListExternalJWTSignersParams) WithTimeout

WithTimeout adds the timeout to the list external Jwt signers params

func (*ListExternalJWTSignersParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListExternalJWTSignersReader

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

ListExternalJWTSignersReader is a Reader for the ListExternalJWTSigners structure.

func (*ListExternalJWTSignersReader) ReadResponse

func (o *ListExternalJWTSignersReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ListExternalJWTSignersUnauthorized

type ListExternalJWTSignersUnauthorized struct {
	Payload *rest_model.APIErrorEnvelope
}
ListExternalJWTSignersUnauthorized describes a response with status code 401, with default header values.

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

func NewListExternalJWTSignersUnauthorized

func NewListExternalJWTSignersUnauthorized() *ListExternalJWTSignersUnauthorized

NewListExternalJWTSignersUnauthorized creates a ListExternalJWTSignersUnauthorized with default headers values

func (*ListExternalJWTSignersUnauthorized) Error

func (*ListExternalJWTSignersUnauthorized) GetPayload

Jump to

Keyboard shortcuts

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