Documentation ¶
Index ¶
- type Client
- type ClientService
- type VersionServiceApplyDefault
- type VersionServiceApplyOK
- type VersionServiceApplyParams
- func NewVersionServiceApplyParams() *VersionServiceApplyParams
- func NewVersionServiceApplyParamsWithContext(ctx context.Context) *VersionServiceApplyParams
- func NewVersionServiceApplyParamsWithHTTPClient(client *http.Client) *VersionServiceApplyParams
- func NewVersionServiceApplyParamsWithTimeout(timeout time.Duration) *VersionServiceApplyParams
- func (o *VersionServiceApplyParams) SetApply(apply string)
- func (o *VersionServiceApplyParams) SetBackupVersion(backupVersion *string)
- func (o *VersionServiceApplyParams) SetContext(ctx context.Context)
- func (o *VersionServiceApplyParams) SetCustomResourceUID(customResourceUID *string)
- func (o *VersionServiceApplyParams) SetDatabaseVersion(databaseVersion *string)
- func (o *VersionServiceApplyParams) SetHTTPClient(client *http.Client)
- func (o *VersionServiceApplyParams) SetHaproxyVersion(haproxyVersion *string)
- func (o *VersionServiceApplyParams) SetKubeVersion(kubeVersion *string)
- func (o *VersionServiceApplyParams) SetNamespaceUID(namespaceUID *string)
- func (o *VersionServiceApplyParams) SetOperatorVersion(operatorVersion string)
- func (o *VersionServiceApplyParams) SetPlatform(platform *string)
- func (o *VersionServiceApplyParams) SetPmmVersion(pmmVersion *string)
- func (o *VersionServiceApplyParams) SetProduct(product string)
- func (o *VersionServiceApplyParams) SetProxysqlVersion(proxysqlVersion *string)
- func (o *VersionServiceApplyParams) SetTimeout(timeout time.Duration)
- func (o *VersionServiceApplyParams) WithApply(apply string) *VersionServiceApplyParams
- func (o *VersionServiceApplyParams) WithBackupVersion(backupVersion *string) *VersionServiceApplyParams
- func (o *VersionServiceApplyParams) WithContext(ctx context.Context) *VersionServiceApplyParams
- func (o *VersionServiceApplyParams) WithCustomResourceUID(customResourceUID *string) *VersionServiceApplyParams
- func (o *VersionServiceApplyParams) WithDatabaseVersion(databaseVersion *string) *VersionServiceApplyParams
- func (o *VersionServiceApplyParams) WithHTTPClient(client *http.Client) *VersionServiceApplyParams
- func (o *VersionServiceApplyParams) WithHaproxyVersion(haproxyVersion *string) *VersionServiceApplyParams
- func (o *VersionServiceApplyParams) WithKubeVersion(kubeVersion *string) *VersionServiceApplyParams
- func (o *VersionServiceApplyParams) WithNamespaceUID(namespaceUID *string) *VersionServiceApplyParams
- func (o *VersionServiceApplyParams) WithOperatorVersion(operatorVersion string) *VersionServiceApplyParams
- func (o *VersionServiceApplyParams) WithPlatform(platform *string) *VersionServiceApplyParams
- func (o *VersionServiceApplyParams) WithPmmVersion(pmmVersion *string) *VersionServiceApplyParams
- func (o *VersionServiceApplyParams) WithProduct(product string) *VersionServiceApplyParams
- func (o *VersionServiceApplyParams) WithProxysqlVersion(proxysqlVersion *string) *VersionServiceApplyParams
- func (o *VersionServiceApplyParams) WithTimeout(timeout time.Duration) *VersionServiceApplyParams
- func (o *VersionServiceApplyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type VersionServiceApplyReader
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 version service API
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) VersionServiceApply ¶
func (a *Client) VersionServiceApply(params *VersionServiceApplyParams) (*VersionServiceApplyOK, error)
VersionServiceApply specifics version
Return specific product version
type ClientService ¶
type ClientService interface { VersionServiceApply(params *VersionServiceApplyParams) (*VersionServiceApplyOK, 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 version service API client.
type VersionServiceApplyDefault ¶
type VersionServiceApplyDefault struct { Payload *models.GooglerpcStatus // contains filtered or unexported fields }
VersionServiceApplyDefault handles this case with default header values.
An unexpected error response
func NewVersionServiceApplyDefault ¶
func NewVersionServiceApplyDefault(code int) *VersionServiceApplyDefault
NewVersionServiceApplyDefault creates a VersionServiceApplyDefault with default headers values
func (*VersionServiceApplyDefault) Code ¶
func (o *VersionServiceApplyDefault) Code() int
Code gets the status code for the version service apply default response
func (*VersionServiceApplyDefault) Error ¶
func (o *VersionServiceApplyDefault) Error() string
func (*VersionServiceApplyDefault) GetPayload ¶
func (o *VersionServiceApplyDefault) GetPayload() *models.GooglerpcStatus
type VersionServiceApplyOK ¶
type VersionServiceApplyOK struct {
Payload *models.VersionVersionResponse
}
VersionServiceApplyOK handles this case with default header values.
A successful response.
func NewVersionServiceApplyOK ¶
func NewVersionServiceApplyOK() *VersionServiceApplyOK
NewVersionServiceApplyOK creates a VersionServiceApplyOK with default headers values
func (*VersionServiceApplyOK) Error ¶
func (o *VersionServiceApplyOK) Error() string
func (*VersionServiceApplyOK) GetPayload ¶
func (o *VersionServiceApplyOK) GetPayload() *models.VersionVersionResponse
type VersionServiceApplyParams ¶
type VersionServiceApplyParams struct { /*Apply*/ Apply string /*BackupVersion*/ BackupVersion *string /*CustomResourceUID*/ CustomResourceUID *string /*DatabaseVersion*/ DatabaseVersion *string /*HaproxyVersion*/ HaproxyVersion *string /*KubeVersion*/ KubeVersion *string /*NamespaceUID*/ NamespaceUID *string /*OperatorVersion*/ OperatorVersion string /*Platform*/ Platform *string /*PmmVersion*/ PmmVersion *string /*Product*/ Product string /*ProxysqlVersion*/ ProxysqlVersion *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
VersionServiceApplyParams contains all the parameters to send to the API endpoint for the version service apply operation typically these are written to a http.Request
func NewVersionServiceApplyParams ¶
func NewVersionServiceApplyParams() *VersionServiceApplyParams
NewVersionServiceApplyParams creates a new VersionServiceApplyParams object with the default values initialized.
func NewVersionServiceApplyParamsWithContext ¶
func NewVersionServiceApplyParamsWithContext(ctx context.Context) *VersionServiceApplyParams
NewVersionServiceApplyParamsWithContext creates a new VersionServiceApplyParams object with the default values initialized, and the ability to set a context for a request
func NewVersionServiceApplyParamsWithHTTPClient ¶
func NewVersionServiceApplyParamsWithHTTPClient(client *http.Client) *VersionServiceApplyParams
NewVersionServiceApplyParamsWithHTTPClient creates a new VersionServiceApplyParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewVersionServiceApplyParamsWithTimeout ¶
func NewVersionServiceApplyParamsWithTimeout(timeout time.Duration) *VersionServiceApplyParams
NewVersionServiceApplyParamsWithTimeout creates a new VersionServiceApplyParams object with the default values initialized, and the ability to set a timeout on a request
func (*VersionServiceApplyParams) SetApply ¶
func (o *VersionServiceApplyParams) SetApply(apply string)
SetApply adds the apply to the version service apply params
func (*VersionServiceApplyParams) SetBackupVersion ¶
func (o *VersionServiceApplyParams) SetBackupVersion(backupVersion *string)
SetBackupVersion adds the backupVersion to the version service apply params
func (*VersionServiceApplyParams) SetContext ¶
func (o *VersionServiceApplyParams) SetContext(ctx context.Context)
SetContext adds the context to the version service apply params
func (*VersionServiceApplyParams) SetCustomResourceUID ¶
func (o *VersionServiceApplyParams) SetCustomResourceUID(customResourceUID *string)
SetCustomResourceUID adds the customResourceUid to the version service apply params
func (*VersionServiceApplyParams) SetDatabaseVersion ¶
func (o *VersionServiceApplyParams) SetDatabaseVersion(databaseVersion *string)
SetDatabaseVersion adds the databaseVersion to the version service apply params
func (*VersionServiceApplyParams) SetHTTPClient ¶
func (o *VersionServiceApplyParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the version service apply params
func (*VersionServiceApplyParams) SetHaproxyVersion ¶
func (o *VersionServiceApplyParams) SetHaproxyVersion(haproxyVersion *string)
SetHaproxyVersion adds the haproxyVersion to the version service apply params
func (*VersionServiceApplyParams) SetKubeVersion ¶
func (o *VersionServiceApplyParams) SetKubeVersion(kubeVersion *string)
SetKubeVersion adds the kubeVersion to the version service apply params
func (*VersionServiceApplyParams) SetNamespaceUID ¶
func (o *VersionServiceApplyParams) SetNamespaceUID(namespaceUID *string)
SetNamespaceUID adds the namespaceUid to the version service apply params
func (*VersionServiceApplyParams) SetOperatorVersion ¶
func (o *VersionServiceApplyParams) SetOperatorVersion(operatorVersion string)
SetOperatorVersion adds the operatorVersion to the version service apply params
func (*VersionServiceApplyParams) SetPlatform ¶
func (o *VersionServiceApplyParams) SetPlatform(platform *string)
SetPlatform adds the platform to the version service apply params
func (*VersionServiceApplyParams) SetPmmVersion ¶
func (o *VersionServiceApplyParams) SetPmmVersion(pmmVersion *string)
SetPmmVersion adds the pmmVersion to the version service apply params
func (*VersionServiceApplyParams) SetProduct ¶
func (o *VersionServiceApplyParams) SetProduct(product string)
SetProduct adds the product to the version service apply params
func (*VersionServiceApplyParams) SetProxysqlVersion ¶
func (o *VersionServiceApplyParams) SetProxysqlVersion(proxysqlVersion *string)
SetProxysqlVersion adds the proxysqlVersion to the version service apply params
func (*VersionServiceApplyParams) SetTimeout ¶
func (o *VersionServiceApplyParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the version service apply params
func (*VersionServiceApplyParams) WithApply ¶
func (o *VersionServiceApplyParams) WithApply(apply string) *VersionServiceApplyParams
WithApply adds the apply to the version service apply params
func (*VersionServiceApplyParams) WithBackupVersion ¶
func (o *VersionServiceApplyParams) WithBackupVersion(backupVersion *string) *VersionServiceApplyParams
WithBackupVersion adds the backupVersion to the version service apply params
func (*VersionServiceApplyParams) WithContext ¶
func (o *VersionServiceApplyParams) WithContext(ctx context.Context) *VersionServiceApplyParams
WithContext adds the context to the version service apply params
func (*VersionServiceApplyParams) WithCustomResourceUID ¶
func (o *VersionServiceApplyParams) WithCustomResourceUID(customResourceUID *string) *VersionServiceApplyParams
WithCustomResourceUID adds the customResourceUID to the version service apply params
func (*VersionServiceApplyParams) WithDatabaseVersion ¶
func (o *VersionServiceApplyParams) WithDatabaseVersion(databaseVersion *string) *VersionServiceApplyParams
WithDatabaseVersion adds the databaseVersion to the version service apply params
func (*VersionServiceApplyParams) WithHTTPClient ¶
func (o *VersionServiceApplyParams) WithHTTPClient(client *http.Client) *VersionServiceApplyParams
WithHTTPClient adds the HTTPClient to the version service apply params
func (*VersionServiceApplyParams) WithHaproxyVersion ¶
func (o *VersionServiceApplyParams) WithHaproxyVersion(haproxyVersion *string) *VersionServiceApplyParams
WithHaproxyVersion adds the haproxyVersion to the version service apply params
func (*VersionServiceApplyParams) WithKubeVersion ¶
func (o *VersionServiceApplyParams) WithKubeVersion(kubeVersion *string) *VersionServiceApplyParams
WithKubeVersion adds the kubeVersion to the version service apply params
func (*VersionServiceApplyParams) WithNamespaceUID ¶
func (o *VersionServiceApplyParams) WithNamespaceUID(namespaceUID *string) *VersionServiceApplyParams
WithNamespaceUID adds the namespaceUID to the version service apply params
func (*VersionServiceApplyParams) WithOperatorVersion ¶
func (o *VersionServiceApplyParams) WithOperatorVersion(operatorVersion string) *VersionServiceApplyParams
WithOperatorVersion adds the operatorVersion to the version service apply params
func (*VersionServiceApplyParams) WithPlatform ¶
func (o *VersionServiceApplyParams) WithPlatform(platform *string) *VersionServiceApplyParams
WithPlatform adds the platform to the version service apply params
func (*VersionServiceApplyParams) WithPmmVersion ¶
func (o *VersionServiceApplyParams) WithPmmVersion(pmmVersion *string) *VersionServiceApplyParams
WithPmmVersion adds the pmmVersion to the version service apply params
func (*VersionServiceApplyParams) WithProduct ¶
func (o *VersionServiceApplyParams) WithProduct(product string) *VersionServiceApplyParams
WithProduct adds the product to the version service apply params
func (*VersionServiceApplyParams) WithProxysqlVersion ¶
func (o *VersionServiceApplyParams) WithProxysqlVersion(proxysqlVersion *string) *VersionServiceApplyParams
WithProxysqlVersion adds the proxysqlVersion to the version service apply params
func (*VersionServiceApplyParams) WithTimeout ¶
func (o *VersionServiceApplyParams) WithTimeout(timeout time.Duration) *VersionServiceApplyParams
WithTimeout adds the timeout to the version service apply params
func (*VersionServiceApplyParams) WriteToRequest ¶
func (o *VersionServiceApplyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type VersionServiceApplyReader ¶
type VersionServiceApplyReader struct {
// contains filtered or unexported fields
}
VersionServiceApplyReader is a Reader for the VersionServiceApply structure.
func (*VersionServiceApplyReader) ReadResponse ¶
func (o *VersionServiceApplyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.