Documentation ¶
Index ¶
- type Client
- func (a *Client) CreatePrivateKeys(params *CreatePrivateKeysParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreatePrivateKeysOK, error)
- func (a *Client) DeletePrivateKeys(params *DeletePrivateKeysParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeletePrivateKeysOK, error)
- func (a *Client) ExportPrivateKey(params *ExportPrivateKeyParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ExportPrivateKeyOK, error)
- func (a *Client) GetPrivateKey(params *GetPrivateKeyParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetPrivateKeyOK, error)
- func (a *Client) GetPrivateKeys(params *GetPrivateKeysParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetPrivateKeysOK, error)
- func (a *Client) ImportPrivateKey(params *ImportPrivateKeyParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ImportPrivateKeyOK, error)
- func (a *Client) InitImportPrivateKey(params *InitImportPrivateKeyParams, authInfo runtime.ClientAuthInfoWriter, ...) (*InitImportPrivateKeyOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type CreatePrivateKeysOK
- func (o *CreatePrivateKeysOK) Code() int
- func (o *CreatePrivateKeysOK) Error() string
- func (o *CreatePrivateKeysOK) GetPayload() *models.ActivityResponse
- func (o *CreatePrivateKeysOK) IsClientError() bool
- func (o *CreatePrivateKeysOK) IsCode(code int) bool
- func (o *CreatePrivateKeysOK) IsRedirect() bool
- func (o *CreatePrivateKeysOK) IsServerError() bool
- func (o *CreatePrivateKeysOK) IsSuccess() bool
- func (o *CreatePrivateKeysOK) String() string
- type CreatePrivateKeysParams
- func NewCreatePrivateKeysParams() *CreatePrivateKeysParams
- func NewCreatePrivateKeysParamsWithContext(ctx context.Context) *CreatePrivateKeysParams
- func NewCreatePrivateKeysParamsWithHTTPClient(client *http.Client) *CreatePrivateKeysParams
- func NewCreatePrivateKeysParamsWithTimeout(timeout time.Duration) *CreatePrivateKeysParams
- func (o *CreatePrivateKeysParams) SetBody(body *models.CreatePrivateKeysRequest)
- func (o *CreatePrivateKeysParams) SetContext(ctx context.Context)
- func (o *CreatePrivateKeysParams) SetDefaults()
- func (o *CreatePrivateKeysParams) SetHTTPClient(client *http.Client)
- func (o *CreatePrivateKeysParams) SetTimeout(timeout time.Duration)
- func (o *CreatePrivateKeysParams) WithBody(body *models.CreatePrivateKeysRequest) *CreatePrivateKeysParams
- func (o *CreatePrivateKeysParams) WithContext(ctx context.Context) *CreatePrivateKeysParams
- func (o *CreatePrivateKeysParams) WithDefaults() *CreatePrivateKeysParams
- func (o *CreatePrivateKeysParams) WithHTTPClient(client *http.Client) *CreatePrivateKeysParams
- func (o *CreatePrivateKeysParams) WithTimeout(timeout time.Duration) *CreatePrivateKeysParams
- func (o *CreatePrivateKeysParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreatePrivateKeysReader
- type DeletePrivateKeysOK
- func (o *DeletePrivateKeysOK) Code() int
- func (o *DeletePrivateKeysOK) Error() string
- func (o *DeletePrivateKeysOK) GetPayload() *models.ActivityResponse
- func (o *DeletePrivateKeysOK) IsClientError() bool
- func (o *DeletePrivateKeysOK) IsCode(code int) bool
- func (o *DeletePrivateKeysOK) IsRedirect() bool
- func (o *DeletePrivateKeysOK) IsServerError() bool
- func (o *DeletePrivateKeysOK) IsSuccess() bool
- func (o *DeletePrivateKeysOK) String() string
- type DeletePrivateKeysParams
- func NewDeletePrivateKeysParams() *DeletePrivateKeysParams
- func NewDeletePrivateKeysParamsWithContext(ctx context.Context) *DeletePrivateKeysParams
- func NewDeletePrivateKeysParamsWithHTTPClient(client *http.Client) *DeletePrivateKeysParams
- func NewDeletePrivateKeysParamsWithTimeout(timeout time.Duration) *DeletePrivateKeysParams
- func (o *DeletePrivateKeysParams) SetBody(body *models.DeletePrivateKeysRequest)
- func (o *DeletePrivateKeysParams) SetContext(ctx context.Context)
- func (o *DeletePrivateKeysParams) SetDefaults()
- func (o *DeletePrivateKeysParams) SetHTTPClient(client *http.Client)
- func (o *DeletePrivateKeysParams) SetTimeout(timeout time.Duration)
- func (o *DeletePrivateKeysParams) WithBody(body *models.DeletePrivateKeysRequest) *DeletePrivateKeysParams
- func (o *DeletePrivateKeysParams) WithContext(ctx context.Context) *DeletePrivateKeysParams
- func (o *DeletePrivateKeysParams) WithDefaults() *DeletePrivateKeysParams
- func (o *DeletePrivateKeysParams) WithHTTPClient(client *http.Client) *DeletePrivateKeysParams
- func (o *DeletePrivateKeysParams) WithTimeout(timeout time.Duration) *DeletePrivateKeysParams
- func (o *DeletePrivateKeysParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeletePrivateKeysReader
- type ExportPrivateKeyOK
- func (o *ExportPrivateKeyOK) Code() int
- func (o *ExportPrivateKeyOK) Error() string
- func (o *ExportPrivateKeyOK) GetPayload() *models.ActivityResponse
- func (o *ExportPrivateKeyOK) IsClientError() bool
- func (o *ExportPrivateKeyOK) IsCode(code int) bool
- func (o *ExportPrivateKeyOK) IsRedirect() bool
- func (o *ExportPrivateKeyOK) IsServerError() bool
- func (o *ExportPrivateKeyOK) IsSuccess() bool
- func (o *ExportPrivateKeyOK) String() string
- type ExportPrivateKeyParams
- func NewExportPrivateKeyParams() *ExportPrivateKeyParams
- func NewExportPrivateKeyParamsWithContext(ctx context.Context) *ExportPrivateKeyParams
- func NewExportPrivateKeyParamsWithHTTPClient(client *http.Client) *ExportPrivateKeyParams
- func NewExportPrivateKeyParamsWithTimeout(timeout time.Duration) *ExportPrivateKeyParams
- func (o *ExportPrivateKeyParams) SetBody(body *models.ExportPrivateKeyRequest)
- func (o *ExportPrivateKeyParams) SetContext(ctx context.Context)
- func (o *ExportPrivateKeyParams) SetDefaults()
- func (o *ExportPrivateKeyParams) SetHTTPClient(client *http.Client)
- func (o *ExportPrivateKeyParams) SetTimeout(timeout time.Duration)
- func (o *ExportPrivateKeyParams) WithBody(body *models.ExportPrivateKeyRequest) *ExportPrivateKeyParams
- func (o *ExportPrivateKeyParams) WithContext(ctx context.Context) *ExportPrivateKeyParams
- func (o *ExportPrivateKeyParams) WithDefaults() *ExportPrivateKeyParams
- func (o *ExportPrivateKeyParams) WithHTTPClient(client *http.Client) *ExportPrivateKeyParams
- func (o *ExportPrivateKeyParams) WithTimeout(timeout time.Duration) *ExportPrivateKeyParams
- func (o *ExportPrivateKeyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ExportPrivateKeyReader
- type GetPrivateKeyOK
- func (o *GetPrivateKeyOK) Code() int
- func (o *GetPrivateKeyOK) Error() string
- func (o *GetPrivateKeyOK) GetPayload() *models.GetPrivateKeyResponse
- func (o *GetPrivateKeyOK) IsClientError() bool
- func (o *GetPrivateKeyOK) IsCode(code int) bool
- func (o *GetPrivateKeyOK) IsRedirect() bool
- func (o *GetPrivateKeyOK) IsServerError() bool
- func (o *GetPrivateKeyOK) IsSuccess() bool
- func (o *GetPrivateKeyOK) String() string
- type GetPrivateKeyParams
- func (o *GetPrivateKeyParams) SetBody(body *models.GetPrivateKeyRequest)
- func (o *GetPrivateKeyParams) SetContext(ctx context.Context)
- func (o *GetPrivateKeyParams) SetDefaults()
- func (o *GetPrivateKeyParams) SetHTTPClient(client *http.Client)
- func (o *GetPrivateKeyParams) SetTimeout(timeout time.Duration)
- func (o *GetPrivateKeyParams) WithBody(body *models.GetPrivateKeyRequest) *GetPrivateKeyParams
- func (o *GetPrivateKeyParams) WithContext(ctx context.Context) *GetPrivateKeyParams
- func (o *GetPrivateKeyParams) WithDefaults() *GetPrivateKeyParams
- func (o *GetPrivateKeyParams) WithHTTPClient(client *http.Client) *GetPrivateKeyParams
- func (o *GetPrivateKeyParams) WithTimeout(timeout time.Duration) *GetPrivateKeyParams
- func (o *GetPrivateKeyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPrivateKeyReader
- type GetPrivateKeysOK
- func (o *GetPrivateKeysOK) Code() int
- func (o *GetPrivateKeysOK) Error() string
- func (o *GetPrivateKeysOK) GetPayload() *models.GetPrivateKeysResponse
- func (o *GetPrivateKeysOK) IsClientError() bool
- func (o *GetPrivateKeysOK) IsCode(code int) bool
- func (o *GetPrivateKeysOK) IsRedirect() bool
- func (o *GetPrivateKeysOK) IsServerError() bool
- func (o *GetPrivateKeysOK) IsSuccess() bool
- func (o *GetPrivateKeysOK) String() string
- type GetPrivateKeysParams
- func NewGetPrivateKeysParams() *GetPrivateKeysParams
- func NewGetPrivateKeysParamsWithContext(ctx context.Context) *GetPrivateKeysParams
- func NewGetPrivateKeysParamsWithHTTPClient(client *http.Client) *GetPrivateKeysParams
- func NewGetPrivateKeysParamsWithTimeout(timeout time.Duration) *GetPrivateKeysParams
- func (o *GetPrivateKeysParams) SetBody(body *models.GetPrivateKeysRequest)
- func (o *GetPrivateKeysParams) SetContext(ctx context.Context)
- func (o *GetPrivateKeysParams) SetDefaults()
- func (o *GetPrivateKeysParams) SetHTTPClient(client *http.Client)
- func (o *GetPrivateKeysParams) SetTimeout(timeout time.Duration)
- func (o *GetPrivateKeysParams) WithBody(body *models.GetPrivateKeysRequest) *GetPrivateKeysParams
- func (o *GetPrivateKeysParams) WithContext(ctx context.Context) *GetPrivateKeysParams
- func (o *GetPrivateKeysParams) WithDefaults() *GetPrivateKeysParams
- func (o *GetPrivateKeysParams) WithHTTPClient(client *http.Client) *GetPrivateKeysParams
- func (o *GetPrivateKeysParams) WithTimeout(timeout time.Duration) *GetPrivateKeysParams
- func (o *GetPrivateKeysParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPrivateKeysReader
- type ImportPrivateKeyOK
- func (o *ImportPrivateKeyOK) Code() int
- func (o *ImportPrivateKeyOK) Error() string
- func (o *ImportPrivateKeyOK) GetPayload() *models.ActivityResponse
- func (o *ImportPrivateKeyOK) IsClientError() bool
- func (o *ImportPrivateKeyOK) IsCode(code int) bool
- func (o *ImportPrivateKeyOK) IsRedirect() bool
- func (o *ImportPrivateKeyOK) IsServerError() bool
- func (o *ImportPrivateKeyOK) IsSuccess() bool
- func (o *ImportPrivateKeyOK) String() string
- type ImportPrivateKeyParams
- func NewImportPrivateKeyParams() *ImportPrivateKeyParams
- func NewImportPrivateKeyParamsWithContext(ctx context.Context) *ImportPrivateKeyParams
- func NewImportPrivateKeyParamsWithHTTPClient(client *http.Client) *ImportPrivateKeyParams
- func NewImportPrivateKeyParamsWithTimeout(timeout time.Duration) *ImportPrivateKeyParams
- func (o *ImportPrivateKeyParams) SetBody(body *models.ImportPrivateKeyRequest)
- func (o *ImportPrivateKeyParams) SetContext(ctx context.Context)
- func (o *ImportPrivateKeyParams) SetDefaults()
- func (o *ImportPrivateKeyParams) SetHTTPClient(client *http.Client)
- func (o *ImportPrivateKeyParams) SetTimeout(timeout time.Duration)
- func (o *ImportPrivateKeyParams) WithBody(body *models.ImportPrivateKeyRequest) *ImportPrivateKeyParams
- func (o *ImportPrivateKeyParams) WithContext(ctx context.Context) *ImportPrivateKeyParams
- func (o *ImportPrivateKeyParams) WithDefaults() *ImportPrivateKeyParams
- func (o *ImportPrivateKeyParams) WithHTTPClient(client *http.Client) *ImportPrivateKeyParams
- func (o *ImportPrivateKeyParams) WithTimeout(timeout time.Duration) *ImportPrivateKeyParams
- func (o *ImportPrivateKeyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ImportPrivateKeyReader
- type InitImportPrivateKeyOK
- func (o *InitImportPrivateKeyOK) Code() int
- func (o *InitImportPrivateKeyOK) Error() string
- func (o *InitImportPrivateKeyOK) GetPayload() *models.ActivityResponse
- func (o *InitImportPrivateKeyOK) IsClientError() bool
- func (o *InitImportPrivateKeyOK) IsCode(code int) bool
- func (o *InitImportPrivateKeyOK) IsRedirect() bool
- func (o *InitImportPrivateKeyOK) IsServerError() bool
- func (o *InitImportPrivateKeyOK) IsSuccess() bool
- func (o *InitImportPrivateKeyOK) String() string
- type InitImportPrivateKeyParams
- func NewInitImportPrivateKeyParams() *InitImportPrivateKeyParams
- func NewInitImportPrivateKeyParamsWithContext(ctx context.Context) *InitImportPrivateKeyParams
- func NewInitImportPrivateKeyParamsWithHTTPClient(client *http.Client) *InitImportPrivateKeyParams
- func NewInitImportPrivateKeyParamsWithTimeout(timeout time.Duration) *InitImportPrivateKeyParams
- func (o *InitImportPrivateKeyParams) SetBody(body *models.InitImportPrivateKeyRequest)
- func (o *InitImportPrivateKeyParams) SetContext(ctx context.Context)
- func (o *InitImportPrivateKeyParams) SetDefaults()
- func (o *InitImportPrivateKeyParams) SetHTTPClient(client *http.Client)
- func (o *InitImportPrivateKeyParams) SetTimeout(timeout time.Duration)
- func (o *InitImportPrivateKeyParams) WithBody(body *models.InitImportPrivateKeyRequest) *InitImportPrivateKeyParams
- func (o *InitImportPrivateKeyParams) WithContext(ctx context.Context) *InitImportPrivateKeyParams
- func (o *InitImportPrivateKeyParams) WithDefaults() *InitImportPrivateKeyParams
- func (o *InitImportPrivateKeyParams) WithHTTPClient(client *http.Client) *InitImportPrivateKeyParams
- func (o *InitImportPrivateKeyParams) WithTimeout(timeout time.Duration) *InitImportPrivateKeyParams
- func (o *InitImportPrivateKeyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type InitImportPrivateKeyReader
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 ¶
func (o *CreatePrivateKeysParams) SetBody(body *models.CreatePrivateKeysRequest)
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 ¶
func (o *CreatePrivateKeysParams) WithBody(body *models.CreatePrivateKeysRequest) *CreatePrivateKeysParams
WithBody adds the body to the create private keys params
func (*CreatePrivateKeysParams) WithContext ¶
func (o *CreatePrivateKeysParams) WithContext(ctx context.Context) *CreatePrivateKeysParams
WithContext adds the context to the create private keys params
func (*CreatePrivateKeysParams) WithDefaults ¶
func (o *CreatePrivateKeysParams) WithDefaults() *CreatePrivateKeysParams
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 ¶
func (o *CreatePrivateKeysParams) WithTimeout(timeout time.Duration) *CreatePrivateKeysParams
WithTimeout adds the timeout to the create private keys params
func (*CreatePrivateKeysParams) WriteToRequest ¶
func (o *CreatePrivateKeysParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *DeletePrivateKeysParams) SetBody(body *models.DeletePrivateKeysRequest)
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 ¶
func (o *DeletePrivateKeysParams) WithBody(body *models.DeletePrivateKeysRequest) *DeletePrivateKeysParams
WithBody adds the body to the delete private keys params
func (*DeletePrivateKeysParams) WithContext ¶
func (o *DeletePrivateKeysParams) WithContext(ctx context.Context) *DeletePrivateKeysParams
WithContext adds the context to the delete private keys params
func (*DeletePrivateKeysParams) WithDefaults ¶
func (o *DeletePrivateKeysParams) WithDefaults() *DeletePrivateKeysParams
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 ¶
func (o *DeletePrivateKeysParams) WithTimeout(timeout time.Duration) *DeletePrivateKeysParams
WithTimeout adds the timeout to the delete private keys params
func (*DeletePrivateKeysParams) WriteToRequest ¶
func (o *DeletePrivateKeysParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *ExportPrivateKeyParams) SetBody(body *models.ExportPrivateKeyRequest)
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 ¶
func (o *ExportPrivateKeyParams) WithBody(body *models.ExportPrivateKeyRequest) *ExportPrivateKeyParams
WithBody adds the body to the export private key params
func (*ExportPrivateKeyParams) WithContext ¶
func (o *ExportPrivateKeyParams) WithContext(ctx context.Context) *ExportPrivateKeyParams
WithContext adds the context to the export private key params
func (*ExportPrivateKeyParams) WithDefaults ¶
func (o *ExportPrivateKeyParams) WithDefaults() *ExportPrivateKeyParams
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 ¶
func (o *ExportPrivateKeyParams) WithTimeout(timeout time.Duration) *ExportPrivateKeyParams
WithTimeout adds the timeout to the export private key params
func (*ExportPrivateKeyParams) WriteToRequest ¶
func (o *ExportPrivateKeyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *GetPrivateKeyParams) SetBody(body *models.GetPrivateKeyRequest)
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 ¶
func (o *GetPrivateKeyParams) WithBody(body *models.GetPrivateKeyRequest) *GetPrivateKeyParams
WithBody adds the body to the get private key params
func (*GetPrivateKeyParams) WithContext ¶
func (o *GetPrivateKeyParams) WithContext(ctx context.Context) *GetPrivateKeyParams
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 (o *GetPrivateKeysOK) GetPayload() *models.GetPrivateKeysResponse
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 ¶
func (o *GetPrivateKeysParams) SetBody(body *models.GetPrivateKeysRequest)
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 ¶
func (o *GetPrivateKeysParams) WithBody(body *models.GetPrivateKeysRequest) *GetPrivateKeysParams
WithBody adds the body to the get private keys params
func (*GetPrivateKeysParams) WithContext ¶
func (o *GetPrivateKeysParams) WithContext(ctx context.Context) *GetPrivateKeysParams
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 ¶
func (o *ImportPrivateKeyParams) SetBody(body *models.ImportPrivateKeyRequest)
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 ¶
func (o *ImportPrivateKeyParams) WithBody(body *models.ImportPrivateKeyRequest) *ImportPrivateKeyParams
WithBody adds the body to the import private key params
func (*ImportPrivateKeyParams) WithContext ¶
func (o *ImportPrivateKeyParams) WithContext(ctx context.Context) *ImportPrivateKeyParams
WithContext adds the context to the import private key params
func (*ImportPrivateKeyParams) WithDefaults ¶
func (o *ImportPrivateKeyParams) WithDefaults() *ImportPrivateKeyParams
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 ¶
func (o *ImportPrivateKeyParams) WithTimeout(timeout time.Duration) *ImportPrivateKeyParams
WithTimeout adds the timeout to the import private key params
func (*ImportPrivateKeyParams) WriteToRequest ¶
func (o *ImportPrivateKeyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *InitImportPrivateKeyOK) GetPayload() *models.ActivityResponse
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 ¶
func (o *InitImportPrivateKeyParams) SetBody(body *models.InitImportPrivateKeyRequest)
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 ¶
func (o *InitImportPrivateKeyParams) WithBody(body *models.InitImportPrivateKeyRequest) *InitImportPrivateKeyParams
WithBody adds the body to the init import private key params
func (*InitImportPrivateKeyParams) WithContext ¶
func (o *InitImportPrivateKeyParams) WithContext(ctx context.Context) *InitImportPrivateKeyParams
WithContext adds the context to the init import private key params
func (*InitImportPrivateKeyParams) WithDefaults ¶
func (o *InitImportPrivateKeyParams) WithDefaults() *InitImportPrivateKeyParams
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 ¶
func (o *InitImportPrivateKeyParams) WithHTTPClient(client *http.Client) *InitImportPrivateKeyParams
WithHTTPClient adds the HTTPClient to the init import private key params
func (*InitImportPrivateKeyParams) WithTimeout ¶
func (o *InitImportPrivateKeyParams) WithTimeout(timeout time.Duration) *InitImportPrivateKeyParams
WithTimeout adds the timeout to the init import private key params
func (*InitImportPrivateKeyParams) WriteToRequest ¶
func (o *InitImportPrivateKeyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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.
Source Files ¶
- create_private_keys_parameters.go
- create_private_keys_responses.go
- delete_private_keys_parameters.go
- delete_private_keys_responses.go
- export_private_key_parameters.go
- export_private_key_responses.go
- get_private_key_parameters.go
- get_private_key_responses.go
- get_private_keys_parameters.go
- get_private_keys_responses.go
- import_private_key_parameters.go
- import_private_key_responses.go
- init_import_private_key_parameters.go
- init_import_private_key_responses.go
- private_keys_client.go