Documentation ¶
Index ¶
- type Client
- type ClientOption
- type ClientService
- type GetCertificateInfoForbidden
- func (o *GetCertificateInfoForbidden) Error() string
- func (o *GetCertificateInfoForbidden) GetPayload() *models.ServiceErrorResponse
- func (o *GetCertificateInfoForbidden) IsClientError() bool
- func (o *GetCertificateInfoForbidden) IsCode(code int) bool
- func (o *GetCertificateInfoForbidden) IsRedirect() bool
- func (o *GetCertificateInfoForbidden) IsServerError() bool
- func (o *GetCertificateInfoForbidden) IsSuccess() bool
- func (o *GetCertificateInfoForbidden) String() string
- type GetCertificateInfoNotFound
- func (o *GetCertificateInfoNotFound) Error() string
- func (o *GetCertificateInfoNotFound) GetPayload() *models.Error
- func (o *GetCertificateInfoNotFound) IsClientError() bool
- func (o *GetCertificateInfoNotFound) IsCode(code int) bool
- func (o *GetCertificateInfoNotFound) IsRedirect() bool
- func (o *GetCertificateInfoNotFound) IsServerError() bool
- func (o *GetCertificateInfoNotFound) IsSuccess() bool
- func (o *GetCertificateInfoNotFound) String() string
- type GetCertificateInfoOK
- func (o *GetCertificateInfoOK) Error() string
- func (o *GetCertificateInfoOK) GetPayload() *models.CertificateInfo
- func (o *GetCertificateInfoOK) IsClientError() bool
- func (o *GetCertificateInfoOK) IsCode(code int) bool
- func (o *GetCertificateInfoOK) IsRedirect() bool
- func (o *GetCertificateInfoOK) IsServerError() bool
- func (o *GetCertificateInfoOK) IsSuccess() bool
- func (o *GetCertificateInfoOK) String() string
- type GetCertificateInfoParams
- func NewGetCertificateInfoParams() *GetCertificateInfoParams
- func NewGetCertificateInfoParamsWithContext(ctx context.Context) *GetCertificateInfoParams
- func NewGetCertificateInfoParamsWithHTTPClient(client *http.Client) *GetCertificateInfoParams
- func NewGetCertificateInfoParamsWithTimeout(timeout time.Duration) *GetCertificateInfoParams
- func (o *GetCertificateInfoParams) SetAPIVersion(aPIVersion string)
- func (o *GetCertificateInfoParams) SetContext(ctx context.Context)
- func (o *GetCertificateInfoParams) SetDefaults()
- func (o *GetCertificateInfoParams) SetHTTPClient(client *http.Client)
- func (o *GetCertificateInfoParams) SetID(id string)
- func (o *GetCertificateInfoParams) SetTimeout(timeout time.Duration)
- func (o *GetCertificateInfoParams) WithAPIVersion(aPIVersion string) *GetCertificateInfoParams
- func (o *GetCertificateInfoParams) WithContext(ctx context.Context) *GetCertificateInfoParams
- func (o *GetCertificateInfoParams) WithDefaults() *GetCertificateInfoParams
- func (o *GetCertificateInfoParams) WithHTTPClient(client *http.Client) *GetCertificateInfoParams
- func (o *GetCertificateInfoParams) WithID(id string) *GetCertificateInfoParams
- func (o *GetCertificateInfoParams) WithTimeout(timeout time.Duration) *GetCertificateInfoParams
- func (o *GetCertificateInfoParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetCertificateInfoReader
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 certificates API
func (*Client) GetCertificateInfo ¶
func (a *Client) GetCertificateInfo(params *GetCertificateInfoParams, opts ...ClientOption) (*GetCertificateInfoOK, error)
GetCertificateInfo gets certificate info
Get certificate info
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 { GetCertificateInfo(params *GetCertificateInfoParams, opts ...ClientOption) (*GetCertificateInfoOK, 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 certificates API client.
type GetCertificateInfoForbidden ¶
type GetCertificateInfoForbidden struct {
Payload *models.ServiceErrorResponse
}
GetCertificateInfoForbidden describes a response with status code 403, with default header values.
Forbidden
func NewGetCertificateInfoForbidden ¶
func NewGetCertificateInfoForbidden() *GetCertificateInfoForbidden
NewGetCertificateInfoForbidden creates a GetCertificateInfoForbidden with default headers values
func (*GetCertificateInfoForbidden) Error ¶
func (o *GetCertificateInfoForbidden) Error() string
func (*GetCertificateInfoForbidden) GetPayload ¶
func (o *GetCertificateInfoForbidden) GetPayload() *models.ServiceErrorResponse
func (*GetCertificateInfoForbidden) IsClientError ¶ added in v0.5.0
func (o *GetCertificateInfoForbidden) IsClientError() bool
IsClientError returns true when this get certificate info forbidden response has a 4xx status code
func (*GetCertificateInfoForbidden) IsCode ¶ added in v0.5.0
func (o *GetCertificateInfoForbidden) IsCode(code int) bool
IsCode returns true when this get certificate info forbidden response a status code equal to that given
func (*GetCertificateInfoForbidden) IsRedirect ¶ added in v0.5.0
func (o *GetCertificateInfoForbidden) IsRedirect() bool
IsRedirect returns true when this get certificate info forbidden response has a 3xx status code
func (*GetCertificateInfoForbidden) IsServerError ¶ added in v0.5.0
func (o *GetCertificateInfoForbidden) IsServerError() bool
IsServerError returns true when this get certificate info forbidden response has a 5xx status code
func (*GetCertificateInfoForbidden) IsSuccess ¶ added in v0.5.0
func (o *GetCertificateInfoForbidden) IsSuccess() bool
IsSuccess returns true when this get certificate info forbidden response has a 2xx status code
func (*GetCertificateInfoForbidden) String ¶ added in v0.5.0
func (o *GetCertificateInfoForbidden) String() string
type GetCertificateInfoNotFound ¶
GetCertificateInfoNotFound describes a response with status code 404, with default header values.
Not Found
func NewGetCertificateInfoNotFound ¶
func NewGetCertificateInfoNotFound() *GetCertificateInfoNotFound
NewGetCertificateInfoNotFound creates a GetCertificateInfoNotFound with default headers values
func (*GetCertificateInfoNotFound) Error ¶
func (o *GetCertificateInfoNotFound) Error() string
func (*GetCertificateInfoNotFound) GetPayload ¶
func (o *GetCertificateInfoNotFound) GetPayload() *models.Error
func (*GetCertificateInfoNotFound) IsClientError ¶ added in v0.5.0
func (o *GetCertificateInfoNotFound) IsClientError() bool
IsClientError returns true when this get certificate info not found response has a 4xx status code
func (*GetCertificateInfoNotFound) IsCode ¶ added in v0.5.0
func (o *GetCertificateInfoNotFound) IsCode(code int) bool
IsCode returns true when this get certificate info not found response a status code equal to that given
func (*GetCertificateInfoNotFound) IsRedirect ¶ added in v0.5.0
func (o *GetCertificateInfoNotFound) IsRedirect() bool
IsRedirect returns true when this get certificate info not found response has a 3xx status code
func (*GetCertificateInfoNotFound) IsServerError ¶ added in v0.5.0
func (o *GetCertificateInfoNotFound) IsServerError() bool
IsServerError returns true when this get certificate info not found response has a 5xx status code
func (*GetCertificateInfoNotFound) IsSuccess ¶ added in v0.5.0
func (o *GetCertificateInfoNotFound) IsSuccess() bool
IsSuccess returns true when this get certificate info not found response has a 2xx status code
func (*GetCertificateInfoNotFound) String ¶ added in v0.5.0
func (o *GetCertificateInfoNotFound) String() string
type GetCertificateInfoOK ¶
type GetCertificateInfoOK struct {
Payload *models.CertificateInfo
}
GetCertificateInfoOK describes a response with status code 200, with default header values.
successful operation
func NewGetCertificateInfoOK ¶
func NewGetCertificateInfoOK() *GetCertificateInfoOK
NewGetCertificateInfoOK creates a GetCertificateInfoOK with default headers values
func (*GetCertificateInfoOK) Error ¶
func (o *GetCertificateInfoOK) Error() string
func (*GetCertificateInfoOK) GetPayload ¶
func (o *GetCertificateInfoOK) GetPayload() *models.CertificateInfo
func (*GetCertificateInfoOK) IsClientError ¶ added in v0.5.0
func (o *GetCertificateInfoOK) IsClientError() bool
IsClientError returns true when this get certificate info o k response has a 4xx status code
func (*GetCertificateInfoOK) IsCode ¶ added in v0.5.0
func (o *GetCertificateInfoOK) IsCode(code int) bool
IsCode returns true when this get certificate info o k response a status code equal to that given
func (*GetCertificateInfoOK) IsRedirect ¶ added in v0.5.0
func (o *GetCertificateInfoOK) IsRedirect() bool
IsRedirect returns true when this get certificate info o k response has a 3xx status code
func (*GetCertificateInfoOK) IsServerError ¶ added in v0.5.0
func (o *GetCertificateInfoOK) IsServerError() bool
IsServerError returns true when this get certificate info o k response has a 5xx status code
func (*GetCertificateInfoOK) IsSuccess ¶ added in v0.5.0
func (o *GetCertificateInfoOK) IsSuccess() bool
IsSuccess returns true when this get certificate info o k response has a 2xx status code
func (*GetCertificateInfoOK) String ¶ added in v0.5.0
func (o *GetCertificateInfoOK) String() string
type GetCertificateInfoParams ¶
type GetCertificateInfoParams struct { /* APIVersion. The version of the API in yyyy-MM-dd format (UTC). For versioning information refer to /iaas/api/about */ APIVersion string /* ID. The ID of the EndpointCreationTaskState */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetCertificateInfoParams contains all the parameters to send to the API endpoint
for the get certificate info operation. Typically these are written to a http.Request.
func NewGetCertificateInfoParams ¶
func NewGetCertificateInfoParams() *GetCertificateInfoParams
NewGetCertificateInfoParams creates a new GetCertificateInfoParams 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 NewGetCertificateInfoParamsWithContext ¶
func NewGetCertificateInfoParamsWithContext(ctx context.Context) *GetCertificateInfoParams
NewGetCertificateInfoParamsWithContext creates a new GetCertificateInfoParams object with the ability to set a context for a request.
func NewGetCertificateInfoParamsWithHTTPClient ¶
func NewGetCertificateInfoParamsWithHTTPClient(client *http.Client) *GetCertificateInfoParams
NewGetCertificateInfoParamsWithHTTPClient creates a new GetCertificateInfoParams object with the ability to set a custom HTTPClient for a request.
func NewGetCertificateInfoParamsWithTimeout ¶
func NewGetCertificateInfoParamsWithTimeout(timeout time.Duration) *GetCertificateInfoParams
NewGetCertificateInfoParamsWithTimeout creates a new GetCertificateInfoParams object with the ability to set a timeout on a request.
func (*GetCertificateInfoParams) SetAPIVersion ¶
func (o *GetCertificateInfoParams) SetAPIVersion(aPIVersion string)
SetAPIVersion adds the apiVersion to the get certificate info params
func (*GetCertificateInfoParams) SetContext ¶
func (o *GetCertificateInfoParams) SetContext(ctx context.Context)
SetContext adds the context to the get certificate info params
func (*GetCertificateInfoParams) SetDefaults ¶
func (o *GetCertificateInfoParams) SetDefaults()
SetDefaults hydrates default values in the get certificate info params (not the query body).
All values with no default are reset to their zero value.
func (*GetCertificateInfoParams) SetHTTPClient ¶
func (o *GetCertificateInfoParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get certificate info params
func (*GetCertificateInfoParams) SetID ¶
func (o *GetCertificateInfoParams) SetID(id string)
SetID adds the id to the get certificate info params
func (*GetCertificateInfoParams) SetTimeout ¶
func (o *GetCertificateInfoParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get certificate info params
func (*GetCertificateInfoParams) WithAPIVersion ¶
func (o *GetCertificateInfoParams) WithAPIVersion(aPIVersion string) *GetCertificateInfoParams
WithAPIVersion adds the aPIVersion to the get certificate info params
func (*GetCertificateInfoParams) WithContext ¶
func (o *GetCertificateInfoParams) WithContext(ctx context.Context) *GetCertificateInfoParams
WithContext adds the context to the get certificate info params
func (*GetCertificateInfoParams) WithDefaults ¶
func (o *GetCertificateInfoParams) WithDefaults() *GetCertificateInfoParams
WithDefaults hydrates default values in the get certificate info params (not the query body).
All values with no default are reset to their zero value.
func (*GetCertificateInfoParams) WithHTTPClient ¶
func (o *GetCertificateInfoParams) WithHTTPClient(client *http.Client) *GetCertificateInfoParams
WithHTTPClient adds the HTTPClient to the get certificate info params
func (*GetCertificateInfoParams) WithID ¶
func (o *GetCertificateInfoParams) WithID(id string) *GetCertificateInfoParams
WithID adds the id to the get certificate info params
func (*GetCertificateInfoParams) WithTimeout ¶
func (o *GetCertificateInfoParams) WithTimeout(timeout time.Duration) *GetCertificateInfoParams
WithTimeout adds the timeout to the get certificate info params
func (*GetCertificateInfoParams) WriteToRequest ¶
func (o *GetCertificateInfoParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetCertificateInfoReader ¶
type GetCertificateInfoReader struct {
// contains filtered or unexported fields
}
GetCertificateInfoReader is a Reader for the GetCertificateInfo structure.
func (*GetCertificateInfoReader) ReadResponse ¶
func (o *GetCertificateInfoReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.