system

package
v0.36.0 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2019 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 system API

func New

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

New creates a new system API client.

func (*Client) DeleteKeysKeyID

func (a *Client) DeleteKeysKeyID(params *DeleteKeysKeyIDParams) (*DeleteKeysKeyIDNoContent, error)

DeleteKeysKeyID deletes key

func (*Client) DeleteKeysKeyIDCertificatesCertificateID

DeleteKeysKeyIDCertificatesCertificateID deletes certificate

func (*Client) GetKeys

func (a *Client) GetKeys(params *GetKeysParams) (*GetKeysOK, error)

GetKeys lists all keys

func (*Client) GetKeysKeyID

func (a *Client) GetKeysKeyID(params *GetKeysKeyIDParams) (*GetKeysKeyIDOK, error)

GetKeysKeyID fetches key

func (*Client) GetKeysKeyIDCertificates

func (a *Client) GetKeysKeyIDCertificates(params *GetKeysKeyIDCertificatesParams) (*GetKeysKeyIDCertificatesOK, error)

GetKeysKeyIDCertificates lists all certificates

func (*Client) GetKeysKeyIDCertificatesCertificateID

func (a *Client) GetKeysKeyIDCertificatesCertificateID(params *GetKeysKeyIDCertificatesCertificateIDParams) (*GetKeysKeyIDCertificatesCertificateIDOK, error)

GetKeysKeyIDCertificatesCertificateID fetches certificate

func (*Client) PostKeys

func (a *Client) PostKeys(params *PostKeysParams) (*PostKeysCreated, error)

PostKeys creates key

func (*Client) PostKeysKeyIDCertificates

func (a *Client) PostKeysKeyIDCertificates(params *PostKeysKeyIDCertificatesParams) (*PostKeysKeyIDCertificatesCreated, error)

PostKeysKeyIDCertificates creates certificate

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type DeleteKeysKeyIDCertificatesCertificateIDNoContent

type DeleteKeysKeyIDCertificatesCertificateIDNoContent struct {
}

DeleteKeysKeyIDCertificatesCertificateIDNoContent handles this case with default header values.

Certificate deleted

func NewDeleteKeysKeyIDCertificatesCertificateIDNoContent

func NewDeleteKeysKeyIDCertificatesCertificateIDNoContent() *DeleteKeysKeyIDCertificatesCertificateIDNoContent

NewDeleteKeysKeyIDCertificatesCertificateIDNoContent creates a DeleteKeysKeyIDCertificatesCertificateIDNoContent with default headers values

func (*DeleteKeysKeyIDCertificatesCertificateIDNoContent) Error

type DeleteKeysKeyIDCertificatesCertificateIDParams

