Documentation ¶
Index ¶
- Constants
- type Client
- func (a *Client) CreateXtraDBCluster(params *CreateXtraDBClusterParams) (*CreateXtraDBClusterOK, error)
- func (a *Client) DeleteXtraDBCluster(params *DeleteXtraDBClusterParams) (*DeleteXtraDBClusterOK, error)
- func (a *Client) GetXtraDBClusterCredentials(params *GetXtraDBClusterCredentialsParams) (*GetXtraDBClusterCredentialsOK, error)
- func (a *Client) GetXtraDBClusterResources(params *GetXtraDBClusterResourcesParams) (*GetXtraDBClusterResourcesOK, error)
- func (a *Client) ListXtraDBClusters(params *ListXtraDBClustersParams) (*ListXtraDBClustersOK, error)
- func (a *Client) RestartXtraDBCluster(params *RestartXtraDBClusterParams) (*RestartXtraDBClusterOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateXtraDBCluster(params *UpdateXtraDBClusterParams) (*UpdateXtraDBClusterOK, error)
- type ClientService
- type ClustersItems0
- type ClustersItems0Operation
- type ClustersItems0Params
- type ClustersItems0ParamsHaproxy
- type ClustersItems0ParamsHaproxyComputeResources
- type ClustersItems0ParamsProxysql
- type ClustersItems0ParamsProxysqlComputeResources
- type ClustersItems0ParamsPxc
- type ClustersItems0ParamsPxcComputeResources
- type CreateXtraDBClusterBody
- type CreateXtraDBClusterDefault
- type CreateXtraDBClusterDefaultBody
- type CreateXtraDBClusterOK
- type CreateXtraDBClusterParams
- func NewCreateXtraDBClusterParams() *CreateXtraDBClusterParams
- func NewCreateXtraDBClusterParamsWithContext(ctx context.Context) *CreateXtraDBClusterParams
- func NewCreateXtraDBClusterParamsWithHTTPClient(client *http.Client) *CreateXtraDBClusterParams
- func NewCreateXtraDBClusterParamsWithTimeout(timeout time.Duration) *CreateXtraDBClusterParams
- func (o *CreateXtraDBClusterParams) SetBody(body CreateXtraDBClusterBody)
- func (o *CreateXtraDBClusterParams) SetContext(ctx context.Context)
- func (o *CreateXtraDBClusterParams) SetHTTPClient(client *http.Client)
- func (o *CreateXtraDBClusterParams) SetTimeout(timeout time.Duration)
- func (o *CreateXtraDBClusterParams) WithBody(body CreateXtraDBClusterBody) *CreateXtraDBClusterParams
- func (o *CreateXtraDBClusterParams) WithContext(ctx context.Context) *CreateXtraDBClusterParams
- func (o *CreateXtraDBClusterParams) WithHTTPClient(client *http.Client) *CreateXtraDBClusterParams
- func (o *CreateXtraDBClusterParams) WithTimeout(timeout time.Duration) *CreateXtraDBClusterParams
- func (o *CreateXtraDBClusterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateXtraDBClusterParamsBodyParams
- type CreateXtraDBClusterParamsBodyParamsHaproxy
- type CreateXtraDBClusterParamsBodyParamsHaproxyComputeResources
- func (o *CreateXtraDBClusterParamsBodyParamsHaproxyComputeResources) MarshalBinary() ([]byte, error)
- func (o *CreateXtraDBClusterParamsBodyParamsHaproxyComputeResources) UnmarshalBinary(b []byte) error
- func (o *CreateXtraDBClusterParamsBodyParamsHaproxyComputeResources) Validate(formats strfmt.Registry) error
- type CreateXtraDBClusterParamsBodyParamsProxysql
- type CreateXtraDBClusterParamsBodyParamsProxysqlComputeResources
- func (o *CreateXtraDBClusterParamsBodyParamsProxysqlComputeResources) MarshalBinary() ([]byte, error)
- func (o *CreateXtraDBClusterParamsBodyParamsProxysqlComputeResources) UnmarshalBinary(b []byte) error
- func (o *CreateXtraDBClusterParamsBodyParamsProxysqlComputeResources) Validate(formats strfmt.Registry) error
- type CreateXtraDBClusterParamsBodyParamsPxc
- type CreateXtraDBClusterParamsBodyParamsPxcComputeResources
- type CreateXtraDBClusterReader
- type DeleteXtraDBClusterBody
- type DeleteXtraDBClusterDefault
- type DeleteXtraDBClusterDefaultBody
- type DeleteXtraDBClusterOK
- type DeleteXtraDBClusterParams
- func NewDeleteXtraDBClusterParams() *DeleteXtraDBClusterParams
- func NewDeleteXtraDBClusterParamsWithContext(ctx context.Context) *DeleteXtraDBClusterParams
- func NewDeleteXtraDBClusterParamsWithHTTPClient(client *http.Client) *DeleteXtraDBClusterParams
- func NewDeleteXtraDBClusterParamsWithTimeout(timeout time.Duration) *DeleteXtraDBClusterParams
- func (o *DeleteXtraDBClusterParams) SetBody(body DeleteXtraDBClusterBody)
- func (o *DeleteXtraDBClusterParams) SetContext(ctx context.Context)
- func (o *DeleteXtraDBClusterParams) SetHTTPClient(client *http.Client)
- func (o *DeleteXtraDBClusterParams) SetTimeout(timeout time.Duration)
- func (o *DeleteXtraDBClusterParams) WithBody(body DeleteXtraDBClusterBody) *DeleteXtraDBClusterParams
- func (o *DeleteXtraDBClusterParams) WithContext(ctx context.Context) *DeleteXtraDBClusterParams
- func (o *DeleteXtraDBClusterParams) WithHTTPClient(client *http.Client) *DeleteXtraDBClusterParams
- func (o *DeleteXtraDBClusterParams) WithTimeout(timeout time.Duration) *DeleteXtraDBClusterParams
- func (o *DeleteXtraDBClusterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteXtraDBClusterReader
- type DetailsItems0
- type GetXtraDBClusterCredentialsBody
- type GetXtraDBClusterCredentialsDefault
- type GetXtraDBClusterCredentialsDefaultBody
- type GetXtraDBClusterCredentialsOK
- type GetXtraDBClusterCredentialsOKBody
- type GetXtraDBClusterCredentialsOKBodyConnectionCredentials
- type GetXtraDBClusterCredentialsParams
- func NewGetXtraDBClusterCredentialsParams() *GetXtraDBClusterCredentialsParams
- func NewGetXtraDBClusterCredentialsParamsWithContext(ctx context.Context) *GetXtraDBClusterCredentialsParams
- func NewGetXtraDBClusterCredentialsParamsWithHTTPClient(client *http.Client) *GetXtraDBClusterCredentialsParams
- func NewGetXtraDBClusterCredentialsParamsWithTimeout(timeout time.Duration) *GetXtraDBClusterCredentialsParams
- func (o *GetXtraDBClusterCredentialsParams) SetBody(body GetXtraDBClusterCredentialsBody)
- func (o *GetXtraDBClusterCredentialsParams) SetContext(ctx context.Context)
- func (o *GetXtraDBClusterCredentialsParams) SetHTTPClient(client *http.Client)
- func (o *GetXtraDBClusterCredentialsParams) SetTimeout(timeout time.Duration)
- func (o *GetXtraDBClusterCredentialsParams) WithBody(body GetXtraDBClusterCredentialsBody) *GetXtraDBClusterCredentialsParams
- func (o *GetXtraDBClusterCredentialsParams) WithContext(ctx context.Context) *GetXtraDBClusterCredentialsParams
- func (o *GetXtraDBClusterCredentialsParams) WithHTTPClient(client *http.Client) *GetXtraDBClusterCredentialsParams
- func (o *GetXtraDBClusterCredentialsParams) WithTimeout(timeout time.Duration) *GetXtraDBClusterCredentialsParams
- func (o *GetXtraDBClusterCredentialsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetXtraDBClusterCredentialsReader
- type GetXtraDBClusterResourcesBody
- type GetXtraDBClusterResourcesDefault
- type GetXtraDBClusterResourcesDefaultBody
- type GetXtraDBClusterResourcesOK
- type GetXtraDBClusterResourcesOKBody
- type GetXtraDBClusterResourcesOKBodyExpected
- type GetXtraDBClusterResourcesParams
- func NewGetXtraDBClusterResourcesParams() *GetXtraDBClusterResourcesParams
- func NewGetXtraDBClusterResourcesParamsWithContext(ctx context.Context) *GetXtraDBClusterResourcesParams
- func NewGetXtraDBClusterResourcesParamsWithHTTPClient(client *http.Client) *GetXtraDBClusterResourcesParams
- func NewGetXtraDBClusterResourcesParamsWithTimeout(timeout time.Duration) *GetXtraDBClusterResourcesParams
- func (o *GetXtraDBClusterResourcesParams) SetBody(body GetXtraDBClusterResourcesBody)
- func (o *GetXtraDBClusterResourcesParams) SetContext(ctx context.Context)
- func (o *GetXtraDBClusterResourcesParams) SetHTTPClient(client *http.Client)
- func (o *GetXtraDBClusterResourcesParams) SetTimeout(timeout time.Duration)
- func (o *GetXtraDBClusterResourcesParams) WithBody(body GetXtraDBClusterResourcesBody) *GetXtraDBClusterResourcesParams
- func (o *GetXtraDBClusterResourcesParams) WithContext(ctx context.Context) *GetXtraDBClusterResourcesParams
- func (o *GetXtraDBClusterResourcesParams) WithHTTPClient(client *http.Client) *GetXtraDBClusterResourcesParams
- func (o *GetXtraDBClusterResourcesParams) WithTimeout(timeout time.Duration) *GetXtraDBClusterResourcesParams
- func (o *GetXtraDBClusterResourcesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetXtraDBClusterResourcesParamsBodyParams
- type GetXtraDBClusterResourcesParamsBodyParamsHaproxy
- type GetXtraDBClusterResourcesParamsBodyParamsHaproxyComputeResources
- func (o *GetXtraDBClusterResourcesParamsBodyParamsHaproxyComputeResources) MarshalBinary() ([]byte, error)
- func (o *GetXtraDBClusterResourcesParamsBodyParamsHaproxyComputeResources) UnmarshalBinary(b []byte) error
- func (o *GetXtraDBClusterResourcesParamsBodyParamsHaproxyComputeResources) Validate(formats strfmt.Registry) error
- type GetXtraDBClusterResourcesParamsBodyParamsProxysql
- type GetXtraDBClusterResourcesParamsBodyParamsProxysqlComputeResources
- func (o *GetXtraDBClusterResourcesParamsBodyParamsProxysqlComputeResources) MarshalBinary() ([]byte, error)
- func (o *GetXtraDBClusterResourcesParamsBodyParamsProxysqlComputeResources) UnmarshalBinary(b []byte) error
- func (o *GetXtraDBClusterResourcesParamsBodyParamsProxysqlComputeResources) Validate(formats strfmt.Registry) error
- type GetXtraDBClusterResourcesParamsBodyParamsPxc
- type GetXtraDBClusterResourcesParamsBodyParamsPxcComputeResources
- func (o *GetXtraDBClusterResourcesParamsBodyParamsPxcComputeResources) MarshalBinary() ([]byte, error)
- func (o *GetXtraDBClusterResourcesParamsBodyParamsPxcComputeResources) UnmarshalBinary(b []byte) error
- func (o *GetXtraDBClusterResourcesParamsBodyParamsPxcComputeResources) Validate(formats strfmt.Registry) error
- type GetXtraDBClusterResourcesReader
- type ListXtraDBClustersBody
- type ListXtraDBClustersDefault
- type ListXtraDBClustersDefaultBody
- type ListXtraDBClustersOK
- type ListXtraDBClustersOKBody
- type ListXtraDBClustersParams
- func NewListXtraDBClustersParams() *ListXtraDBClustersParams
- func NewListXtraDBClustersParamsWithContext(ctx context.Context) *ListXtraDBClustersParams
- func NewListXtraDBClustersParamsWithHTTPClient(client *http.Client) *ListXtraDBClustersParams
- func NewListXtraDBClustersParamsWithTimeout(timeout time.Duration) *ListXtraDBClustersParams
- func (o *ListXtraDBClustersParams) SetBody(body ListXtraDBClustersBody)
- func (o *ListXtraDBClustersParams) SetContext(ctx context.Context)
- func (o *ListXtraDBClustersParams) SetHTTPClient(client *http.Client)
- func (o *ListXtraDBClustersParams) SetTimeout(timeout time.Duration)
- func (o *ListXtraDBClustersParams) WithBody(body ListXtraDBClustersBody) *ListXtraDBClustersParams
- func (o *ListXtraDBClustersParams) WithContext(ctx context.Context) *ListXtraDBClustersParams
- func (o *ListXtraDBClustersParams) WithHTTPClient(client *http.Client) *ListXtraDBClustersParams
- func (o *ListXtraDBClustersParams) WithTimeout(timeout time.Duration) *ListXtraDBClustersParams
- func (o *ListXtraDBClustersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListXtraDBClustersReader
- type RestartXtraDBClusterBody
- type RestartXtraDBClusterDefault
- type RestartXtraDBClusterDefaultBody
- type RestartXtraDBClusterOK
- type RestartXtraDBClusterParams
- func NewRestartXtraDBClusterParams() *RestartXtraDBClusterParams
- func NewRestartXtraDBClusterParamsWithContext(ctx context.Context) *RestartXtraDBClusterParams
- func NewRestartXtraDBClusterParamsWithHTTPClient(client *http.Client) *RestartXtraDBClusterParams
- func NewRestartXtraDBClusterParamsWithTimeout(timeout time.Duration) *RestartXtraDBClusterParams
- func (o *RestartXtraDBClusterParams) SetBody(body RestartXtraDBClusterBody)
- func (o *RestartXtraDBClusterParams) SetContext(ctx context.Context)
- func (o *RestartXtraDBClusterParams) SetHTTPClient(client *http.Client)
- func (o *RestartXtraDBClusterParams) SetTimeout(timeout time.Duration)
- func (o *RestartXtraDBClusterParams) WithBody(body RestartXtraDBClusterBody) *RestartXtraDBClusterParams
- func (o *RestartXtraDBClusterParams) WithContext(ctx context.Context) *RestartXtraDBClusterParams
- func (o *RestartXtraDBClusterParams) WithHTTPClient(client *http.Client) *RestartXtraDBClusterParams
- func (o *RestartXtraDBClusterParams) WithTimeout(timeout time.Duration) *RestartXtraDBClusterParams
- func (o *RestartXtraDBClusterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RestartXtraDBClusterReader
- type UpdateXtraDBClusterBody
- type UpdateXtraDBClusterDefault
- type UpdateXtraDBClusterDefaultBody
- type UpdateXtraDBClusterOK
- type UpdateXtraDBClusterParams
- func NewUpdateXtraDBClusterParams() *UpdateXtraDBClusterParams
- func NewUpdateXtraDBClusterParamsWithContext(ctx context.Context) *UpdateXtraDBClusterParams
- func NewUpdateXtraDBClusterParamsWithHTTPClient(client *http.Client) *UpdateXtraDBClusterParams
- func NewUpdateXtraDBClusterParamsWithTimeout(timeout time.Duration) *UpdateXtraDBClusterParams
- func (o *UpdateXtraDBClusterParams) SetBody(body UpdateXtraDBClusterBody)
- func (o *UpdateXtraDBClusterParams) SetContext(ctx context.Context)
- func (o *UpdateXtraDBClusterParams) SetHTTPClient(client *http.Client)
- func (o *UpdateXtraDBClusterParams) SetTimeout(timeout time.Duration)
- func (o *UpdateXtraDBClusterParams) WithBody(body UpdateXtraDBClusterBody) *UpdateXtraDBClusterParams
- func (o *UpdateXtraDBClusterParams) WithContext(ctx context.Context) *UpdateXtraDBClusterParams
- func (o *UpdateXtraDBClusterParams) WithHTTPClient(client *http.Client) *UpdateXtraDBClusterParams
- func (o *UpdateXtraDBClusterParams) WithTimeout(timeout time.Duration) *UpdateXtraDBClusterParams
- func (o *UpdateXtraDBClusterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateXtraDBClusterParamsBodyParams
- type UpdateXtraDBClusterParamsBodyParamsHaproxy
- type UpdateXtraDBClusterParamsBodyParamsHaproxyComputeResources
- func (o *UpdateXtraDBClusterParamsBodyParamsHaproxyComputeResources) MarshalBinary() ([]byte, error)
- func (o *UpdateXtraDBClusterParamsBodyParamsHaproxyComputeResources) UnmarshalBinary(b []byte) error
- func (o *UpdateXtraDBClusterParamsBodyParamsHaproxyComputeResources) Validate(formats strfmt.Registry) error
- type UpdateXtraDBClusterParamsBodyParamsProxysql
- type UpdateXtraDBClusterParamsBodyParamsProxysqlComputeResources
- func (o *UpdateXtraDBClusterParamsBodyParamsProxysqlComputeResources) MarshalBinary() ([]byte, error)
- func (o *UpdateXtraDBClusterParamsBodyParamsProxysqlComputeResources) UnmarshalBinary(b []byte) error
- func (o *UpdateXtraDBClusterParamsBodyParamsProxysqlComputeResources) Validate(formats strfmt.Registry) error
- type UpdateXtraDBClusterParamsBodyParamsPxc
- type UpdateXtraDBClusterParamsBodyParamsPxcComputeResources
- type UpdateXtraDBClusterReader
Constants ¶
const ( // ClustersItems0StateXTRADBCLUSTERSTATEINVALID captures enum value "XTRA_DB_CLUSTER_STATE_INVALID" ClustersItems0StateXTRADBCLUSTERSTATEINVALID string = "XTRA_DB_CLUSTER_STATE_INVALID" // ClustersItems0StateXTRADBCLUSTERSTATECHANGING captures enum value "XTRA_DB_CLUSTER_STATE_CHANGING" ClustersItems0StateXTRADBCLUSTERSTATECHANGING string = "XTRA_DB_CLUSTER_STATE_CHANGING" // ClustersItems0StateXTRADBCLUSTERSTATEREADY captures enum value "XTRA_DB_CLUSTER_STATE_READY" ClustersItems0StateXTRADBCLUSTERSTATEREADY string = "XTRA_DB_CLUSTER_STATE_READY" // ClustersItems0StateXTRADBCLUSTERSTATEFAILED captures enum value "XTRA_DB_CLUSTER_STATE_FAILED" ClustersItems0StateXTRADBCLUSTERSTATEFAILED string = "XTRA_DB_CLUSTER_STATE_FAILED" // ClustersItems0StateXTRADBCLUSTERSTATEDELETING captures enum value "XTRA_DB_CLUSTER_STATE_DELETING" ClustersItems0StateXTRADBCLUSTERSTATEDELETING string = "XTRA_DB_CLUSTER_STATE_DELETING" // ClustersItems0StateXTRADBCLUSTERSTATEPAUSED captures enum value "XTRA_DB_CLUSTER_STATE_PAUSED" ClustersItems0StateXTRADBCLUSTERSTATEPAUSED string = "XTRA_DB_CLUSTER_STATE_PAUSED" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for xtra db cluster API
func (*Client) CreateXtraDBCluster ¶
func (a *Client) CreateXtraDBCluster(params *CreateXtraDBClusterParams) (*CreateXtraDBClusterOK, error)
CreateXtraDBCluster creates xtra DB cluster creates a new xtra DB cluster
func (*Client) DeleteXtraDBCluster ¶
func (a *Client) DeleteXtraDBCluster(params *DeleteXtraDBClusterParams) (*DeleteXtraDBClusterOK, error)
DeleteXtraDBCluster deletes xtra DB cluster deletes xtra DB cluster
func (*Client) GetXtraDBClusterCredentials ¶
func (a *Client) GetXtraDBClusterCredentials(params *GetXtraDBClusterCredentialsParams) (*GetXtraDBClusterCredentialsOK, error)
GetXtraDBClusterCredentials gets xtra DB cluster credentials returns a xtra DB cluster credentials by cluster name
func (*Client) GetXtraDBClusterResources ¶
func (a *Client) GetXtraDBClusterResources(params *GetXtraDBClusterResourcesParams) (*GetXtraDBClusterResourcesOK, error)
GetXtraDBClusterResources gets xtra DB cluster resources returns expected resources to be consumed by the cluster
func (*Client) ListXtraDBClusters ¶
func (a *Client) ListXtraDBClusters(params *ListXtraDBClustersParams) (*ListXtraDBClustersOK, error)
ListXtraDBClusters lists xtra DB clusters returns a list of xtra DB clusters
func (*Client) RestartXtraDBCluster ¶
func (a *Client) RestartXtraDBCluster(params *RestartXtraDBClusterParams) (*RestartXtraDBClusterOK, error)
RestartXtraDBCluster restarts xtra DB cluster restarts xtra DB cluster
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateXtraDBCluster ¶
func (a *Client) UpdateXtraDBCluster(params *UpdateXtraDBClusterParams) (*UpdateXtraDBClusterOK, error)
UpdateXtraDBCluster updates xtra DB cluster updates existing xtra DB cluster
type ClientService ¶
type ClientService interface { CreateXtraDBCluster(params *CreateXtraDBClusterParams) (*CreateXtraDBClusterOK, error) DeleteXtraDBCluster(params *DeleteXtraDBClusterParams) (*DeleteXtraDBClusterOK, error) GetXtraDBClusterCredentials(params *GetXtraDBClusterCredentialsParams) (*GetXtraDBClusterCredentialsOK, error) GetXtraDBClusterResources(params *GetXtraDBClusterResourcesParams) (*GetXtraDBClusterResourcesOK, error) ListXtraDBClusters(params *ListXtraDBClustersParams) (*ListXtraDBClustersOK, error) RestartXtraDBCluster(params *RestartXtraDBClusterParams) (*RestartXtraDBClusterOK, error) UpdateXtraDBCluster(params *UpdateXtraDBClusterParams) (*UpdateXtraDBClusterOK, 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 xtra db cluster API client.
type ClustersItems0 ¶
type ClustersItems0 struct { // Cluster name. Name string `json:"name,omitempty"` // XtraDBClusterState represents XtraDB cluster CR state. // // - XTRA_DB_CLUSTER_STATE_INVALID: XTRA_DB_CLUSTER_STATE_INVALID represents unknown state. // - XTRA_DB_CLUSTER_STATE_CHANGING: XTRA_DB_CLUSTER_STATE_CHANGING represents a cluster being changed. // - XTRA_DB_CLUSTER_STATE_READY: XTRA_DB_CLUSTER_STATE_READY represents a cluster without pending changes. // - XTRA_DB_CLUSTER_STATE_FAILED: XTRA_DB_CLUSTER_STATE_FAILED represents a failed cluster. // - XTRA_DB_CLUSTER_STATE_DELETING: XTRA_DB_CLUSTER_STATE_DELETING represents a cluster being deleting. // - XTRA_DB_CLUSTER_STATE_PAUSED: XTRA_DB_CLUSTER_STATE_PAUSED represents a cluster is paused. // Enum: [XTRA_DB_CLUSTER_STATE_INVALID XTRA_DB_CLUSTER_STATE_CHANGING XTRA_DB_CLUSTER_STATE_READY XTRA_DB_CLUSTER_STATE_FAILED XTRA_DB_CLUSTER_STATE_DELETING XTRA_DB_CLUSTER_STATE_PAUSED] State *string `json:"state,omitempty"` // operation Operation *ClustersItems0Operation `json:"operation,omitempty"` // params Params *ClustersItems0Params `json:"params,omitempty"` }
ClustersItems0 Cluster represents XtraDB cluster information. // TODO Do not use inner messages in all public APIs (for consistency). swagger:model ClustersItems0
func (*ClustersItems0) MarshalBinary ¶
func (o *ClustersItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ClustersItems0) UnmarshalBinary ¶
func (o *ClustersItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ClustersItems0Operation ¶
type ClustersItems0Operation struct { // Finished steps of the operaion; can decrease or increase compared to the previous value. FinishedSteps int32 `json:"finished_steps,omitempty"` // Text describing the current operation progress step. Message string `json:"message,omitempty"` // Total steps needed to finish the operation; can decrease or increase compared to the previous value. TotalSteps int32 `json:"total_steps,omitempty"` }
ClustersItems0Operation RunningOperation respresents a long-running operation. swagger:model ClustersItems0Operation
func (*ClustersItems0Operation) MarshalBinary ¶
func (o *ClustersItems0Operation) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ClustersItems0Operation) UnmarshalBinary ¶
func (o *ClustersItems0Operation) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ClustersItems0Params ¶
type ClustersItems0Params struct { // Cluster size. ClusterSize int32 `json:"cluster_size,omitempty"` // haproxy Haproxy *ClustersItems0ParamsHaproxy `json:"haproxy,omitempty"` // proxysql Proxysql *ClustersItems0ParamsProxysql `json:"proxysql,omitempty"` // pxc Pxc *ClustersItems0ParamsPxc `json:"pxc,omitempty"` }
ClustersItems0Params XtraDBClusterParams represents XtraDB cluster parameters that can be updated. swagger:model ClustersItems0Params
func (*ClustersItems0Params) MarshalBinary ¶
func (o *ClustersItems0Params) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ClustersItems0Params) UnmarshalBinary ¶
func (o *ClustersItems0Params) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ClustersItems0ParamsHaproxy ¶
type ClustersItems0ParamsHaproxy struct { // Docker image used for HAProxy. Image string `json:"image,omitempty"` // compute resources ComputeResources *ClustersItems0ParamsHaproxyComputeResources `json:"compute_resources,omitempty"` }
ClustersItems0ParamsHaproxy HAProxy container parameters. // NOTE: HAProxy does not need disk size as ProxySQL does because the container does not require it. swagger:model ClustersItems0ParamsHaproxy
func (*ClustersItems0ParamsHaproxy) MarshalBinary ¶
func (o *ClustersItems0ParamsHaproxy) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ClustersItems0ParamsHaproxy) UnmarshalBinary ¶
func (o *ClustersItems0ParamsHaproxy) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ClustersItems0ParamsHaproxyComputeResources ¶
type ClustersItems0ParamsHaproxyComputeResources struct { // CPUs in milliCPUs; 1000m = 1 vCPU. CPUm int32 `json:"cpu_m,omitempty"` // Memory in bytes. MemoryBytes string `json:"memory_bytes,omitempty"` }
ClustersItems0ParamsHaproxyComputeResources ComputeResources represents container computer resources requests or limits. swagger:model ClustersItems0ParamsHaproxyComputeResources
func (*ClustersItems0ParamsHaproxyComputeResources) MarshalBinary ¶
func (o *ClustersItems0ParamsHaproxyComputeResources) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ClustersItems0ParamsHaproxyComputeResources) UnmarshalBinary ¶
func (o *ClustersItems0ParamsHaproxyComputeResources) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ClustersItems0ParamsProxysql ¶
type ClustersItems0ParamsProxysql struct { // Docker image used for ProxySQL. Image string `json:"image,omitempty"` // Disk size in bytes. DiskSize string `json:"disk_size,omitempty"` // compute resources ComputeResources *ClustersItems0ParamsProxysqlComputeResources `json:"compute_resources,omitempty"` }
ClustersItems0ParamsProxysql ProxySQL container parameters. // TODO Do not use inner messages in all public APIs (for consistency). swagger:model ClustersItems0ParamsProxysql
func (*ClustersItems0ParamsProxysql) MarshalBinary ¶
func (o *ClustersItems0ParamsProxysql) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ClustersItems0ParamsProxysql) UnmarshalBinary ¶
func (o *ClustersItems0ParamsProxysql) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ClustersItems0ParamsProxysqlComputeResources ¶
type ClustersItems0ParamsProxysqlComputeResources struct { // CPUs in milliCPUs; 1000m = 1 vCPU. CPUm int32 `json:"cpu_m,omitempty"` // Memory in bytes. MemoryBytes string `json:"memory_bytes,omitempty"` }
ClustersItems0ParamsProxysqlComputeResources ComputeResources represents container computer resources requests or limits. swagger:model ClustersItems0ParamsProxysqlComputeResources
func (*ClustersItems0ParamsProxysqlComputeResources) MarshalBinary ¶
func (o *ClustersItems0ParamsProxysqlComputeResources) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ClustersItems0ParamsProxysqlComputeResources) UnmarshalBinary ¶
func (o *ClustersItems0ParamsProxysqlComputeResources) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ClustersItems0ParamsPxc ¶
type ClustersItems0ParamsPxc struct { // Docker image used for PXC. Image string `json:"image,omitempty"` // Disk size in bytes. DiskSize string `json:"disk_size,omitempty"` // compute resources ComputeResources *ClustersItems0ParamsPxcComputeResources `json:"compute_resources,omitempty"` }
ClustersItems0ParamsPxc PXC container parameters. // TODO Do not use inner messages in all public APIs (for consistency). swagger:model ClustersItems0ParamsPxc
func (*ClustersItems0ParamsPxc) MarshalBinary ¶
func (o *ClustersItems0ParamsPxc) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ClustersItems0ParamsPxc) UnmarshalBinary ¶
func (o *ClustersItems0ParamsPxc) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ClustersItems0ParamsPxcComputeResources ¶
type ClustersItems0ParamsPxcComputeResources struct { // CPUs in milliCPUs; 1000m = 1 vCPU. CPUm int32 `json:"cpu_m,omitempty"` // Memory in bytes. MemoryBytes string `json:"memory_bytes,omitempty"` }
ClustersItems0ParamsPxcComputeResources ComputeResources represents container computer resources requests or limits. swagger:model ClustersItems0ParamsPxcComputeResources
func (*ClustersItems0ParamsPxcComputeResources) MarshalBinary ¶
func (o *ClustersItems0ParamsPxcComputeResources) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ClustersItems0ParamsPxcComputeResources) UnmarshalBinary ¶
func (o *ClustersItems0ParamsPxcComputeResources) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateXtraDBClusterBody ¶
type CreateXtraDBClusterBody struct { // Kubernetes cluster name. KubernetesClusterName string `json:"kubernetes_cluster_name,omitempty"` // XtraDB cluster name. // a DNS-1035 label must consist of lower case alphanumeric characters or '-', // start with an alphabetic character, and end with an alphanumeric character // (e.g. 'my-name', or 'abc-123', regex used for validation is '[a-z]([-a-z0-9]*[a-z0-9])?') Name string `json:"name,omitempty"` // params Params *CreateXtraDBClusterParamsBodyParams `json:"params,omitempty"` }
CreateXtraDBClusterBody create xtra DB cluster body swagger:model CreateXtraDBClusterBody
func (*CreateXtraDBClusterBody) MarshalBinary ¶
func (o *CreateXtraDBClusterBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateXtraDBClusterBody) UnmarshalBinary ¶
func (o *CreateXtraDBClusterBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateXtraDBClusterDefault ¶
type CreateXtraDBClusterDefault struct { Payload *CreateXtraDBClusterDefaultBody // contains filtered or unexported fields }
CreateXtraDBClusterDefault handles this case with default header values.
An unexpected error response.
func NewCreateXtraDBClusterDefault ¶
func NewCreateXtraDBClusterDefault(code int) *CreateXtraDBClusterDefault
NewCreateXtraDBClusterDefault creates a CreateXtraDBClusterDefault with default headers values
func (*CreateXtraDBClusterDefault) Code ¶
func (o *CreateXtraDBClusterDefault) Code() int
Code gets the status code for the create xtra DB cluster default response
func (*CreateXtraDBClusterDefault) Error ¶
func (o *CreateXtraDBClusterDefault) Error() string
func (*CreateXtraDBClusterDefault) GetPayload ¶
func (o *CreateXtraDBClusterDefault) GetPayload() *CreateXtraDBClusterDefaultBody
type CreateXtraDBClusterDefaultBody ¶
type CreateXtraDBClusterDefaultBody struct { // error Error string `json:"error,omitempty"` // code Code int32 `json:"code,omitempty"` // message Message string `json:"message,omitempty"` // details Details []*DetailsItems0 `json:"details"` }
CreateXtraDBClusterDefaultBody create xtra DB cluster default body swagger:model CreateXtraDBClusterDefaultBody
func (*CreateXtraDBClusterDefaultBody) MarshalBinary ¶
func (o *CreateXtraDBClusterDefaultBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateXtraDBClusterDefaultBody) UnmarshalBinary ¶
func (o *CreateXtraDBClusterDefaultBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateXtraDBClusterOK ¶
type CreateXtraDBClusterOK struct {
Payload interface{}
}
CreateXtraDBClusterOK handles this case with default header values.
A successful response.
func NewCreateXtraDBClusterOK ¶
func NewCreateXtraDBClusterOK() *CreateXtraDBClusterOK
NewCreateXtraDBClusterOK creates a CreateXtraDBClusterOK with default headers values
func (*CreateXtraDBClusterOK) Error ¶
func (o *CreateXtraDBClusterOK) Error() string
func (*CreateXtraDBClusterOK) GetPayload ¶
func (o *CreateXtraDBClusterOK) GetPayload() interface{}
type CreateXtraDBClusterParams ¶
type CreateXtraDBClusterParams struct { /*Body*/ Body CreateXtraDBClusterBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateXtraDBClusterParams contains all the parameters to send to the API endpoint for the create xtra DB cluster operation typically these are written to a http.Request
func NewCreateXtraDBClusterParams ¶
func NewCreateXtraDBClusterParams() *CreateXtraDBClusterParams
NewCreateXtraDBClusterParams creates a new CreateXtraDBClusterParams object with the default values initialized.
func NewCreateXtraDBClusterParamsWithContext ¶
func NewCreateXtraDBClusterParamsWithContext(ctx context.Context) *CreateXtraDBClusterParams
NewCreateXtraDBClusterParamsWithContext creates a new CreateXtraDBClusterParams object with the default values initialized, and the ability to set a context for a request
func NewCreateXtraDBClusterParamsWithHTTPClient ¶
func NewCreateXtraDBClusterParamsWithHTTPClient(client *http.Client) *CreateXtraDBClusterParams
NewCreateXtraDBClusterParamsWithHTTPClient creates a new CreateXtraDBClusterParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCreateXtraDBClusterParamsWithTimeout ¶
func NewCreateXtraDBClusterParamsWithTimeout(timeout time.Duration) *CreateXtraDBClusterParams
NewCreateXtraDBClusterParamsWithTimeout creates a new CreateXtraDBClusterParams object with the default values initialized, and the ability to set a timeout on a request
func (*CreateXtraDBClusterParams) SetBody ¶
func (o *CreateXtraDBClusterParams) SetBody(body CreateXtraDBClusterBody)
SetBody adds the body to the create xtra DB cluster params
func (*CreateXtraDBClusterParams) SetContext ¶
func (o *CreateXtraDBClusterParams) SetContext(ctx context.Context)
SetContext adds the context to the create xtra DB cluster params
func (*CreateXtraDBClusterParams) SetHTTPClient ¶
func (o *CreateXtraDBClusterParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create xtra DB cluster params
func (*CreateXtraDBClusterParams) SetTimeout ¶
func (o *CreateXtraDBClusterParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create xtra DB cluster params
func (*CreateXtraDBClusterParams) WithBody ¶
func (o *CreateXtraDBClusterParams) WithBody(body CreateXtraDBClusterBody) *CreateXtraDBClusterParams
WithBody adds the body to the create xtra DB cluster params
func (*CreateXtraDBClusterParams) WithContext ¶
func (o *CreateXtraDBClusterParams) WithContext(ctx context.Context) *CreateXtraDBClusterParams
WithContext adds the context to the create xtra DB cluster params
func (*CreateXtraDBClusterParams) WithHTTPClient ¶
func (o *CreateXtraDBClusterParams) WithHTTPClient(client *http.Client) *CreateXtraDBClusterParams
WithHTTPClient adds the HTTPClient to the create xtra DB cluster params
func (*CreateXtraDBClusterParams) WithTimeout ¶
func (o *CreateXtraDBClusterParams) WithTimeout(timeout time.Duration) *CreateXtraDBClusterParams
WithTimeout adds the timeout to the create xtra DB cluster params
func (*CreateXtraDBClusterParams) WriteToRequest ¶
func (o *CreateXtraDBClusterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateXtraDBClusterParamsBodyParams ¶
type CreateXtraDBClusterParamsBodyParams struct { // Cluster size. ClusterSize int32 `json:"cluster_size,omitempty"` // haproxy Haproxy *CreateXtraDBClusterParamsBodyParamsHaproxy `json:"haproxy,omitempty"` // proxysql Proxysql *CreateXtraDBClusterParamsBodyParamsProxysql `json:"proxysql,omitempty"` // pxc Pxc *CreateXtraDBClusterParamsBodyParamsPxc `json:"pxc,omitempty"` }
CreateXtraDBClusterParamsBodyParams XtraDBClusterParams represents XtraDB cluster parameters that can be updated. swagger:model CreateXtraDBClusterParamsBodyParams
func (*CreateXtraDBClusterParamsBodyParams) MarshalBinary ¶
func (o *CreateXtraDBClusterParamsBodyParams) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateXtraDBClusterParamsBodyParams) UnmarshalBinary ¶
func (o *CreateXtraDBClusterParamsBodyParams) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateXtraDBClusterParamsBodyParamsHaproxy ¶
type CreateXtraDBClusterParamsBodyParamsHaproxy struct { // Docker image used for HAProxy. Image string `json:"image,omitempty"` // compute resources ComputeResources *CreateXtraDBClusterParamsBodyParamsHaproxyComputeResources `json:"compute_resources,omitempty"` }
CreateXtraDBClusterParamsBodyParamsHaproxy HAProxy container parameters. // NOTE: HAProxy does not need disk size as ProxySQL does because the container does not require it. swagger:model CreateXtraDBClusterParamsBodyParamsHaproxy
func (*CreateXtraDBClusterParamsBodyParamsHaproxy) MarshalBinary ¶
func (o *CreateXtraDBClusterParamsBodyParamsHaproxy) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateXtraDBClusterParamsBodyParamsHaproxy) UnmarshalBinary ¶
func (o *CreateXtraDBClusterParamsBodyParamsHaproxy) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateXtraDBClusterParamsBodyParamsHaproxyComputeResources ¶
type CreateXtraDBClusterParamsBodyParamsHaproxyComputeResources struct { // CPUs in milliCPUs; 1000m = 1 vCPU. CPUm int32 `json:"cpu_m,omitempty"` // Memory in bytes. MemoryBytes string `json:"memory_bytes,omitempty"` }
CreateXtraDBClusterParamsBodyParamsHaproxyComputeResources ComputeResources represents container computer resources requests or limits. swagger:model CreateXtraDBClusterParamsBodyParamsHaproxyComputeResources
func (*CreateXtraDBClusterParamsBodyParamsHaproxyComputeResources) MarshalBinary ¶
func (o *CreateXtraDBClusterParamsBodyParamsHaproxyComputeResources) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateXtraDBClusterParamsBodyParamsHaproxyComputeResources) UnmarshalBinary ¶
func (o *CreateXtraDBClusterParamsBodyParamsHaproxyComputeResources) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateXtraDBClusterParamsBodyParamsProxysql ¶
type CreateXtraDBClusterParamsBodyParamsProxysql struct { // Docker image used for ProxySQL. Image string `json:"image,omitempty"` // Disk size in bytes. DiskSize string `json:"disk_size,omitempty"` // compute resources ComputeResources *CreateXtraDBClusterParamsBodyParamsProxysqlComputeResources `json:"compute_resources,omitempty"` }
CreateXtraDBClusterParamsBodyParamsProxysql ProxySQL container parameters. // TODO Do not use inner messages in all public APIs (for consistency). swagger:model CreateXtraDBClusterParamsBodyParamsProxysql
func (*CreateXtraDBClusterParamsBodyParamsProxysql) MarshalBinary ¶
func (o *CreateXtraDBClusterParamsBodyParamsProxysql) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateXtraDBClusterParamsBodyParamsProxysql) UnmarshalBinary ¶
func (o *CreateXtraDBClusterParamsBodyParamsProxysql) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateXtraDBClusterParamsBodyParamsProxysqlComputeResources ¶
type CreateXtraDBClusterParamsBodyParamsProxysqlComputeResources struct { // CPUs in milliCPUs; 1000m = 1 vCPU. CPUm int32 `json:"cpu_m,omitempty"` // Memory in bytes. MemoryBytes string `json:"memory_bytes,omitempty"` }
CreateXtraDBClusterParamsBodyParamsProxysqlComputeResources ComputeResources represents container computer resources requests or limits. swagger:model CreateXtraDBClusterParamsBodyParamsProxysqlComputeResources
func (*CreateXtraDBClusterParamsBodyParamsProxysqlComputeResources) MarshalBinary ¶
func (o *CreateXtraDBClusterParamsBodyParamsProxysqlComputeResources) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateXtraDBClusterParamsBodyParamsProxysqlComputeResources) UnmarshalBinary ¶
func (o *CreateXtraDBClusterParamsBodyParamsProxysqlComputeResources) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateXtraDBClusterParamsBodyParamsPxc ¶
type CreateXtraDBClusterParamsBodyParamsPxc struct { // Docker image used for PXC. Image string `json:"image,omitempty"` // Disk size in bytes. DiskSize string `json:"disk_size,omitempty"` // compute resources ComputeResources *CreateXtraDBClusterParamsBodyParamsPxcComputeResources `json:"compute_resources,omitempty"` }
CreateXtraDBClusterParamsBodyParamsPxc PXC container parameters. // TODO Do not use inner messages in all public APIs (for consistency). swagger:model CreateXtraDBClusterParamsBodyParamsPxc
func (*CreateXtraDBClusterParamsBodyParamsPxc) MarshalBinary ¶
func (o *CreateXtraDBClusterParamsBodyParamsPxc) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateXtraDBClusterParamsBodyParamsPxc) UnmarshalBinary ¶
func (o *CreateXtraDBClusterParamsBodyParamsPxc) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateXtraDBClusterParamsBodyParamsPxcComputeResources ¶
type CreateXtraDBClusterParamsBodyParamsPxcComputeResources struct { // CPUs in milliCPUs; 1000m = 1 vCPU. CPUm int32 `json:"cpu_m,omitempty"` // Memory in bytes. MemoryBytes string `json:"memory_bytes,omitempty"` }
CreateXtraDBClusterParamsBodyParamsPxcComputeResources ComputeResources represents container computer resources requests or limits. swagger:model CreateXtraDBClusterParamsBodyParamsPxcComputeResources
func (*CreateXtraDBClusterParamsBodyParamsPxcComputeResources) MarshalBinary ¶
func (o *CreateXtraDBClusterParamsBodyParamsPxcComputeResources) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateXtraDBClusterParamsBodyParamsPxcComputeResources) UnmarshalBinary ¶
func (o *CreateXtraDBClusterParamsBodyParamsPxcComputeResources) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateXtraDBClusterReader ¶
type CreateXtraDBClusterReader struct {
// contains filtered or unexported fields
}
CreateXtraDBClusterReader is a Reader for the CreateXtraDBCluster structure.
func (*CreateXtraDBClusterReader) ReadResponse ¶
func (o *CreateXtraDBClusterReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteXtraDBClusterBody ¶
type DeleteXtraDBClusterBody struct { // Kubernetes cluster name. KubernetesClusterName string `json:"kubernetes_cluster_name,omitempty"` // XtraDB cluster name. Name string `json:"name,omitempty"` }
DeleteXtraDBClusterBody delete xtra DB cluster body swagger:model DeleteXtraDBClusterBody
func (*DeleteXtraDBClusterBody) MarshalBinary ¶
func (o *DeleteXtraDBClusterBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeleteXtraDBClusterBody) UnmarshalBinary ¶
func (o *DeleteXtraDBClusterBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DeleteXtraDBClusterDefault ¶
type DeleteXtraDBClusterDefault struct { Payload *DeleteXtraDBClusterDefaultBody // contains filtered or unexported fields }
DeleteXtraDBClusterDefault handles this case with default header values.
An unexpected error response.
func NewDeleteXtraDBClusterDefault ¶
func NewDeleteXtraDBClusterDefault(code int) *DeleteXtraDBClusterDefault
NewDeleteXtraDBClusterDefault creates a DeleteXtraDBClusterDefault with default headers values
func (*DeleteXtraDBClusterDefault) Code ¶
func (o *DeleteXtraDBClusterDefault) Code() int
Code gets the status code for the delete xtra DB cluster default response
func (*DeleteXtraDBClusterDefault) Error ¶
func (o *DeleteXtraDBClusterDefault) Error() string
func (*DeleteXtraDBClusterDefault) GetPayload ¶
func (o *DeleteXtraDBClusterDefault) GetPayload() *DeleteXtraDBClusterDefaultBody
type DeleteXtraDBClusterDefaultBody ¶
type DeleteXtraDBClusterDefaultBody struct { // error Error string `json:"error,omitempty"` // code Code int32 `json:"code,omitempty"` // message Message string `json:"message,omitempty"` // details Details []*DetailsItems0 `json:"details"` }
DeleteXtraDBClusterDefaultBody delete xtra DB cluster default body swagger:model DeleteXtraDBClusterDefaultBody
func (*DeleteXtraDBClusterDefaultBody) MarshalBinary ¶
func (o *DeleteXtraDBClusterDefaultBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeleteXtraDBClusterDefaultBody) UnmarshalBinary ¶
func (o *DeleteXtraDBClusterDefaultBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DeleteXtraDBClusterOK ¶
type DeleteXtraDBClusterOK struct {
Payload interface{}
}
DeleteXtraDBClusterOK handles this case with default header values.
A successful response.
func NewDeleteXtraDBClusterOK ¶
func NewDeleteXtraDBClusterOK() *DeleteXtraDBClusterOK
NewDeleteXtraDBClusterOK creates a DeleteXtraDBClusterOK with default headers values
func (*DeleteXtraDBClusterOK) Error ¶
func (o *DeleteXtraDBClusterOK) Error() string
func (*DeleteXtraDBClusterOK) GetPayload ¶
func (o *DeleteXtraDBClusterOK) GetPayload() interface{}
type DeleteXtraDBClusterParams ¶
type DeleteXtraDBClusterParams struct { /*Body*/ Body DeleteXtraDBClusterBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteXtraDBClusterParams contains all the parameters to send to the API endpoint for the delete xtra DB cluster operation typically these are written to a http.Request
func NewDeleteXtraDBClusterParams ¶
func NewDeleteXtraDBClusterParams() *DeleteXtraDBClusterParams
NewDeleteXtraDBClusterParams creates a new DeleteXtraDBClusterParams object with the default values initialized.
func NewDeleteXtraDBClusterParamsWithContext ¶
func NewDeleteXtraDBClusterParamsWithContext(ctx context.Context) *DeleteXtraDBClusterParams
NewDeleteXtraDBClusterParamsWithContext creates a new DeleteXtraDBClusterParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteXtraDBClusterParamsWithHTTPClient ¶
func NewDeleteXtraDBClusterParamsWithHTTPClient(client *http.Client) *DeleteXtraDBClusterParams
NewDeleteXtraDBClusterParamsWithHTTPClient creates a new DeleteXtraDBClusterParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteXtraDBClusterParamsWithTimeout ¶
func NewDeleteXtraDBClusterParamsWithTimeout(timeout time.Duration) *DeleteXtraDBClusterParams
NewDeleteXtraDBClusterParamsWithTimeout creates a new DeleteXtraDBClusterParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteXtraDBClusterParams) SetBody ¶
func (o *DeleteXtraDBClusterParams) SetBody(body DeleteXtraDBClusterBody)
SetBody adds the body to the delete xtra DB cluster params
func (*DeleteXtraDBClusterParams) SetContext ¶
func (o *DeleteXtraDBClusterParams) SetContext(ctx context.Context)
SetContext adds the context to the delete xtra DB cluster params
func (*DeleteXtraDBClusterParams) SetHTTPClient ¶
func (o *DeleteXtraDBClusterParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete xtra DB cluster params
func (*DeleteXtraDBClusterParams) SetTimeout ¶
func (o *DeleteXtraDBClusterParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete xtra DB cluster params
func (*DeleteXtraDBClusterParams) WithBody ¶
func (o *DeleteXtraDBClusterParams) WithBody(body DeleteXtraDBClusterBody) *DeleteXtraDBClusterParams
WithBody adds the body to the delete xtra DB cluster params
func (*DeleteXtraDBClusterParams) WithContext ¶
func (o *DeleteXtraDBClusterParams) WithContext(ctx context.Context) *DeleteXtraDBClusterParams
WithContext adds the context to the delete xtra DB cluster params
func (*DeleteXtraDBClusterParams) WithHTTPClient ¶
func (o *DeleteXtraDBClusterParams) WithHTTPClient(client *http.Client) *DeleteXtraDBClusterParams
WithHTTPClient adds the HTTPClient to the delete xtra DB cluster params
func (*DeleteXtraDBClusterParams) WithTimeout ¶
func (o *DeleteXtraDBClusterParams) WithTimeout(timeout time.Duration) *DeleteXtraDBClusterParams
WithTimeout adds the timeout to the delete xtra DB cluster params
func (*DeleteXtraDBClusterParams) WriteToRequest ¶
func (o *DeleteXtraDBClusterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteXtraDBClusterReader ¶
type DeleteXtraDBClusterReader struct {
// contains filtered or unexported fields
}
DeleteXtraDBClusterReader is a Reader for the DeleteXtraDBCluster structure.
func (*DeleteXtraDBClusterReader) ReadResponse ¶
func (o *DeleteXtraDBClusterReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DetailsItems0 ¶
type DetailsItems0 struct { // type url TypeURL string `json:"type_url,omitempty"` // value // Format: byte Value strfmt.Base64 `json:"value,omitempty"` }
DetailsItems0 details items0 swagger:model DetailsItems0
func (*DetailsItems0) MarshalBinary ¶
func (o *DetailsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DetailsItems0) UnmarshalBinary ¶
func (o *DetailsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetXtraDBClusterCredentialsBody ¶
type GetXtraDBClusterCredentialsBody struct { // Kubernetes cluster name. KubernetesClusterName string `json:"kubernetes_cluster_name,omitempty"` // XtraDB cluster name. Name string `json:"name,omitempty"` }
GetXtraDBClusterCredentialsBody get xtra DB cluster credentials body swagger:model GetXtraDBClusterCredentialsBody
func (*GetXtraDBClusterCredentialsBody) MarshalBinary ¶
func (o *GetXtraDBClusterCredentialsBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetXtraDBClusterCredentialsBody) UnmarshalBinary ¶
func (o *GetXtraDBClusterCredentialsBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetXtraDBClusterCredentialsDefault ¶
type GetXtraDBClusterCredentialsDefault struct { Payload *GetXtraDBClusterCredentialsDefaultBody // contains filtered or unexported fields }
GetXtraDBClusterCredentialsDefault handles this case with default header values.
An unexpected error response.
func NewGetXtraDBClusterCredentialsDefault ¶
func NewGetXtraDBClusterCredentialsDefault(code int) *GetXtraDBClusterCredentialsDefault
NewGetXtraDBClusterCredentialsDefault creates a GetXtraDBClusterCredentialsDefault with default headers values
func (*GetXtraDBClusterCredentialsDefault) Code ¶
func (o *GetXtraDBClusterCredentialsDefault) Code() int
Code gets the status code for the get xtra DB cluster credentials default response
func (*GetXtraDBClusterCredentialsDefault) Error ¶
func (o *GetXtraDBClusterCredentialsDefault) Error() string
func (*GetXtraDBClusterCredentialsDefault) GetPayload ¶
func (o *GetXtraDBClusterCredentialsDefault) GetPayload() *GetXtraDBClusterCredentialsDefaultBody
type GetXtraDBClusterCredentialsDefaultBody ¶
type GetXtraDBClusterCredentialsDefaultBody struct { // error Error string `json:"error,omitempty"` // code Code int32 `json:"code,omitempty"` // message Message string `json:"message,omitempty"` // details Details []*DetailsItems0 `json:"details"` }
GetXtraDBClusterCredentialsDefaultBody get xtra DB cluster credentials default body swagger:model GetXtraDBClusterCredentialsDefaultBody
func (*GetXtraDBClusterCredentialsDefaultBody) MarshalBinary ¶
func (o *GetXtraDBClusterCredentialsDefaultBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetXtraDBClusterCredentialsDefaultBody) UnmarshalBinary ¶
func (o *GetXtraDBClusterCredentialsDefaultBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetXtraDBClusterCredentialsOK ¶
type GetXtraDBClusterCredentialsOK struct {
Payload *GetXtraDBClusterCredentialsOKBody
}
GetXtraDBClusterCredentialsOK handles this case with default header values.
A successful response.
func NewGetXtraDBClusterCredentialsOK ¶
func NewGetXtraDBClusterCredentialsOK() *GetXtraDBClusterCredentialsOK
NewGetXtraDBClusterCredentialsOK creates a GetXtraDBClusterCredentialsOK with default headers values
func (*GetXtraDBClusterCredentialsOK) Error ¶
func (o *GetXtraDBClusterCredentialsOK) Error() string
func (*GetXtraDBClusterCredentialsOK) GetPayload ¶
func (o *GetXtraDBClusterCredentialsOK) GetPayload() *GetXtraDBClusterCredentialsOKBody
type GetXtraDBClusterCredentialsOKBody ¶
type GetXtraDBClusterCredentialsOKBody struct { // connection credentials ConnectionCredentials *GetXtraDBClusterCredentialsOKBodyConnectionCredentials `json:"connection_credentials,omitempty"` }
GetXtraDBClusterCredentialsOKBody get xtra DB cluster credentials OK body swagger:model GetXtraDBClusterCredentialsOKBody
func (*GetXtraDBClusterCredentialsOKBody) MarshalBinary ¶
func (o *GetXtraDBClusterCredentialsOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetXtraDBClusterCredentialsOKBody) UnmarshalBinary ¶
func (o *GetXtraDBClusterCredentialsOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetXtraDBClusterCredentialsOKBodyConnectionCredentials ¶
type GetXtraDBClusterCredentialsOKBodyConnectionCredentials struct { // PXC username. Username string `json:"username,omitempty"` // PXC password. Password string `json:"password,omitempty"` // PXC host. Host string `json:"host,omitempty"` // PXC port. Port int32 `json:"port,omitempty"` }
GetXtraDBClusterCredentialsOKBodyConnectionCredentials XtraDBClusterConnectionCredentials is cluster connection credentials. swagger:model GetXtraDBClusterCredentialsOKBodyConnectionCredentials
func (*GetXtraDBClusterCredentialsOKBodyConnectionCredentials) MarshalBinary ¶
func (o *GetXtraDBClusterCredentialsOKBodyConnectionCredentials) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetXtraDBClusterCredentialsOKBodyConnectionCredentials) UnmarshalBinary ¶
func (o *GetXtraDBClusterCredentialsOKBodyConnectionCredentials) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetXtraDBClusterCredentialsParams ¶
type GetXtraDBClusterCredentialsParams struct { /*Body*/ Body GetXtraDBClusterCredentialsBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetXtraDBClusterCredentialsParams contains all the parameters to send to the API endpoint for the get xtra DB cluster credentials operation typically these are written to a http.Request
func NewGetXtraDBClusterCredentialsParams ¶
func NewGetXtraDBClusterCredentialsParams() *GetXtraDBClusterCredentialsParams
NewGetXtraDBClusterCredentialsParams creates a new GetXtraDBClusterCredentialsParams object with the default values initialized.
func NewGetXtraDBClusterCredentialsParamsWithContext ¶
func NewGetXtraDBClusterCredentialsParamsWithContext(ctx context.Context) *GetXtraDBClusterCredentialsParams
NewGetXtraDBClusterCredentialsParamsWithContext creates a new GetXtraDBClusterCredentialsParams object with the default values initialized, and the ability to set a context for a request
func NewGetXtraDBClusterCredentialsParamsWithHTTPClient ¶
func NewGetXtraDBClusterCredentialsParamsWithHTTPClient(client *http.Client) *GetXtraDBClusterCredentialsParams
NewGetXtraDBClusterCredentialsParamsWithHTTPClient creates a new GetXtraDBClusterCredentialsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetXtraDBClusterCredentialsParamsWithTimeout ¶
func NewGetXtraDBClusterCredentialsParamsWithTimeout(timeout time.Duration) *GetXtraDBClusterCredentialsParams
NewGetXtraDBClusterCredentialsParamsWithTimeout creates a new GetXtraDBClusterCredentialsParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetXtraDBClusterCredentialsParams) SetBody ¶
func (o *GetXtraDBClusterCredentialsParams) SetBody(body GetXtraDBClusterCredentialsBody)
SetBody adds the body to the get xtra DB cluster credentials params
func (*GetXtraDBClusterCredentialsParams) SetContext ¶
func (o *GetXtraDBClusterCredentialsParams) SetContext(ctx context.Context)
SetContext adds the context to the get xtra DB cluster credentials params
func (*GetXtraDBClusterCredentialsParams) SetHTTPClient ¶
func (o *GetXtraDBClusterCredentialsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get xtra DB cluster credentials params
func (*GetXtraDBClusterCredentialsParams) SetTimeout ¶
func (o *GetXtraDBClusterCredentialsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get xtra DB cluster credentials params
func (*GetXtraDBClusterCredentialsParams) WithBody ¶
func (o *GetXtraDBClusterCredentialsParams) WithBody(body GetXtraDBClusterCredentialsBody) *GetXtraDBClusterCredentialsParams
WithBody adds the body to the get xtra DB cluster credentials params
func (*GetXtraDBClusterCredentialsParams) WithContext ¶
func (o *GetXtraDBClusterCredentialsParams) WithContext(ctx context.Context) *GetXtraDBClusterCredentialsParams
WithContext adds the context to the get xtra DB cluster credentials params
func (*GetXtraDBClusterCredentialsParams) WithHTTPClient ¶
func (o *GetXtraDBClusterCredentialsParams) WithHTTPClient(client *http.Client) *GetXtraDBClusterCredentialsParams
WithHTTPClient adds the HTTPClient to the get xtra DB cluster credentials params
func (*GetXtraDBClusterCredentialsParams) WithTimeout ¶
func (o *GetXtraDBClusterCredentialsParams) WithTimeout(timeout time.Duration) *GetXtraDBClusterCredentialsParams
WithTimeout adds the timeout to the get xtra DB cluster credentials params
func (*GetXtraDBClusterCredentialsParams) WriteToRequest ¶
func (o *GetXtraDBClusterCredentialsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetXtraDBClusterCredentialsReader ¶
type GetXtraDBClusterCredentialsReader struct {
// contains filtered or unexported fields
}
GetXtraDBClusterCredentialsReader is a Reader for the GetXtraDBClusterCredentials structure.
func (*GetXtraDBClusterCredentialsReader) ReadResponse ¶
func (o *GetXtraDBClusterCredentialsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetXtraDBClusterResourcesBody ¶
type GetXtraDBClusterResourcesBody struct { // params Params *GetXtraDBClusterResourcesParamsBodyParams `json:"params,omitempty"` }
GetXtraDBClusterResourcesBody get xtra DB cluster resources body swagger:model GetXtraDBClusterResourcesBody
func (*GetXtraDBClusterResourcesBody) MarshalBinary ¶
func (o *GetXtraDBClusterResourcesBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetXtraDBClusterResourcesBody) UnmarshalBinary ¶
func (o *GetXtraDBClusterResourcesBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetXtraDBClusterResourcesDefault ¶
type GetXtraDBClusterResourcesDefault struct { Payload *GetXtraDBClusterResourcesDefaultBody // contains filtered or unexported fields }
GetXtraDBClusterResourcesDefault handles this case with default header values.
An unexpected error response.
func NewGetXtraDBClusterResourcesDefault ¶
func NewGetXtraDBClusterResourcesDefault(code int) *GetXtraDBClusterResourcesDefault
NewGetXtraDBClusterResourcesDefault creates a GetXtraDBClusterResourcesDefault with default headers values
func (*GetXtraDBClusterResourcesDefault) Code ¶
func (o *GetXtraDBClusterResourcesDefault) Code() int
Code gets the status code for the get xtra DB cluster resources default response
func (*GetXtraDBClusterResourcesDefault) Error ¶
func (o *GetXtraDBClusterResourcesDefault) Error() string
func (*GetXtraDBClusterResourcesDefault) GetPayload ¶
func (o *GetXtraDBClusterResourcesDefault) GetPayload() *GetXtraDBClusterResourcesDefaultBody
type GetXtraDBClusterResourcesDefaultBody ¶
type GetXtraDBClusterResourcesDefaultBody struct { // error Error string `json:"error,omitempty"` // code Code int32 `json:"code,omitempty"` // message Message string `json:"message,omitempty"` // details Details []*DetailsItems0 `json:"details"` }
GetXtraDBClusterResourcesDefaultBody get xtra DB cluster resources default body swagger:model GetXtraDBClusterResourcesDefaultBody
func (*GetXtraDBClusterResourcesDefaultBody) MarshalBinary ¶
func (o *GetXtraDBClusterResourcesDefaultBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetXtraDBClusterResourcesDefaultBody) UnmarshalBinary ¶
func (o *GetXtraDBClusterResourcesDefaultBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetXtraDBClusterResourcesOK ¶
type GetXtraDBClusterResourcesOK struct {
Payload *GetXtraDBClusterResourcesOKBody
}
GetXtraDBClusterResourcesOK handles this case with default header values.
A successful response.
func NewGetXtraDBClusterResourcesOK ¶
func NewGetXtraDBClusterResourcesOK() *GetXtraDBClusterResourcesOK
NewGetXtraDBClusterResourcesOK creates a GetXtraDBClusterResourcesOK with default headers values
func (*GetXtraDBClusterResourcesOK) Error ¶
func (o *GetXtraDBClusterResourcesOK) Error() string
func (*GetXtraDBClusterResourcesOK) GetPayload ¶
func (o *GetXtraDBClusterResourcesOK) GetPayload() *GetXtraDBClusterResourcesOKBody
type GetXtraDBClusterResourcesOKBody ¶
type GetXtraDBClusterResourcesOKBody struct { // expected Expected *GetXtraDBClusterResourcesOKBodyExpected `json:"expected,omitempty"` }
GetXtraDBClusterResourcesOKBody get xtra DB cluster resources OK body swagger:model GetXtraDBClusterResourcesOKBody
func (*GetXtraDBClusterResourcesOKBody) MarshalBinary ¶
func (o *GetXtraDBClusterResourcesOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetXtraDBClusterResourcesOKBody) UnmarshalBinary ¶
func (o *GetXtraDBClusterResourcesOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetXtraDBClusterResourcesOKBodyExpected ¶
type GetXtraDBClusterResourcesOKBodyExpected struct { // Memory in bytes. MemoryBytes string `json:"memory_bytes,omitempty"` // CPU in millicpus. For example 0.1 of CPU is equivalent to 100 millicpus. // See https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/#meaning-of-cpu. CPUm string `json:"cpu_m,omitempty"` // Disk size in bytes. DiskSize string `json:"disk_size,omitempty"` }
GetXtraDBClusterResourcesOKBodyExpected Resources contains Kubernetes cluster resources. swagger:model GetXtraDBClusterResourcesOKBodyExpected
func (*GetXtraDBClusterResourcesOKBodyExpected) MarshalBinary ¶
func (o *GetXtraDBClusterResourcesOKBodyExpected) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetXtraDBClusterResourcesOKBodyExpected) UnmarshalBinary ¶
func (o *GetXtraDBClusterResourcesOKBodyExpected) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetXtraDBClusterResourcesParams ¶
type GetXtraDBClusterResourcesParams struct { /*Body*/ Body GetXtraDBClusterResourcesBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetXtraDBClusterResourcesParams contains all the parameters to send to the API endpoint for the get xtra DB cluster resources operation typically these are written to a http.Request
func NewGetXtraDBClusterResourcesParams ¶
func NewGetXtraDBClusterResourcesParams() *GetXtraDBClusterResourcesParams
NewGetXtraDBClusterResourcesParams creates a new GetXtraDBClusterResourcesParams object with the default values initialized.
func NewGetXtraDBClusterResourcesParamsWithContext ¶
func NewGetXtraDBClusterResourcesParamsWithContext(ctx context.Context) *GetXtraDBClusterResourcesParams
NewGetXtraDBClusterResourcesParamsWithContext creates a new GetXtraDBClusterResourcesParams object with the default values initialized, and the ability to set a context for a request
func NewGetXtraDBClusterResourcesParamsWithHTTPClient ¶
func NewGetXtraDBClusterResourcesParamsWithHTTPClient(client *http.Client) *GetXtraDBClusterResourcesParams
NewGetXtraDBClusterResourcesParamsWithHTTPClient creates a new GetXtraDBClusterResourcesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetXtraDBClusterResourcesParamsWithTimeout ¶
func NewGetXtraDBClusterResourcesParamsWithTimeout(timeout time.Duration) *GetXtraDBClusterResourcesParams
NewGetXtraDBClusterResourcesParamsWithTimeout creates a new GetXtraDBClusterResourcesParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetXtraDBClusterResourcesParams) SetBody ¶
func (o *GetXtraDBClusterResourcesParams) SetBody(body GetXtraDBClusterResourcesBody)
SetBody adds the body to the get xtra DB cluster resources params
func (*GetXtraDBClusterResourcesParams) SetContext ¶
func (o *GetXtraDBClusterResourcesParams) SetContext(ctx context.Context)
SetContext adds the context to the get xtra DB cluster resources params
func (*GetXtraDBClusterResourcesParams) SetHTTPClient ¶
func (o *GetXtraDBClusterResourcesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get xtra DB cluster resources params
func (*GetXtraDBClusterResourcesParams) SetTimeout ¶
func (o *GetXtraDBClusterResourcesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get xtra DB cluster resources params
func (*GetXtraDBClusterResourcesParams) WithBody ¶
func (o *GetXtraDBClusterResourcesParams) WithBody(body GetXtraDBClusterResourcesBody) *GetXtraDBClusterResourcesParams
WithBody adds the body to the get xtra DB cluster resources params
func (*GetXtraDBClusterResourcesParams) WithContext ¶
func (o *GetXtraDBClusterResourcesParams) WithContext(ctx context.Context) *GetXtraDBClusterResourcesParams
WithContext adds the context to the get xtra DB cluster resources params
func (*GetXtraDBClusterResourcesParams) WithHTTPClient ¶
func (o *GetXtraDBClusterResourcesParams) WithHTTPClient(client *http.Client) *GetXtraDBClusterResourcesParams
WithHTTPClient adds the HTTPClient to the get xtra DB cluster resources params
func (*GetXtraDBClusterResourcesParams) WithTimeout ¶
func (o *GetXtraDBClusterResourcesParams) WithTimeout(timeout time.Duration) *GetXtraDBClusterResourcesParams
WithTimeout adds the timeout to the get xtra DB cluster resources params
func (*GetXtraDBClusterResourcesParams) WriteToRequest ¶
func (o *GetXtraDBClusterResourcesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetXtraDBClusterResourcesParamsBodyParams ¶
type GetXtraDBClusterResourcesParamsBodyParams struct { // Cluster size. ClusterSize int32 `json:"cluster_size,omitempty"` // haproxy Haproxy *GetXtraDBClusterResourcesParamsBodyParamsHaproxy `json:"haproxy,omitempty"` // proxysql Proxysql *GetXtraDBClusterResourcesParamsBodyParamsProxysql `json:"proxysql,omitempty"` // pxc Pxc *GetXtraDBClusterResourcesParamsBodyParamsPxc `json:"pxc,omitempty"` }
GetXtraDBClusterResourcesParamsBodyParams XtraDBClusterParams represents XtraDB cluster parameters that can be updated. swagger:model GetXtraDBClusterResourcesParamsBodyParams
func (*GetXtraDBClusterResourcesParamsBodyParams) MarshalBinary ¶
func (o *GetXtraDBClusterResourcesParamsBodyParams) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetXtraDBClusterResourcesParamsBodyParams) UnmarshalBinary ¶
func (o *GetXtraDBClusterResourcesParamsBodyParams) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetXtraDBClusterResourcesParamsBodyParamsHaproxy ¶
type GetXtraDBClusterResourcesParamsBodyParamsHaproxy struct { // Docker image used for HAProxy. Image string `json:"image,omitempty"` // compute resources ComputeResources *GetXtraDBClusterResourcesParamsBodyParamsHaproxyComputeResources `json:"compute_resources,omitempty"` }
GetXtraDBClusterResourcesParamsBodyParamsHaproxy HAProxy container parameters. // NOTE: HAProxy does not need disk size as ProxySQL does because the container does not require it. swagger:model GetXtraDBClusterResourcesParamsBodyParamsHaproxy
func (*GetXtraDBClusterResourcesParamsBodyParamsHaproxy) MarshalBinary ¶
func (o *GetXtraDBClusterResourcesParamsBodyParamsHaproxy) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetXtraDBClusterResourcesParamsBodyParamsHaproxy) UnmarshalBinary ¶
func (o *GetXtraDBClusterResourcesParamsBodyParamsHaproxy) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetXtraDBClusterResourcesParamsBodyParamsHaproxyComputeResources ¶
type GetXtraDBClusterResourcesParamsBodyParamsHaproxyComputeResources struct { // CPUs in milliCPUs; 1000m = 1 vCPU. CPUm int32 `json:"cpu_m,omitempty"` // Memory in bytes. MemoryBytes string `json:"memory_bytes,omitempty"` }
GetXtraDBClusterResourcesParamsBodyParamsHaproxyComputeResources ComputeResources represents container computer resources requests or limits. swagger:model GetXtraDBClusterResourcesParamsBodyParamsHaproxyComputeResources
func (*GetXtraDBClusterResourcesParamsBodyParamsHaproxyComputeResources) MarshalBinary ¶
func (o *GetXtraDBClusterResourcesParamsBodyParamsHaproxyComputeResources) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetXtraDBClusterResourcesParamsBodyParamsHaproxyComputeResources) UnmarshalBinary ¶
func (o *GetXtraDBClusterResourcesParamsBodyParamsHaproxyComputeResources) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetXtraDBClusterResourcesParamsBodyParamsProxysql ¶
type GetXtraDBClusterResourcesParamsBodyParamsProxysql struct { // Docker image used for ProxySQL. Image string `json:"image,omitempty"` // Disk size in bytes. DiskSize string `json:"disk_size,omitempty"` // compute resources ComputeResources *GetXtraDBClusterResourcesParamsBodyParamsProxysqlComputeResources `json:"compute_resources,omitempty"` }
GetXtraDBClusterResourcesParamsBodyParamsProxysql ProxySQL container parameters. // TODO Do not use inner messages in all public APIs (for consistency). swagger:model GetXtraDBClusterResourcesParamsBodyParamsProxysql
func (*GetXtraDBClusterResourcesParamsBodyParamsProxysql) MarshalBinary ¶
func (o *GetXtraDBClusterResourcesParamsBodyParamsProxysql) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetXtraDBClusterResourcesParamsBodyParamsProxysql) UnmarshalBinary ¶
func (o *GetXtraDBClusterResourcesParamsBodyParamsProxysql) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetXtraDBClusterResourcesParamsBodyParamsProxysqlComputeResources ¶
type GetXtraDBClusterResourcesParamsBodyParamsProxysqlComputeResources struct { // CPUs in milliCPUs; 1000m = 1 vCPU. CPUm int32 `json:"cpu_m,omitempty"` // Memory in bytes. MemoryBytes string `json:"memory_bytes,omitempty"` }
GetXtraDBClusterResourcesParamsBodyParamsProxysqlComputeResources ComputeResources represents container computer resources requests or limits. swagger:model GetXtraDBClusterResourcesParamsBodyParamsProxysqlComputeResources
func (*GetXtraDBClusterResourcesParamsBodyParamsProxysqlComputeResources) MarshalBinary ¶
func (o *GetXtraDBClusterResourcesParamsBodyParamsProxysqlComputeResources) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetXtraDBClusterResourcesParamsBodyParamsProxysqlComputeResources) UnmarshalBinary ¶
func (o *GetXtraDBClusterResourcesParamsBodyParamsProxysqlComputeResources) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*GetXtraDBClusterResourcesParamsBodyParamsProxysqlComputeResources) Validate ¶
func (o *GetXtraDBClusterResourcesParamsBodyParamsProxysqlComputeResources) Validate(formats strfmt.Registry) error
Validate validates this get xtra DB cluster resources params body params proxysql compute resources
type GetXtraDBClusterResourcesParamsBodyParamsPxc ¶
type GetXtraDBClusterResourcesParamsBodyParamsPxc struct { // Docker image used for PXC. Image string `json:"image,omitempty"` // Disk size in bytes. DiskSize string `json:"disk_size,omitempty"` // compute resources ComputeResources *GetXtraDBClusterResourcesParamsBodyParamsPxcComputeResources `json:"compute_resources,omitempty"` }
GetXtraDBClusterResourcesParamsBodyParamsPxc PXC container parameters. // TODO Do not use inner messages in all public APIs (for consistency). swagger:model GetXtraDBClusterResourcesParamsBodyParamsPxc
func (*GetXtraDBClusterResourcesParamsBodyParamsPxc) MarshalBinary ¶
func (o *GetXtraDBClusterResourcesParamsBodyParamsPxc) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetXtraDBClusterResourcesParamsBodyParamsPxc) UnmarshalBinary ¶
func (o *GetXtraDBClusterResourcesParamsBodyParamsPxc) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetXtraDBClusterResourcesParamsBodyParamsPxcComputeResources ¶
type GetXtraDBClusterResourcesParamsBodyParamsPxcComputeResources struct { // CPUs in milliCPUs; 1000m = 1 vCPU. CPUm int32 `json:"cpu_m,omitempty"` // Memory in bytes. MemoryBytes string `json:"memory_bytes,omitempty"` }
GetXtraDBClusterResourcesParamsBodyParamsPxcComputeResources ComputeResources represents container computer resources requests or limits. swagger:model GetXtraDBClusterResourcesParamsBodyParamsPxcComputeResources
func (*GetXtraDBClusterResourcesParamsBodyParamsPxcComputeResources) MarshalBinary ¶
func (o *GetXtraDBClusterResourcesParamsBodyParamsPxcComputeResources) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetXtraDBClusterResourcesParamsBodyParamsPxcComputeResources) UnmarshalBinary ¶
func (o *GetXtraDBClusterResourcesParamsBodyParamsPxcComputeResources) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetXtraDBClusterResourcesReader ¶
type GetXtraDBClusterResourcesReader struct {
// contains filtered or unexported fields
}
GetXtraDBClusterResourcesReader is a Reader for the GetXtraDBClusterResources structure.
func (*GetXtraDBClusterResourcesReader) ReadResponse ¶
func (o *GetXtraDBClusterResourcesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListXtraDBClustersBody ¶
type ListXtraDBClustersBody struct { // Kubernetes cluster name. KubernetesClusterName string `json:"kubernetes_cluster_name,omitempty"` }
ListXtraDBClustersBody list xtra DB clusters body swagger:model ListXtraDBClustersBody
func (*ListXtraDBClustersBody) MarshalBinary ¶
func (o *ListXtraDBClustersBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListXtraDBClustersBody) UnmarshalBinary ¶
func (o *ListXtraDBClustersBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListXtraDBClustersDefault ¶
type ListXtraDBClustersDefault struct { Payload *ListXtraDBClustersDefaultBody // contains filtered or unexported fields }
ListXtraDBClustersDefault handles this case with default header values.
An unexpected error response.
func NewListXtraDBClustersDefault ¶
func NewListXtraDBClustersDefault(code int) *ListXtraDBClustersDefault
NewListXtraDBClustersDefault creates a ListXtraDBClustersDefault with default headers values
func (*ListXtraDBClustersDefault) Code ¶
func (o *ListXtraDBClustersDefault) Code() int
Code gets the status code for the list xtra DB clusters default response
func (*ListXtraDBClustersDefault) Error ¶
func (o *ListXtraDBClustersDefault) Error() string
func (*ListXtraDBClustersDefault) GetPayload ¶
func (o *ListXtraDBClustersDefault) GetPayload() *ListXtraDBClustersDefaultBody
type ListXtraDBClustersDefaultBody ¶
type ListXtraDBClustersDefaultBody struct { // error Error string `json:"error,omitempty"` // code Code int32 `json:"code,omitempty"` // message Message string `json:"message,omitempty"` // details Details []*DetailsItems0 `json:"details"` }
ListXtraDBClustersDefaultBody list xtra DB clusters default body swagger:model ListXtraDBClustersDefaultBody
func (*ListXtraDBClustersDefaultBody) MarshalBinary ¶
func (o *ListXtraDBClustersDefaultBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListXtraDBClustersDefaultBody) UnmarshalBinary ¶
func (o *ListXtraDBClustersDefaultBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListXtraDBClustersOK ¶
type ListXtraDBClustersOK struct {
Payload *ListXtraDBClustersOKBody
}
ListXtraDBClustersOK handles this case with default header values.
A successful response.
func NewListXtraDBClustersOK ¶
func NewListXtraDBClustersOK() *ListXtraDBClustersOK
NewListXtraDBClustersOK creates a ListXtraDBClustersOK with default headers values
func (*ListXtraDBClustersOK) Error ¶
func (o *ListXtraDBClustersOK) Error() string
func (*ListXtraDBClustersOK) GetPayload ¶
func (o *ListXtraDBClustersOK) GetPayload() *ListXtraDBClustersOKBody
type ListXtraDBClustersOKBody ¶
type ListXtraDBClustersOKBody struct { // XtraDB clusters information. Clusters []*ClustersItems0 `json:"clusters"` }
ListXtraDBClustersOKBody list xtra DB clusters OK body swagger:model ListXtraDBClustersOKBody
func (*ListXtraDBClustersOKBody) MarshalBinary ¶
func (o *ListXtraDBClustersOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListXtraDBClustersOKBody) UnmarshalBinary ¶
func (o *ListXtraDBClustersOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListXtraDBClustersParams ¶
type ListXtraDBClustersParams struct { /*Body*/ Body ListXtraDBClustersBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListXtraDBClustersParams contains all the parameters to send to the API endpoint for the list xtra DB clusters operation typically these are written to a http.Request
func NewListXtraDBClustersParams ¶
func NewListXtraDBClustersParams() *ListXtraDBClustersParams
NewListXtraDBClustersParams creates a new ListXtraDBClustersParams object with the default values initialized.
func NewListXtraDBClustersParamsWithContext ¶
func NewListXtraDBClustersParamsWithContext(ctx context.Context) *ListXtraDBClustersParams
NewListXtraDBClustersParamsWithContext creates a new ListXtraDBClustersParams object with the default values initialized, and the ability to set a context for a request
func NewListXtraDBClustersParamsWithHTTPClient ¶
func NewListXtraDBClustersParamsWithHTTPClient(client *http.Client) *ListXtraDBClustersParams
NewListXtraDBClustersParamsWithHTTPClient creates a new ListXtraDBClustersParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewListXtraDBClustersParamsWithTimeout ¶
func NewListXtraDBClustersParamsWithTimeout(timeout time.Duration) *ListXtraDBClustersParams
NewListXtraDBClustersParamsWithTimeout creates a new ListXtraDBClustersParams object with the default values initialized, and the ability to set a timeout on a request
func (*ListXtraDBClustersParams) SetBody ¶
func (o *ListXtraDBClustersParams) SetBody(body ListXtraDBClustersBody)
SetBody adds the body to the list xtra DB clusters params
func (*ListXtraDBClustersParams) SetContext ¶
func (o *ListXtraDBClustersParams) SetContext(ctx context.Context)
SetContext adds the context to the list xtra DB clusters params
func (*ListXtraDBClustersParams) SetHTTPClient ¶
func (o *ListXtraDBClustersParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list xtra DB clusters params
func (*ListXtraDBClustersParams) SetTimeout ¶
func (o *ListXtraDBClustersParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list xtra DB clusters params
func (*ListXtraDBClustersParams) WithBody ¶
func (o *ListXtraDBClustersParams) WithBody(body ListXtraDBClustersBody) *ListXtraDBClustersParams
WithBody adds the body to the list xtra DB clusters params
func (*ListXtraDBClustersParams) WithContext ¶
func (o *ListXtraDBClustersParams) WithContext(ctx context.Context) *ListXtraDBClustersParams
WithContext adds the context to the list xtra DB clusters params
func (*ListXtraDBClustersParams) WithHTTPClient ¶
func (o *ListXtraDBClustersParams) WithHTTPClient(client *http.Client) *ListXtraDBClustersParams
WithHTTPClient adds the HTTPClient to the list xtra DB clusters params
func (*ListXtraDBClustersParams) WithTimeout ¶
func (o *ListXtraDBClustersParams) WithTimeout(timeout time.Duration) *ListXtraDBClustersParams
WithTimeout adds the timeout to the list xtra DB clusters params
func (*ListXtraDBClustersParams) WriteToRequest ¶
func (o *ListXtraDBClustersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListXtraDBClustersReader ¶
type ListXtraDBClustersReader struct {
// contains filtered or unexported fields
}
ListXtraDBClustersReader is a Reader for the ListXtraDBClusters structure.
func (*ListXtraDBClustersReader) ReadResponse ¶
func (o *ListXtraDBClustersReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RestartXtraDBClusterBody ¶
type RestartXtraDBClusterBody struct { // Kubernetes cluster name. KubernetesClusterName string `json:"kubernetes_cluster_name,omitempty"` // XtraDB cluster name. Name string `json:"name,omitempty"` }
RestartXtraDBClusterBody restart xtra DB cluster body swagger:model RestartXtraDBClusterBody
func (*RestartXtraDBClusterBody) MarshalBinary ¶
func (o *RestartXtraDBClusterBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RestartXtraDBClusterBody) UnmarshalBinary ¶
func (o *RestartXtraDBClusterBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RestartXtraDBClusterDefault ¶
type RestartXtraDBClusterDefault struct { Payload *RestartXtraDBClusterDefaultBody // contains filtered or unexported fields }
RestartXtraDBClusterDefault handles this case with default header values.
An unexpected error response.
func NewRestartXtraDBClusterDefault ¶
func NewRestartXtraDBClusterDefault(code int) *RestartXtraDBClusterDefault
NewRestartXtraDBClusterDefault creates a RestartXtraDBClusterDefault with default headers values
func (*RestartXtraDBClusterDefault) Code ¶
func (o *RestartXtraDBClusterDefault) Code() int
Code gets the status code for the restart xtra DB cluster default response
func (*RestartXtraDBClusterDefault) Error ¶
func (o *RestartXtraDBClusterDefault) Error() string
func (*RestartXtraDBClusterDefault) GetPayload ¶
func (o *RestartXtraDBClusterDefault) GetPayload() *RestartXtraDBClusterDefaultBody
type RestartXtraDBClusterDefaultBody ¶
type RestartXtraDBClusterDefaultBody struct { // error Error string `json:"error,omitempty"` // code Code int32 `json:"code,omitempty"` // message Message string `json:"message,omitempty"` // details Details []*DetailsItems0 `json:"details"` }
RestartXtraDBClusterDefaultBody restart xtra DB cluster default body swagger:model RestartXtraDBClusterDefaultBody
func (*RestartXtraDBClusterDefaultBody) MarshalBinary ¶
func (o *RestartXtraDBClusterDefaultBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RestartXtraDBClusterDefaultBody) UnmarshalBinary ¶
func (o *RestartXtraDBClusterDefaultBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RestartXtraDBClusterOK ¶
type RestartXtraDBClusterOK struct {
Payload interface{}
}
RestartXtraDBClusterOK handles this case with default header values.
A successful response.
func NewRestartXtraDBClusterOK ¶
func NewRestartXtraDBClusterOK() *RestartXtraDBClusterOK
NewRestartXtraDBClusterOK creates a RestartXtraDBClusterOK with default headers values
func (*RestartXtraDBClusterOK) Error ¶
func (o *RestartXtraDBClusterOK) Error() string
func (*RestartXtraDBClusterOK) GetPayload ¶
func (o *RestartXtraDBClusterOK) GetPayload() interface{}
type RestartXtraDBClusterParams ¶
type RestartXtraDBClusterParams struct { /*Body*/ Body RestartXtraDBClusterBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
RestartXtraDBClusterParams contains all the parameters to send to the API endpoint for the restart xtra DB cluster operation typically these are written to a http.Request
func NewRestartXtraDBClusterParams ¶
func NewRestartXtraDBClusterParams() *RestartXtraDBClusterParams
NewRestartXtraDBClusterParams creates a new RestartXtraDBClusterParams object with the default values initialized.
func NewRestartXtraDBClusterParamsWithContext ¶
func NewRestartXtraDBClusterParamsWithContext(ctx context.Context) *RestartXtraDBClusterParams
NewRestartXtraDBClusterParamsWithContext creates a new RestartXtraDBClusterParams object with the default values initialized, and the ability to set a context for a request
func NewRestartXtraDBClusterParamsWithHTTPClient ¶
func NewRestartXtraDBClusterParamsWithHTTPClient(client *http.Client) *RestartXtraDBClusterParams
NewRestartXtraDBClusterParamsWithHTTPClient creates a new RestartXtraDBClusterParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewRestartXtraDBClusterParamsWithTimeout ¶
func NewRestartXtraDBClusterParamsWithTimeout(timeout time.Duration) *RestartXtraDBClusterParams
NewRestartXtraDBClusterParamsWithTimeout creates a new RestartXtraDBClusterParams object with the default values initialized, and the ability to set a timeout on a request
func (*RestartXtraDBClusterParams) SetBody ¶
func (o *RestartXtraDBClusterParams) SetBody(body RestartXtraDBClusterBody)
SetBody adds the body to the restart xtra DB cluster params
func (*RestartXtraDBClusterParams) SetContext ¶
func (o *RestartXtraDBClusterParams) SetContext(ctx context.Context)
SetContext adds the context to the restart xtra DB cluster params
func (*RestartXtraDBClusterParams) SetHTTPClient ¶
func (o *RestartXtraDBClusterParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the restart xtra DB cluster params
func (*RestartXtraDBClusterParams) SetTimeout ¶
func (o *RestartXtraDBClusterParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the restart xtra DB cluster params
func (*RestartXtraDBClusterParams) WithBody ¶
func (o *RestartXtraDBClusterParams) WithBody(body RestartXtraDBClusterBody) *RestartXtraDBClusterParams
WithBody adds the body to the restart xtra DB cluster params
func (*RestartXtraDBClusterParams) WithContext ¶
func (o *RestartXtraDBClusterParams) WithContext(ctx context.Context) *RestartXtraDBClusterParams
WithContext adds the context to the restart xtra DB cluster params
func (*RestartXtraDBClusterParams) WithHTTPClient ¶
func (o *RestartXtraDBClusterParams) WithHTTPClient(client *http.Client) *RestartXtraDBClusterParams
WithHTTPClient adds the HTTPClient to the restart xtra DB cluster params
func (*RestartXtraDBClusterParams) WithTimeout ¶
func (o *RestartXtraDBClusterParams) WithTimeout(timeout time.Duration) *RestartXtraDBClusterParams
WithTimeout adds the timeout to the restart xtra DB cluster params
func (*RestartXtraDBClusterParams) WriteToRequest ¶
func (o *RestartXtraDBClusterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RestartXtraDBClusterReader ¶
type RestartXtraDBClusterReader struct {
// contains filtered or unexported fields
}
RestartXtraDBClusterReader is a Reader for the RestartXtraDBCluster structure.
func (*RestartXtraDBClusterReader) ReadResponse ¶
func (o *RestartXtraDBClusterReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateXtraDBClusterBody ¶
type UpdateXtraDBClusterBody struct { // Kubernetes cluster name. KubernetesClusterName string `json:"kubernetes_cluster_name,omitempty"` // XtraDB cluster name. Name string `json:"name,omitempty"` // params Params *UpdateXtraDBClusterParamsBodyParams `json:"params,omitempty"` }
UpdateXtraDBClusterBody update xtra DB cluster body swagger:model UpdateXtraDBClusterBody
func (*UpdateXtraDBClusterBody) MarshalBinary ¶
func (o *UpdateXtraDBClusterBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateXtraDBClusterBody) UnmarshalBinary ¶
func (o *UpdateXtraDBClusterBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateXtraDBClusterDefault ¶
type UpdateXtraDBClusterDefault struct { Payload *UpdateXtraDBClusterDefaultBody // contains filtered or unexported fields }
UpdateXtraDBClusterDefault handles this case with default header values.
An unexpected error response.
func NewUpdateXtraDBClusterDefault ¶
func NewUpdateXtraDBClusterDefault(code int) *UpdateXtraDBClusterDefault
NewUpdateXtraDBClusterDefault creates a UpdateXtraDBClusterDefault with default headers values
func (*UpdateXtraDBClusterDefault) Code ¶
func (o *UpdateXtraDBClusterDefault) Code() int
Code gets the status code for the update xtra DB cluster default response
func (*UpdateXtraDBClusterDefault) Error ¶
func (o *UpdateXtraDBClusterDefault) Error() string
func (*UpdateXtraDBClusterDefault) GetPayload ¶
func (o *UpdateXtraDBClusterDefault) GetPayload() *UpdateXtraDBClusterDefaultBody
type UpdateXtraDBClusterDefaultBody ¶
type UpdateXtraDBClusterDefaultBody struct { // error Error string `json:"error,omitempty"` // code Code int32 `json:"code,omitempty"` // message Message string `json:"message,omitempty"` // details Details []*DetailsItems0 `json:"details"` }
UpdateXtraDBClusterDefaultBody update xtra DB cluster default body swagger:model UpdateXtraDBClusterDefaultBody
func (*UpdateXtraDBClusterDefaultBody) MarshalBinary ¶
func (o *UpdateXtraDBClusterDefaultBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateXtraDBClusterDefaultBody) UnmarshalBinary ¶
func (o *UpdateXtraDBClusterDefaultBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateXtraDBClusterOK ¶
type UpdateXtraDBClusterOK struct {
Payload interface{}
}
UpdateXtraDBClusterOK handles this case with default header values.
A successful response.
func NewUpdateXtraDBClusterOK ¶
func NewUpdateXtraDBClusterOK() *UpdateXtraDBClusterOK
NewUpdateXtraDBClusterOK creates a UpdateXtraDBClusterOK with default headers values
func (*UpdateXtraDBClusterOK) Error ¶
func (o *UpdateXtraDBClusterOK) Error() string
func (*UpdateXtraDBClusterOK) GetPayload ¶
func (o *UpdateXtraDBClusterOK) GetPayload() interface{}
type UpdateXtraDBClusterParams ¶
type UpdateXtraDBClusterParams struct { /*Body*/ Body UpdateXtraDBClusterBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateXtraDBClusterParams contains all the parameters to send to the API endpoint for the update xtra DB cluster operation typically these are written to a http.Request
func NewUpdateXtraDBClusterParams ¶
func NewUpdateXtraDBClusterParams() *UpdateXtraDBClusterParams
NewUpdateXtraDBClusterParams creates a new UpdateXtraDBClusterParams object with the default values initialized.
func NewUpdateXtraDBClusterParamsWithContext ¶
func NewUpdateXtraDBClusterParamsWithContext(ctx context.Context) *UpdateXtraDBClusterParams
NewUpdateXtraDBClusterParamsWithContext creates a new UpdateXtraDBClusterParams object with the default values initialized, and the ability to set a context for a request
func NewUpdateXtraDBClusterParamsWithHTTPClient ¶
func NewUpdateXtraDBClusterParamsWithHTTPClient(client *http.Client) *UpdateXtraDBClusterParams
NewUpdateXtraDBClusterParamsWithHTTPClient creates a new UpdateXtraDBClusterParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewUpdateXtraDBClusterParamsWithTimeout ¶
func NewUpdateXtraDBClusterParamsWithTimeout(timeout time.Duration) *UpdateXtraDBClusterParams
NewUpdateXtraDBClusterParamsWithTimeout creates a new UpdateXtraDBClusterParams object with the default values initialized, and the ability to set a timeout on a request
func (*UpdateXtraDBClusterParams) SetBody ¶
func (o *UpdateXtraDBClusterParams) SetBody(body UpdateXtraDBClusterBody)
SetBody adds the body to the update xtra DB cluster params
func (*UpdateXtraDBClusterParams) SetContext ¶
func (o *UpdateXtraDBClusterParams) SetContext(ctx context.Context)
SetContext adds the context to the update xtra DB cluster params
func (*UpdateXtraDBClusterParams) SetHTTPClient ¶
func (o *UpdateXtraDBClusterParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update xtra DB cluster params
func (*UpdateXtraDBClusterParams) SetTimeout ¶
func (o *UpdateXtraDBClusterParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update xtra DB cluster params
func (*UpdateXtraDBClusterParams) WithBody ¶
func (o *UpdateXtraDBClusterParams) WithBody(body UpdateXtraDBClusterBody) *UpdateXtraDBClusterParams
WithBody adds the body to the update xtra DB cluster params
func (*UpdateXtraDBClusterParams) WithContext ¶
func (o *UpdateXtraDBClusterParams) WithContext(ctx context.Context) *UpdateXtraDBClusterParams
WithContext adds the context to the update xtra DB cluster params
func (*UpdateXtraDBClusterParams) WithHTTPClient ¶
func (o *UpdateXtraDBClusterParams) WithHTTPClient(client *http.Client) *UpdateXtraDBClusterParams
WithHTTPClient adds the HTTPClient to the update xtra DB cluster params
func (*UpdateXtraDBClusterParams) WithTimeout ¶
func (o *UpdateXtraDBClusterParams) WithTimeout(timeout time.Duration) *UpdateXtraDBClusterParams
WithTimeout adds the timeout to the update xtra DB cluster params
func (*UpdateXtraDBClusterParams) WriteToRequest ¶
func (o *UpdateXtraDBClusterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateXtraDBClusterParamsBodyParams ¶
type UpdateXtraDBClusterParamsBodyParams struct { // Cluster size. ClusterSize int32 `json:"cluster_size,omitempty"` // Suspend cluster `pause: true`. Suspend bool `json:"suspend,omitempty"` // Resume cluster `pause: false`. Resume bool `json:"resume,omitempty"` // haproxy Haproxy *UpdateXtraDBClusterParamsBodyParamsHaproxy `json:"haproxy,omitempty"` // proxysql Proxysql *UpdateXtraDBClusterParamsBodyParamsProxysql `json:"proxysql,omitempty"` // pxc Pxc *UpdateXtraDBClusterParamsBodyParamsPxc `json:"pxc,omitempty"` }
UpdateXtraDBClusterParamsBodyParams UpdateXtraDBClusterParams represents XtraDB cluster parameters that can be updated. swagger:model UpdateXtraDBClusterParamsBodyParams
func (*UpdateXtraDBClusterParamsBodyParams) MarshalBinary ¶
func (o *UpdateXtraDBClusterParamsBodyParams) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateXtraDBClusterParamsBodyParams) UnmarshalBinary ¶
func (o *UpdateXtraDBClusterParamsBodyParams) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateXtraDBClusterParamsBodyParamsHaproxy ¶
type UpdateXtraDBClusterParamsBodyParamsHaproxy struct { // compute resources ComputeResources *UpdateXtraDBClusterParamsBodyParamsHaproxyComputeResources `json:"compute_resources,omitempty"` }
UpdateXtraDBClusterParamsBodyParamsHaproxy HAProxy container parameters. swagger:model UpdateXtraDBClusterParamsBodyParamsHaproxy
func (*UpdateXtraDBClusterParamsBodyParamsHaproxy) MarshalBinary ¶
func (o *UpdateXtraDBClusterParamsBodyParamsHaproxy) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateXtraDBClusterParamsBodyParamsHaproxy) UnmarshalBinary ¶
func (o *UpdateXtraDBClusterParamsBodyParamsHaproxy) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateXtraDBClusterParamsBodyParamsHaproxyComputeResources ¶
type UpdateXtraDBClusterParamsBodyParamsHaproxyComputeResources struct { // CPUs in milliCPUs; 1000m = 1 vCPU. CPUm int32 `json:"cpu_m,omitempty"` // Memory in bytes. MemoryBytes string `json:"memory_bytes,omitempty"` }
UpdateXtraDBClusterParamsBodyParamsHaproxyComputeResources ComputeResources represents container computer resources requests or limits. swagger:model UpdateXtraDBClusterParamsBodyParamsHaproxyComputeResources
func (*UpdateXtraDBClusterParamsBodyParamsHaproxyComputeResources) MarshalBinary ¶
func (o *UpdateXtraDBClusterParamsBodyParamsHaproxyComputeResources) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateXtraDBClusterParamsBodyParamsHaproxyComputeResources) UnmarshalBinary ¶
func (o *UpdateXtraDBClusterParamsBodyParamsHaproxyComputeResources) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateXtraDBClusterParamsBodyParamsProxysql ¶
type UpdateXtraDBClusterParamsBodyParamsProxysql struct { // compute resources ComputeResources *UpdateXtraDBClusterParamsBodyParamsProxysqlComputeResources `json:"compute_resources,omitempty"` }
UpdateXtraDBClusterParamsBodyParamsProxysql ProxySQL container parameters. swagger:model UpdateXtraDBClusterParamsBodyParamsProxysql
func (*UpdateXtraDBClusterParamsBodyParamsProxysql) MarshalBinary ¶
func (o *UpdateXtraDBClusterParamsBodyParamsProxysql) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateXtraDBClusterParamsBodyParamsProxysql) UnmarshalBinary ¶
func (o *UpdateXtraDBClusterParamsBodyParamsProxysql) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateXtraDBClusterParamsBodyParamsProxysqlComputeResources ¶
type UpdateXtraDBClusterParamsBodyParamsProxysqlComputeResources struct { // CPUs in milliCPUs; 1000m = 1 vCPU. CPUm int32 `json:"cpu_m,omitempty"` // Memory in bytes. MemoryBytes string `json:"memory_bytes,omitempty"` }
UpdateXtraDBClusterParamsBodyParamsProxysqlComputeResources ComputeResources represents container computer resources requests or limits. swagger:model UpdateXtraDBClusterParamsBodyParamsProxysqlComputeResources
func (*UpdateXtraDBClusterParamsBodyParamsProxysqlComputeResources) MarshalBinary ¶
func (o *UpdateXtraDBClusterParamsBodyParamsProxysqlComputeResources) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateXtraDBClusterParamsBodyParamsProxysqlComputeResources) UnmarshalBinary ¶
func (o *UpdateXtraDBClusterParamsBodyParamsProxysqlComputeResources) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateXtraDBClusterParamsBodyParamsPxc ¶
type UpdateXtraDBClusterParamsBodyParamsPxc struct { // compute resources ComputeResources *UpdateXtraDBClusterParamsBodyParamsPxcComputeResources `json:"compute_resources,omitempty"` }
UpdateXtraDBClusterParamsBodyParamsPxc PXC container parameters. swagger:model UpdateXtraDBClusterParamsBodyParamsPxc
func (*UpdateXtraDBClusterParamsBodyParamsPxc) MarshalBinary ¶
func (o *UpdateXtraDBClusterParamsBodyParamsPxc) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateXtraDBClusterParamsBodyParamsPxc) UnmarshalBinary ¶
func (o *UpdateXtraDBClusterParamsBodyParamsPxc) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateXtraDBClusterParamsBodyParamsPxcComputeResources ¶
type UpdateXtraDBClusterParamsBodyParamsPxcComputeResources struct { // CPUs in milliCPUs; 1000m = 1 vCPU. CPUm int32 `json:"cpu_m,omitempty"` // Memory in bytes. MemoryBytes string `json:"memory_bytes,omitempty"` }
UpdateXtraDBClusterParamsBodyParamsPxcComputeResources ComputeResources represents container computer resources requests or limits. swagger:model UpdateXtraDBClusterParamsBodyParamsPxcComputeResources
func (*UpdateXtraDBClusterParamsBodyParamsPxcComputeResources) MarshalBinary ¶
func (o *UpdateXtraDBClusterParamsBodyParamsPxcComputeResources) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateXtraDBClusterParamsBodyParamsPxcComputeResources) UnmarshalBinary ¶
func (o *UpdateXtraDBClusterParamsBodyParamsPxcComputeResources) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateXtraDBClusterReader ¶
type UpdateXtraDBClusterReader struct {
// contains filtered or unexported fields
}
UpdateXtraDBClusterReader is a Reader for the UpdateXtraDBCluster structure.
func (*UpdateXtraDBClusterReader) ReadResponse ¶
func (o *UpdateXtraDBClusterReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- create_xtra_db_cluster_parameters.go
- create_xtra_db_cluster_responses.go
- delete_xtra_db_cluster_parameters.go
- delete_xtra_db_cluster_responses.go
- get_xtra_db_cluster_credentials_parameters.go
- get_xtra_db_cluster_credentials_responses.go
- get_xtra_db_cluster_resources_parameters.go
- get_xtra_db_cluster_resources_responses.go
- list_xtra_db_clusters_parameters.go
- list_xtra_db_clusters_responses.go
- restart_xtra_db_cluster_parameters.go
- restart_xtra_db_cluster_responses.go
- update_xtra_db_cluster_parameters.go
- update_xtra_db_cluster_responses.go
- xtra_db_cluster_client.go