signer

package
v0.0.0-...-538e00c Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2021 License: BSD-3-Clause Imports: 10 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 signer API

func (*Client) HostSigners

func (a *Client) HostSigners(params *HostSignersParams) (*HostSignersOK, error)

HostSigners gets a list of currently valid signers for host keys

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) SignerSignHostKey

func (a *Client) SignerSignHostKey(params *SignerSignHostKeyParams) (*SignerSignHostKeyOK, error)

SignerSignHostKey signs a host key

func (*Client) SignerSignUserKey

func (a *Client) SignerSignUserKey(params *SignerSignUserKeyParams) (*SignerSignUserKeyOK, error)

SignerSignUserKey signs a users key for access

func (*Client) SignerUserSigners

func (a *Client) SignerUserSigners(params *SignerUserSignersParams) (*SignerUserSignersOK, error)

SignerUserSigners gets a list of currently valid signers for user keys

type ClientService

type ClientService interface {
	HostSigners(params *HostSignersParams) (*HostSignersOK, error)

	SignerSignHostKey(params *SignerSignHostKeyParams) (*SignerSignHostKeyOK, error)

	SignerSignUserKey(params *SignerSignUserKeyParams) (*SignerSignUserKeyOK, error)

	SignerUserSigners(params *SignerUserSignersParams) (*SignerUserSignersOK, 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 signer API client.

type HostSignersDefault

type HostSignersDefault struct {
	Payload *models.RuntimeError
	// contains filtered or unexported fields
}

HostSignersDefault handles this case with default header values.

An unexpected error response

func NewHostSignersDefault

func NewHostSignersDefault(code int) *HostSignersDefault

NewHostSignersDefault creates a HostSignersDefault with default headers values

func (*HostSignersDefault) Code

func (o *HostSignersDefault) Code() int

Code gets the status code for the host signers default response

func (*HostSignersDefault) Error

func (o *HostSignersDefault) Error() string

func (*HostSignersDefault) GetPayload

func (o *HostSignersDefault) GetPayload() *models.RuntimeError

type HostSignersOK

type HostSignersOK struct {
	/*Information about the cachability of the response
	 */
	CacheControl string

	Payload *models.V1alpha1HostSignersResponse
}

HostSignersOK handles this case with default header values.

A successful response.

func NewHostSignersOK

func NewHostSignersOK() *HostSignersOK

NewHostSignersOK creates a HostSignersOK with default headers values

func (*HostSignersOK) Error

func (o *HostSignersOK) Error() string

func (*HostSignersOK) GetPayload

type HostSignersParams

type HostSignersParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

HostSignersParams contains all the parameters to send to the API endpoint for the host signers operation typically these are written to a http.Request

func NewHostSignersParams

func NewHostSignersParams() *HostSignersParams

NewHostSignersParams creates a new HostSignersParams object with the default values initialized.

func NewHostSignersParamsWithContext

func NewHostSignersParamsWithContext(ctx context.Context) *HostSignersParams

NewHostSignersParamsWithContext creates a new HostSignersParams object with the default values initialized, and the ability to set a context for a request

func NewHostSignersParamsWithHTTPClient

func NewHostSignersParamsWithHTTPClient(client *http.Client) *HostSignersParams

NewHostSignersParamsWithHTTPClient creates a new HostSignersParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewHostSignersParamsWithTimeout

func NewHostSignersParamsWithTimeout(timeout time.Duration) *HostSignersParams

NewHostSignersParamsWithTimeout creates a new HostSignersParams object with the default values initialized, and the ability to set a timeout on a request

func (*HostSignersParams) SetContext

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

SetContext adds the context to the host signers params

func (*HostSignersParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the host signers params

func (*HostSignersParams) SetTimeout

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

SetTimeout adds the timeout to the host signers params

func (*HostSignersParams) WithContext

func (o *HostSignersParams) WithContext(ctx context.Context) *HostSignersParams

WithContext adds the context to the host signers params

func (*HostSignersParams) WithHTTPClient

func (o *HostSignersParams) WithHTTPClient(client *http.Client) *HostSignersParams

WithHTTPClient adds the HTTPClient to the host signers params

func (*HostSignersParams) WithTimeout

func (o *HostSignersParams) WithTimeout(timeout time.Duration) *HostSignersParams

WithTimeout adds the timeout to the host signers params

func (*HostSignersParams) WriteToRequest

func (o *HostSignersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type HostSignersReader

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

HostSignersReader is a Reader for the HostSigners structure.

func (*HostSignersReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SignHostKeyOK

type SignHostKeyOK struct {
	Payload *models.V1alpha1SignHostKeyResponse
}

SignHostKeyOK handles this case with default header values.

A successful response.

func NewSignHostKeyOK

func NewSignHostKeyOK() *SignHostKeyOK

NewSignHostKeyOK creates a SignHostKeyOK with default headers values

func (*SignHostKeyOK) Error

func (o *SignHostKeyOK) Error() string

func (*SignHostKeyOK) GetPayload

type SignHostKeyParams

type SignHostKeyParams struct {

	/*Body*/
	Body *models.V1alpha1SignHostKeyRequest

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

SignHostKeyParams contains all the parameters to send to the API endpoint for the sign host key operation typically these are written to a http.Request

func NewSignHostKeyParams

func NewSignHostKeyParams() *SignHostKeyParams

NewSignHostKeyParams creates a new SignHostKeyParams object with the default values initialized.

func NewSignHostKeyParamsWithContext

func NewSignHostKeyParamsWithContext(ctx context.Context) *SignHostKeyParams

NewSignHostKeyParamsWithContext creates a new SignHostKeyParams object with the default values initialized, and the ability to set a context for a request

func NewSignHostKeyParamsWithHTTPClient

func NewSignHostKeyParamsWithHTTPClient(client *http.Client) *SignHostKeyParams

NewSignHostKeyParamsWithHTTPClient creates a new SignHostKeyParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewSignHostKeyParamsWithTimeout

func NewSignHostKeyParamsWithTimeout(timeout time.Duration) *SignHostKeyParams

NewSignHostKeyParamsWithTimeout creates a new SignHostKeyParams object with the default values initialized, and the ability to set a timeout on a request

func (*SignHostKeyParams) SetBody

SetBody adds the body to the sign host key params

func (*SignHostKeyParams) SetContext

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

SetContext adds the context to the sign host key params

func (*SignHostKeyParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the sign host key params

func (*SignHostKeyParams) SetTimeout

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

SetTimeout adds the timeout to the sign host key params

func (*SignHostKeyParams) WithBody

WithBody adds the body to the sign host key params

func (*SignHostKeyParams) WithContext

func (o *SignHostKeyParams) WithContext(ctx context.Context) *SignHostKeyParams

WithContext adds the context to the sign host key params

func (*SignHostKeyParams) WithHTTPClient

func (o *SignHostKeyParams) WithHTTPClient(client *http.Client) *SignHostKeyParams

WithHTTPClient adds the HTTPClient to the sign host key params

func (*SignHostKeyParams) WithTimeout

func (o *SignHostKeyParams) WithTimeout(timeout time.Duration) *SignHostKeyParams

WithTimeout adds the timeout to the sign host key params

func (*SignHostKeyParams) WriteToRequest

func (o *SignHostKeyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type SignHostKeyReader

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

SignHostKeyReader is a Reader for the SignHostKey structure.

func (*SignHostKeyReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SignUserKeyOK

type SignUserKeyOK struct {
	Payload *models.V1alpha1SignUserKeyResponse
}

SignUserKeyOK handles this case with default header values.

A successful response.

func NewSignUserKeyOK

func NewSignUserKeyOK() *SignUserKeyOK

NewSignUserKeyOK creates a SignUserKeyOK with default headers values

func (*SignUserKeyOK) Error

func (o *SignUserKeyOK) Error() string

func (*SignUserKeyOK) GetPayload

type SignUserKeyParams

type SignUserKeyParams struct {

	/*Body*/
	Body *models.V1alpha1SignUserKeyRequest

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

SignUserKeyParams contains all the parameters to send to the API endpoint for the sign user key operation typically these are written to a http.Request

func NewSignUserKeyParams

func NewSignUserKeyParams() *SignUserKeyParams

NewSignUserKeyParams creates a new SignUserKeyParams object with the default values initialized.

func NewSignUserKeyParamsWithContext

func NewSignUserKeyParamsWithContext(ctx context.Context) *SignUserKeyParams

NewSignUserKeyParamsWithContext creates a new SignUserKeyParams object with the default values initialized, and the ability to set a context for a request

func NewSignUserKeyParamsWithHTTPClient

func NewSignUserKeyParamsWithHTTPClient(client *http.Client) *SignUserKeyParams

NewSignUserKeyParamsWithHTTPClient creates a new SignUserKeyParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewSignUserKeyParamsWithTimeout

func NewSignUserKeyParamsWithTimeout(timeout time.Duration) *SignUserKeyParams

NewSignUserKeyParamsWithTimeout creates a new SignUserKeyParams object with the default values initialized, and the ability to set a timeout on a request

func (*SignUserKeyParams) SetBody

SetBody adds the body to the sign user key params

func (*SignUserKeyParams) SetContext

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

SetContext adds the context to the sign user key params

func (*SignUserKeyParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the sign user key params

func (*SignUserKeyParams) SetTimeout

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

SetTimeout adds the timeout to the sign user key params

func (*SignUserKeyParams) WithBody

WithBody adds the body to the sign user key params

func (*SignUserKeyParams) WithContext

func (o *SignUserKeyParams) WithContext(ctx context.Context) *SignUserKeyParams

WithContext adds the context to the sign user key params

func (*SignUserKeyParams) WithHTTPClient

func (o *SignUserKeyParams) WithHTTPClient(client *http.Client) *SignUserKeyParams

WithHTTPClient adds the HTTPClient to the sign user key params

func (*SignUserKeyParams) WithTimeout

func (o *SignUserKeyParams) WithTimeout(timeout time.Duration) *SignUserKeyParams

WithTimeout adds the timeout to the sign user key params

func (*SignUserKeyParams) WriteToRequest

func (o *SignUserKeyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type SignUserKeyReader

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

SignUserKeyReader is a Reader for the SignUserKey structure.

func (*SignUserKeyReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SignerSignHostKeyDefault

type SignerSignHostKeyDefault struct {
	Payload *models.RuntimeError
	// contains filtered or unexported fields
}

SignerSignHostKeyDefault handles this case with default header values.

An unexpected error response

func NewSignerSignHostKeyDefault

func NewSignerSignHostKeyDefault(code int) *SignerSignHostKeyDefault

NewSignerSignHostKeyDefault creates a SignerSignHostKeyDefault with default headers values

func (*SignerSignHostKeyDefault) Code

func (o *SignerSignHostKeyDefault) Code() int

Code gets the status code for the signer sign host key default response

func (*SignerSignHostKeyDefault) Error

func (o *SignerSignHostKeyDefault) Error() string

func (*SignerSignHostKeyDefault) GetPayload

func (o *SignerSignHostKeyDefault) GetPayload() *models.RuntimeError

type SignerSignHostKeyOK

type SignerSignHostKeyOK struct {
	Payload *models.V1alpha1SignHostKeyResponse
}

SignerSignHostKeyOK handles this case with default header values.

A successful response.

func NewSignerSignHostKeyOK

func NewSignerSignHostKeyOK() *SignerSignHostKeyOK

NewSignerSignHostKeyOK creates a SignerSignHostKeyOK with default headers values

func (*SignerSignHostKeyOK) Error

func (o *SignerSignHostKeyOK) Error() string

func (*SignerSignHostKeyOK) GetPayload

type SignerSignHostKeyParams

type SignerSignHostKeyParams struct {

	/*Body*/
	Body *models.V1alpha1SignHostKeyRequest

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

SignerSignHostKeyParams contains all the parameters to send to the API endpoint for the signer sign host key operation typically these are written to a http.Request

func NewSignerSignHostKeyParams

func NewSignerSignHostKeyParams() *SignerSignHostKeyParams

NewSignerSignHostKeyParams creates a new SignerSignHostKeyParams object with the default values initialized.

func NewSignerSignHostKeyParamsWithContext

func NewSignerSignHostKeyParamsWithContext(ctx context.Context) *SignerSignHostKeyParams

NewSignerSignHostKeyParamsWithContext creates a new SignerSignHostKeyParams object with the default values initialized, and the ability to set a context for a request

func NewSignerSignHostKeyParamsWithHTTPClient

func NewSignerSignHostKeyParamsWithHTTPClient(client *http.Client) *SignerSignHostKeyParams

NewSignerSignHostKeyParamsWithHTTPClient creates a new SignerSignHostKeyParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewSignerSignHostKeyParamsWithTimeout

func NewSignerSignHostKeyParamsWithTimeout(timeout time.Duration) *SignerSignHostKeyParams

NewSignerSignHostKeyParamsWithTimeout creates a new SignerSignHostKeyParams object with the default values initialized, and the ability to set a timeout on a request

func (*SignerSignHostKeyParams) SetBody

SetBody adds the body to the signer sign host key params

func (*SignerSignHostKeyParams) SetContext

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

SetContext adds the context to the signer sign host key params

func (*SignerSignHostKeyParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the signer sign host key params

func (*SignerSignHostKeyParams) SetTimeout

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

SetTimeout adds the timeout to the signer sign host key params

func (*SignerSignHostKeyParams) WithBody

WithBody adds the body to the signer sign host key params

func (*SignerSignHostKeyParams) WithContext

WithContext adds the context to the signer sign host key params

func (*SignerSignHostKeyParams) WithHTTPClient

func (o *SignerSignHostKeyParams) WithHTTPClient(client *http.Client) *SignerSignHostKeyParams

WithHTTPClient adds the HTTPClient to the signer sign host key params

func (*SignerSignHostKeyParams) WithTimeout

WithTimeout adds the timeout to the signer sign host key params

func (*SignerSignHostKeyParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SignerSignHostKeyReader

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

SignerSignHostKeyReader is a Reader for the SignerSignHostKey structure.

func (*SignerSignHostKeyReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SignerSignUserKeyDefault

type SignerSignUserKeyDefault struct {
	Payload *models.RuntimeError
	// contains filtered or unexported fields
}

SignerSignUserKeyDefault handles this case with default header values.

An unexpected error response

func NewSignerSignUserKeyDefault

func NewSignerSignUserKeyDefault(code int) *SignerSignUserKeyDefault

NewSignerSignUserKeyDefault creates a SignerSignUserKeyDefault with default headers values

func (*SignerSignUserKeyDefault) Code

func (o *SignerSignUserKeyDefault) Code() int

Code gets the status code for the signer sign user key default response

func (*SignerSignUserKeyDefault) Error

func (o *SignerSignUserKeyDefault) Error() string

func (*SignerSignUserKeyDefault) GetPayload

func (o *SignerSignUserKeyDefault) GetPayload() *models.RuntimeError

type SignerSignUserKeyOK

type SignerSignUserKeyOK struct {
	Payload *models.V1alpha1SignUserKeyResponse
}

SignerSignUserKeyOK handles this case with default header values.

A successful response.

func NewSignerSignUserKeyOK

func NewSignerSignUserKeyOK() *SignerSignUserKeyOK

NewSignerSignUserKeyOK creates a SignerSignUserKeyOK with default headers values

func (*SignerSignUserKeyOK) Error

func (o *SignerSignUserKeyOK) Error() string

func (*SignerSignUserKeyOK) GetPayload

type SignerSignUserKeyParams

type SignerSignUserKeyParams struct {

	/*Body*/
	Body *models.V1alpha1SignUserKeyRequest

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

SignerSignUserKeyParams contains all the parameters to send to the API endpoint for the signer sign user key operation typically these are written to a http.Request

func NewSignerSignUserKeyParams

func NewSignerSignUserKeyParams() *SignerSignUserKeyParams

NewSignerSignUserKeyParams creates a new SignerSignUserKeyParams object with the default values initialized.

func NewSignerSignUserKeyParamsWithContext

func NewSignerSignUserKeyParamsWithContext(ctx context.Context) *SignerSignUserKeyParams

NewSignerSignUserKeyParamsWithContext creates a new SignerSignUserKeyParams object with the default values initialized, and the ability to set a context for a request

func NewSignerSignUserKeyParamsWithHTTPClient

func NewSignerSignUserKeyParamsWithHTTPClient(client *http.Client) *SignerSignUserKeyParams

NewSignerSignUserKeyParamsWithHTTPClient creates a new SignerSignUserKeyParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewSignerSignUserKeyParamsWithTimeout

func NewSignerSignUserKeyParamsWithTimeout(timeout time.Duration) *SignerSignUserKeyParams

NewSignerSignUserKeyParamsWithTimeout creates a new SignerSignUserKeyParams object with the default values initialized, and the ability to set a timeout on a request

func (*SignerSignUserKeyParams) SetBody

SetBody adds the body to the signer sign user key params

func (*SignerSignUserKeyParams) SetContext

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

SetContext adds the context to the signer sign user key params

func (*SignerSignUserKeyParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the signer sign user key params

func (*SignerSignUserKeyParams) SetTimeout

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

SetTimeout adds the timeout to the signer sign user key params

func (*SignerSignUserKeyParams) WithBody

WithBody adds the body to the signer sign user key params

func (*SignerSignUserKeyParams) WithContext

WithContext adds the context to the signer sign user key params

func (*SignerSignUserKeyParams) WithHTTPClient

func (o *SignerSignUserKeyParams) WithHTTPClient(client *http.Client) *SignerSignUserKeyParams

WithHTTPClient adds the HTTPClient to the signer sign user key params

func (*SignerSignUserKeyParams) WithTimeout

WithTimeout adds the timeout to the signer sign user key params

func (*SignerSignUserKeyParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SignerSignUserKeyReader

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

SignerSignUserKeyReader is a Reader for the SignerSignUserKey structure.

func (*SignerSignUserKeyReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SignerUserSignersDefault

type SignerUserSignersDefault struct {
	Payload *models.RuntimeError
	// contains filtered or unexported fields
}

SignerUserSignersDefault handles this case with default header values.

An unexpected error response

func NewSignerUserSignersDefault

func NewSignerUserSignersDefault(code int) *SignerUserSignersDefault

NewSignerUserSignersDefault creates a SignerUserSignersDefault with default headers values

func (*SignerUserSignersDefault) Code

func (o *SignerUserSignersDefault) Code() int

Code gets the status code for the signer user signers default response

func (*SignerUserSignersDefault) Error

func (o *SignerUserSignersDefault) Error() string

func (*SignerUserSignersDefault) GetPayload

func (o *SignerUserSignersDefault) GetPayload() *models.RuntimeError

type SignerUserSignersOK

type SignerUserSignersOK struct {
	/*Information about the cachability of the response
	 */
	CacheControl string

	Payload *models.V1alpha1UserSignersResponse
}

SignerUserSignersOK handles this case with default header values.

A successful response.

func NewSignerUserSignersOK

func NewSignerUserSignersOK() *SignerUserSignersOK

NewSignerUserSignersOK creates a SignerUserSignersOK with default headers values

func (*SignerUserSignersOK) Error

func (o *SignerUserSignersOK) Error() string

func (*SignerUserSignersOK) GetPayload

type SignerUserSignersParams

type SignerUserSignersParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

SignerUserSignersParams contains all the parameters to send to the API endpoint for the signer user signers operation typically these are written to a http.Request

func NewSignerUserSignersParams

func NewSignerUserSignersParams() *SignerUserSignersParams

NewSignerUserSignersParams creates a new SignerUserSignersParams object with the default values initialized.

func NewSignerUserSignersParamsWithContext

func NewSignerUserSignersParamsWithContext(ctx context.Context) *SignerUserSignersParams

NewSignerUserSignersParamsWithContext creates a new SignerUserSignersParams object with the default values initialized, and the ability to set a context for a request

func NewSignerUserSignersParamsWithHTTPClient

func NewSignerUserSignersParamsWithHTTPClient(client *http.Client) *SignerUserSignersParams

NewSignerUserSignersParamsWithHTTPClient creates a new SignerUserSignersParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewSignerUserSignersParamsWithTimeout

func NewSignerUserSignersParamsWithTimeout(timeout time.Duration) *SignerUserSignersParams

NewSignerUserSignersParamsWithTimeout creates a new SignerUserSignersParams object with the default values initialized, and the ability to set a timeout on a request

func (*SignerUserSignersParams) SetContext

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

SetContext adds the context to the signer user signers params

func (*SignerUserSignersParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the signer user signers params

func (*SignerUserSignersParams) SetTimeout

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

SetTimeout adds the timeout to the signer user signers params

func (*SignerUserSignersParams) WithContext

WithContext adds the context to the signer user signers params

func (*SignerUserSignersParams) WithHTTPClient

func (o *SignerUserSignersParams) WithHTTPClient(client *http.Client) *SignerUserSignersParams

WithHTTPClient adds the HTTPClient to the signer user signers params

func (*SignerUserSignersParams) WithTimeout

WithTimeout adds the timeout to the signer user signers params

func (*SignerUserSignersParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SignerUserSignersReader

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

SignerUserSignersReader is a Reader for the SignerUserSigners structure.

func (*SignerUserSignersReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UserSignersOK

type UserSignersOK struct {
	/*Information about the cachability of the response
	 */
	CacheControl string

	Payload *models.V1alpha1UserSignersResponse
}

UserSignersOK handles this case with default header values.

A successful response.

func NewUserSignersOK

func NewUserSignersOK() *UserSignersOK

NewUserSignersOK creates a UserSignersOK with default headers values

func (*UserSignersOK) Error

func (o *UserSignersOK) Error() string

func (*UserSignersOK) GetPayload

type UserSignersParams

type UserSignersParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UserSignersParams contains all the parameters to send to the API endpoint for the user signers operation typically these are written to a http.Request

func NewUserSignersParams

func NewUserSignersParams() *UserSignersParams

NewUserSignersParams creates a new UserSignersParams object with the default values initialized.

func NewUserSignersParamsWithContext

func NewUserSignersParamsWithContext(ctx context.Context) *UserSignersParams

NewUserSignersParamsWithContext creates a new UserSignersParams object with the default values initialized, and the ability to set a context for a request

func NewUserSignersParamsWithHTTPClient

func NewUserSignersParamsWithHTTPClient(client *http.Client) *UserSignersParams

NewUserSignersParamsWithHTTPClient creates a new UserSignersParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewUserSignersParamsWithTimeout

func NewUserSignersParamsWithTimeout(timeout time.Duration) *UserSignersParams

NewUserSignersParamsWithTimeout creates a new UserSignersParams object with the default values initialized, and the ability to set a timeout on a request

func (*UserSignersParams) SetContext

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

SetContext adds the context to the user signers params

func (*UserSignersParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the user signers params

func (*UserSignersParams) SetTimeout

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

SetTimeout adds the timeout to the user signers params

func (*UserSignersParams) WithContext

func (o *UserSignersParams) WithContext(ctx context.Context) *UserSignersParams

WithContext adds the context to the user signers params

func (*UserSignersParams) WithHTTPClient

func (o *UserSignersParams) WithHTTPClient(client *http.Client) *UserSignersParams

WithHTTPClient adds the HTTPClient to the user signers params

func (*UserSignersParams) WithTimeout

func (o *UserSignersParams) WithTimeout(timeout time.Duration) *UserSignersParams

WithTimeout adds the timeout to the user signers params

func (*UserSignersParams) WriteToRequest

func (o *UserSignersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type UserSignersReader

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

UserSignersReader is a Reader for the UserSigners structure.

func (*UserSignersReader) ReadResponse

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

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

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