Documentation ¶
Index ¶
- type Client
- func (a *Client) GPGKeyServiceCreate(params *GPGKeyServiceCreateParams, opts ...ClientOption) (*GPGKeyServiceCreateOK, error)
- func (a *Client) GPGKeyServiceDelete(params *GPGKeyServiceDeleteParams, opts ...ClientOption) (*GPGKeyServiceDeleteOK, error)
- func (a *Client) GPGKeyServiceGet(params *GPGKeyServiceGetParams, opts ...ClientOption) (*GPGKeyServiceGetOK, error)
- func (a *Client) GPGKeyServiceList(params *GPGKeyServiceListParams, opts ...ClientOption) (*GPGKeyServiceListOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type GPGKeyServiceCreateDefault
- type GPGKeyServiceCreateOK
- type GPGKeyServiceCreateParams
- func NewGPGKeyServiceCreateParams() *GPGKeyServiceCreateParams
- func NewGPGKeyServiceCreateParamsWithContext(ctx context.Context) *GPGKeyServiceCreateParams
- func NewGPGKeyServiceCreateParamsWithHTTPClient(client *http.Client) *GPGKeyServiceCreateParams
- func NewGPGKeyServiceCreateParamsWithTimeout(timeout time.Duration) *GPGKeyServiceCreateParams
- func (o *GPGKeyServiceCreateParams) SetBody(body *models.V1alpha1GnuPGPublicKey)
- func (o *GPGKeyServiceCreateParams) SetContext(ctx context.Context)
- func (o *GPGKeyServiceCreateParams) SetDefaults()
- func (o *GPGKeyServiceCreateParams) SetHTTPClient(client *http.Client)
- func (o *GPGKeyServiceCreateParams) SetTimeout(timeout time.Duration)
- func (o *GPGKeyServiceCreateParams) SetUpsert(upsert *bool)
- func (o *GPGKeyServiceCreateParams) WithBody(body *models.V1alpha1GnuPGPublicKey) *GPGKeyServiceCreateParams
- func (o *GPGKeyServiceCreateParams) WithContext(ctx context.Context) *GPGKeyServiceCreateParams
- func (o *GPGKeyServiceCreateParams) WithDefaults() *GPGKeyServiceCreateParams
- func (o *GPGKeyServiceCreateParams) WithHTTPClient(client *http.Client) *GPGKeyServiceCreateParams
- func (o *GPGKeyServiceCreateParams) WithTimeout(timeout time.Duration) *GPGKeyServiceCreateParams
- func (o *GPGKeyServiceCreateParams) WithUpsert(upsert *bool) *GPGKeyServiceCreateParams
- func (o *GPGKeyServiceCreateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GPGKeyServiceCreateReader
- type GPGKeyServiceDeleteDefault
- type GPGKeyServiceDeleteOK
- type GPGKeyServiceDeleteParams
- func NewGPGKeyServiceDeleteParams() *GPGKeyServiceDeleteParams
- func NewGPGKeyServiceDeleteParamsWithContext(ctx context.Context) *GPGKeyServiceDeleteParams
- func NewGPGKeyServiceDeleteParamsWithHTTPClient(client *http.Client) *GPGKeyServiceDeleteParams
- func NewGPGKeyServiceDeleteParamsWithTimeout(timeout time.Duration) *GPGKeyServiceDeleteParams
- func (o *GPGKeyServiceDeleteParams) SetContext(ctx context.Context)
- func (o *GPGKeyServiceDeleteParams) SetDefaults()
- func (o *GPGKeyServiceDeleteParams) SetHTTPClient(client *http.Client)
- func (o *GPGKeyServiceDeleteParams) SetKeyID(keyID *string)
- func (o *GPGKeyServiceDeleteParams) SetTimeout(timeout time.Duration)
- func (o *GPGKeyServiceDeleteParams) WithContext(ctx context.Context) *GPGKeyServiceDeleteParams
- func (o *GPGKeyServiceDeleteParams) WithDefaults() *GPGKeyServiceDeleteParams
- func (o *GPGKeyServiceDeleteParams) WithHTTPClient(client *http.Client) *GPGKeyServiceDeleteParams
- func (o *GPGKeyServiceDeleteParams) WithKeyID(keyID *string) *GPGKeyServiceDeleteParams
- func (o *GPGKeyServiceDeleteParams) WithTimeout(timeout time.Duration) *GPGKeyServiceDeleteParams
- func (o *GPGKeyServiceDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GPGKeyServiceDeleteReader
- type GPGKeyServiceGetDefault
- type GPGKeyServiceGetOK
- type GPGKeyServiceGetParams
- func NewGPGKeyServiceGetParams() *GPGKeyServiceGetParams
- func NewGPGKeyServiceGetParamsWithContext(ctx context.Context) *GPGKeyServiceGetParams
- func NewGPGKeyServiceGetParamsWithHTTPClient(client *http.Client) *GPGKeyServiceGetParams
- func NewGPGKeyServiceGetParamsWithTimeout(timeout time.Duration) *GPGKeyServiceGetParams
- func (o *GPGKeyServiceGetParams) SetContext(ctx context.Context)
- func (o *GPGKeyServiceGetParams) SetDefaults()
- func (o *GPGKeyServiceGetParams) SetHTTPClient(client *http.Client)
- func (o *GPGKeyServiceGetParams) SetKeyID(keyID string)
- func (o *GPGKeyServiceGetParams) SetTimeout(timeout time.Duration)
- func (o *GPGKeyServiceGetParams) WithContext(ctx context.Context) *GPGKeyServiceGetParams
- func (o *GPGKeyServiceGetParams) WithDefaults() *GPGKeyServiceGetParams
- func (o *GPGKeyServiceGetParams) WithHTTPClient(client *http.Client) *GPGKeyServiceGetParams
- func (o *GPGKeyServiceGetParams) WithKeyID(keyID string) *GPGKeyServiceGetParams
- func (o *GPGKeyServiceGetParams) WithTimeout(timeout time.Duration) *GPGKeyServiceGetParams
- func (o *GPGKeyServiceGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GPGKeyServiceGetReader
- type GPGKeyServiceListDefault
- type GPGKeyServiceListOK
- type GPGKeyServiceListParams
- func NewGPGKeyServiceListParams() *GPGKeyServiceListParams
- func NewGPGKeyServiceListParamsWithContext(ctx context.Context) *GPGKeyServiceListParams
- func NewGPGKeyServiceListParamsWithHTTPClient(client *http.Client) *GPGKeyServiceListParams
- func NewGPGKeyServiceListParamsWithTimeout(timeout time.Duration) *GPGKeyServiceListParams
- func (o *GPGKeyServiceListParams) SetContext(ctx context.Context)
- func (o *GPGKeyServiceListParams) SetDefaults()
- func (o *GPGKeyServiceListParams) SetHTTPClient(client *http.Client)
- func (o *GPGKeyServiceListParams) SetKeyID(keyID *string)
- func (o *GPGKeyServiceListParams) SetTimeout(timeout time.Duration)
- func (o *GPGKeyServiceListParams) WithContext(ctx context.Context) *GPGKeyServiceListParams
- func (o *GPGKeyServiceListParams) WithDefaults() *GPGKeyServiceListParams
- func (o *GPGKeyServiceListParams) WithHTTPClient(client *http.Client) *GPGKeyServiceListParams
- func (o *GPGKeyServiceListParams) WithKeyID(keyID *string) *GPGKeyServiceListParams
- func (o *GPGKeyServiceListParams) WithTimeout(timeout time.Duration) *GPGKeyServiceListParams
- func (o *GPGKeyServiceListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GPGKeyServiceListReader
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 g p g key service API
func (*Client) GPGKeyServiceCreate ¶
func (a *Client) GPGKeyServiceCreate(params *GPGKeyServiceCreateParams, opts ...ClientOption) (*GPGKeyServiceCreateOK, error)
GPGKeyServiceCreate creates one or more g p g public keys in the server s configuration
func (*Client) GPGKeyServiceDelete ¶
func (a *Client) GPGKeyServiceDelete(params *GPGKeyServiceDeleteParams, opts ...ClientOption) (*GPGKeyServiceDeleteOK, error)
GPGKeyServiceDelete deletes specified g p g public key from the server s configuration
func (*Client) GPGKeyServiceGet ¶
func (a *Client) GPGKeyServiceGet(params *GPGKeyServiceGetParams, opts ...ClientOption) (*GPGKeyServiceGetOK, error)
GPGKeyServiceGet gets information about specified g p g public key from the server
func (*Client) GPGKeyServiceList ¶
func (a *Client) GPGKeyServiceList(params *GPGKeyServiceListParams, opts ...ClientOption) (*GPGKeyServiceListOK, error)
GPGKeyServiceList lists all available repository certificates
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 { GPGKeyServiceCreate(params *GPGKeyServiceCreateParams, opts ...ClientOption) (*GPGKeyServiceCreateOK, error) GPGKeyServiceDelete(params *GPGKeyServiceDeleteParams, opts ...ClientOption) (*GPGKeyServiceDeleteOK, error) GPGKeyServiceGet(params *GPGKeyServiceGetParams, opts ...ClientOption) (*GPGKeyServiceGetOK, error) GPGKeyServiceList(params *GPGKeyServiceListParams, opts ...ClientOption) (*GPGKeyServiceListOK, 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 g p g key service API client.
type GPGKeyServiceCreateDefault ¶
type GPGKeyServiceCreateDefault struct { Payload *models.RuntimeError // contains filtered or unexported fields }
GPGKeyServiceCreateDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewGPGKeyServiceCreateDefault ¶
func NewGPGKeyServiceCreateDefault(code int) *GPGKeyServiceCreateDefault
NewGPGKeyServiceCreateDefault creates a GPGKeyServiceCreateDefault with default headers values
func (*GPGKeyServiceCreateDefault) Code ¶
func (o *GPGKeyServiceCreateDefault) Code() int
Code gets the status code for the g p g key service create default response
func (*GPGKeyServiceCreateDefault) Error ¶
func (o *GPGKeyServiceCreateDefault) Error() string
func (*GPGKeyServiceCreateDefault) GetPayload ¶
func (o *GPGKeyServiceCreateDefault) GetPayload() *models.RuntimeError
type GPGKeyServiceCreateOK ¶
type GPGKeyServiceCreateOK struct {
Payload *models.GpgkeyGnuPGPublicKeyCreateResponse
}
GPGKeyServiceCreateOK describes a response with status code 200, with default header values.
A successful response.
func NewGPGKeyServiceCreateOK ¶
func NewGPGKeyServiceCreateOK() *GPGKeyServiceCreateOK
NewGPGKeyServiceCreateOK creates a GPGKeyServiceCreateOK with default headers values
func (*GPGKeyServiceCreateOK) Error ¶
func (o *GPGKeyServiceCreateOK) Error() string
func (*GPGKeyServiceCreateOK) GetPayload ¶
func (o *GPGKeyServiceCreateOK) GetPayload() *models.GpgkeyGnuPGPublicKeyCreateResponse
type GPGKeyServiceCreateParams ¶
type GPGKeyServiceCreateParams struct { /* Body. Raw key data of the GPG key(s) to create */ Body *models.V1alpha1GnuPGPublicKey /* Upsert. Whether to upsert already existing public keys. */ Upsert *bool Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GPGKeyServiceCreateParams contains all the parameters to send to the API endpoint
for the g p g key service create operation. Typically these are written to a http.Request.
func NewGPGKeyServiceCreateParams ¶
func NewGPGKeyServiceCreateParams() *GPGKeyServiceCreateParams
NewGPGKeyServiceCreateParams creates a new GPGKeyServiceCreateParams 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 NewGPGKeyServiceCreateParamsWithContext ¶
func NewGPGKeyServiceCreateParamsWithContext(ctx context.Context) *GPGKeyServiceCreateParams
NewGPGKeyServiceCreateParamsWithContext creates a new GPGKeyServiceCreateParams object with the ability to set a context for a request.
func NewGPGKeyServiceCreateParamsWithHTTPClient ¶
func NewGPGKeyServiceCreateParamsWithHTTPClient(client *http.Client) *GPGKeyServiceCreateParams
NewGPGKeyServiceCreateParamsWithHTTPClient creates a new GPGKeyServiceCreateParams object with the ability to set a custom HTTPClient for a request.
func NewGPGKeyServiceCreateParamsWithTimeout ¶
func NewGPGKeyServiceCreateParamsWithTimeout(timeout time.Duration) *GPGKeyServiceCreateParams
NewGPGKeyServiceCreateParamsWithTimeout creates a new GPGKeyServiceCreateParams object with the ability to set a timeout on a request.
func (*GPGKeyServiceCreateParams) SetBody ¶
func (o *GPGKeyServiceCreateParams) SetBody(body *models.V1alpha1GnuPGPublicKey)
SetBody adds the body to the g p g key service create params
func (*GPGKeyServiceCreateParams) SetContext ¶
func (o *GPGKeyServiceCreateParams) SetContext(ctx context.Context)
SetContext adds the context to the g p g key service create params
func (*GPGKeyServiceCreateParams) SetDefaults ¶
func (o *GPGKeyServiceCreateParams) SetDefaults()
SetDefaults hydrates default values in the g p g key service create params (not the query body).
All values with no default are reset to their zero value.
func (*GPGKeyServiceCreateParams) SetHTTPClient ¶
func (o *GPGKeyServiceCreateParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the g p g key service create params
func (*GPGKeyServiceCreateParams) SetTimeout ¶
func (o *GPGKeyServiceCreateParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the g p g key service create params
func (*GPGKeyServiceCreateParams) SetUpsert ¶
func (o *GPGKeyServiceCreateParams) SetUpsert(upsert *bool)
SetUpsert adds the upsert to the g p g key service create params
func (*GPGKeyServiceCreateParams) WithBody ¶
func (o *GPGKeyServiceCreateParams) WithBody(body *models.V1alpha1GnuPGPublicKey) *GPGKeyServiceCreateParams
WithBody adds the body to the g p g key service create params
func (*GPGKeyServiceCreateParams) WithContext ¶
func (o *GPGKeyServiceCreateParams) WithContext(ctx context.Context) *GPGKeyServiceCreateParams
WithContext adds the context to the g p g key service create params
func (*GPGKeyServiceCreateParams) WithDefaults ¶
func (o *GPGKeyServiceCreateParams) WithDefaults() *GPGKeyServiceCreateParams
WithDefaults hydrates default values in the g p g key service create params (not the query body).
All values with no default are reset to their zero value.
func (*GPGKeyServiceCreateParams) WithHTTPClient ¶
func (o *GPGKeyServiceCreateParams) WithHTTPClient(client *http.Client) *GPGKeyServiceCreateParams
WithHTTPClient adds the HTTPClient to the g p g key service create params
func (*GPGKeyServiceCreateParams) WithTimeout ¶
func (o *GPGKeyServiceCreateParams) WithTimeout(timeout time.Duration) *GPGKeyServiceCreateParams
WithTimeout adds the timeout to the g p g key service create params
func (*GPGKeyServiceCreateParams) WithUpsert ¶
func (o *GPGKeyServiceCreateParams) WithUpsert(upsert *bool) *GPGKeyServiceCreateParams
WithUpsert adds the upsert to the g p g key service create params
func (*GPGKeyServiceCreateParams) WriteToRequest ¶
func (o *GPGKeyServiceCreateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GPGKeyServiceCreateReader ¶
type GPGKeyServiceCreateReader struct {
// contains filtered or unexported fields
}
GPGKeyServiceCreateReader is a Reader for the GPGKeyServiceCreate structure.
func (*GPGKeyServiceCreateReader) ReadResponse ¶
func (o *GPGKeyServiceCreateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GPGKeyServiceDeleteDefault ¶
type GPGKeyServiceDeleteDefault struct { Payload *models.RuntimeError // contains filtered or unexported fields }
GPGKeyServiceDeleteDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewGPGKeyServiceDeleteDefault ¶
func NewGPGKeyServiceDeleteDefault(code int) *GPGKeyServiceDeleteDefault
NewGPGKeyServiceDeleteDefault creates a GPGKeyServiceDeleteDefault with default headers values
func (*GPGKeyServiceDeleteDefault) Code ¶
func (o *GPGKeyServiceDeleteDefault) Code() int
Code gets the status code for the g p g key service delete default response
func (*GPGKeyServiceDeleteDefault) Error ¶
func (o *GPGKeyServiceDeleteDefault) Error() string
func (*GPGKeyServiceDeleteDefault) GetPayload ¶
func (o *GPGKeyServiceDeleteDefault) GetPayload() *models.RuntimeError
type GPGKeyServiceDeleteOK ¶
type GPGKeyServiceDeleteOK struct {
Payload models.GpgkeyGnuPGPublicKeyResponse
}
GPGKeyServiceDeleteOK describes a response with status code 200, with default header values.
A successful response.
func NewGPGKeyServiceDeleteOK ¶
func NewGPGKeyServiceDeleteOK() *GPGKeyServiceDeleteOK
NewGPGKeyServiceDeleteOK creates a GPGKeyServiceDeleteOK with default headers values
func (*GPGKeyServiceDeleteOK) Error ¶
func (o *GPGKeyServiceDeleteOK) Error() string
func (*GPGKeyServiceDeleteOK) GetPayload ¶
func (o *GPGKeyServiceDeleteOK) GetPayload() models.GpgkeyGnuPGPublicKeyResponse
type GPGKeyServiceDeleteParams ¶
type GPGKeyServiceDeleteParams struct { /* KeyID. The GPG key ID to query for. */ KeyID *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GPGKeyServiceDeleteParams contains all the parameters to send to the API endpoint
for the g p g key service delete operation. Typically these are written to a http.Request.
func NewGPGKeyServiceDeleteParams ¶
func NewGPGKeyServiceDeleteParams() *GPGKeyServiceDeleteParams
NewGPGKeyServiceDeleteParams creates a new GPGKeyServiceDeleteParams 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 NewGPGKeyServiceDeleteParamsWithContext ¶
func NewGPGKeyServiceDeleteParamsWithContext(ctx context.Context) *GPGKeyServiceDeleteParams
NewGPGKeyServiceDeleteParamsWithContext creates a new GPGKeyServiceDeleteParams object with the ability to set a context for a request.
func NewGPGKeyServiceDeleteParamsWithHTTPClient ¶
func NewGPGKeyServiceDeleteParamsWithHTTPClient(client *http.Client) *GPGKeyServiceDeleteParams
NewGPGKeyServiceDeleteParamsWithHTTPClient creates a new GPGKeyServiceDeleteParams object with the ability to set a custom HTTPClient for a request.
func NewGPGKeyServiceDeleteParamsWithTimeout ¶
func NewGPGKeyServiceDeleteParamsWithTimeout(timeout time.Duration) *GPGKeyServiceDeleteParams
NewGPGKeyServiceDeleteParamsWithTimeout creates a new GPGKeyServiceDeleteParams object with the ability to set a timeout on a request.
func (*GPGKeyServiceDeleteParams) SetContext ¶
func (o *GPGKeyServiceDeleteParams) SetContext(ctx context.Context)
SetContext adds the context to the g p g key service delete params
func (*GPGKeyServiceDeleteParams) SetDefaults ¶
func (o *GPGKeyServiceDeleteParams) SetDefaults()
SetDefaults hydrates default values in the g p g key service delete params (not the query body).
All values with no default are reset to their zero value.
func (*GPGKeyServiceDeleteParams) SetHTTPClient ¶
func (o *GPGKeyServiceDeleteParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the g p g key service delete params
func (*GPGKeyServiceDeleteParams) SetKeyID ¶
func (o *GPGKeyServiceDeleteParams) SetKeyID(keyID *string)
SetKeyID adds the keyId to the g p g key service delete params
func (*GPGKeyServiceDeleteParams) SetTimeout ¶
func (o *GPGKeyServiceDeleteParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the g p g key service delete params
func (*GPGKeyServiceDeleteParams) WithContext ¶
func (o *GPGKeyServiceDeleteParams) WithContext(ctx context.Context) *GPGKeyServiceDeleteParams
WithContext adds the context to the g p g key service delete params
func (*GPGKeyServiceDeleteParams) WithDefaults ¶
func (o *GPGKeyServiceDeleteParams) WithDefaults() *GPGKeyServiceDeleteParams
WithDefaults hydrates default values in the g p g key service delete params (not the query body).
All values with no default are reset to their zero value.
func (*GPGKeyServiceDeleteParams) WithHTTPClient ¶
func (o *GPGKeyServiceDeleteParams) WithHTTPClient(client *http.Client) *GPGKeyServiceDeleteParams
WithHTTPClient adds the HTTPClient to the g p g key service delete params
func (*GPGKeyServiceDeleteParams) WithKeyID ¶
func (o *GPGKeyServiceDeleteParams) WithKeyID(keyID *string) *GPGKeyServiceDeleteParams
WithKeyID adds the keyID to the g p g key service delete params
func (*GPGKeyServiceDeleteParams) WithTimeout ¶
func (o *GPGKeyServiceDeleteParams) WithTimeout(timeout time.Duration) *GPGKeyServiceDeleteParams
WithTimeout adds the timeout to the g p g key service delete params
func (*GPGKeyServiceDeleteParams) WriteToRequest ¶
func (o *GPGKeyServiceDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GPGKeyServiceDeleteReader ¶
type GPGKeyServiceDeleteReader struct {
// contains filtered or unexported fields
}
GPGKeyServiceDeleteReader is a Reader for the GPGKeyServiceDelete structure.
func (*GPGKeyServiceDeleteReader) ReadResponse ¶
func (o *GPGKeyServiceDeleteReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GPGKeyServiceGetDefault ¶
type GPGKeyServiceGetDefault struct { Payload *models.RuntimeError // contains filtered or unexported fields }
GPGKeyServiceGetDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewGPGKeyServiceGetDefault ¶
func NewGPGKeyServiceGetDefault(code int) *GPGKeyServiceGetDefault
NewGPGKeyServiceGetDefault creates a GPGKeyServiceGetDefault with default headers values
func (*GPGKeyServiceGetDefault) Code ¶
func (o *GPGKeyServiceGetDefault) Code() int
Code gets the status code for the g p g key service get default response
func (*GPGKeyServiceGetDefault) Error ¶
func (o *GPGKeyServiceGetDefault) Error() string
func (*GPGKeyServiceGetDefault) GetPayload ¶
func (o *GPGKeyServiceGetDefault) GetPayload() *models.RuntimeError
type GPGKeyServiceGetOK ¶
type GPGKeyServiceGetOK struct {
Payload *models.V1alpha1GnuPGPublicKey
}
GPGKeyServiceGetOK describes a response with status code 200, with default header values.
A successful response.
func NewGPGKeyServiceGetOK ¶
func NewGPGKeyServiceGetOK() *GPGKeyServiceGetOK
NewGPGKeyServiceGetOK creates a GPGKeyServiceGetOK with default headers values
func (*GPGKeyServiceGetOK) Error ¶
func (o *GPGKeyServiceGetOK) Error() string
func (*GPGKeyServiceGetOK) GetPayload ¶
func (o *GPGKeyServiceGetOK) GetPayload() *models.V1alpha1GnuPGPublicKey
type GPGKeyServiceGetParams ¶
type GPGKeyServiceGetParams struct { /* KeyID. The GPG key ID to query for */ KeyID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GPGKeyServiceGetParams contains all the parameters to send to the API endpoint
for the g p g key service get operation. Typically these are written to a http.Request.
func NewGPGKeyServiceGetParams ¶
func NewGPGKeyServiceGetParams() *GPGKeyServiceGetParams
NewGPGKeyServiceGetParams creates a new GPGKeyServiceGetParams 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 NewGPGKeyServiceGetParamsWithContext ¶
func NewGPGKeyServiceGetParamsWithContext(ctx context.Context) *GPGKeyServiceGetParams
NewGPGKeyServiceGetParamsWithContext creates a new GPGKeyServiceGetParams object with the ability to set a context for a request.
func NewGPGKeyServiceGetParamsWithHTTPClient ¶
func NewGPGKeyServiceGetParamsWithHTTPClient(client *http.Client) *GPGKeyServiceGetParams
NewGPGKeyServiceGetParamsWithHTTPClient creates a new GPGKeyServiceGetParams object with the ability to set a custom HTTPClient for a request.
func NewGPGKeyServiceGetParamsWithTimeout ¶
func NewGPGKeyServiceGetParamsWithTimeout(timeout time.Duration) *GPGKeyServiceGetParams
NewGPGKeyServiceGetParamsWithTimeout creates a new GPGKeyServiceGetParams object with the ability to set a timeout on a request.
func (*GPGKeyServiceGetParams) SetContext ¶
func (o *GPGKeyServiceGetParams) SetContext(ctx context.Context)
SetContext adds the context to the g p g key service get params
func (*GPGKeyServiceGetParams) SetDefaults ¶
func (o *GPGKeyServiceGetParams) SetDefaults()
SetDefaults hydrates default values in the g p g key service get params (not the query body).
All values with no default are reset to their zero value.
func (*GPGKeyServiceGetParams) SetHTTPClient ¶
func (o *GPGKeyServiceGetParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the g p g key service get params
func (*GPGKeyServiceGetParams) SetKeyID ¶
func (o *GPGKeyServiceGetParams) SetKeyID(keyID string)
SetKeyID adds the keyId to the g p g key service get params
func (*GPGKeyServiceGetParams) SetTimeout ¶
func (o *GPGKeyServiceGetParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the g p g key service get params
func (*GPGKeyServiceGetParams) WithContext ¶
func (o *GPGKeyServiceGetParams) WithContext(ctx context.Context) *GPGKeyServiceGetParams
WithContext adds the context to the g p g key service get params
func (*GPGKeyServiceGetParams) WithDefaults ¶
func (o *GPGKeyServiceGetParams) WithDefaults() *GPGKeyServiceGetParams
WithDefaults hydrates default values in the g p g key service get params (not the query body).
All values with no default are reset to their zero value.
func (*GPGKeyServiceGetParams) WithHTTPClient ¶
func (o *GPGKeyServiceGetParams) WithHTTPClient(client *http.Client) *GPGKeyServiceGetParams
WithHTTPClient adds the HTTPClient to the g p g key service get params
func (*GPGKeyServiceGetParams) WithKeyID ¶
func (o *GPGKeyServiceGetParams) WithKeyID(keyID string) *GPGKeyServiceGetParams
WithKeyID adds the keyID to the g p g key service get params
func (*GPGKeyServiceGetParams) WithTimeout ¶
func (o *GPGKeyServiceGetParams) WithTimeout(timeout time.Duration) *GPGKeyServiceGetParams
WithTimeout adds the timeout to the g p g key service get params
func (*GPGKeyServiceGetParams) WriteToRequest ¶
func (o *GPGKeyServiceGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GPGKeyServiceGetReader ¶
type GPGKeyServiceGetReader struct {
// contains filtered or unexported fields
}
GPGKeyServiceGetReader is a Reader for the GPGKeyServiceGet structure.
func (*GPGKeyServiceGetReader) ReadResponse ¶
func (o *GPGKeyServiceGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GPGKeyServiceListDefault ¶
type GPGKeyServiceListDefault struct { Payload *models.RuntimeError // contains filtered or unexported fields }
GPGKeyServiceListDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewGPGKeyServiceListDefault ¶
func NewGPGKeyServiceListDefault(code int) *GPGKeyServiceListDefault
NewGPGKeyServiceListDefault creates a GPGKeyServiceListDefault with default headers values
func (*GPGKeyServiceListDefault) Code ¶
func (o *GPGKeyServiceListDefault) Code() int
Code gets the status code for the g p g key service list default response
func (*GPGKeyServiceListDefault) Error ¶
func (o *GPGKeyServiceListDefault) Error() string
func (*GPGKeyServiceListDefault) GetPayload ¶
func (o *GPGKeyServiceListDefault) GetPayload() *models.RuntimeError
type GPGKeyServiceListOK ¶
type GPGKeyServiceListOK struct {
Payload *models.V1alpha1GnuPGPublicKeyList
}
GPGKeyServiceListOK describes a response with status code 200, with default header values.
A successful response.
func NewGPGKeyServiceListOK ¶
func NewGPGKeyServiceListOK() *GPGKeyServiceListOK
NewGPGKeyServiceListOK creates a GPGKeyServiceListOK with default headers values
func (*GPGKeyServiceListOK) Error ¶
func (o *GPGKeyServiceListOK) Error() string
func (*GPGKeyServiceListOK) GetPayload ¶
func (o *GPGKeyServiceListOK) GetPayload() *models.V1alpha1GnuPGPublicKeyList
type GPGKeyServiceListParams ¶
type GPGKeyServiceListParams struct { /* KeyID. The GPG key ID to query for. */ KeyID *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GPGKeyServiceListParams contains all the parameters to send to the API endpoint
for the g p g key service list operation. Typically these are written to a http.Request.
func NewGPGKeyServiceListParams ¶
func NewGPGKeyServiceListParams() *GPGKeyServiceListParams
NewGPGKeyServiceListParams creates a new GPGKeyServiceListParams 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 NewGPGKeyServiceListParamsWithContext ¶
func NewGPGKeyServiceListParamsWithContext(ctx context.Context) *GPGKeyServiceListParams
NewGPGKeyServiceListParamsWithContext creates a new GPGKeyServiceListParams object with the ability to set a context for a request.
func NewGPGKeyServiceListParamsWithHTTPClient ¶
func NewGPGKeyServiceListParamsWithHTTPClient(client *http.Client) *GPGKeyServiceListParams
NewGPGKeyServiceListParamsWithHTTPClient creates a new GPGKeyServiceListParams object with the ability to set a custom HTTPClient for a request.
func NewGPGKeyServiceListParamsWithTimeout ¶
func NewGPGKeyServiceListParamsWithTimeout(timeout time.Duration) *GPGKeyServiceListParams
NewGPGKeyServiceListParamsWithTimeout creates a new GPGKeyServiceListParams object with the ability to set a timeout on a request.
func (*GPGKeyServiceListParams) SetContext ¶
func (o *GPGKeyServiceListParams) SetContext(ctx context.Context)
SetContext adds the context to the g p g key service list params
func (*GPGKeyServiceListParams) SetDefaults ¶
func (o *GPGKeyServiceListParams) SetDefaults()
SetDefaults hydrates default values in the g p g key service list params (not the query body).
All values with no default are reset to their zero value.
func (*GPGKeyServiceListParams) SetHTTPClient ¶
func (o *GPGKeyServiceListParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the g p g key service list params
func (*GPGKeyServiceListParams) SetKeyID ¶
func (o *GPGKeyServiceListParams) SetKeyID(keyID *string)
SetKeyID adds the keyId to the g p g key service list params
func (*GPGKeyServiceListParams) SetTimeout ¶
func (o *GPGKeyServiceListParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the g p g key service list params
func (*GPGKeyServiceListParams) WithContext ¶
func (o *GPGKeyServiceListParams) WithContext(ctx context.Context) *GPGKeyServiceListParams
WithContext adds the context to the g p g key service list params
func (*GPGKeyServiceListParams) WithDefaults ¶
func (o *GPGKeyServiceListParams) WithDefaults() *GPGKeyServiceListParams
WithDefaults hydrates default values in the g p g key service list params (not the query body).
All values with no default are reset to their zero value.
func (*GPGKeyServiceListParams) WithHTTPClient ¶
func (o *GPGKeyServiceListParams) WithHTTPClient(client *http.Client) *GPGKeyServiceListParams
WithHTTPClient adds the HTTPClient to the g p g key service list params
func (*GPGKeyServiceListParams) WithKeyID ¶
func (o *GPGKeyServiceListParams) WithKeyID(keyID *string) *GPGKeyServiceListParams
WithKeyID adds the keyID to the g p g key service list params
func (*GPGKeyServiceListParams) WithTimeout ¶
func (o *GPGKeyServiceListParams) WithTimeout(timeout time.Duration) *GPGKeyServiceListParams
WithTimeout adds the timeout to the g p g key service list params
func (*GPGKeyServiceListParams) WriteToRequest ¶
func (o *GPGKeyServiceListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GPGKeyServiceListReader ¶
type GPGKeyServiceListReader struct {
// contains filtered or unexported fields
}
GPGKeyServiceListReader is a Reader for the GPGKeyServiceList structure.
func (*GPGKeyServiceListReader) ReadResponse ¶
func (o *GPGKeyServiceListReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- g_p_g_key_service_create_parameters.go
- g_p_g_key_service_create_responses.go
- g_p_g_key_service_delete_parameters.go
- g_p_g_key_service_delete_responses.go
- g_p_g_key_service_get_parameters.go
- g_p_g_key_service_get_responses.go
- g_p_g_key_service_list_parameters.go
- g_p_g_key_service_list_responses.go
- gpg_key_service_client.go