type DeleteKeysKeyIDCertificatesCertificateIDParams struct {

	/*CertificateID
	  Certificate Id

	*/
	CertificateID strfmt.UUID
	/*KeyID
	  Key Id

	*/
	KeyID strfmt.UUID
	/*Version
	  Version

	*/
	Version int64

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

DeleteKeysKeyIDCertificatesCertificateIDParams contains all the parameters to send to the API endpoint for the delete keys key ID certificates certificate ID operation typically these are written to a http.Request

func NewDeleteKeysKeyIDCertificatesCertificateIDParams

func NewDeleteKeysKeyIDCertificatesCertificateIDParams() *DeleteKeysKeyIDCertificatesCertificateIDParams

NewDeleteKeysKeyIDCertificatesCertificateIDParams creates a new DeleteKeysKeyIDCertificatesCertificateIDParams object with the default values initialized.

func NewDeleteKeysKeyIDCertificatesCertificateIDParamsWithContext

func NewDeleteKeysKeyIDCertificatesCertificateIDParamsWithContext(ctx context.Context) *DeleteKeysKeyIDCertificatesCertificateIDParams

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

func NewDeleteKeysKeyIDCertificatesCertificateIDParamsWithHTTPClient

func NewDeleteKeysKeyIDCertificatesCertificateIDParamsWithHTTPClient(client *http.Client) *DeleteKeysKeyIDCertificatesCertificateIDParams

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

func NewDeleteKeysKeyIDCertificatesCertificateIDParamsWithTimeout

func NewDeleteKeysKeyIDCertificatesCertificateIDParamsWithTimeout(timeout time.Duration) *DeleteKeysKeyIDCertificatesCertificateIDParams

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

func (*DeleteKeysKeyIDCertificatesCertificateIDParams) SetCertificateID

func (o *DeleteKeysKeyIDCertificatesCertificateIDParams) SetCertificateID(certificateID strfmt.UUID)

SetCertificateID adds the certificateId to the delete keys key ID certificates certificate ID params

func (*DeleteKeysKeyIDCertificatesCertificateIDParams) SetContext

SetContext adds the context to the delete keys key ID certificates certificate ID params

func (*DeleteKeysKeyIDCertificatesCertificateIDParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the delete keys key ID certificates certificate ID params

func (*DeleteKeysKeyIDCertificatesCertificateIDParams) SetKeyID

SetKeyID adds the keyId to the delete keys key ID certificates certificate ID params

func (*DeleteKeysKeyIDCertificatesCertificateIDParams) SetTimeout

SetTimeout adds the timeout to the delete keys key ID certificates certificate ID params

func (*DeleteKeysKeyIDCertificatesCertificateIDParams) SetVersion

SetVersion adds the version to the delete keys key ID certificates certificate ID params

func (*DeleteKeysKeyIDCertificatesCertificateIDParams) WithCertificateID

WithCertificateID adds the certificateID to the delete keys key ID certificates certificate ID params

func (*DeleteKeysKeyIDCertificatesCertificateIDParams) WithContext

WithContext adds the context to the delete keys key ID certificates certificate ID params

func (*DeleteKeysKeyIDCertificatesCertificateIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete keys key ID certificates certificate ID params

func (*DeleteKeysKeyIDCertificatesCertificateIDParams) WithKeyID

WithKeyID adds the keyID to the delete keys key ID certificates certificate ID params

func (*DeleteKeysKeyIDCertificatesCertificateIDParams) WithTimeout

WithTimeout adds the timeout to the delete keys key ID certificates certificate ID params

func (*DeleteKeysKeyIDCertificatesCertificateIDParams) WithVersion

WithVersion adds the version to the delete keys key ID certificates certificate ID params

func (*DeleteKeysKeyIDCertificatesCertificateIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteKeysKeyIDCertificatesCertificateIDReader

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

DeleteKeysKeyIDCertificatesCertificateIDReader is a Reader for the DeleteKeysKeyIDCertificatesCertificateID structure.

func (*DeleteKeysKeyIDCertificatesCertificateIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteKeysKeyIDNoContent

type DeleteKeysKeyIDNoContent struct {
}

DeleteKeysKeyIDNoContent handles this case with default header values.

Key deleted

func NewDeleteKeysKeyIDNoContent

func NewDeleteKeysKeyIDNoContent() *DeleteKeysKeyIDNoContent

NewDeleteKeysKeyIDNoContent creates a DeleteKeysKeyIDNoContent with default headers values

func (*DeleteKeysKeyIDNoContent) Error

func (o *DeleteKeysKeyIDNoContent) Error() string

type DeleteKeysKeyIDParams

type DeleteKeysKeyIDParams struct {

	/*KeyID
	  Key Id

	*/
	KeyID strfmt.UUID
	/*Version
	  Version

	*/
	Version int64

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

DeleteKeysKeyIDParams contains all the parameters to send to the API endpoint for the delete keys key ID operation typically these are written to a http.Request

func NewDeleteKeysKeyIDParams

func NewDeleteKeysKeyIDParams() *DeleteKeysKeyIDParams

NewDeleteKeysKeyIDParams creates a new DeleteKeysKeyIDParams object with the default values initialized.

func NewDeleteKeysKeyIDParamsWithContext

func NewDeleteKeysKeyIDParamsWithContext(ctx context.Context) *DeleteKeysKeyIDParams

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

func NewDeleteKeysKeyIDParamsWithHTTPClient

func NewDeleteKeysKeyIDParamsWithHTTPClient(client *http.Client) *DeleteKeysKeyIDParams

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

func NewDeleteKeysKeyIDParamsWithTimeout

func NewDeleteKeysKeyIDParamsWithTimeout(timeout time.Duration) *DeleteKeysKeyIDParams

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

func (*DeleteKeysKeyIDParams) SetContext

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

SetContext adds the context to the delete keys key ID params

func (*DeleteKeysKeyIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete keys key ID params

func (*DeleteKeysKeyIDParams) SetKeyID

func (o *DeleteKeysKeyIDParams) SetKeyID(keyID strfmt.UUID)

SetKeyID adds the keyId to the delete keys key ID params

func (*DeleteKeysKeyIDParams) SetTimeout

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

SetTimeout adds the timeout to the delete keys key ID params

func (*DeleteKeysKeyIDParams) SetVersion

func (o *DeleteKeysKeyIDParams) SetVersion(version int64)

SetVersion adds the version to the delete keys key ID params

func (*DeleteKeysKeyIDParams) WithContext

WithContext adds the context to the delete keys key ID params

func (*DeleteKeysKeyIDParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete keys key ID params

func (*DeleteKeysKeyIDParams) WithKeyID

WithKeyID adds the keyID to the delete keys key ID params

func (*DeleteKeysKeyIDParams) WithTimeout

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

WithTimeout adds the timeout to the delete keys key ID params

func (*DeleteKeysKeyIDParams) WithVersion

func (o *DeleteKeysKeyIDParams) WithVersion(version int64) *DeleteKeysKeyIDParams

WithVersion adds the version to the delete keys key ID params

func (*DeleteKeysKeyIDParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type DeleteKeysKeyIDReader

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

DeleteKeysKeyIDReader is a Reader for the DeleteKeysKeyID structure.

func (*DeleteKeysKeyIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetKeysKeyIDCertificatesCertificateIDOK

type GetKeysKeyIDCertificatesCertificateIDOK struct {
	Payload *models.CertificateDetailsResponse
}

GetKeysKeyIDCertificatesCertificateIDOK handles this case with default header values.

Certificate details

func NewGetKeysKeyIDCertificatesCertificateIDOK

func NewGetKeysKeyIDCertificatesCertificateIDOK() *GetKeysKeyIDCertificatesCertificateIDOK

NewGetKeysKeyIDCertificatesCertificateIDOK creates a GetKeysKeyIDCertificatesCertificateIDOK with default headers values

func (*GetKeysKeyIDCertificatesCertificateIDOK) Error

type GetKeysKeyIDCertificatesCertificateIDParams

type GetKeysKeyIDCertificatesCertificateIDParams struct {

	/*CertificateID
	  Certificate Id

	*/
	CertificateID strfmt.UUID
	/*KeyID
	  Key Id

	*/
	KeyID strfmt.UUID

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

GetKeysKeyIDCertificatesCertificateIDParams contains all the parameters to send to the API endpoint for the get keys key ID certificates certificate ID operation typically these are written to a http.Request

func NewGetKeysKeyIDCertificatesCertificateIDParams

func NewGetKeysKeyIDCertificatesCertificateIDParams() *GetKeysKeyIDCertificatesCertificateIDParams

NewGetKeysKeyIDCertificatesCertificateIDParams creates a new GetKeysKeyIDCertificatesCertificateIDParams object with the default values initialized.

func NewGetKeysKeyIDCertificatesCertificateIDParamsWithContext

func NewGetKeysKeyIDCertificatesCertificateIDParamsWithContext(ctx context.Context) *GetKeysKeyIDCertificatesCertificateIDParams

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

func NewGetKeysKeyIDCertificatesCertificateIDParamsWithHTTPClient

func NewGetKeysKeyIDCertificatesCertificateIDParamsWithHTTPClient(client *http.Client) *GetKeysKeyIDCertificatesCertificateIDParams

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

func NewGetKeysKeyIDCertificatesCertificateIDParamsWithTimeout

func NewGetKeysKeyIDCertificatesCertificateIDParamsWithTimeout(timeout time.Duration) *GetKeysKeyIDCertificatesCertificateIDParams

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

func (*GetKeysKeyIDCertificatesCertificateIDParams) SetCertificateID

func (o *GetKeysKeyIDCertificatesCertificateIDParams) SetCertificateID(certificateID strfmt.UUID)

SetCertificateID adds the certificateId to the get keys key ID certificates certificate ID params

func (*GetKeysKeyIDCertificatesCertificateIDParams) SetContext

SetContext adds the context to the get keys key ID certificates certificate ID params

func (*GetKeysKeyIDCertificatesCertificateIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get keys key ID certificates certificate ID params

func (*GetKeysKeyIDCertificatesCertificateIDParams) SetKeyID

SetKeyID adds the keyId to the get keys key ID certificates certificate ID params

func (*GetKeysKeyIDCertificatesCertificateIDParams) SetTimeout

SetTimeout adds the timeout to the get keys key ID certificates certificate ID params

func (*GetKeysKeyIDCertificatesCertificateIDParams) WithCertificateID

WithCertificateID adds the certificateID to the get keys key ID certificates certificate ID params

func (*GetKeysKeyIDCertificatesCertificateIDParams) WithContext

WithContext adds the context to the get keys key ID certificates certificate ID params

func (*GetKeysKeyIDCertificatesCertificateIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get keys key ID certificates certificate ID params

func (*GetKeysKeyIDCertificatesCertificateIDParams) WithKeyID

WithKeyID adds the keyID to the get keys key ID certificates certificate ID params

func (*GetKeysKeyIDCertificatesCertificateIDParams) WithTimeout

WithTimeout adds the timeout to the get keys key ID certificates certificate ID params

func (*GetKeysKeyIDCertificatesCertificateIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetKeysKeyIDCertificatesCertificateIDReader

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

GetKeysKeyIDCertificatesCertificateIDReader is a Reader for the GetKeysKeyIDCertificatesCertificateID structure.

func (*GetKeysKeyIDCertificatesCertificateIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetKeysKeyIDCertificatesOK

type GetKeysKeyIDCertificatesOK struct {
	Payload *models.CertificateDetailsListResponse
}

GetKeysKeyIDCertificatesOK handles this case with default header values.

List of certificates

func NewGetKeysKeyIDCertificatesOK

func NewGetKeysKeyIDCertificatesOK() *GetKeysKeyIDCertificatesOK

NewGetKeysKeyIDCertificatesOK creates a GetKeysKeyIDCertificatesOK with default headers values

func (*GetKeysKeyIDCertificatesOK) Error

type GetKeysKeyIDCertificatesParams

type GetKeysKeyIDCertificatesParams struct {

	/*KeyID
	  Key Id

	*/
	KeyID strfmt.UUID

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

GetKeysKeyIDCertificatesParams contains all the parameters to send to the API endpoint for the get keys key ID certificates operation typically these are written to a http.Request

func NewGetKeysKeyIDCertificatesParams

func NewGetKeysKeyIDCertificatesParams() *GetKeysKeyIDCertificatesParams

NewGetKeysKeyIDCertificatesParams creates a new GetKeysKeyIDCertificatesParams object with the default values initialized.

func NewGetKeysKeyIDCertificatesParamsWithContext

func NewGetKeysKeyIDCertificatesParamsWithContext(ctx context.Context) *GetKeysKeyIDCertificatesParams

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

func NewGetKeysKeyIDCertificatesParamsWithHTTPClient

func NewGetKeysKeyIDCertificatesParamsWithHTTPClient(client *http.Client) *GetKeysKeyIDCertificatesParams

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

func NewGetKeysKeyIDCertificatesParamsWithTimeout

func NewGetKeysKeyIDCertificatesParamsWithTimeout(timeout time.Duration) *GetKeysKeyIDCertificatesParams

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

func (*GetKeysKeyIDCertificatesParams) SetContext

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

SetContext adds the context to the get keys key ID certificates params

func (*GetKeysKeyIDCertificatesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get keys key ID certificates params

func (*GetKeysKeyIDCertificatesParams) SetKeyID

func (o *GetKeysKeyIDCertificatesParams) SetKeyID(keyID strfmt.UUID)

SetKeyID adds the keyId to the get keys key ID certificates params

func (*GetKeysKeyIDCertificatesParams) SetTimeout

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

SetTimeout adds the timeout to the get keys key ID certificates params

func (*GetKeysKeyIDCertificatesParams) WithContext

WithContext adds the context to the get keys key ID certificates params

func (*GetKeysKeyIDCertificatesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get keys key ID certificates params

func (*GetKeysKeyIDCertificatesParams) WithKeyID

WithKeyID adds the keyID to the get keys key ID certificates params

func (*GetKeysKeyIDCertificatesParams) WithTimeout

WithTimeout adds the timeout to the get keys key ID certificates params

func (*GetKeysKeyIDCertificatesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetKeysKeyIDCertificatesReader

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

GetKeysKeyIDCertificatesReader is a Reader for the GetKeysKeyIDCertificates structure.

func (*GetKeysKeyIDCertificatesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetKeysKeyIDOK

type GetKeysKeyIDOK struct {
	Payload *models.KeyDetailsResponse
}

GetKeysKeyIDOK handles this case with default header values.

Key details

func NewGetKeysKeyIDOK

func NewGetKeysKeyIDOK() *GetKeysKeyIDOK

NewGetKeysKeyIDOK creates a GetKeysKeyIDOK with default headers values

func (*GetKeysKeyIDOK) Error

func (o *GetKeysKeyIDOK) Error() string

type GetKeysKeyIDParams

type GetKeysKeyIDParams struct {

	/*KeyID
	  Key Id

	*/
	KeyID strfmt.UUID

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

GetKeysKeyIDParams contains all the parameters to send to the API endpoint for the get keys key ID operation typically these are written to a http.Request

func NewGetKeysKeyIDParams

func NewGetKeysKeyIDParams() *GetKeysKeyIDParams

NewGetKeysKeyIDParams creates a new GetKeysKeyIDParams object with the default values initialized.

func NewGetKeysKeyIDParamsWithContext

func NewGetKeysKeyIDParamsWithContext(ctx context.Context) *GetKeysKeyIDParams

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

func NewGetKeysKeyIDParamsWithHTTPClient

func NewGetKeysKeyIDParamsWithHTTPClient(client *http.Client) *GetKeysKeyIDParams

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

func NewGetKeysKeyIDParamsWithTimeout

func NewGetKeysKeyIDParamsWithTimeout(timeout time.Duration) *GetKeysKeyIDParams

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

func (*GetKeysKeyIDParams) SetContext

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

SetContext adds the context to the get keys key ID params

func (*GetKeysKeyIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get keys key ID params

func (*GetKeysKeyIDParams) SetKeyID

func (o *GetKeysKeyIDParams) SetKeyID(keyID strfmt.UUID)

SetKeyID adds the keyId to the get keys key ID params

func (*GetKeysKeyIDParams) SetTimeout

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

SetTimeout adds the timeout to the get keys key ID params

func (*GetKeysKeyIDParams) WithContext

WithContext adds the context to the get keys key ID params

func (*GetKeysKeyIDParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get keys key ID params

func (*GetKeysKeyIDParams) WithKeyID

func (o *GetKeysKeyIDParams) WithKeyID(keyID strfmt.UUID) *GetKeysKeyIDParams

WithKeyID adds the keyID to the get keys key ID params

func (*GetKeysKeyIDParams) WithTimeout

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

WithTimeout adds the timeout to the get keys key ID params

func (*GetKeysKeyIDParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetKeysKeyIDReader

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

GetKeysKeyIDReader is a Reader for the GetKeysKeyID structure.

func (*GetKeysKeyIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetKeysOK

type GetKeysOK struct {
	Payload *models.KeyDetailsListResponse
}

GetKeysOK handles this case with default header values.

List of Keys

func NewGetKeysOK

func NewGetKeysOK() *GetKeysOK

NewGetKeysOK creates a GetKeysOK with default headers values

func (*GetKeysOK) Error

func (o *GetKeysOK) Error() string

type GetKeysParams

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

GetKeysParams contains all the parameters to send to the API endpoint for the get keys operation typically these are written to a http.Request

func NewGetKeysParams

func NewGetKeysParams() *GetKeysParams

NewGetKeysParams creates a new GetKeysParams object with the default values initialized.

func NewGetKeysParamsWithContext

func NewGetKeysParamsWithContext(ctx context.Context) *GetKeysParams

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

func NewGetKeysParamsWithHTTPClient

func NewGetKeysParamsWithHTTPClient(client *http.Client) *GetKeysParams

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

func NewGetKeysParamsWithTimeout

func NewGetKeysParamsWithTimeout(timeout time.Duration) *GetKeysParams

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

func (*GetKeysParams) SetContext

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

SetContext adds the context to the get keys params

func (*GetKeysParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get keys params

func (*GetKeysParams) SetTimeout

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

SetTimeout adds the timeout to the get keys params

func (*GetKeysParams) WithContext

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

WithContext adds the context to the get keys params

func (*GetKeysParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get keys params

func (*GetKeysParams) WithTimeout

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

WithTimeout adds the timeout to the get keys params

func (*GetKeysParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetKeysReader

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

GetKeysReader is a Reader for the GetKeys structure.

func (*GetKeysReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PostKeysCreated

type PostKeysCreated struct {
	Payload *models.KeyCreationResponse
}

PostKeysCreated handles this case with default header values.

creation response

func NewPostKeysCreated

func NewPostKeysCreated() *PostKeysCreated

NewPostKeysCreated creates a PostKeysCreated with default headers values

func (*PostKeysCreated) Error

func (o *PostKeysCreated) Error() string

type PostKeysKeyIDCertificatesCreated

type PostKeysKeyIDCertificatesCreated struct {
	Payload *models.CertificateCreationResponse
}

PostKeysKeyIDCertificatesCreated handles this case with default header values.

creation response

func NewPostKeysKeyIDCertificatesCreated

func NewPostKeysKeyIDCertificatesCreated() *PostKeysKeyIDCertificatesCreated

NewPostKeysKeyIDCertificatesCreated creates a PostKeysKeyIDCertificatesCreated with default headers values

func (*PostKeysKeyIDCertificatesCreated) Error

type PostKeysKeyIDCertificatesParams

type PostKeysKeyIDCertificatesParams struct {

	/*CertificateCreationRequest*/
	CertificateCreationRequest *models.CertificateCreation
	/*KeyID
	  Key Id

	*/
	KeyID strfmt.UUID

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

PostKeysKeyIDCertificatesParams contains all the parameters to send to the API endpoint for the post keys key ID certificates operation typically these are written to a http.Request

func NewPostKeysKeyIDCertificatesParams

func NewPostKeysKeyIDCertificatesParams() *PostKeysKeyIDCertificatesParams

NewPostKeysKeyIDCertificatesParams creates a new PostKeysKeyIDCertificatesParams object with the default values initialized.

func NewPostKeysKeyIDCertificatesParamsWithContext

func NewPostKeysKeyIDCertificatesParamsWithContext(ctx context.Context) *PostKeysKeyIDCertificatesParams

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

func NewPostKeysKeyIDCertificatesParamsWithHTTPClient

func NewPostKeysKeyIDCertificatesParamsWithHTTPClient(client *http.Client) *PostKeysKeyIDCertificatesParams

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

func NewPostKeysKeyIDCertificatesParamsWithTimeout

func NewPostKeysKeyIDCertificatesParamsWithTimeout(timeout time.Duration) *PostKeysKeyIDCertificatesParams

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

func (*PostKeysKeyIDCertificatesParams) SetCertificateCreationRequest

func (o *PostKeysKeyIDCertificatesParams) SetCertificateCreationRequest(certificateCreationRequest *models.CertificateCreation)

SetCertificateCreationRequest adds the certificateCreationRequest to the post keys key ID certificates params

func (*PostKeysKeyIDCertificatesParams) SetContext

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

SetContext adds the context to the post keys key ID certificates params

func (*PostKeysKeyIDCertificatesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the post keys key ID certificates params

func (*PostKeysKeyIDCertificatesParams) SetKeyID

func (o *PostKeysKeyIDCertificatesParams) SetKeyID(keyID strfmt.UUID)

SetKeyID adds the keyId to the post keys key ID certificates params

func (*PostKeysKeyIDCertificatesParams) SetTimeout

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

SetTimeout adds the timeout to the post keys key ID certificates params

func (*PostKeysKeyIDCertificatesParams) WithCertificateCreationRequest

func (o *PostKeysKeyIDCertificatesParams) WithCertificateCreationRequest(certificateCreationRequest *models.CertificateCreation) *PostKeysKeyIDCertificatesParams

WithCertificateCreationRequest adds the certificateCreationRequest to the post keys key ID certificates params

func (*PostKeysKeyIDCertificatesParams) WithContext

WithContext adds the context to the post keys key ID certificates params

func (*PostKeysKeyIDCertificatesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the post keys key ID certificates params

func (*PostKeysKeyIDCertificatesParams) WithKeyID

WithKeyID adds the keyID to the post keys key ID certificates params

func (*PostKeysKeyIDCertificatesParams) WithTimeout

WithTimeout adds the timeout to the post keys key ID certificates params

func (*PostKeysKeyIDCertificatesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PostKeysKeyIDCertificatesReader

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

PostKeysKeyIDCertificatesReader is a Reader for the PostKeysKeyIDCertificates structure.

func (*PostKeysKeyIDCertificatesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PostKeysParams

type PostKeysParams struct {

	/*KeyCreationRequest*/
	KeyCreationRequest *models.KeyCreation

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

PostKeysParams contains all the parameters to send to the API endpoint for the post keys operation typically these are written to a http.Request

func NewPostKeysParams

func NewPostKeysParams() *PostKeysParams

NewPostKeysParams creates a new PostKeysParams object with the default values initialized.

func NewPostKeysParamsWithContext

func NewPostKeysParamsWithContext(ctx context.Context) *PostKeysParams

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

func NewPostKeysParamsWithHTTPClient

func NewPostKeysParamsWithHTTPClient(client *http.Client) *PostKeysParams

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

func NewPostKeysParamsWithTimeout

func NewPostKeysParamsWithTimeout(timeout time.Duration) *PostKeysParams

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

func (*PostKeysParams) SetContext

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

SetContext adds the context to the post keys params

func (*PostKeysParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the post keys params

func (*PostKeysParams) SetKeyCreationRequest

func (o *PostKeysParams) SetKeyCreationRequest(keyCreationRequest *models.KeyCreation)

SetKeyCreationRequest adds the keyCreationRequest to the post keys params

func (*PostKeysParams) SetTimeout

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

SetTimeout adds the timeout to the post keys params

func (*PostKeysParams) WithContext

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

WithContext adds the context to the post keys params

func (*PostKeysParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the post keys params

func (*PostKeysParams) WithKeyCreationRequest

func (o *PostKeysParams) WithKeyCreationRequest(keyCreationRequest *models.KeyCreation) *PostKeysParams

WithKeyCreationRequest adds the keyCreationRequest to the post keys params

func (*PostKeysParams) WithTimeout

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

WithTimeout adds the timeout to the post keys params

func (*PostKeysParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type PostKeysReader

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

PostKeysReader is a Reader for the PostKeys structure.

func (*PostKeysReader) ReadResponse

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