Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateCryptokey(params *CreateCryptokeyParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateCryptokeyCreated, error)
- func (a *Client) DeleteCryptokey(params *DeleteCryptokeyParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteCryptokeyNoContent, error)
- func (a *Client) GetCryptokey(params *GetCryptokeyParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetCryptokeyOK, error)
- func (a *Client) ListCryptokeys(params *ListCryptokeysParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListCryptokeysOK, error)
- func (a *Client) ModifyCryptokey(params *ModifyCryptokeyParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ModifyCryptokeyNoContent, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type CreateCryptokeyCreated
- type CreateCryptokeyParams
- func NewCreateCryptokeyParams() *CreateCryptokeyParams
- func NewCreateCryptokeyParamsWithContext(ctx context.Context) *CreateCryptokeyParams
- func NewCreateCryptokeyParamsWithHTTPClient(client *http.Client) *CreateCryptokeyParams
- func NewCreateCryptokeyParamsWithTimeout(timeout time.Duration) *CreateCryptokeyParams
- func (o *CreateCryptokeyParams) SetContext(ctx context.Context)
- func (o *CreateCryptokeyParams) SetCryptokey(cryptokey *models.Cryptokey)
- func (o *CreateCryptokeyParams) SetDefaults()
- func (o *CreateCryptokeyParams) SetHTTPClient(client *http.Client)
- func (o *CreateCryptokeyParams) SetServerID(serverID string)
- func (o *CreateCryptokeyParams) SetTimeout(timeout time.Duration)
- func (o *CreateCryptokeyParams) SetZoneID(zoneID string)
- func (o *CreateCryptokeyParams) WithContext(ctx context.Context) *CreateCryptokeyParams
- func (o *CreateCryptokeyParams) WithCryptokey(cryptokey *models.Cryptokey) *CreateCryptokeyParams
- func (o *CreateCryptokeyParams) WithDefaults() *CreateCryptokeyParams
- func (o *CreateCryptokeyParams) WithHTTPClient(client *http.Client) *CreateCryptokeyParams
- func (o *CreateCryptokeyParams) WithServerID(serverID string) *CreateCryptokeyParams
- func (o *CreateCryptokeyParams) WithTimeout(timeout time.Duration) *CreateCryptokeyParams
- func (o *CreateCryptokeyParams) WithZoneID(zoneID string) *CreateCryptokeyParams
- func (o *CreateCryptokeyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateCryptokeyReader
- type DeleteCryptokeyNoContent
- type DeleteCryptokeyParams
- func NewDeleteCryptokeyParams() *DeleteCryptokeyParams
- func NewDeleteCryptokeyParamsWithContext(ctx context.Context) *DeleteCryptokeyParams
- func NewDeleteCryptokeyParamsWithHTTPClient(client *http.Client) *DeleteCryptokeyParams
- func NewDeleteCryptokeyParamsWithTimeout(timeout time.Duration) *DeleteCryptokeyParams
- func (o *DeleteCryptokeyParams) SetContext(ctx context.Context)
- func (o *DeleteCryptokeyParams) SetCryptokeyID(cryptokeyID string)
- func (o *DeleteCryptokeyParams) SetDefaults()
- func (o *DeleteCryptokeyParams) SetHTTPClient(client *http.Client)
- func (o *DeleteCryptokeyParams) SetServerID(serverID string)
- func (o *DeleteCryptokeyParams) SetTimeout(timeout time.Duration)
- func (o *DeleteCryptokeyParams) SetZoneID(zoneID string)
- func (o *DeleteCryptokeyParams) WithContext(ctx context.Context) *DeleteCryptokeyParams
- func (o *DeleteCryptokeyParams) WithCryptokeyID(cryptokeyID string) *DeleteCryptokeyParams
- func (o *DeleteCryptokeyParams) WithDefaults() *DeleteCryptokeyParams
- func (o *DeleteCryptokeyParams) WithHTTPClient(client *http.Client) *DeleteCryptokeyParams
- func (o *DeleteCryptokeyParams) WithServerID(serverID string) *DeleteCryptokeyParams
- func (o *DeleteCryptokeyParams) WithTimeout(timeout time.Duration) *DeleteCryptokeyParams
- func (o *DeleteCryptokeyParams) WithZoneID(zoneID string) *DeleteCryptokeyParams
- func (o *DeleteCryptokeyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteCryptokeyReader
- type GetCryptokeyOK
- type GetCryptokeyParams
- func (o *GetCryptokeyParams) SetContext(ctx context.Context)
- func (o *GetCryptokeyParams) SetCryptokeyID(cryptokeyID string)
- func (o *GetCryptokeyParams) SetDefaults()
- func (o *GetCryptokeyParams) SetHTTPClient(client *http.Client)
- func (o *GetCryptokeyParams) SetServerID(serverID string)
- func (o *GetCryptokeyParams) SetTimeout(timeout time.Duration)
- func (o *GetCryptokeyParams) SetZoneID(zoneID string)
- func (o *GetCryptokeyParams) WithContext(ctx context.Context) *GetCryptokeyParams
- func (o *GetCryptokeyParams) WithCryptokeyID(cryptokeyID string) *GetCryptokeyParams
- func (o *GetCryptokeyParams) WithDefaults() *GetCryptokeyParams
- func (o *GetCryptokeyParams) WithHTTPClient(client *http.Client) *GetCryptokeyParams
- func (o *GetCryptokeyParams) WithServerID(serverID string) *GetCryptokeyParams
- func (o *GetCryptokeyParams) WithTimeout(timeout time.Duration) *GetCryptokeyParams
- func (o *GetCryptokeyParams) WithZoneID(zoneID string) *GetCryptokeyParams
- func (o *GetCryptokeyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetCryptokeyReader
- type ListCryptokeysOK
- type ListCryptokeysParams
- func NewListCryptokeysParams() *ListCryptokeysParams
- func NewListCryptokeysParamsWithContext(ctx context.Context) *ListCryptokeysParams
- func NewListCryptokeysParamsWithHTTPClient(client *http.Client) *ListCryptokeysParams
- func NewListCryptokeysParamsWithTimeout(timeout time.Duration) *ListCryptokeysParams
- func (o *ListCryptokeysParams) SetContext(ctx context.Context)
- func (o *ListCryptokeysParams) SetDefaults()
- func (o *ListCryptokeysParams) SetHTTPClient(client *http.Client)
- func (o *ListCryptokeysParams) SetServerID(serverID string)
- func (o *ListCryptokeysParams) SetTimeout(timeout time.Duration)
- func (o *ListCryptokeysParams) SetZoneID(zoneID string)
- func (o *ListCryptokeysParams) WithContext(ctx context.Context) *ListCryptokeysParams
- func (o *ListCryptokeysParams) WithDefaults() *ListCryptokeysParams
- func (o *ListCryptokeysParams) WithHTTPClient(client *http.Client) *ListCryptokeysParams
- func (o *ListCryptokeysParams) WithServerID(serverID string) *ListCryptokeysParams
- func (o *ListCryptokeysParams) WithTimeout(timeout time.Duration) *ListCryptokeysParams
- func (o *ListCryptokeysParams) WithZoneID(zoneID string) *ListCryptokeysParams
- func (o *ListCryptokeysParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListCryptokeysReader
- type ModifyCryptokeyNoContent
- type ModifyCryptokeyParams
- func NewModifyCryptokeyParams() *ModifyCryptokeyParams
- func NewModifyCryptokeyParamsWithContext(ctx context.Context) *ModifyCryptokeyParams
- func NewModifyCryptokeyParamsWithHTTPClient(client *http.Client) *ModifyCryptokeyParams
- func NewModifyCryptokeyParamsWithTimeout(timeout time.Duration) *ModifyCryptokeyParams
- func (o *ModifyCryptokeyParams) SetContext(ctx context.Context)
- func (o *ModifyCryptokeyParams) SetCryptokey(cryptokey *models.Cryptokey)
- func (o *ModifyCryptokeyParams) SetCryptokeyID(cryptokeyID string)
- func (o *ModifyCryptokeyParams) SetDefaults()
- func (o *ModifyCryptokeyParams) SetHTTPClient(client *http.Client)
- func (o *ModifyCryptokeyParams) SetServerID(serverID string)
- func (o *ModifyCryptokeyParams) SetTimeout(timeout time.Duration)
- func (o *ModifyCryptokeyParams) SetZoneID(zoneID string)
- func (o *ModifyCryptokeyParams) WithContext(ctx context.Context) *ModifyCryptokeyParams
- func (o *ModifyCryptokeyParams) WithCryptokey(cryptokey *models.Cryptokey) *ModifyCryptokeyParams
- func (o *ModifyCryptokeyParams) WithCryptokeyID(cryptokeyID string) *ModifyCryptokeyParams
- func (o *ModifyCryptokeyParams) WithDefaults() *ModifyCryptokeyParams
- func (o *ModifyCryptokeyParams) WithHTTPClient(client *http.Client) *ModifyCryptokeyParams
- func (o *ModifyCryptokeyParams) WithServerID(serverID string) *ModifyCryptokeyParams
- func (o *ModifyCryptokeyParams) WithTimeout(timeout time.Duration) *ModifyCryptokeyParams
- func (o *ModifyCryptokeyParams) WithZoneID(zoneID string) *ModifyCryptokeyParams
- func (o *ModifyCryptokeyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ModifyCryptokeyReader
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 zonecryptokey API
func (*Client) CreateCryptokey ¶
func (a *Client) CreateCryptokey(params *CreateCryptokeyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateCryptokeyCreated, error)
CreateCryptokey creates a cryptokey
This method adds a new key to a zone. The key can either be generated or imported by supplying the content parameter. if content, bits and algo are null, a key will be generated based on the default-ksk-algorithm and default-ksk-size settings for a KSK and the default-zsk-algorithm and default-zsk-size options for a ZSK.
func (*Client) DeleteCryptokey ¶
func (a *Client) DeleteCryptokey(params *DeleteCryptokeyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteCryptokeyNoContent, error)
DeleteCryptokey this method deletes a key specified by cryptokey id
func (*Client) GetCryptokey ¶
func (a *Client) GetCryptokey(params *GetCryptokeyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetCryptokeyOK, error)
GetCryptokey returns all data about the crypto key including the privatekey
func (*Client) ListCryptokeys ¶
func (a *Client) ListCryptokeys(params *ListCryptokeysParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListCryptokeysOK, error)
ListCryptokeys gets all crypto keys for a zone except the privatekey
func (*Client) ModifyCryptokey ¶
func (a *Client) ModifyCryptokey(params *ModifyCryptokeyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ModifyCryptokeyNoContent, error)
ModifyCryptokey this method de activates a key from zone name specified by cryptokey id
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 { CreateCryptokey(params *CreateCryptokeyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateCryptokeyCreated, error) DeleteCryptokey(params *DeleteCryptokeyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteCryptokeyNoContent, error) GetCryptokey(params *GetCryptokeyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetCryptokeyOK, error) ListCryptokeys(params *ListCryptokeysParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListCryptokeysOK, error) ModifyCryptokey(params *ModifyCryptokeyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ModifyCryptokeyNoContent, 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 zonecryptokey API client.
type CreateCryptokeyCreated ¶
CreateCryptokeyCreated describes a response with status code 201, with default header values.
Created
func NewCreateCryptokeyCreated ¶
func NewCreateCryptokeyCreated() *CreateCryptokeyCreated
NewCreateCryptokeyCreated creates a CreateCryptokeyCreated with default headers values
func (*CreateCryptokeyCreated) Error ¶
func (o *CreateCryptokeyCreated) Error() string
func (*CreateCryptokeyCreated) GetPayload ¶
func (o *CreateCryptokeyCreated) GetPayload() *models.Cryptokey
type CreateCryptokeyParams ¶
type CreateCryptokeyParams struct { /* Cryptokey. Add a Cryptokey */ Cryptokey *models.Cryptokey /* ServerID. The id of the server to retrieve */ ServerID string // ZoneID. ZoneID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateCryptokeyParams contains all the parameters to send to the API endpoint
for the create cryptokey operation. Typically these are written to a http.Request.
func NewCreateCryptokeyParams ¶
func NewCreateCryptokeyParams() *CreateCryptokeyParams
NewCreateCryptokeyParams creates a new CreateCryptokeyParams 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 NewCreateCryptokeyParamsWithContext ¶
func NewCreateCryptokeyParamsWithContext(ctx context.Context) *CreateCryptokeyParams
NewCreateCryptokeyParamsWithContext creates a new CreateCryptokeyParams object with the ability to set a context for a request.
func NewCreateCryptokeyParamsWithHTTPClient ¶
func NewCreateCryptokeyParamsWithHTTPClient(client *http.Client) *CreateCryptokeyParams
NewCreateCryptokeyParamsWithHTTPClient creates a new CreateCryptokeyParams object with the ability to set a custom HTTPClient for a request.
func NewCreateCryptokeyParamsWithTimeout ¶
func NewCreateCryptokeyParamsWithTimeout(timeout time.Duration) *CreateCryptokeyParams
NewCreateCryptokeyParamsWithTimeout creates a new CreateCryptokeyParams object with the ability to set a timeout on a request.
func (*CreateCryptokeyParams) SetContext ¶
func (o *CreateCryptokeyParams) SetContext(ctx context.Context)
SetContext adds the context to the create cryptokey params
func (*CreateCryptokeyParams) SetCryptokey ¶
func (o *CreateCryptokeyParams) SetCryptokey(cryptokey *models.Cryptokey)
SetCryptokey adds the cryptokey to the create cryptokey params
func (*CreateCryptokeyParams) SetDefaults ¶
func (o *CreateCryptokeyParams) SetDefaults()
SetDefaults hydrates default values in the create cryptokey params (not the query body).
All values with no default are reset to their zero value.
func (*CreateCryptokeyParams) SetHTTPClient ¶
func (o *CreateCryptokeyParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create cryptokey params
func (*CreateCryptokeyParams) SetServerID ¶
func (o *CreateCryptokeyParams) SetServerID(serverID string)
SetServerID adds the serverId to the create cryptokey params
func (*CreateCryptokeyParams) SetTimeout ¶
func (o *CreateCryptokeyParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create cryptokey params
func (*CreateCryptokeyParams) SetZoneID ¶
func (o *CreateCryptokeyParams) SetZoneID(zoneID string)
SetZoneID adds the zoneId to the create cryptokey params
func (*CreateCryptokeyParams) WithContext ¶
func (o *CreateCryptokeyParams) WithContext(ctx context.Context) *CreateCryptokeyParams
WithContext adds the context to the create cryptokey params
func (*CreateCryptokeyParams) WithCryptokey ¶
func (o *CreateCryptokeyParams) WithCryptokey(cryptokey *models.Cryptokey) *CreateCryptokeyParams
WithCryptokey adds the cryptokey to the create cryptokey params
func (*CreateCryptokeyParams) WithDefaults ¶
func (o *CreateCryptokeyParams) WithDefaults() *CreateCryptokeyParams
WithDefaults hydrates default values in the create cryptokey params (not the query body).
All values with no default are reset to their zero value.
func (*CreateCryptokeyParams) WithHTTPClient ¶
func (o *CreateCryptokeyParams) WithHTTPClient(client *http.Client) *CreateCryptokeyParams
WithHTTPClient adds the HTTPClient to the create cryptokey params
func (*CreateCryptokeyParams) WithServerID ¶
func (o *CreateCryptokeyParams) WithServerID(serverID string) *CreateCryptokeyParams
WithServerID adds the serverID to the create cryptokey params
func (*CreateCryptokeyParams) WithTimeout ¶
func (o *CreateCryptokeyParams) WithTimeout(timeout time.Duration) *CreateCryptokeyParams
WithTimeout adds the timeout to the create cryptokey params
func (*CreateCryptokeyParams) WithZoneID ¶
func (o *CreateCryptokeyParams) WithZoneID(zoneID string) *CreateCryptokeyParams
WithZoneID adds the zoneID to the create cryptokey params
func (*CreateCryptokeyParams) WriteToRequest ¶
func (o *CreateCryptokeyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateCryptokeyReader ¶
type CreateCryptokeyReader struct {
// contains filtered or unexported fields
}
CreateCryptokeyReader is a Reader for the CreateCryptokey structure.
func (*CreateCryptokeyReader) ReadResponse ¶
func (o *CreateCryptokeyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteCryptokeyNoContent ¶
type DeleteCryptokeyNoContent struct { }
DeleteCryptokeyNoContent describes a response with status code 204, with default header values.
OK
func NewDeleteCryptokeyNoContent ¶
func NewDeleteCryptokeyNoContent() *DeleteCryptokeyNoContent
NewDeleteCryptokeyNoContent creates a DeleteCryptokeyNoContent with default headers values
func (*DeleteCryptokeyNoContent) Error ¶
func (o *DeleteCryptokeyNoContent) Error() string
type DeleteCryptokeyParams ¶
type DeleteCryptokeyParams struct { /* CryptokeyID. The id value of the Cryptokey */ CryptokeyID string /* ServerID. The id of the server to retrieve */ ServerID string /* ZoneID. The id of the zone to retrieve */ ZoneID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteCryptokeyParams contains all the parameters to send to the API endpoint
for the delete cryptokey operation. Typically these are written to a http.Request.
func NewDeleteCryptokeyParams ¶
func NewDeleteCryptokeyParams() *DeleteCryptokeyParams
NewDeleteCryptokeyParams creates a new DeleteCryptokeyParams 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 NewDeleteCryptokeyParamsWithContext ¶
func NewDeleteCryptokeyParamsWithContext(ctx context.Context) *DeleteCryptokeyParams
NewDeleteCryptokeyParamsWithContext creates a new DeleteCryptokeyParams object with the ability to set a context for a request.
func NewDeleteCryptokeyParamsWithHTTPClient ¶
func NewDeleteCryptokeyParamsWithHTTPClient(client *http.Client) *DeleteCryptokeyParams
NewDeleteCryptokeyParamsWithHTTPClient creates a new DeleteCryptokeyParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteCryptokeyParamsWithTimeout ¶
func NewDeleteCryptokeyParamsWithTimeout(timeout time.Duration) *DeleteCryptokeyParams
NewDeleteCryptokeyParamsWithTimeout creates a new DeleteCryptokeyParams object with the ability to set a timeout on a request.
func (*DeleteCryptokeyParams) SetContext ¶
func (o *DeleteCryptokeyParams) SetContext(ctx context.Context)
SetContext adds the context to the delete cryptokey params
func (*DeleteCryptokeyParams) SetCryptokeyID ¶
func (o *DeleteCryptokeyParams) SetCryptokeyID(cryptokeyID string)
SetCryptokeyID adds the cryptokeyId to the delete cryptokey params
func (*DeleteCryptokeyParams) SetDefaults ¶
func (o *DeleteCryptokeyParams) SetDefaults()
SetDefaults hydrates default values in the delete cryptokey params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteCryptokeyParams) SetHTTPClient ¶
func (o *DeleteCryptokeyParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete cryptokey params
func (*DeleteCryptokeyParams) SetServerID ¶
func (o *DeleteCryptokeyParams) SetServerID(serverID string)
SetServerID adds the serverId to the delete cryptokey params
func (*DeleteCryptokeyParams) SetTimeout ¶
func (o *DeleteCryptokeyParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete cryptokey params
func (*DeleteCryptokeyParams) SetZoneID ¶
func (o *DeleteCryptokeyParams) SetZoneID(zoneID string)
SetZoneID adds the zoneId to the delete cryptokey params
func (*DeleteCryptokeyParams) WithContext ¶
func (o *DeleteCryptokeyParams) WithContext(ctx context.Context) *DeleteCryptokeyParams
WithContext adds the context to the delete cryptokey params
func (*DeleteCryptokeyParams) WithCryptokeyID ¶
func (o *DeleteCryptokeyParams) WithCryptokeyID(cryptokeyID string) *DeleteCryptokeyParams
WithCryptokeyID adds the cryptokeyID to the delete cryptokey params
func (*DeleteCryptokeyParams) WithDefaults ¶
func (o *DeleteCryptokeyParams) WithDefaults() *DeleteCryptokeyParams
WithDefaults hydrates default values in the delete cryptokey params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteCryptokeyParams) WithHTTPClient ¶
func (o *DeleteCryptokeyParams) WithHTTPClient(client *http.Client) *DeleteCryptokeyParams
WithHTTPClient adds the HTTPClient to the delete cryptokey params
func (*DeleteCryptokeyParams) WithServerID ¶
func (o *DeleteCryptokeyParams) WithServerID(serverID string) *DeleteCryptokeyParams
WithServerID adds the serverID to the delete cryptokey params
func (*DeleteCryptokeyParams) WithTimeout ¶
func (o *DeleteCryptokeyParams) WithTimeout(timeout time.Duration) *DeleteCryptokeyParams
WithTimeout adds the timeout to the delete cryptokey params
func (*DeleteCryptokeyParams) WithZoneID ¶
func (o *DeleteCryptokeyParams) WithZoneID(zoneID string) *DeleteCryptokeyParams
WithZoneID adds the zoneID to the delete cryptokey params
func (*DeleteCryptokeyParams) WriteToRequest ¶
func (o *DeleteCryptokeyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteCryptokeyReader ¶
type DeleteCryptokeyReader struct {
// contains filtered or unexported fields
}
DeleteCryptokeyReader is a Reader for the DeleteCryptokey structure.
func (*DeleteCryptokeyReader) ReadResponse ¶
func (o *DeleteCryptokeyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetCryptokeyOK ¶
GetCryptokeyOK describes a response with status code 200, with default header values.
Cryptokey
func NewGetCryptokeyOK ¶
func NewGetCryptokeyOK() *GetCryptokeyOK
NewGetCryptokeyOK creates a GetCryptokeyOK with default headers values
func (*GetCryptokeyOK) Error ¶
func (o *GetCryptokeyOK) Error() string
func (*GetCryptokeyOK) GetPayload ¶
func (o *GetCryptokeyOK) GetPayload() *models.Cryptokey
type GetCryptokeyParams ¶
type GetCryptokeyParams struct { /* CryptokeyID. The id value of the CryptoKey */ CryptokeyID string /* ServerID. The id of the server to retrieve */ ServerID string /* ZoneID. The id of the zone to retrieve */ ZoneID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetCryptokeyParams contains all the parameters to send to the API endpoint
for the get cryptokey operation. Typically these are written to a http.Request.
func NewGetCryptokeyParams ¶
func NewGetCryptokeyParams() *GetCryptokeyParams
NewGetCryptokeyParams creates a new GetCryptokeyParams 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 NewGetCryptokeyParamsWithContext ¶
func NewGetCryptokeyParamsWithContext(ctx context.Context) *GetCryptokeyParams
NewGetCryptokeyParamsWithContext creates a new GetCryptokeyParams object with the ability to set a context for a request.
func NewGetCryptokeyParamsWithHTTPClient ¶
func NewGetCryptokeyParamsWithHTTPClient(client *http.Client) *GetCryptokeyParams
NewGetCryptokeyParamsWithHTTPClient creates a new GetCryptokeyParams object with the ability to set a custom HTTPClient for a request.
func NewGetCryptokeyParamsWithTimeout ¶
func NewGetCryptokeyParamsWithTimeout(timeout time.Duration) *GetCryptokeyParams
NewGetCryptokeyParamsWithTimeout creates a new GetCryptokeyParams object with the ability to set a timeout on a request.
func (*GetCryptokeyParams) SetContext ¶
func (o *GetCryptokeyParams) SetContext(ctx context.Context)
SetContext adds the context to the get cryptokey params
func (*GetCryptokeyParams) SetCryptokeyID ¶
func (o *GetCryptokeyParams) SetCryptokeyID(cryptokeyID string)
SetCryptokeyID adds the cryptokeyId to the get cryptokey params
func (*GetCryptokeyParams) SetDefaults ¶
func (o *GetCryptokeyParams) SetDefaults()
SetDefaults hydrates default values in the get cryptokey params (not the query body).
All values with no default are reset to their zero value.
func (*GetCryptokeyParams) SetHTTPClient ¶
func (o *GetCryptokeyParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get cryptokey params
func (*GetCryptokeyParams) SetServerID ¶
func (o *GetCryptokeyParams) SetServerID(serverID string)
SetServerID adds the serverId to the get cryptokey params
func (*GetCryptokeyParams) SetTimeout ¶
func (o *GetCryptokeyParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get cryptokey params
func (*GetCryptokeyParams) SetZoneID ¶
func (o *GetCryptokeyParams) SetZoneID(zoneID string)
SetZoneID adds the zoneId to the get cryptokey params
func (*GetCryptokeyParams) WithContext ¶
func (o *GetCryptokeyParams) WithContext(ctx context.Context) *GetCryptokeyParams
WithContext adds the context to the get cryptokey params
func (*GetCryptokeyParams) WithCryptokeyID ¶
func (o *GetCryptokeyParams) WithCryptokeyID(cryptokeyID string) *GetCryptokeyParams
WithCryptokeyID adds the cryptokeyID to the get cryptokey params
func (*GetCryptokeyParams) WithDefaults ¶
func (o *GetCryptokeyParams) WithDefaults() *GetCryptokeyParams
WithDefaults hydrates default values in the get cryptokey params (not the query body).
All values with no default are reset to their zero value.
func (*GetCryptokeyParams) WithHTTPClient ¶
func (o *GetCryptokeyParams) WithHTTPClient(client *http.Client) *GetCryptokeyParams
WithHTTPClient adds the HTTPClient to the get cryptokey params
func (*GetCryptokeyParams) WithServerID ¶
func (o *GetCryptokeyParams) WithServerID(serverID string) *GetCryptokeyParams
WithServerID adds the serverID to the get cryptokey params
func (*GetCryptokeyParams) WithTimeout ¶
func (o *GetCryptokeyParams) WithTimeout(timeout time.Duration) *GetCryptokeyParams
WithTimeout adds the timeout to the get cryptokey params
func (*GetCryptokeyParams) WithZoneID ¶
func (o *GetCryptokeyParams) WithZoneID(zoneID string) *GetCryptokeyParams
WithZoneID adds the zoneID to the get cryptokey params
func (*GetCryptokeyParams) WriteToRequest ¶
func (o *GetCryptokeyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetCryptokeyReader ¶
type GetCryptokeyReader struct {
// contains filtered or unexported fields
}
GetCryptokeyReader is a Reader for the GetCryptokey structure.
func (*GetCryptokeyReader) ReadResponse ¶
func (o *GetCryptokeyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListCryptokeysOK ¶
ListCryptokeysOK describes a response with status code 200, with default header values.
List of Cryptokey objects
func NewListCryptokeysOK ¶
func NewListCryptokeysOK() *ListCryptokeysOK
NewListCryptokeysOK creates a ListCryptokeysOK with default headers values
func (*ListCryptokeysOK) Error ¶
func (o *ListCryptokeysOK) Error() string
func (*ListCryptokeysOK) GetPayload ¶
func (o *ListCryptokeysOK) GetPayload() []*models.Cryptokey
type ListCryptokeysParams ¶
type ListCryptokeysParams struct { /* ServerID. The id of the server to retrieve */ ServerID string /* ZoneID. The id of the zone to retrieve */ ZoneID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListCryptokeysParams contains all the parameters to send to the API endpoint
for the list cryptokeys operation. Typically these are written to a http.Request.
func NewListCryptokeysParams ¶
func NewListCryptokeysParams() *ListCryptokeysParams
NewListCryptokeysParams creates a new ListCryptokeysParams 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 NewListCryptokeysParamsWithContext ¶
func NewListCryptokeysParamsWithContext(ctx context.Context) *ListCryptokeysParams
NewListCryptokeysParamsWithContext creates a new ListCryptokeysParams object with the ability to set a context for a request.
func NewListCryptokeysParamsWithHTTPClient ¶
func NewListCryptokeysParamsWithHTTPClient(client *http.Client) *ListCryptokeysParams
NewListCryptokeysParamsWithHTTPClient creates a new ListCryptokeysParams object with the ability to set a custom HTTPClient for a request.
func NewListCryptokeysParamsWithTimeout ¶
func NewListCryptokeysParamsWithTimeout(timeout time.Duration) *ListCryptokeysParams
NewListCryptokeysParamsWithTimeout creates a new ListCryptokeysParams object with the ability to set a timeout on a request.
func (*ListCryptokeysParams) SetContext ¶
func (o *ListCryptokeysParams) SetContext(ctx context.Context)
SetContext adds the context to the list cryptokeys params
func (*ListCryptokeysParams) SetDefaults ¶
func (o *ListCryptokeysParams) SetDefaults()
SetDefaults hydrates default values in the list cryptokeys params (not the query body).
All values with no default are reset to their zero value.
func (*ListCryptokeysParams) SetHTTPClient ¶
func (o *ListCryptokeysParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list cryptokeys params
func (*ListCryptokeysParams) SetServerID ¶
func (o *ListCryptokeysParams) SetServerID(serverID string)
SetServerID adds the serverId to the list cryptokeys params
func (*ListCryptokeysParams) SetTimeout ¶
func (o *ListCryptokeysParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list cryptokeys params
func (*ListCryptokeysParams) SetZoneID ¶
func (o *ListCryptokeysParams) SetZoneID(zoneID string)
SetZoneID adds the zoneId to the list cryptokeys params
func (*ListCryptokeysParams) WithContext ¶
func (o *ListCryptokeysParams) WithContext(ctx context.Context) *ListCryptokeysParams
WithContext adds the context to the list cryptokeys params
func (*ListCryptokeysParams) WithDefaults ¶
func (o *ListCryptokeysParams) WithDefaults() *ListCryptokeysParams
WithDefaults hydrates default values in the list cryptokeys params (not the query body).
All values with no default are reset to their zero value.
func (*ListCryptokeysParams) WithHTTPClient ¶
func (o *ListCryptokeysParams) WithHTTPClient(client *http.Client) *ListCryptokeysParams
WithHTTPClient adds the HTTPClient to the list cryptokeys params
func (*ListCryptokeysParams) WithServerID ¶
func (o *ListCryptokeysParams) WithServerID(serverID string) *ListCryptokeysParams
WithServerID adds the serverID to the list cryptokeys params
func (*ListCryptokeysParams) WithTimeout ¶
func (o *ListCryptokeysParams) WithTimeout(timeout time.Duration) *ListCryptokeysParams
WithTimeout adds the timeout to the list cryptokeys params
func (*ListCryptokeysParams) WithZoneID ¶
func (o *ListCryptokeysParams) WithZoneID(zoneID string) *ListCryptokeysParams
WithZoneID adds the zoneID to the list cryptokeys params
func (*ListCryptokeysParams) WriteToRequest ¶
func (o *ListCryptokeysParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListCryptokeysReader ¶
type ListCryptokeysReader struct {
// contains filtered or unexported fields
}
ListCryptokeysReader is a Reader for the ListCryptokeys structure.
func (*ListCryptokeysReader) ReadResponse ¶
func (o *ListCryptokeysReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ModifyCryptokeyNoContent ¶
type ModifyCryptokeyNoContent struct { }
ModifyCryptokeyNoContent describes a response with status code 204, with default header values.
OK
func NewModifyCryptokeyNoContent ¶
func NewModifyCryptokeyNoContent() *ModifyCryptokeyNoContent
NewModifyCryptokeyNoContent creates a ModifyCryptokeyNoContent with default headers values
func (*ModifyCryptokeyNoContent) Error ¶
func (o *ModifyCryptokeyNoContent) Error() string
type ModifyCryptokeyParams ¶
type ModifyCryptokeyParams struct { /* Cryptokey. the Cryptokey */ Cryptokey *models.Cryptokey /* CryptokeyID. Cryptokey to manipulate */ CryptokeyID string /* ServerID. The id of the server to retrieve */ ServerID string // ZoneID. ZoneID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ModifyCryptokeyParams contains all the parameters to send to the API endpoint
for the modify cryptokey operation. Typically these are written to a http.Request.
func NewModifyCryptokeyParams ¶
func NewModifyCryptokeyParams() *ModifyCryptokeyParams
NewModifyCryptokeyParams creates a new ModifyCryptokeyParams 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 NewModifyCryptokeyParamsWithContext ¶
func NewModifyCryptokeyParamsWithContext(ctx context.Context) *ModifyCryptokeyParams
NewModifyCryptokeyParamsWithContext creates a new ModifyCryptokeyParams object with the ability to set a context for a request.
func NewModifyCryptokeyParamsWithHTTPClient ¶
func NewModifyCryptokeyParamsWithHTTPClient(client *http.Client) *ModifyCryptokeyParams
NewModifyCryptokeyParamsWithHTTPClient creates a new ModifyCryptokeyParams object with the ability to set a custom HTTPClient for a request.
func NewModifyCryptokeyParamsWithTimeout ¶
func NewModifyCryptokeyParamsWithTimeout(timeout time.Duration) *ModifyCryptokeyParams
NewModifyCryptokeyParamsWithTimeout creates a new ModifyCryptokeyParams object with the ability to set a timeout on a request.
func (*ModifyCryptokeyParams) SetContext ¶
func (o *ModifyCryptokeyParams) SetContext(ctx context.Context)
SetContext adds the context to the modify cryptokey params
func (*ModifyCryptokeyParams) SetCryptokey ¶
func (o *ModifyCryptokeyParams) SetCryptokey(cryptokey *models.Cryptokey)
SetCryptokey adds the cryptokey to the modify cryptokey params
func (*ModifyCryptokeyParams) SetCryptokeyID ¶
func (o *ModifyCryptokeyParams) SetCryptokeyID(cryptokeyID string)
SetCryptokeyID adds the cryptokeyId to the modify cryptokey params
func (*ModifyCryptokeyParams) SetDefaults ¶
func (o *ModifyCryptokeyParams) SetDefaults()
SetDefaults hydrates default values in the modify cryptokey params (not the query body).
All values with no default are reset to their zero value.
func (*ModifyCryptokeyParams) SetHTTPClient ¶
func (o *ModifyCryptokeyParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the modify cryptokey params
func (*ModifyCryptokeyParams) SetServerID ¶
func (o *ModifyCryptokeyParams) SetServerID(serverID string)
SetServerID adds the serverId to the modify cryptokey params
func (*ModifyCryptokeyParams) SetTimeout ¶
func (o *ModifyCryptokeyParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the modify cryptokey params
func (*ModifyCryptokeyParams) SetZoneID ¶
func (o *ModifyCryptokeyParams) SetZoneID(zoneID string)
SetZoneID adds the zoneId to the modify cryptokey params
func (*ModifyCryptokeyParams) WithContext ¶
func (o *ModifyCryptokeyParams) WithContext(ctx context.Context) *ModifyCryptokeyParams
WithContext adds the context to the modify cryptokey params
func (*ModifyCryptokeyParams) WithCryptokey ¶
func (o *ModifyCryptokeyParams) WithCryptokey(cryptokey *models.Cryptokey) *ModifyCryptokeyParams
WithCryptokey adds the cryptokey to the modify cryptokey params
func (*ModifyCryptokeyParams) WithCryptokeyID ¶
func (o *ModifyCryptokeyParams) WithCryptokeyID(cryptokeyID string) *ModifyCryptokeyParams
WithCryptokeyID adds the cryptokeyID to the modify cryptokey params
func (*ModifyCryptokeyParams) WithDefaults ¶
func (o *ModifyCryptokeyParams) WithDefaults() *ModifyCryptokeyParams
WithDefaults hydrates default values in the modify cryptokey params (not the query body).
All values with no default are reset to their zero value.
func (*ModifyCryptokeyParams) WithHTTPClient ¶
func (o *ModifyCryptokeyParams) WithHTTPClient(client *http.Client) *ModifyCryptokeyParams
WithHTTPClient adds the HTTPClient to the modify cryptokey params
func (*ModifyCryptokeyParams) WithServerID ¶
func (o *ModifyCryptokeyParams) WithServerID(serverID string) *ModifyCryptokeyParams
WithServerID adds the serverID to the modify cryptokey params
func (*ModifyCryptokeyParams) WithTimeout ¶
func (o *ModifyCryptokeyParams) WithTimeout(timeout time.Duration) *ModifyCryptokeyParams
WithTimeout adds the timeout to the modify cryptokey params
func (*ModifyCryptokeyParams) WithZoneID ¶
func (o *ModifyCryptokeyParams) WithZoneID(zoneID string) *ModifyCryptokeyParams
WithZoneID adds the zoneID to the modify cryptokey params
func (*ModifyCryptokeyParams) WriteToRequest ¶
func (o *ModifyCryptokeyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ModifyCryptokeyReader ¶
type ModifyCryptokeyReader struct {
// contains filtered or unexported fields
}
ModifyCryptokeyReader is a Reader for the ModifyCryptokey structure.
func (*ModifyCryptokeyReader) ReadResponse ¶
func (o *ModifyCryptokeyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- create_cryptokey_parameters.go
- create_cryptokey_responses.go
- delete_cryptokey_parameters.go
- delete_cryptokey_responses.go
- get_cryptokey_parameters.go
- get_cryptokey_responses.go
- list_cryptokeys_parameters.go
- list_cryptokeys_responses.go
- modify_cryptokey_parameters.go
- modify_cryptokey_responses.go
- zonecryptokey_client.go