private_keys

package
v0.0.0-...-99157af Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2024 License: Apache-2.0 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 private keys API

func (*Client) CreatePrivateKeys

func (a *Client) CreatePrivateKeys(params *CreatePrivateKeysParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreatePrivateKeysOK, error)

CreatePrivateKeys creates private keys

Create new Private Keys

func (*Client) DeletePrivateKeys

func (a *Client) DeletePrivateKeys(params *DeletePrivateKeysParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeletePrivateKeysOK, error)

DeletePrivateKeys deletes private keys

Deletes private keys for an organization

func (*Client) ExportPrivateKey

func (a *Client) ExportPrivateKey(params *ExportPrivateKeyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ExportPrivateKeyOK, error)

ExportPrivateKey exports private key

Exports a Private Key

func (*Client) GetPrivateKey

func (a *Client) GetPrivateKey(params *GetPrivateKeyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetPrivateKeyOK, error)

GetPrivateKey gets private key

Get details about a Private Key

func (*Client) GetPrivateKeys

func (a *Client) GetPrivateKeys(params *GetPrivateKeysParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetPrivateKeysOK, error)

GetPrivateKeys lists private keys

List all Private Keys within an Organization

func (*Client) ImportPrivateKey

func (a *Client) ImportPrivateKey(params *ImportPrivateKeyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ImportPrivateKeyOK, error)

ImportPrivateKey imports private key

Imports a private key

func (*Client) InitImportPrivateKey

func (a *Client) InitImportPrivateKey(params *InitImportPrivateKeyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*InitImportPrivateKeyOK, error)

InitImportPrivateKey inits import private key

