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 ClientService
- type DeleteExtraCertificateNotFound
- type DeleteExtraCertificateOK
- 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) 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) 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
- type GetExtraCertificateOK
- 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) 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) 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
- 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) SetHTTPClient(client *http.Client)
- func (o *GetExtraCertificatesParams) SetTimeout(timeout time.Duration)
- func (o *GetExtraCertificatesParams) WithContext(ctx context.Context) *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
- type GetPlatformParams
- func (o *GetPlatformParams) SetContext(ctx context.Context)
- 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) 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
- type SetExtraCertificateOK
- 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) 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) 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) (*DeleteExtraCertificateOK, error)
DeleteExtraCertificate deletes extra certificate
Delete an extra certificate.
func (*Client) GetExtraCertificate ¶
func (a *Client) GetExtraCertificate(params *GetExtraCertificateParams, authInfo runtime.ClientAuthInfoWriter) (*GetExtraCertificateOK, error)
GetExtraCertificate reads extra certificate
Read an extra certificate.
func (*Client) GetExtraCertificates ¶
func (a *Client) GetExtraCertificates(params *GetExtraCertificatesParams, authInfo runtime.ClientAuthInfoWriter) (*GetExtraCertificatesOK, error)
GetExtraCertificates lists extra certificates
List all of the extra certificates.
func (*Client) GetPlatform ¶
func (a *Client) GetPlatform(params *GetPlatformParams, authInfo runtime.ClientAuthInfoWriter) (*GetPlatformOK, error)
GetPlatform gets platform info
Retrieves information about the active platform.
func (*Client) SetExtraCertificate ¶
func (a *Client) SetExtraCertificate(params *SetExtraCertificateParams, authInfo runtime.ClientAuthInfoWriter) (*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 ClientService ¶
type ClientService interface { DeleteExtraCertificate(params *DeleteExtraCertificateParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteExtraCertificateOK, error) GetExtraCertificate(params *GetExtraCertificateParams, authInfo runtime.ClientAuthInfoWriter) (*GetExtraCertificateOK, error) GetExtraCertificates(params *GetExtraCertificatesParams, authInfo runtime.ClientAuthInfoWriter) (*GetExtraCertificatesOK, error) GetPlatform(params *GetPlatformParams, authInfo runtime.ClientAuthInfoWriter) (*GetPlatformOK, error) SetExtraCertificate(params *SetExtraCertificateParams, authInfo runtime.ClientAuthInfoWriter) (*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 handles this case 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) Error ¶
func (o *DeleteExtraCertificateNotFound) Error() string
func (*DeleteExtraCertificateNotFound) GetPayload ¶
func (o *DeleteExtraCertificateNotFound) GetPayload() *models.BasicFailedReply
type DeleteExtraCertificateOK ¶
type DeleteExtraCertificateOK struct {
Payload models.EmptyResponse
}
DeleteExtraCertificateOK handles this case 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) Error ¶
func (o *DeleteExtraCertificateOK) Error() string
func (*DeleteExtraCertificateOK) GetPayload ¶
func (o *DeleteExtraCertificateOK) GetPayload() models.EmptyResponse
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 values initialized.
func NewDeleteExtraCertificateParamsWithContext ¶
func NewDeleteExtraCertificateParamsWithContext(ctx context.Context) *DeleteExtraCertificateParams
NewDeleteExtraCertificateParamsWithContext creates a new DeleteExtraCertificateParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 handles this case 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) Error ¶
func (o *GetExtraCertificateNotFound) Error() string
func (*GetExtraCertificateNotFound) GetPayload ¶
func (o *GetExtraCertificateNotFound) GetPayload() *models.BasicFailedReply
type GetExtraCertificateOK ¶
type GetExtraCertificateOK struct {
Payload *models.PublicCertChain
}
GetExtraCertificateOK handles this case 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) Error ¶
func (o *GetExtraCertificateOK) Error() string
func (*GetExtraCertificateOK) GetPayload ¶
func (o *GetExtraCertificateOK) GetPayload() *models.PublicCertChain
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 values initialized.
func NewGetExtraCertificateParamsWithContext ¶
func NewGetExtraCertificateParamsWithContext(ctx context.Context) *GetExtraCertificateParams
NewGetExtraCertificateParamsWithContext creates a new GetExtraCertificateParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 handles this case 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) Error ¶
func (o *GetExtraCertificatesOK) Error() string
func (*GetExtraCertificatesOK) GetPayload ¶
func (o *GetExtraCertificatesOK) GetPayload() *models.PublicCertChainCollection
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 values initialized.
func NewGetExtraCertificatesParamsWithContext ¶
func NewGetExtraCertificatesParamsWithContext(ctx context.Context) *GetExtraCertificatesParams
NewGetExtraCertificatesParamsWithContext creates a new GetExtraCertificatesParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 handles this case with default header values.
The platform information is retrieved.
func NewGetPlatformOK ¶
func NewGetPlatformOK() *GetPlatformOK
NewGetPlatformOK creates a GetPlatformOK with default headers values
func (*GetPlatformOK) Error ¶
func (o *GetPlatformOK) Error() string
func (*GetPlatformOK) GetPayload ¶
func (o *GetPlatformOK) GetPayload() *models.PlatformInfo
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 values initialized.
func NewGetPlatformParamsWithContext ¶
func NewGetPlatformParamsWithContext(ctx context.Context) *GetPlatformParams
NewGetPlatformParamsWithContext creates a new GetPlatformParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 handles this case 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) Error ¶
func (o *SetExtraCertificateBadRequest) Error() string
func (*SetExtraCertificateBadRequest) GetPayload ¶
func (o *SetExtraCertificateBadRequest) GetPayload() *models.BasicFailedReply
type SetExtraCertificateOK ¶
type SetExtraCertificateOK struct {
Payload models.EmptyResponse
}
SetExtraCertificateOK handles this case 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) Error ¶
func (o *SetExtraCertificateOK) Error() string
func (*SetExtraCertificateOK) GetPayload ¶
func (o *SetExtraCertificateOK) GetPayload() models.EmptyResponse
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 values initialized.
func NewSetExtraCertificateParamsWithContext ¶
func NewSetExtraCertificateParamsWithContext(ctx context.Context) *SetExtraCertificateParams
NewSetExtraCertificateParamsWithContext creates a new SetExtraCertificateParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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