Documentation ¶
Index ¶
- type Client
- func (a *Client) DeleteExtraCertificate(params *DeleteExtraCertificateParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteExtraCertificateOK, error)
- func (a *Client) GetExtraCertificate(params *GetExtraCertificateParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetExtraCertificateOK, error)
- func (a *Client) GetExtraCertificates(params *GetExtraCertificatesParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetExtraCertificatesOK, error)
- func (a *Client) GetPlatform(params *GetPlatformParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetPlatformOK, error)
- func (a *Client) SetExtraCertificate(params *SetExtraCertificateParams, authInfo runtime.ClientAuthInfoWriter, ...) (*SetExtraCertificateOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type DeleteExtraCertificateNotFound
- func (o *DeleteExtraCertificateNotFound) Code() int
- func (o *DeleteExtraCertificateNotFound) Error() string
- func (o *DeleteExtraCertificateNotFound) GetPayload() *models.BasicFailedReply
- func (o *DeleteExtraCertificateNotFound) IsClientError() bool
- func (o *DeleteExtraCertificateNotFound) IsCode(code int) bool
- func (o *DeleteExtraCertificateNotFound) IsRedirect() bool
- func (o *DeleteExtraCertificateNotFound) IsServerError() bool
- func (o *DeleteExtraCertificateNotFound) IsSuccess() bool
- func (o *DeleteExtraCertificateNotFound) String() string
- type DeleteExtraCertificateOK
- func (o *DeleteExtraCertificateOK) Code() int
- func (o *DeleteExtraCertificateOK) Error() string
- func (o *DeleteExtraCertificateOK) GetPayload() models.EmptyResponse
- func (o *DeleteExtraCertificateOK) IsClientError() bool
- func (o *DeleteExtraCertificateOK) IsCode(code int) bool
- func (o *DeleteExtraCertificateOK) IsRedirect() bool
- func (o *DeleteExtraCertificateOK) IsServerError() bool
- func (o *DeleteExtraCertificateOK) IsSuccess() bool
- func (o *DeleteExtraCertificateOK) String() string
- type DeleteExtraCertificateParams
- func NewDeleteExtraCertificateParams() *DeleteExtraCertificateParams
- func NewDeleteExtraCertificateParamsWithContext(ctx context.Context) *DeleteExtraCertificateParams
- func NewDeleteExtraCertificateParamsWithHTTPClient(client *http.Client) *DeleteExtraCertificateParams
- func NewDeleteExtraCertificateParamsWithTimeout(timeout time.Duration) *DeleteExtraCertificateParams
- func (o *DeleteExtraCertificateParams) SetCertID(certID string)
- func (o *DeleteExtraCertificateParams) SetContext(ctx context.Context)
- func (o *DeleteExtraCertificateParams) SetDefaults()
- func (o *DeleteExtraCertificateParams) SetHTTPClient(client *http.Client)
- func (o *DeleteExtraCertificateParams) SetTimeout(timeout time.Duration)
- func (o *DeleteExtraCertificateParams) WithCertID(certID string) *DeleteExtraCertificateParams
- func (o *DeleteExtraCertificateParams) WithContext(ctx context.Context) *DeleteExtraCertificateParams
- func (o *DeleteExtraCertificateParams) WithDefaults() *DeleteExtraCertificateParams
- func (o *DeleteExtraCertificateParams) WithHTTPClient(client *http.Client) *DeleteExtraCertificateParams
- func (o *DeleteExtraCertificateParams) WithTimeout(timeout time.Duration) *DeleteExtraCertificateParams
- func (o *DeleteExtraCertificateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteExtraCertificateReader
- type GetExtraCertificateNotFound
- func (o *GetExtraCertificateNotFound) Code() int
- func (o *GetExtraCertificateNotFound) Error() string
- func (o *GetExtraCertificateNotFound) GetPayload() *models.BasicFailedReply
- func (o *GetExtraCertificateNotFound) IsClientError() bool
- func (o *GetExtraCertificateNotFound) IsCode(code int) bool
- func (o *GetExtraCertificateNotFound) IsRedirect() bool
- func (o *GetExtraCertificateNotFound) IsServerError() bool
- func (o *GetExtraCertificateNotFound) IsSuccess() bool
- func (o *GetExtraCertificateNotFound) String() string
- type GetExtraCertificateOK
- func (o *GetExtraCertificateOK) Code() int
- func (o *GetExtraCertificateOK) Error() string
- func (o *GetExtraCertificateOK) GetPayload() *models.PublicCertChain
- func (o *GetExtraCertificateOK) IsClientError() bool
- func (o *GetExtraCertificateOK) IsCode(code int) bool
- func (o *GetExtraCertificateOK) IsRedirect() bool
- func (o *GetExtraCertificateOK) IsServerError() bool
- func (o *GetExtraCertificateOK) IsSuccess() bool
- func (o *GetExtraCertificateOK) String() string
- type GetExtraCertificateParams
- func NewGetExtraCertificateParams() *GetExtraCertificateParams
- func NewGetExtraCertificateParamsWithContext(ctx context.Context) *GetExtraCertificateParams
- func NewGetExtraCertificateParamsWithHTTPClient(client *http.Client) *GetExtraCertificateParams
- func NewGetExtraCertificateParamsWithTimeout(timeout time.Duration) *GetExtraCertificateParams
- func (o *GetExtraCertificateParams) SetCertID(certID string)
- func (o *GetExtraCertificateParams) SetContext(ctx context.Context)
- func (o *GetExtraCertificateParams) SetDefaults()
- func (o *GetExtraCertificateParams) SetHTTPClient(client *http.Client)
- func (o *GetExtraCertificateParams) SetTimeout(timeout time.Duration)
- func (o *GetExtraCertificateParams) WithCertID(certID string) *GetExtraCertificateParams
- func (o *GetExtraCertificateParams) WithContext(ctx context.Context) *GetExtraCertificateParams
- func (o *GetExtraCertificateParams) WithDefaults() *GetExtraCertificateParams
- func (o *GetExtraCertificateParams) WithHTTPClient(client *http.Client) *GetExtraCertificateParams
- func (o *GetExtraCertificateParams) WithTimeout(timeout time.Duration) *GetExtraCertificateParams
- func (o *GetExtraCertificateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetExtraCertificateReader
- type GetExtraCertificatesOK
- func (o *GetExtraCertificatesOK) Code() int
- func (o *GetExtraCertificatesOK) Error() string
- func (o *GetExtraCertificatesOK) GetPayload() *models.PublicCertChainCollection
- func (o *GetExtraCertificatesOK) IsClientError() bool
- func (o *GetExtraCertificatesOK) IsCode(code int) bool
- func (o *GetExtraCertificatesOK) IsRedirect() bool
- func (o *GetExtraCertificatesOK) IsServerError() bool
- func (o *GetExtraCertificatesOK) IsSuccess() bool
- func (o *GetExtraCertificatesOK) String() string
- type GetExtraCertificatesParams
- func NewGetExtraCertificatesParams() *GetExtraCertificatesParams
- func NewGetExtraCertificatesParamsWithContext(ctx context.Context) *GetExtraCertificatesParams
- func NewGetExtraCertificatesParamsWithHTTPClient(client *http.Client) *GetExtraCertificatesParams
- func NewGetExtraCertificatesParamsWithTimeout(timeout time.Duration) *GetExtraCertificatesParams
- func (o *GetExtraCertificatesParams) SetContext(ctx context.Context)
- func (o *GetExtraCertificatesParams) SetDefaults()
- func (o *GetExtraCertificatesParams) SetHTTPClient(client *http.Client)
- func (o *GetExtraCertificatesParams) SetTimeout(timeout time.Duration)
- func (o *GetExtraCertificatesParams) WithContext(ctx context.Context) *GetExtraCertificatesParams
- func (o *GetExtraCertificatesParams) WithDefaults() *GetExtraCertificatesParams
- func (o *GetExtraCertificatesParams) WithHTTPClient(client *http.Client) *GetExtraCertificatesParams
- func (o *GetExtraCertificatesParams) WithTimeout(timeout time.Duration) *GetExtraCertificatesParams
- func (o *GetExtraCertificatesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetExtraCertificatesReader
- type GetPlatformOK
- func (o *GetPlatformOK) Code() int
- func (o *GetPlatformOK) Error() string
- func (o *GetPlatformOK) GetPayload() *models.PlatformInfo
- func (o *GetPlatformOK) IsClientError() bool
- func (o *GetPlatformOK) IsCode(code int) bool
- func (o *GetPlatformOK) IsRedirect() bool
- func (o *GetPlatformOK) IsServerError() bool
- func (o *GetPlatformOK) IsSuccess() bool
- func (o *GetPlatformOK) String() string
- type GetPlatformParams
- func (o *GetPlatformParams) SetContext(ctx context.Context)
- func (o *GetPlatformParams) SetDefaults()
- func (o *GetPlatformParams) SetHTTPClient(client *http.Client)
- func (o *GetPlatformParams) SetTimeout(timeout time.Duration)
- func (o *GetPlatformParams) WithContext(ctx context.Context) *GetPlatformParams
- func (o *GetPlatformParams) WithDefaults() *GetPlatformParams
- func (o *GetPlatformParams) WithHTTPClient(client *http.Client) *GetPlatformParams
- func (o *GetPlatformParams) WithTimeout(timeout time.Duration) *GetPlatformParams
- func (o *GetPlatformParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPlatformReader
- type SetExtraCertificateBadRequest
- func (o *SetExtraCertificateBadRequest) Code() int
- func (o *SetExtraCertificateBadRequest) Error() string
- func (o *SetExtraCertificateBadRequest) GetPayload() *models.BasicFailedReply
- func (o *SetExtraCertificateBadRequest) IsClientError() bool
- func (o *SetExtraCertificateBadRequest) IsCode(code int) bool
- func (o *SetExtraCertificateBadRequest) IsRedirect() bool
- func (o *SetExtraCertificateBadRequest) IsServerError() bool
- func (o *SetExtraCertificateBadRequest) IsSuccess() bool
- func (o *SetExtraCertificateBadRequest) String() string
- type SetExtraCertificateOK
- func (o *SetExtraCertificateOK) Code() int
- func (o *SetExtraCertificateOK) Error() string
- func (o *SetExtraCertificateOK) GetPayload() models.EmptyResponse
- func (o *SetExtraCertificateOK) IsClientError() bool
- func (o *SetExtraCertificateOK) IsCode(code int) bool
- func (o *SetExtraCertificateOK) IsRedirect() bool
- func (o *SetExtraCertificateOK) IsServerError() bool
- func (o *SetExtraCertificateOK) IsSuccess() bool
- func (o *SetExtraCertificateOK) String() string
- type SetExtraCertificateParams
- func NewSetExtraCertificateParams() *SetExtraCertificateParams
- func NewSetExtraCertificateParamsWithContext(ctx context.Context) *SetExtraCertificateParams
- func NewSetExtraCertificateParamsWithHTTPClient(client *http.Client) *SetExtraCertificateParams
- func NewSetExtraCertificateParamsWithTimeout(timeout time.Duration) *SetExtraCertificateParams
- func (o *SetExtraCertificateParams) SetBody(body string)
- func (o *SetExtraCertificateParams) SetCertID(certID string)
- func (o *SetExtraCertificateParams) SetContext(ctx context.Context)
- func (o *SetExtraCertificateParams) SetDefaults()
- func (o *SetExtraCertificateParams) SetHTTPClient(client *http.Client)
- func (o *SetExtraCertificateParams) SetTimeout(timeout time.Duration)
- func (o *SetExtraCertificateParams) WithBody(body string) *SetExtraCertificateParams
- func (o *SetExtraCertificateParams) WithCertID(certID string) *SetExtraCertificateParams
- func (o *SetExtraCertificateParams) WithContext(ctx context.Context) *SetExtraCertificateParams
- func (o *SetExtraCertificateParams) WithDefaults() *SetExtraCertificateParams
- func (o *SetExtraCertificateParams) WithHTTPClient(client *http.Client) *SetExtraCertificateParams
- func (o *SetExtraCertificateParams) WithTimeout(timeout time.Duration) *SetExtraCertificateParams
- func (o *SetExtraCertificateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SetExtraCertificateReader
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 platform API
func (*Client) DeleteExtraCertificate ¶
func (a *Client) DeleteExtraCertificate(params *DeleteExtraCertificateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteExtraCertificateOK, error)
DeleteExtraCertificate deletes extra certificate
Delete an extra certificate.
func (*Client) GetExtraCertificate ¶
func (a *Client) GetExtraCertificate(params *GetExtraCertificateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetExtraCertificateOK, error)
GetExtraCertificate reads extra certificate
Read an extra certificate.
func (*Client) GetExtraCertificates ¶
func (a *Client) GetExtraCertificates(params *GetExtraCertificatesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetExtraCertificatesOK, error)
GetExtraCertificates lists extra certificates
List all of the extra certificates.
func (*Client) GetPlatform ¶
func (a *Client) GetPlatform(params *GetPlatformParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetPlatformOK, error)
GetPlatform gets platform info
Retrieves information about the active platform.
func (*Client) SetExtraCertificate ¶
func (a *Client) SetExtraCertificate(params *SetExtraCertificateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SetExtraCertificateOK, error)
SetExtraCertificate updates extra certificate
Add or update an extra certificate.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶ added in v1.3.0
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { DeleteExtraCertificate(params *DeleteExtraCertificateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteExtraCertificateOK, error) GetExtraCertificate(params *GetExtraCertificateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetExtraCertificateOK, error) GetExtraCertificates(params *GetExtraCertificatesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetExtraCertificatesOK, error) GetPlatform(params *GetPlatformParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetPlatformOK, error) SetExtraCertificate(params *SetExtraCertificateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SetExtraCertificateOK, 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 platform API client.
type DeleteExtraCertificateNotFound ¶
type DeleteExtraCertificateNotFound struct { /* The error codes associated with the response */ XCloudErrorCodes string Payload *models.BasicFailedReply }
DeleteExtraCertificateNotFound describes a response with status code 404, with default header values.
The extra certificate cannot be found. (code: `cert.not_found`)
func NewDeleteExtraCertificateNotFound ¶
func NewDeleteExtraCertificateNotFound() *DeleteExtraCertificateNotFound
NewDeleteExtraCertificateNotFound creates a DeleteExtraCertificateNotFound with default headers values
func (*DeleteExtraCertificateNotFound) Code ¶ added in v1.13.0
func (o *DeleteExtraCertificateNotFound) Code() int
Code gets the status code for the delete extra certificate not found response
func (*DeleteExtraCertificateNotFound) Error ¶
func (o *DeleteExtraCertificateNotFound) Error() string
func (*DeleteExtraCertificateNotFound) GetPayload ¶
func (o *DeleteExtraCertificateNotFound) GetPayload() *models.BasicFailedReply
func (*DeleteExtraCertificateNotFound) IsClientError ¶ added in v1.13.0
func (o *DeleteExtraCertificateNotFound) IsClientError() bool
IsClientError returns true when this delete extra certificate not found response has a 4xx status code
func (*DeleteExtraCertificateNotFound) IsCode ¶ added in v1.13.0
func (o *DeleteExtraCertificateNotFound) IsCode(code int) bool
IsCode returns true when this delete extra certificate not found response a status code equal to that given
func (*DeleteExtraCertificateNotFound) IsRedirect ¶ added in v1.13.0
func (o *DeleteExtraCertificateNotFound) IsRedirect() bool
IsRedirect returns true when this delete extra certificate not found response has a 3xx status code
func (*DeleteExtraCertificateNotFound) IsServerError ¶ added in v1.13.0
func (o *DeleteExtraCertificateNotFound) IsServerError() bool
IsServerError returns true when this delete extra certificate not found response has a 5xx status code
func (*DeleteExtraCertificateNotFound) IsSuccess ¶ added in v1.13.0
func (o *DeleteExtraCertificateNotFound) IsSuccess() bool
IsSuccess returns true when this delete extra certificate not found response has a 2xx status code
func (*DeleteExtraCertificateNotFound) String ¶ added in v1.13.0
func (o *DeleteExtraCertificateNotFound) String() string
type DeleteExtraCertificateOK ¶
type DeleteExtraCertificateOK struct {
Payload models.EmptyResponse
}
DeleteExtraCertificateOK describes a response with status code 200, with default header values.
Extra certificate under the given id is deleted if exists
func NewDeleteExtraCertificateOK ¶
func NewDeleteExtraCertificateOK() *DeleteExtraCertificateOK
NewDeleteExtraCertificateOK creates a DeleteExtraCertificateOK with default headers values
func (*DeleteExtraCertificateOK) Code ¶ added in v1.13.0
func (o *DeleteExtraCertificateOK) Code() int
Code gets the status code for the delete extra certificate o k response
func (*DeleteExtraCertificateOK) Error ¶
func (o *DeleteExtraCertificateOK) Error() string
func (*DeleteExtraCertificateOK) GetPayload ¶
func (o *DeleteExtraCertificateOK) GetPayload() models.EmptyResponse
func (*DeleteExtraCertificateOK) IsClientError ¶ added in v1.13.0
func (o *DeleteExtraCertificateOK) IsClientError() bool
IsClientError returns true when this delete extra certificate o k response has a 4xx status code
func (*DeleteExtraCertificateOK) IsCode ¶ added in v1.13.0
func (o *DeleteExtraCertificateOK) IsCode(code int) bool
IsCode returns true when this delete extra certificate o k response a status code equal to that given
func (*DeleteExtraCertificateOK) IsRedirect ¶ added in v1.13.0
func (o *DeleteExtraCertificateOK) IsRedirect() bool
IsRedirect returns true when this delete extra certificate o k response has a 3xx status code
func (*DeleteExtraCertificateOK) IsServerError ¶ added in v1.13.0
func (o *DeleteExtraCertificateOK) IsServerError() bool
IsServerError returns true when this delete extra certificate o k response has a 5xx status code
func (*DeleteExtraCertificateOK) IsSuccess ¶ added in v1.13.0
func (o *DeleteExtraCertificateOK) IsSuccess() bool
IsSuccess returns true when this delete extra certificate o k response has a 2xx status code
func (*DeleteExtraCertificateOK) String ¶ added in v1.13.0
func (o *DeleteExtraCertificateOK) String() string
type DeleteExtraCertificateParams ¶
type DeleteExtraCertificateParams struct { /* CertID. The extra certificate Id. For example, `star_my_domain_com`. */ CertID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteExtraCertificateParams contains all the parameters to send to the API endpoint
for the delete extra certificate operation. Typically these are written to a http.Request.
func NewDeleteExtraCertificateParams ¶
func NewDeleteExtraCertificateParams() *DeleteExtraCertificateParams
NewDeleteExtraCertificateParams creates a new DeleteExtraCertificateParams 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 NewDeleteExtraCertificateParamsWithContext ¶
func NewDeleteExtraCertificateParamsWithContext(ctx context.Context) *DeleteExtraCertificateParams
NewDeleteExtraCertificateParamsWithContext creates a new DeleteExtraCertificateParams object with the ability to set a context for a request.
func NewDeleteExtraCertificateParamsWithHTTPClient ¶
func NewDeleteExtraCertificateParamsWithHTTPClient(client *http.Client) *DeleteExtraCertificateParams
NewDeleteExtraCertificateParamsWithHTTPClient creates a new DeleteExtraCertificateParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteExtraCertificateParamsWithTimeout ¶
func NewDeleteExtraCertificateParamsWithTimeout(timeout time.Duration) *DeleteExtraCertificateParams
NewDeleteExtraCertificateParamsWithTimeout creates a new DeleteExtraCertificateParams object with the ability to set a timeout on a request.
func (*DeleteExtraCertificateParams) SetCertID ¶
func (o *DeleteExtraCertificateParams) SetCertID(certID string)
SetCertID adds the certId to the delete extra certificate params
func (*DeleteExtraCertificateParams) SetContext ¶
func (o *DeleteExtraCertificateParams) SetContext(ctx context.Context)
SetContext adds the context to the delete extra certificate params
func (*DeleteExtraCertificateParams) SetDefaults ¶ added in v1.3.0
func (o *DeleteExtraCertificateParams) SetDefaults()
SetDefaults hydrates default values in the delete extra certificate params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteExtraCertificateParams) SetHTTPClient ¶
func (o *DeleteExtraCertificateParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete extra certificate params
func (*DeleteExtraCertificateParams) SetTimeout ¶
func (o *DeleteExtraCertificateParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete extra certificate params
func (*DeleteExtraCertificateParams) WithCertID ¶
func (o *DeleteExtraCertificateParams) WithCertID(certID string) *DeleteExtraCertificateParams
WithCertID adds the certID to the delete extra certificate params
func (*DeleteExtraCertificateParams) WithContext ¶
func (o *DeleteExtraCertificateParams) WithContext(ctx context.Context) *DeleteExtraCertificateParams
WithContext adds the context to the delete extra certificate params
func (*DeleteExtraCertificateParams) WithDefaults ¶ added in v1.3.0
func (o *DeleteExtraCertificateParams) WithDefaults() *DeleteExtraCertificateParams
WithDefaults hydrates default values in the delete extra certificate params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteExtraCertificateParams) WithHTTPClient ¶
func (o *DeleteExtraCertificateParams) WithHTTPClient(client *http.Client) *DeleteExtraCertificateParams
WithHTTPClient adds the HTTPClient to the delete extra certificate params
func (*DeleteExtraCertificateParams) WithTimeout ¶
func (o *DeleteExtraCertificateParams) WithTimeout(timeout time.Duration) *DeleteExtraCertificateParams
WithTimeout adds the timeout to the delete extra certificate params
func (*DeleteExtraCertificateParams) WriteToRequest ¶
func (o *DeleteExtraCertificateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteExtraCertificateReader ¶
type DeleteExtraCertificateReader struct {
// contains filtered or unexported fields
}
DeleteExtraCertificateReader is a Reader for the DeleteExtraCertificate structure.
func (*DeleteExtraCertificateReader) ReadResponse ¶
func (o *DeleteExtraCertificateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetExtraCertificateNotFound ¶
type GetExtraCertificateNotFound struct { /* The error codes associated with the response */ XCloudErrorCodes string Payload *models.BasicFailedReply }
GetExtraCertificateNotFound describes a response with status code 404, with default header values.
The extra certificate cannot be found. (code: `cert.not_found`)
func NewGetExtraCertificateNotFound ¶
func NewGetExtraCertificateNotFound() *GetExtraCertificateNotFound
NewGetExtraCertificateNotFound creates a GetExtraCertificateNotFound with default headers values
func (*GetExtraCertificateNotFound) Code ¶ added in v1.13.0
func (o *GetExtraCertificateNotFound) Code() int
Code gets the status code for the get extra certificate not found response
func (*GetExtraCertificateNotFound) Error ¶
func (o *GetExtraCertificateNotFound) Error() string
func (*GetExtraCertificateNotFound) GetPayload ¶
func (o *GetExtraCertificateNotFound) GetPayload() *models.BasicFailedReply
func (*GetExtraCertificateNotFound) IsClientError ¶ added in v1.13.0
func (o *GetExtraCertificateNotFound) IsClientError() bool
IsClientError returns true when this get extra certificate not found response has a 4xx status code
func (*GetExtraCertificateNotFound) IsCode ¶ added in v1.13.0
func (o *GetExtraCertificateNotFound) IsCode(code int) bool
IsCode returns true when this get extra certificate not found response a status code equal to that given
func (*GetExtraCertificateNotFound) IsRedirect ¶ added in v1.13.0
func (o *GetExtraCertificateNotFound) IsRedirect() bool
IsRedirect returns true when this get extra certificate not found response has a 3xx status code
func (*GetExtraCertificateNotFound) IsServerError ¶ added in v1.13.0
func (o *GetExtraCertificateNotFound) IsServerError() bool
IsServerError returns true when this get extra certificate not found response has a 5xx status code
func (*GetExtraCertificateNotFound) IsSuccess ¶ added in v1.13.0
func (o *GetExtraCertificateNotFound) IsSuccess() bool
IsSuccess returns true when this get extra certificate not found response has a 2xx status code
func (*GetExtraCertificateNotFound) String ¶ added in v1.13.0
func (o *GetExtraCertificateNotFound) String() string
type GetExtraCertificateOK ¶
type GetExtraCertificateOK struct {
Payload *models.PublicCertChain
}
GetExtraCertificateOK describes a response with status code 200, with default header values.
Extra certificate public chain if exists
func NewGetExtraCertificateOK ¶
func NewGetExtraCertificateOK() *GetExtraCertificateOK
NewGetExtraCertificateOK creates a GetExtraCertificateOK with default headers values
func (*GetExtraCertificateOK) Code ¶ added in v1.13.0
func (o *GetExtraCertificateOK) Code() int
Code gets the status code for the get extra certificate o k response
func (*GetExtraCertificateOK) Error ¶
func (o *GetExtraCertificateOK) Error() string
func (*GetExtraCertificateOK) GetPayload ¶
func (o *GetExtraCertificateOK) GetPayload() *models.PublicCertChain
func (*GetExtraCertificateOK) IsClientError ¶ added in v1.13.0
func (o *GetExtraCertificateOK) IsClientError() bool
IsClientError returns true when this get extra certificate o k response has a 4xx status code
func (*GetExtraCertificateOK) IsCode ¶ added in v1.13.0
func (o *GetExtraCertificateOK) IsCode(code int) bool
IsCode returns true when this get extra certificate o k response a status code equal to that given
func (*GetExtraCertificateOK) IsRedirect ¶ added in v1.13.0
func (o *GetExtraCertificateOK) IsRedirect() bool
IsRedirect returns true when this get extra certificate o k response has a 3xx status code
func (*GetExtraCertificateOK) IsServerError ¶ added in v1.13.0
func (o *GetExtraCertificateOK) IsServerError() bool
IsServerError returns true when this get extra certificate o k response has a 5xx status code
func (*GetExtraCertificateOK) IsSuccess ¶ added in v1.13.0
func (o *GetExtraCertificateOK) IsSuccess() bool
IsSuccess returns true when this get extra certificate o k response has a 2xx status code
func (*GetExtraCertificateOK) String ¶ added in v1.13.0
func (o *GetExtraCertificateOK) String() string
type GetExtraCertificateParams ¶
type GetExtraCertificateParams struct { /* CertID. The extra certificate Id. For example, `star_my_domain_com`. */ CertID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetExtraCertificateParams contains all the parameters to send to the API endpoint
for the get extra certificate operation. Typically these are written to a http.Request.
func NewGetExtraCertificateParams ¶
func NewGetExtraCertificateParams() *GetExtraCertificateParams
NewGetExtraCertificateParams creates a new GetExtraCertificateParams 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 NewGetExtraCertificateParamsWithContext ¶
func NewGetExtraCertificateParamsWithContext(ctx context.Context) *GetExtraCertificateParams
NewGetExtraCertificateParamsWithContext creates a new GetExtraCertificateParams object with the ability to set a context for a request.
func NewGetExtraCertificateParamsWithHTTPClient ¶
func NewGetExtraCertificateParamsWithHTTPClient(client *http.Client) *GetExtraCertificateParams
NewGetExtraCertificateParamsWithHTTPClient creates a new GetExtraCertificateParams object with the ability to set a custom HTTPClient for a request.
func NewGetExtraCertificateParamsWithTimeout ¶
func NewGetExtraCertificateParamsWithTimeout(timeout time.Duration) *GetExtraCertificateParams
NewGetExtraCertificateParamsWithTimeout creates a new GetExtraCertificateParams object with the ability to set a timeout on a request.
func (*GetExtraCertificateParams) SetCertID ¶
func (o *GetExtraCertificateParams) SetCertID(certID string)
SetCertID adds the certId to the get extra certificate params
func (*GetExtraCertificateParams) SetContext ¶
func (o *GetExtraCertificateParams) SetContext(ctx context.Context)
SetContext adds the context to the get extra certificate params
func (*GetExtraCertificateParams) SetDefaults ¶ added in v1.3.0
func (o *GetExtraCertificateParams) SetDefaults()
SetDefaults hydrates default values in the get extra certificate params (not the query body).
All values with no default are reset to their zero value.
func (*GetExtraCertificateParams) SetHTTPClient ¶
func (o *GetExtraCertificateParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get extra certificate params
func (*GetExtraCertificateParams) SetTimeout ¶
func (o *GetExtraCertificateParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get extra certificate params
func (*GetExtraCertificateParams) WithCertID ¶
func (o *GetExtraCertificateParams) WithCertID(certID string) *GetExtraCertificateParams
WithCertID adds the certID to the get extra certificate params
func (*GetExtraCertificateParams) WithContext ¶
func (o *GetExtraCertificateParams) WithContext(ctx context.Context) *GetExtraCertificateParams
WithContext adds the context to the get extra certificate params
func (*GetExtraCertificateParams) WithDefaults ¶ added in v1.3.0
func (o *GetExtraCertificateParams) WithDefaults() *GetExtraCertificateParams
WithDefaults hydrates default values in the get extra certificate params (not the query body).
All values with no default are reset to their zero value.
func (*GetExtraCertificateParams) WithHTTPClient ¶
func (o *GetExtraCertificateParams) WithHTTPClient(client *http.Client) *GetExtraCertificateParams
WithHTTPClient adds the HTTPClient to the get extra certificate params
func (*GetExtraCertificateParams) WithTimeout ¶
func (o *GetExtraCertificateParams) WithTimeout(timeout time.Duration) *GetExtraCertificateParams
WithTimeout adds the timeout to the get extra certificate params
func (*GetExtraCertificateParams) WriteToRequest ¶
func (o *GetExtraCertificateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetExtraCertificateReader ¶
type GetExtraCertificateReader struct {
// contains filtered or unexported fields
}
GetExtraCertificateReader is a Reader for the GetExtraCertificate structure.
func (*GetExtraCertificateReader) ReadResponse ¶
func (o *GetExtraCertificateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetExtraCertificatesOK ¶
type GetExtraCertificatesOK struct {
Payload *models.PublicCertChainCollection
}
GetExtraCertificatesOK describes a response with status code 200, with default header values.
The collection of all available extra certificates public chains
func NewGetExtraCertificatesOK ¶
func NewGetExtraCertificatesOK() *GetExtraCertificatesOK
NewGetExtraCertificatesOK creates a GetExtraCertificatesOK with default headers values
func (*GetExtraCertificatesOK) Code ¶ added in v1.13.0
func (o *GetExtraCertificatesOK) Code() int
Code gets the status code for the get extra certificates o k response
func (*GetExtraCertificatesOK) Error ¶
func (o *GetExtraCertificatesOK) Error() string
func (*GetExtraCertificatesOK) GetPayload ¶
func (o *GetExtraCertificatesOK) GetPayload() *models.PublicCertChainCollection
func (*GetExtraCertificatesOK) IsClientError ¶ added in v1.13.0
func (o *GetExtraCertificatesOK) IsClientError() bool
IsClientError returns true when this get extra certificates o k response has a 4xx status code
func (*GetExtraCertificatesOK) IsCode ¶ added in v1.13.0
func (o *GetExtraCertificatesOK) IsCode(code int) bool
IsCode returns true when this get extra certificates o k response a status code equal to that given
func (*GetExtraCertificatesOK) IsRedirect ¶ added in v1.13.0
func (o *GetExtraCertificatesOK) IsRedirect() bool
IsRedirect returns true when this get extra certificates o k response has a 3xx status code
func (*GetExtraCertificatesOK) IsServerError ¶ added in v1.13.0
func (o *GetExtraCertificatesOK) IsServerError() bool
IsServerError returns true when this get extra certificates o k response has a 5xx status code
func (*GetExtraCertificatesOK) IsSuccess ¶ added in v1.13.0
func (o *GetExtraCertificatesOK) IsSuccess() bool
IsSuccess returns true when this get extra certificates o k response has a 2xx status code
func (*GetExtraCertificatesOK) String ¶ added in v1.13.0
func (o *GetExtraCertificatesOK) String() string
type GetExtraCertificatesParams ¶
type GetExtraCertificatesParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetExtraCertificatesParams contains all the parameters to send to the API endpoint
for the get extra certificates operation. Typically these are written to a http.Request.
func NewGetExtraCertificatesParams ¶
func NewGetExtraCertificatesParams() *GetExtraCertificatesParams
NewGetExtraCertificatesParams creates a new GetExtraCertificatesParams 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 NewGetExtraCertificatesParamsWithContext ¶
func NewGetExtraCertificatesParamsWithContext(ctx context.Context) *GetExtraCertificatesParams
NewGetExtraCertificatesParamsWithContext creates a new GetExtraCertificatesParams object with the ability to set a context for a request.
func NewGetExtraCertificatesParamsWithHTTPClient ¶
func NewGetExtraCertificatesParamsWithHTTPClient(client *http.Client) *GetExtraCertificatesParams
NewGetExtraCertificatesParamsWithHTTPClient creates a new GetExtraCertificatesParams object with the ability to set a custom HTTPClient for a request.
func NewGetExtraCertificatesParamsWithTimeout ¶
func NewGetExtraCertificatesParamsWithTimeout(timeout time.Duration) *GetExtraCertificatesParams
NewGetExtraCertificatesParamsWithTimeout creates a new GetExtraCertificatesParams object with the ability to set a timeout on a request.
func (*GetExtraCertificatesParams) SetContext ¶
func (o *GetExtraCertificatesParams) SetContext(ctx context.Context)
SetContext adds the context to the get extra certificates params
func (*GetExtraCertificatesParams) SetDefaults ¶ added in v1.3.0
func (o *GetExtraCertificatesParams) SetDefaults()
SetDefaults hydrates default values in the get extra certificates params (not the query body).
All values with no default are reset to their zero value.
func (*GetExtraCertificatesParams) SetHTTPClient ¶
func (o *GetExtraCertificatesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get extra certificates params
func (*GetExtraCertificatesParams) SetTimeout ¶
func (o *GetExtraCertificatesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get extra certificates params
func (*GetExtraCertificatesParams) WithContext ¶
func (o *GetExtraCertificatesParams) WithContext(ctx context.Context) *GetExtraCertificatesParams
WithContext adds the context to the get extra certificates params
func (*GetExtraCertificatesParams) WithDefaults ¶ added in v1.3.0
func (o *GetExtraCertificatesParams) WithDefaults() *GetExtraCertificatesParams
WithDefaults hydrates default values in the get extra certificates params (not the query body).
All values with no default are reset to their zero value.
func (*GetExtraCertificatesParams) WithHTTPClient ¶
func (o *GetExtraCertificatesParams) WithHTTPClient(client *http.Client) *GetExtraCertificatesParams
WithHTTPClient adds the HTTPClient to the get extra certificates params
func (*GetExtraCertificatesParams) WithTimeout ¶
func (o *GetExtraCertificatesParams) WithTimeout(timeout time.Duration) *GetExtraCertificatesParams
WithTimeout adds the timeout to the get extra certificates params
func (*GetExtraCertificatesParams) WriteToRequest ¶
func (o *GetExtraCertificatesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetExtraCertificatesReader ¶
type GetExtraCertificatesReader struct {
// contains filtered or unexported fields
}
GetExtraCertificatesReader is a Reader for the GetExtraCertificates structure.
func (*GetExtraCertificatesReader) ReadResponse ¶
func (o *GetExtraCertificatesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetPlatformOK ¶
type GetPlatformOK struct {
Payload *models.PlatformInfo
}
GetPlatformOK describes a response with status code 200, with default header values.
The platform information is retrieved.
func NewGetPlatformOK ¶
func NewGetPlatformOK() *GetPlatformOK
NewGetPlatformOK creates a GetPlatformOK with default headers values
func (*GetPlatformOK) Code ¶ added in v1.13.0
func (o *GetPlatformOK) Code() int
Code gets the status code for the get platform o k response
func (*GetPlatformOK) Error ¶
func (o *GetPlatformOK) Error() string
func (*GetPlatformOK) GetPayload ¶
func (o *GetPlatformOK) GetPayload() *models.PlatformInfo
func (*GetPlatformOK) IsClientError ¶ added in v1.13.0
func (o *GetPlatformOK) IsClientError() bool
IsClientError returns true when this get platform o k response has a 4xx status code
func (*GetPlatformOK) IsCode ¶ added in v1.13.0
func (o *GetPlatformOK) IsCode(code int) bool
IsCode returns true when this get platform o k response a status code equal to that given
func (*GetPlatformOK) IsRedirect ¶ added in v1.13.0
func (o *GetPlatformOK) IsRedirect() bool
IsRedirect returns true when this get platform o k response has a 3xx status code
func (*GetPlatformOK) IsServerError ¶ added in v1.13.0
func (o *GetPlatformOK) IsServerError() bool
IsServerError returns true when this get platform o k response has a 5xx status code
func (*GetPlatformOK) IsSuccess ¶ added in v1.13.0
func (o *GetPlatformOK) IsSuccess() bool
IsSuccess returns true when this get platform o k response has a 2xx status code
func (*GetPlatformOK) String ¶ added in v1.13.0
func (o *GetPlatformOK) String() string
type GetPlatformParams ¶
type GetPlatformParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetPlatformParams contains all the parameters to send to the API endpoint
for the get platform operation. Typically these are written to a http.Request.
func NewGetPlatformParams ¶
func NewGetPlatformParams() *GetPlatformParams
NewGetPlatformParams creates a new GetPlatformParams 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 NewGetPlatformParamsWithContext ¶
func NewGetPlatformParamsWithContext(ctx context.Context) *GetPlatformParams
NewGetPlatformParamsWithContext creates a new GetPlatformParams object with the ability to set a context for a request.
func NewGetPlatformParamsWithHTTPClient ¶
func NewGetPlatformParamsWithHTTPClient(client *http.Client) *GetPlatformParams
NewGetPlatformParamsWithHTTPClient creates a new GetPlatformParams object with the ability to set a custom HTTPClient for a request.
func NewGetPlatformParamsWithTimeout ¶
func NewGetPlatformParamsWithTimeout(timeout time.Duration) *GetPlatformParams
NewGetPlatformParamsWithTimeout creates a new GetPlatformParams object with the ability to set a timeout on a request.
func (*GetPlatformParams) SetContext ¶
func (o *GetPlatformParams) SetContext(ctx context.Context)
SetContext adds the context to the get platform params
func (*GetPlatformParams) SetDefaults ¶ added in v1.3.0
func (o *GetPlatformParams) SetDefaults()
SetDefaults hydrates default values in the get platform params (not the query body).
All values with no default are reset to their zero value.
func (*GetPlatformParams) SetHTTPClient ¶
func (o *GetPlatformParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get platform params
func (*GetPlatformParams) SetTimeout ¶
func (o *GetPlatformParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get platform params
func (*GetPlatformParams) WithContext ¶
func (o *GetPlatformParams) WithContext(ctx context.Context) *GetPlatformParams
WithContext adds the context to the get platform params
func (*GetPlatformParams) WithDefaults ¶ added in v1.3.0
func (o *GetPlatformParams) WithDefaults() *GetPlatformParams
WithDefaults hydrates default values in the get platform params (not the query body).
All values with no default are reset to their zero value.
func (*GetPlatformParams) WithHTTPClient ¶
func (o *GetPlatformParams) WithHTTPClient(client *http.Client) *GetPlatformParams
WithHTTPClient adds the HTTPClient to the get platform params
func (*GetPlatformParams) WithTimeout ¶
func (o *GetPlatformParams) WithTimeout(timeout time.Duration) *GetPlatformParams
WithTimeout adds the timeout to the get platform params
func (*GetPlatformParams) WriteToRequest ¶
func (o *GetPlatformParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetPlatformReader ¶
type GetPlatformReader struct {
// contains filtered or unexported fields
}
GetPlatformReader is a Reader for the GetPlatform structure.
func (*GetPlatformReader) ReadResponse ¶
func (o *GetPlatformReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SetExtraCertificateBadRequest ¶
type SetExtraCertificateBadRequest struct { /* The error codes associated with the response */ XCloudErrorCodes string Payload *models.BasicFailedReply }
SetExtraCertificateBadRequest describes a response with status code 400, with default header values.
Certificate uses unknown cryptographic algorithm. (code: `cert.unknown_cert_algorithm`)
func NewSetExtraCertificateBadRequest ¶
func NewSetExtraCertificateBadRequest() *SetExtraCertificateBadRequest
NewSetExtraCertificateBadRequest creates a SetExtraCertificateBadRequest with default headers values
func (*SetExtraCertificateBadRequest) Code ¶ added in v1.13.0
func (o *SetExtraCertificateBadRequest) Code() int
Code gets the status code for the set extra certificate bad request response
func (*SetExtraCertificateBadRequest) Error ¶
func (o *SetExtraCertificateBadRequest) Error() string
func (*SetExtraCertificateBadRequest) GetPayload ¶
func (o *SetExtraCertificateBadRequest) GetPayload() *models.BasicFailedReply
func (*SetExtraCertificateBadRequest) IsClientError ¶ added in v1.13.0
func (o *SetExtraCertificateBadRequest) IsClientError() bool
IsClientError returns true when this set extra certificate bad request response has a 4xx status code
func (*SetExtraCertificateBadRequest) IsCode ¶ added in v1.13.0
func (o *SetExtraCertificateBadRequest) IsCode(code int) bool
IsCode returns true when this set extra certificate bad request response a status code equal to that given
func (*SetExtraCertificateBadRequest) IsRedirect ¶ added in v1.13.0
func (o *SetExtraCertificateBadRequest) IsRedirect() bool
IsRedirect returns true when this set extra certificate bad request response has a 3xx status code
func (*SetExtraCertificateBadRequest) IsServerError ¶ added in v1.13.0
func (o *SetExtraCertificateBadRequest) IsServerError() bool
IsServerError returns true when this set extra certificate bad request response has a 5xx status code
func (*SetExtraCertificateBadRequest) IsSuccess ¶ added in v1.13.0
func (o *SetExtraCertificateBadRequest) IsSuccess() bool
IsSuccess returns true when this set extra certificate bad request response has a 2xx status code
func (*SetExtraCertificateBadRequest) String ¶ added in v1.13.0
func (o *SetExtraCertificateBadRequest) String() string
type SetExtraCertificateOK ¶
type SetExtraCertificateOK struct {
Payload models.EmptyResponse
}
SetExtraCertificateOK describes a response with status code 200, with default header values.
Updates extra certificate under given id
func NewSetExtraCertificateOK ¶
func NewSetExtraCertificateOK() *SetExtraCertificateOK
NewSetExtraCertificateOK creates a SetExtraCertificateOK with default headers values
func (*SetExtraCertificateOK) Code ¶ added in v1.13.0
func (o *SetExtraCertificateOK) Code() int
Code gets the status code for the set extra certificate o k response
func (*SetExtraCertificateOK) Error ¶
func (o *SetExtraCertificateOK) Error() string
func (*SetExtraCertificateOK) GetPayload ¶
func (o *SetExtraCertificateOK) GetPayload() models.EmptyResponse
func (*SetExtraCertificateOK) IsClientError ¶ added in v1.13.0
func (o *SetExtraCertificateOK) IsClientError() bool
IsClientError returns true when this set extra certificate o k response has a 4xx status code
func (*SetExtraCertificateOK) IsCode ¶ added in v1.13.0
func (o *SetExtraCertificateOK) IsCode(code int) bool
IsCode returns true when this set extra certificate o k response a status code equal to that given
func (*SetExtraCertificateOK) IsRedirect ¶ added in v1.13.0
func (o *SetExtraCertificateOK) IsRedirect() bool
IsRedirect returns true when this set extra certificate o k response has a 3xx status code
func (*SetExtraCertificateOK) IsServerError ¶ added in v1.13.0
func (o *SetExtraCertificateOK) IsServerError() bool
IsServerError returns true when this set extra certificate o k response has a 5xx status code
func (*SetExtraCertificateOK) IsSuccess ¶ added in v1.13.0
func (o *SetExtraCertificateOK) IsSuccess() bool
IsSuccess returns true when this set extra certificate o k response has a 2xx status code
func (*SetExtraCertificateOK) String ¶ added in v1.13.0
func (o *SetExtraCertificateOK) String() string
type SetExtraCertificateParams ¶
type SetExtraCertificateParams struct { /* Body. Extra certificate bundle */ Body string /* CertID. The extra certificate Id. For example, `star_my_domain_com`. */ CertID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
SetExtraCertificateParams contains all the parameters to send to the API endpoint
for the set extra certificate operation. Typically these are written to a http.Request.
func NewSetExtraCertificateParams ¶
func NewSetExtraCertificateParams() *SetExtraCertificateParams
NewSetExtraCertificateParams creates a new SetExtraCertificateParams 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 NewSetExtraCertificateParamsWithContext ¶
func NewSetExtraCertificateParamsWithContext(ctx context.Context) *SetExtraCertificateParams
NewSetExtraCertificateParamsWithContext creates a new SetExtraCertificateParams object with the ability to set a context for a request.
func NewSetExtraCertificateParamsWithHTTPClient ¶
func NewSetExtraCertificateParamsWithHTTPClient(client *http.Client) *SetExtraCertificateParams
NewSetExtraCertificateParamsWithHTTPClient creates a new SetExtraCertificateParams object with the ability to set a custom HTTPClient for a request.
func NewSetExtraCertificateParamsWithTimeout ¶
func NewSetExtraCertificateParamsWithTimeout(timeout time.Duration) *SetExtraCertificateParams
NewSetExtraCertificateParamsWithTimeout creates a new SetExtraCertificateParams object with the ability to set a timeout on a request.
func (*SetExtraCertificateParams) SetBody ¶
func (o *SetExtraCertificateParams) SetBody(body string)
SetBody adds the body to the set extra certificate params
func (*SetExtraCertificateParams) SetCertID ¶
func (o *SetExtraCertificateParams) SetCertID(certID string)
SetCertID adds the certId to the set extra certificate params
func (*SetExtraCertificateParams) SetContext ¶
func (o *SetExtraCertificateParams) SetContext(ctx context.Context)
SetContext adds the context to the set extra certificate params
func (*SetExtraCertificateParams) SetDefaults ¶ added in v1.3.0
func (o *SetExtraCertificateParams) SetDefaults()
SetDefaults hydrates default values in the set extra certificate params (not the query body).
All values with no default are reset to their zero value.
func (*SetExtraCertificateParams) SetHTTPClient ¶
func (o *SetExtraCertificateParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the set extra certificate params
func (*SetExtraCertificateParams) SetTimeout ¶
func (o *SetExtraCertificateParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the set extra certificate params
func (*SetExtraCertificateParams) WithBody ¶
func (o *SetExtraCertificateParams) WithBody(body string) *SetExtraCertificateParams
WithBody adds the body to the set extra certificate params
func (*SetExtraCertificateParams) WithCertID ¶
func (o *SetExtraCertificateParams) WithCertID(certID string) *SetExtraCertificateParams
WithCertID adds the certID to the set extra certificate params
func (*SetExtraCertificateParams) WithContext ¶
func (o *SetExtraCertificateParams) WithContext(ctx context.Context) *SetExtraCertificateParams
WithContext adds the context to the set extra certificate params
func (*SetExtraCertificateParams) WithDefaults ¶ added in v1.3.0
func (o *SetExtraCertificateParams) WithDefaults() *SetExtraCertificateParams
WithDefaults hydrates default values in the set extra certificate params (not the query body).
All values with no default are reset to their zero value.
func (*SetExtraCertificateParams) WithHTTPClient ¶
func (o *SetExtraCertificateParams) WithHTTPClient(client *http.Client) *SetExtraCertificateParams
WithHTTPClient adds the HTTPClient to the set extra certificate params
func (*SetExtraCertificateParams) WithTimeout ¶
func (o *SetExtraCertificateParams) WithTimeout(timeout time.Duration) *SetExtraCertificateParams
WithTimeout adds the timeout to the set extra certificate params
func (*SetExtraCertificateParams) WriteToRequest ¶
func (o *SetExtraCertificateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SetExtraCertificateReader ¶
type SetExtraCertificateReader struct {
// contains filtered or unexported fields
}
SetExtraCertificateReader is a Reader for the SetExtraCertificate structure.
func (*SetExtraCertificateReader) ReadResponse ¶
func (o *SetExtraCertificateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- delete_extra_certificate_parameters.go
- delete_extra_certificate_responses.go
- get_extra_certificate_parameters.go
- get_extra_certificate_responses.go
- get_extra_certificates_parameters.go
- get_extra_certificates_responses.go
- get_platform_parameters.go
- get_platform_responses.go
- platform_client.go
- set_extra_certificate_parameters.go
- set_extra_certificate_responses.go