Initializes a new private key import

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 {
	CreatePrivateKeys(params *CreatePrivateKeysParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreatePrivateKeysOK, error)

	DeletePrivateKeys(params *DeletePrivateKeysParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeletePrivateKeysOK, error)

	ExportPrivateKey(params *ExportPrivateKeyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ExportPrivateKeyOK, error)

	GetPrivateKey(params *GetPrivateKeyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetPrivateKeyOK, error)

	GetPrivateKeys(params *GetPrivateKeysParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetPrivateKeysOK, error)

	ImportPrivateKey(params *ImportPrivateKeyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ImportPrivateKeyOK, error)

	InitImportPrivateKey(params *InitImportPrivateKeyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*InitImportPrivateKeyOK, 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 private keys API client.

type CreatePrivateKeysOK

type CreatePrivateKeysOK struct {
	Payload *models.ActivityResponse
}

CreatePrivateKeysOK describes a response with status code 200, with default header values.

A successful response.

func NewCreatePrivateKeysOK

func NewCreatePrivateKeysOK() *CreatePrivateKeysOK

NewCreatePrivateKeysOK creates a CreatePrivateKeysOK with default headers values

func (*CreatePrivateKeysOK) Code

func (o *CreatePrivateKeysOK) Code() int

Code gets the status code for the create private keys o k response

func (*CreatePrivateKeysOK) Error

func (o *CreatePrivateKeysOK) Error() string

func (*CreatePrivateKeysOK) GetPayload

func (o *CreatePrivateKeysOK) GetPayload() *models.ActivityResponse

func (*CreatePrivateKeysOK) IsClientError

func (o *CreatePrivateKeysOK) IsClientError() bool

IsClientError returns true when this create private keys o k response has a 4xx status code

func (*CreatePrivateKeysOK) IsCode

func (o *CreatePrivateKeysOK) IsCode(code int) bool

IsCode returns true when this create private keys o k response a status code equal to that given

func (*CreatePrivateKeysOK) IsRedirect

func (o *CreatePrivateKeysOK) IsRedirect() bool

IsRedirect returns true when this create private keys o k response has a 3xx status code

func (*CreatePrivateKeysOK) IsServerError

func (o *CreatePrivateKeysOK) IsServerError() bool

IsServerError returns true when this create private keys o k response has a 5xx status code

func (*CreatePrivateKeysOK) IsSuccess

func (o *CreatePrivateKeysOK) IsSuccess() bool

IsSuccess returns true when this create private keys o k response has a 2xx status code

func (*CreatePrivateKeysOK) String

func (o *CreatePrivateKeysOK) String() string

type CreatePrivateKeysParams

type CreatePrivateKeysParams struct {

	// Body.
	Body *models.CreatePrivateKeysRequest

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

CreatePrivateKeysParams contains all the parameters to send to the API endpoint

for the create private keys operation.

Typically these are written to a http.Request.

func NewCreatePrivateKeysParams

func NewCreatePrivateKeysParams() *CreatePrivateKeysParams

NewCreatePrivateKeysParams creates a new CreatePrivateKeysParams 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 NewCreatePrivateKeysParamsWithContext

func NewCreatePrivateKeysParamsWithContext(ctx context.Context) *CreatePrivateKeysParams

NewCreatePrivateKeysParamsWithContext creates a new CreatePrivateKeysParams object with the ability to set a context for a request.

func NewCreatePrivateKeysParamsWithHTTPClient

func NewCreatePrivateKeysParamsWithHTTPClient(client *http.Client) *CreatePrivateKeysParams

NewCreatePrivateKeysParamsWithHTTPClient creates a new CreatePrivateKeysParams object with the ability to set a custom HTTPClient for a request.

func NewCreatePrivateKeysParamsWithTimeout

func NewCreatePrivateKeysParamsWithTimeout(timeout time.Duration) *CreatePrivateKeysParams

NewCreatePrivateKeysParamsWithTimeout creates a new CreatePrivateKeysParams object with the ability to set a timeout on a request.

func (*CreatePrivateKeysParams) SetBody

SetBody adds the body to the create private keys params

func (*CreatePrivateKeysParams) SetContext

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

SetContext adds the context to the create private keys params

func (*CreatePrivateKeysParams) SetDefaults

func (o *CreatePrivateKeysParams) SetDefaults()

SetDefaults hydrates default values in the create private keys params (not the query body).

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

func (*CreatePrivateKeysParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create private keys params

func (*CreatePrivateKeysParams) SetTimeout

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

SetTimeout adds the timeout to the create private keys params

func (*CreatePrivateKeysParams) WithBody

WithBody adds the body to the create private keys params

func (*CreatePrivateKeysParams) WithContext

WithContext adds the context to the create private keys params

func (*CreatePrivateKeysParams) WithDefaults

WithDefaults hydrates default values in the create private keys params (not the query body).

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

func (*CreatePrivateKeysParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create private keys params

func (*CreatePrivateKeysParams) WithTimeout

WithTimeout adds the timeout to the create private keys params

func (*CreatePrivateKeysParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreatePrivateKeysReader

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

CreatePrivateKeysReader is a Reader for the CreatePrivateKeys structure.

func (*CreatePrivateKeysReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeletePrivateKeysOK

type DeletePrivateKeysOK struct {
	Payload *models.ActivityResponse
}

DeletePrivateKeysOK describes a response with status code 200, with default header values.

A successful response.

func NewDeletePrivateKeysOK

func NewDeletePrivateKeysOK() *DeletePrivateKeysOK

NewDeletePrivateKeysOK creates a DeletePrivateKeysOK with default headers values

func (*DeletePrivateKeysOK) Code

func (o *DeletePrivateKeysOK) Code() int

Code gets the status code for the delete private keys o k response

func (*DeletePrivateKeysOK) Error

func (o *DeletePrivateKeysOK) Error() string

func (*DeletePrivateKeysOK) GetPayload

func (o *DeletePrivateKeysOK) GetPayload() *models.ActivityResponse

func (*DeletePrivateKeysOK) IsClientError

func (o *DeletePrivateKeysOK) IsClientError() bool

IsClientError returns true when this delete private keys o k response has a 4xx status code

func (*DeletePrivateKeysOK) IsCode

func (o *DeletePrivateKeysOK) IsCode(code int) bool

IsCode returns true when this delete private keys o k response a status code equal to that given

func (*DeletePrivateKeysOK) IsRedirect

func (o *DeletePrivateKeysOK) IsRedirect() bool

IsRedirect returns true when this delete private keys o k response has a 3xx status code

func (*DeletePrivateKeysOK) IsServerError

func (o *DeletePrivateKeysOK) IsServerError() bool

IsServerError returns true when this delete private keys o k response has a 5xx status code

func (*DeletePrivateKeysOK) IsSuccess

func (o *DeletePrivateKeysOK) IsSuccess() bool

IsSuccess returns true when this delete private keys o k response has a 2xx status code

func (*DeletePrivateKeysOK) String

func (o *DeletePrivateKeysOK) String() string

type DeletePrivateKeysParams

type DeletePrivateKeysParams struct {

	// Body.
	Body *models.DeletePrivateKeysRequest

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

DeletePrivateKeysParams contains all the parameters to send to the API endpoint

for the delete private keys operation.

Typically these are written to a http.Request.

func NewDeletePrivateKeysParams

func NewDeletePrivateKeysParams() *DeletePrivateKeysParams

NewDeletePrivateKeysParams creates a new DeletePrivateKeysParams 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 NewDeletePrivateKeysParamsWithContext

func NewDeletePrivateKeysParamsWithContext(ctx context.Context) *DeletePrivateKeysParams

NewDeletePrivateKeysParamsWithContext creates a new DeletePrivateKeysParams object with the ability to set a context for a request.

func NewDeletePrivateKeysParamsWithHTTPClient

func NewDeletePrivateKeysParamsWithHTTPClient(client *http.Client) *DeletePrivateKeysParams

NewDeletePrivateKeysParamsWithHTTPClient creates a new DeletePrivateKeysParams object with the ability to set a custom HTTPClient for a request.

func NewDeletePrivateKeysParamsWithTimeout

func NewDeletePrivateKeysParamsWithTimeout(timeout time.Duration) *DeletePrivateKeysParams

NewDeletePrivateKeysParamsWithTimeout creates a new DeletePrivateKeysParams object with the ability to set a timeout on a request.

func (*DeletePrivateKeysParams) SetBody

SetBody adds the body to the delete private keys params

func (*DeletePrivateKeysParams) SetContext

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

SetContext adds the context to the delete private keys params

func (*DeletePrivateKeysParams) SetDefaults

func (o *DeletePrivateKeysParams) SetDefaults()

SetDefaults hydrates default values in the delete private keys params (not the query body).

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

func (*DeletePrivateKeysParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete private keys params

func (*DeletePrivateKeysParams) SetTimeout

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

SetTimeout adds the timeout to the delete private keys params

func (*DeletePrivateKeysParams) WithBody

WithBody adds the body to the delete private keys params

func (*DeletePrivateKeysParams) WithContext

WithContext adds the context to the delete private keys params

func (*DeletePrivateKeysParams) WithDefaults

WithDefaults hydrates default values in the delete private keys params (not the query body).

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

func (*DeletePrivateKeysParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete private keys params

func (*DeletePrivateKeysParams) WithTimeout

WithTimeout adds the timeout to the delete private keys params

func (*DeletePrivateKeysParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeletePrivateKeysReader

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

DeletePrivateKeysReader is a Reader for the DeletePrivateKeys structure.

func (*DeletePrivateKeysReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ExportPrivateKeyOK

type ExportPrivateKeyOK struct {
	Payload *models.ActivityResponse
}

ExportPrivateKeyOK describes a response with status code 200, with default header values.

A successful response.

func NewExportPrivateKeyOK

func NewExportPrivateKeyOK() *ExportPrivateKeyOK

NewExportPrivateKeyOK creates a ExportPrivateKeyOK with default headers values

func (*ExportPrivateKeyOK) Code

func (o *ExportPrivateKeyOK) Code() int

Code gets the status code for the export private key o k response

func (*ExportPrivateKeyOK) Error

func (o *ExportPrivateKeyOK) Error() string

func (*ExportPrivateKeyOK) GetPayload

func (o *ExportPrivateKeyOK) GetPayload() *models.ActivityResponse

func (*ExportPrivateKeyOK) IsClientError

func (o *ExportPrivateKeyOK) IsClientError() bool

IsClientError returns true when this export private key o k response has a 4xx status code

func (*ExportPrivateKeyOK) IsCode

func (o *ExportPrivateKeyOK) IsCode(code int) bool

IsCode returns true when this export private key o k response a status code equal to that given

func (*ExportPrivateKeyOK) IsRedirect

func (o *ExportPrivateKeyOK) IsRedirect() bool

IsRedirect returns true when this export private key o k response has a 3xx status code

func (*ExportPrivateKeyOK) IsServerError

func (o *ExportPrivateKeyOK) IsServerError() bool

IsServerError returns true when this export private key o k response has a 5xx status code

func (*ExportPrivateKeyOK) IsSuccess

func (o *ExportPrivateKeyOK) IsSuccess() bool

IsSuccess returns true when this export private key o k response has a 2xx status code

func (*ExportPrivateKeyOK) String

func (o *ExportPrivateKeyOK) String() string

type ExportPrivateKeyParams

type ExportPrivateKeyParams struct {

	// Body.
	Body *models.ExportPrivateKeyRequest

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

ExportPrivateKeyParams contains all the parameters to send to the API endpoint

for the export private key operation.

Typically these are written to a http.Request.

func NewExportPrivateKeyParams

func NewExportPrivateKeyParams() *ExportPrivateKeyParams

NewExportPrivateKeyParams creates a new ExportPrivateKeyParams 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 NewExportPrivateKeyParamsWithContext

func NewExportPrivateKeyParamsWithContext(ctx context.Context) *ExportPrivateKeyParams

NewExportPrivateKeyParamsWithContext creates a new ExportPrivateKeyParams object with the ability to set a context for a request.

func NewExportPrivateKeyParamsWithHTTPClient

func NewExportPrivateKeyParamsWithHTTPClient(client *http.Client) *ExportPrivateKeyParams

NewExportPrivateKeyParamsWithHTTPClient creates a new ExportPrivateKeyParams object with the ability to set a custom HTTPClient for a request.

func NewExportPrivateKeyParamsWithTimeout

func NewExportPrivateKeyParamsWithTimeout(timeout time.Duration) *ExportPrivateKeyParams

NewExportPrivateKeyParamsWithTimeout creates a new ExportPrivateKeyParams object with the ability to set a timeout on a request.

func (*ExportPrivateKeyParams) SetBody

SetBody adds the body to the export private key params

func (*ExportPrivateKeyParams) SetContext

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

SetContext adds the context to the export private key params

func (*ExportPrivateKeyParams) SetDefaults

func (o *ExportPrivateKeyParams) SetDefaults()

SetDefaults hydrates default values in the export private key params (not the query body).

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

func (*ExportPrivateKeyParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the export private key params

func (*ExportPrivateKeyParams) SetTimeout

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

SetTimeout adds the timeout to the export private key params

func (*ExportPrivateKeyParams) WithBody

WithBody adds the body to the export private key params

func (*ExportPrivateKeyParams) WithContext

WithContext adds the context to the export private key params

func (*ExportPrivateKeyParams) WithDefaults

WithDefaults hydrates default values in the export private key params (not the query body).

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

func (*ExportPrivateKeyParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the export private key params

func (*ExportPrivateKeyParams) WithTimeout

WithTimeout adds the timeout to the export private key params

func (*ExportPrivateKeyParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ExportPrivateKeyReader

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

ExportPrivateKeyReader is a Reader for the ExportPrivateKey structure.

func (*ExportPrivateKeyReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetPrivateKeyOK

type GetPrivateKeyOK struct {
	Payload *models.GetPrivateKeyResponse
}

GetPrivateKeyOK describes a response with status code 200, with default header values.

A successful response.

func NewGetPrivateKeyOK

func NewGetPrivateKeyOK() *GetPrivateKeyOK

NewGetPrivateKeyOK creates a GetPrivateKeyOK with default headers values

func (*GetPrivateKeyOK) Code

func (o *GetPrivateKeyOK) Code() int

Code gets the status code for the get private key o k response

func (*GetPrivateKeyOK) Error

func (o *GetPrivateKeyOK) Error() string

func (*GetPrivateKeyOK) GetPayload

func (o *GetPrivateKeyOK) GetPayload() *models.GetPrivateKeyResponse

func (*GetPrivateKeyOK) IsClientError

func (o *GetPrivateKeyOK) IsClientError() bool

IsClientError returns true when this get private key o k response has a 4xx status code

func (*GetPrivateKeyOK) IsCode

func (o *GetPrivateKeyOK) IsCode(code int) bool

IsCode returns true when this get private key o k response a status code equal to that given

func (*GetPrivateKeyOK) IsRedirect

func (o *GetPrivateKeyOK) IsRedirect() bool

IsRedirect returns true when this get private key o k response has a 3xx status code

func (*GetPrivateKeyOK) IsServerError

func (o *GetPrivateKeyOK) IsServerError() bool

IsServerError returns true when this get private key o k response has a 5xx status code

func (*GetPrivateKeyOK) IsSuccess

func (o *GetPrivateKeyOK) IsSuccess() bool

IsSuccess returns true when this get private key o k response has a 2xx status code

func (*GetPrivateKeyOK) String

func (o *GetPrivateKeyOK) String() string

type GetPrivateKeyParams

type GetPrivateKeyParams struct {

	// Body.
	Body *models.GetPrivateKeyRequest

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

GetPrivateKeyParams contains all the parameters to send to the API endpoint

for the get private key operation.

Typically these are written to a http.Request.

func NewGetPrivateKeyParams

func NewGetPrivateKeyParams() *GetPrivateKeyParams

NewGetPrivateKeyParams creates a new GetPrivateKeyParams 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 NewGetPrivateKeyParamsWithContext

func NewGetPrivateKeyParamsWithContext(ctx context.Context) *GetPrivateKeyParams

NewGetPrivateKeyParamsWithContext creates a new GetPrivateKeyParams object with the ability to set a context for a request.

func NewGetPrivateKeyParamsWithHTTPClient

func NewGetPrivateKeyParamsWithHTTPClient(client *http.Client) *GetPrivateKeyParams

NewGetPrivateKeyParamsWithHTTPClient creates a new GetPrivateKeyParams object with the ability to set a custom HTTPClient for a request.

func NewGetPrivateKeyParamsWithTimeout

func NewGetPrivateKeyParamsWithTimeout(timeout time.Duration) *GetPrivateKeyParams

NewGetPrivateKeyParamsWithTimeout creates a new GetPrivateKeyParams object with the ability to set a timeout on a request.

func (*GetPrivateKeyParams) SetBody

SetBody adds the body to the get private key params

func (*GetPrivateKeyParams) SetContext

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

SetContext adds the context to the get private key params

func (*GetPrivateKeyParams) SetDefaults

func (o *GetPrivateKeyParams) SetDefaults()

SetDefaults hydrates default values in the get private key params (not the query body).

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

func (*GetPrivateKeyParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get private key params

func (*GetPrivateKeyParams) SetTimeout

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

SetTimeout adds the timeout to the get private key params

func (*GetPrivateKeyParams) WithBody

WithBody adds the body to the get private key params

func (*GetPrivateKeyParams) WithContext

WithContext adds the context to the get private key params

func (*GetPrivateKeyParams) WithDefaults

func (o *GetPrivateKeyParams) WithDefaults() *GetPrivateKeyParams

WithDefaults hydrates default values in the get private key params (not the query body).

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

func (*GetPrivateKeyParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get private key params

func (*GetPrivateKeyParams) WithTimeout

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

WithTimeout adds the timeout to the get private key params

func (*GetPrivateKeyParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetPrivateKeyReader

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

GetPrivateKeyReader is a Reader for the GetPrivateKey structure.

func (*GetPrivateKeyReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetPrivateKeysOK

type GetPrivateKeysOK struct {
	Payload *models.GetPrivateKeysResponse
}

GetPrivateKeysOK describes a response with status code 200, with default header values.

A successful response.

func NewGetPrivateKeysOK

func NewGetPrivateKeysOK() *GetPrivateKeysOK

NewGetPrivateKeysOK creates a GetPrivateKeysOK with default headers values

func (*GetPrivateKeysOK) Code

func (o *GetPrivateKeysOK) Code() int

Code gets the status code for the get private keys o k response

func (*GetPrivateKeysOK) Error

func (o *GetPrivateKeysOK) Error() string

func (*GetPrivateKeysOK) GetPayload

func (*GetPrivateKeysOK) IsClientError

func (o *GetPrivateKeysOK) IsClientError() bool

IsClientError returns true when this get private keys o k response has a 4xx status code

func (*GetPrivateKeysOK) IsCode

func (o *GetPrivateKeysOK) IsCode(code int) bool

IsCode returns true when this get private keys o k response a status code equal to that given

func (*GetPrivateKeysOK) IsRedirect

func (o *GetPrivateKeysOK) IsRedirect() bool

IsRedirect returns true when this get private keys o k response has a 3xx status code

func (*GetPrivateKeysOK) IsServerError

func (o *GetPrivateKeysOK) IsServerError() bool

IsServerError returns true when this get private keys o k response has a 5xx status code

func (*GetPrivateKeysOK) IsSuccess

func (o *GetPrivateKeysOK) IsSuccess() bool

IsSuccess returns true when this get private keys o k response has a 2xx status code

func (*GetPrivateKeysOK) String

func (o *GetPrivateKeysOK) String() string

type GetPrivateKeysParams

type GetPrivateKeysParams struct {

	// Body.
	Body *models.GetPrivateKeysRequest

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

GetPrivateKeysParams contains all the parameters to send to the API endpoint

for the get private keys operation.

Typically these are written to a http.Request.

func NewGetPrivateKeysParams

func NewGetPrivateKeysParams() *GetPrivateKeysParams

NewGetPrivateKeysParams creates a new GetPrivateKeysParams 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 NewGetPrivateKeysParamsWithContext

func NewGetPrivateKeysParamsWithContext(ctx context.Context) *GetPrivateKeysParams

NewGetPrivateKeysParamsWithContext creates a new GetPrivateKeysParams object with the ability to set a context for a request.

func NewGetPrivateKeysParamsWithHTTPClient

func NewGetPrivateKeysParamsWithHTTPClient(client *http.Client) *GetPrivateKeysParams

NewGetPrivateKeysParamsWithHTTPClient creates a new GetPrivateKeysParams object with the ability to set a custom HTTPClient for a request.

func NewGetPrivateKeysParamsWithTimeout

func NewGetPrivateKeysParamsWithTimeout(timeout time.Duration) *GetPrivateKeysParams

NewGetPrivateKeysParamsWithTimeout creates a new GetPrivateKeysParams object with the ability to set a timeout on a request.

func (*GetPrivateKeysParams) SetBody

SetBody adds the body to the get private keys params

func (*GetPrivateKeysParams) SetContext

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

SetContext adds the context to the get private keys params

func (*GetPrivateKeysParams) SetDefaults

func (o *GetPrivateKeysParams) SetDefaults()

SetDefaults hydrates default values in the get private keys params (not the query body).

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

func (*GetPrivateKeysParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get private keys params

func (*GetPrivateKeysParams) SetTimeout

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

SetTimeout adds the timeout to the get private keys params

func (*GetPrivateKeysParams) WithBody

WithBody adds the body to the get private keys params

func (*GetPrivateKeysParams) WithContext

WithContext adds the context to the get private keys params

func (*GetPrivateKeysParams) WithDefaults

func (o *GetPrivateKeysParams) WithDefaults() *GetPrivateKeysParams

WithDefaults hydrates default values in the get private keys params (not the query body).

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

func (*GetPrivateKeysParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get private keys params

func (*GetPrivateKeysParams) WithTimeout

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

WithTimeout adds the timeout to the get private keys params

func (*GetPrivateKeysParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetPrivateKeysReader

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

GetPrivateKeysReader is a Reader for the GetPrivateKeys structure.

func (*GetPrivateKeysReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ImportPrivateKeyOK

type ImportPrivateKeyOK struct {
	Payload *models.ActivityResponse
}

ImportPrivateKeyOK describes a response with status code 200, with default header values.

A successful response.

func NewImportPrivateKeyOK

func NewImportPrivateKeyOK() *ImportPrivateKeyOK

NewImportPrivateKeyOK creates a ImportPrivateKeyOK with default headers values

func (*ImportPrivateKeyOK) Code

func (o *ImportPrivateKeyOK) Code() int

Code gets the status code for the import private key o k response

func (*ImportPrivateKeyOK) Error

func (o *ImportPrivateKeyOK) Error() string

func (*ImportPrivateKeyOK) GetPayload

func (o *ImportPrivateKeyOK) GetPayload() *models.ActivityResponse

func (*ImportPrivateKeyOK) IsClientError

func (o *ImportPrivateKeyOK) IsClientError() bool

IsClientError returns true when this import private key o k response has a 4xx status code

func (*ImportPrivateKeyOK) IsCode

func (o *ImportPrivateKeyOK) IsCode(code int) bool

IsCode returns true when this import private key o k response a status code equal to that given

func (*ImportPrivateKeyOK) IsRedirect

func (o *ImportPrivateKeyOK) IsRedirect() bool

IsRedirect returns true when this import private key o k response has a 3xx status code

func (*ImportPrivateKeyOK) IsServerError

func (o *ImportPrivateKeyOK) IsServerError() bool

IsServerError returns true when this import private key o k response has a 5xx status code

func (*ImportPrivateKeyOK) IsSuccess

func (o *ImportPrivateKeyOK) IsSuccess() bool

IsSuccess returns true when this import private key o k response has a 2xx status code

func (*ImportPrivateKeyOK) String

func (o *ImportPrivateKeyOK) String() string

type ImportPrivateKeyParams

type ImportPrivateKeyParams struct {

	// Body.
	Body *models.ImportPrivateKeyRequest

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

ImportPrivateKeyParams contains all the parameters to send to the API endpoint

for the import private key operation.

Typically these are written to a http.Request.

func NewImportPrivateKeyParams

func NewImportPrivateKeyParams() *ImportPrivateKeyParams

NewImportPrivateKeyParams creates a new ImportPrivateKeyParams 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 NewImportPrivateKeyParamsWithContext

func NewImportPrivateKeyParamsWithContext(ctx context.Context) *ImportPrivateKeyParams

NewImportPrivateKeyParamsWithContext creates a new ImportPrivateKeyParams object with the ability to set a context for a request.

func NewImportPrivateKeyParamsWithHTTPClient

func NewImportPrivateKeyParamsWithHTTPClient(client *http.Client) *ImportPrivateKeyParams

NewImportPrivateKeyParamsWithHTTPClient creates a new ImportPrivateKeyParams object with the ability to set a custom HTTPClient for a request.

func NewImportPrivateKeyParamsWithTimeout

func NewImportPrivateKeyParamsWithTimeout(timeout time.Duration) *ImportPrivateKeyParams

NewImportPrivateKeyParamsWithTimeout creates a new ImportPrivateKeyParams object with the ability to set a timeout on a request.

func (*ImportPrivateKeyParams) SetBody

SetBody adds the body to the import private key params

func (*ImportPrivateKeyParams) SetContext

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

SetContext adds the context to the import private key params

func (*ImportPrivateKeyParams) SetDefaults

func (o *ImportPrivateKeyParams) SetDefaults()

SetDefaults hydrates default values in the import private key params (not the query body).

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

func (*ImportPrivateKeyParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the import private key params

func (*ImportPrivateKeyParams) SetTimeout

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

SetTimeout adds the timeout to the import private key params

func (*ImportPrivateKeyParams) WithBody

WithBody adds the body to the import private key params

func (*ImportPrivateKeyParams) WithContext

WithContext adds the context to the import private key params

func (*ImportPrivateKeyParams) WithDefaults

WithDefaults hydrates default values in the import private key params (not the query body).

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

func (*ImportPrivateKeyParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the import private key params

func (*ImportPrivateKeyParams) WithTimeout

WithTimeout adds the timeout to the import private key params

func (*ImportPrivateKeyParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ImportPrivateKeyReader

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

ImportPrivateKeyReader is a Reader for the ImportPrivateKey structure.

func (*ImportPrivateKeyReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type InitImportPrivateKeyOK

type InitImportPrivateKeyOK struct {
	Payload *models.ActivityResponse
}

InitImportPrivateKeyOK describes a response with status code 200, with default header values.

A successful response.

func NewInitImportPrivateKeyOK

func NewInitImportPrivateKeyOK() *InitImportPrivateKeyOK

NewInitImportPrivateKeyOK creates a InitImportPrivateKeyOK with default headers values

func (*InitImportPrivateKeyOK) Code

func (o *InitImportPrivateKeyOK) Code() int

Code gets the status code for the init import private key o k response

func (*InitImportPrivateKeyOK) Error

func (o *InitImportPrivateKeyOK) Error() string

func (*InitImportPrivateKeyOK) GetPayload

func (*InitImportPrivateKeyOK) IsClientError

func (o *InitImportPrivateKeyOK) IsClientError() bool

IsClientError returns true when this init import private key o k response has a 4xx status code

func (*InitImportPrivateKeyOK) IsCode

func (o *InitImportPrivateKeyOK) IsCode(code int) bool

IsCode returns true when this init import private key o k response a status code equal to that given

func (*InitImportPrivateKeyOK) IsRedirect

func (o *InitImportPrivateKeyOK) IsRedirect() bool

IsRedirect returns true when this init import private key o k response has a 3xx status code

func (*InitImportPrivateKeyOK) IsServerError

func (o *InitImportPrivateKeyOK) IsServerError() bool

IsServerError returns true when this init import private key o k response has a 5xx status code

func (*InitImportPrivateKeyOK) IsSuccess

func (o *InitImportPrivateKeyOK) IsSuccess() bool

IsSuccess returns true when this init import private key o k response has a 2xx status code

func (*InitImportPrivateKeyOK) String

func (o *InitImportPrivateKeyOK) String() string

type InitImportPrivateKeyParams

type InitImportPrivateKeyParams struct {

	// Body.
	Body *models.InitImportPrivateKeyRequest

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

InitImportPrivateKeyParams contains all the parameters to send to the API endpoint

for the init import private key operation.

Typically these are written to a http.Request.

func NewInitImportPrivateKeyParams

func NewInitImportPrivateKeyParams() *InitImportPrivateKeyParams

NewInitImportPrivateKeyParams creates a new InitImportPrivateKeyParams 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 NewInitImportPrivateKeyParamsWithContext

func NewInitImportPrivateKeyParamsWithContext(ctx context.Context) *InitImportPrivateKeyParams

NewInitImportPrivateKeyParamsWithContext creates a new InitImportPrivateKeyParams object with the ability to set a context for a request.

func NewInitImportPrivateKeyParamsWithHTTPClient

func NewInitImportPrivateKeyParamsWithHTTPClient(client *http.Client) *InitImportPrivateKeyParams

NewInitImportPrivateKeyParamsWithHTTPClient creates a new InitImportPrivateKeyParams object with the ability to set a custom HTTPClient for a request.

func NewInitImportPrivateKeyParamsWithTimeout

func NewInitImportPrivateKeyParamsWithTimeout(timeout time.Duration) *InitImportPrivateKeyParams

NewInitImportPrivateKeyParamsWithTimeout creates a new InitImportPrivateKeyParams object with the ability to set a timeout on a request.

func (*InitImportPrivateKeyParams) SetBody

SetBody adds the body to the init import private key params

func (*InitImportPrivateKeyParams) SetContext

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

SetContext adds the context to the init import private key params

func (*InitImportPrivateKeyParams) SetDefaults

func (o *InitImportPrivateKeyParams) SetDefaults()

SetDefaults hydrates default values in the init import private key params (not the query body).

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

func (*InitImportPrivateKeyParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the init import private key params

func (*InitImportPrivateKeyParams) SetTimeout

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

SetTimeout adds the timeout to the init import private key params

func (*InitImportPrivateKeyParams) WithBody

WithBody adds the body to the init import private key params

func (*InitImportPrivateKeyParams) WithContext

WithContext adds the context to the init import private key params

func (*InitImportPrivateKeyParams) WithDefaults

WithDefaults hydrates default values in the init import private key params (not the query body).

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

func (*InitImportPrivateKeyParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the init import private key params

func (*InitImportPrivateKeyParams) WithTimeout

WithTimeout adds the timeout to the init import private key params

func (*InitImportPrivateKeyParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type InitImportPrivateKeyReader

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

InitImportPrivateKeyReader is a Reader for the InitImportPrivateKey structure.

func (*InitImportPrivateKeyReader) ReadResponse

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