xtra_db_cluster

package
v2.18.0+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 17, 2021 License: AGPL-3.0 Imports: 13 Imported by: 3

Documentation

Index

Constants

View Source
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

func (*ClustersItems0) Validate

func (o *ClustersItems0) Validate(formats strfmt.Registry) error

Validate validates this clusters items0

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

func (*ClustersItems0Operation) Validate

func (o *ClustersItems0Operation) Validate(formats strfmt.Registry) error

Validate validates this clusters items0 operation

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

func (*ClustersItems0Params) Validate

func (o *ClustersItems0Params) Validate(formats strfmt.Registry) error

Validate validates this clusters items0 params

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

func (*ClustersItems0ParamsHaproxy) Validate

func (o *ClustersItems0ParamsHaproxy) Validate(formats strfmt.Registry) error

Validate validates this clusters items0 params haproxy

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

func (*ClustersItems0ParamsHaproxyComputeResources) Validate

Validate validates this clusters items0 params haproxy compute resources

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

func (*ClustersItems0ParamsProxysql) Validate

func (o *ClustersItems0ParamsProxysql) Validate(formats strfmt.Registry) error

Validate validates this clusters items0 params proxysql

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

MarshalBinary interface implementation

func (*ClustersItems0ParamsProxysqlComputeResources) UnmarshalBinary

UnmarshalBinary interface implementation

func (*ClustersItems0ParamsProxysqlComputeResources) Validate

Validate validates this clusters items0 params proxysql compute resources

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

func (*ClustersItems0ParamsPxc) Validate

func (o *ClustersItems0ParamsPxc) Validate(formats strfmt.Registry) error

Validate validates this clusters items0 params pxc

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

func (*ClustersItems0ParamsPxcComputeResources) Validate

Validate validates this clusters items0 params pxc compute resources

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

func (*CreateXtraDBClusterBody) Validate

func (o *CreateXtraDBClusterBody) Validate(formats strfmt.Registry) error

Validate validates this create xtra DB cluster body

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 (*CreateXtraDBClusterDefault) GetPayload

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

func (*CreateXtraDBClusterDefaultBody) Validate

func (o *CreateXtraDBClusterDefaultBody) Validate(formats strfmt.Registry) error

Validate validates this create xtra DB cluster default body

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

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

WithBody adds the body to the create xtra DB cluster params

func (*CreateXtraDBClusterParams) WithContext

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

WithTimeout adds the timeout to the create xtra DB cluster params

func (*CreateXtraDBClusterParams) WriteToRequest

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

func (*CreateXtraDBClusterParamsBodyParams) Validate

Validate validates this create xtra DB cluster params body params

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

func (*CreateXtraDBClusterParamsBodyParamsHaproxy) Validate

Validate validates this create xtra DB cluster params body params haproxy

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

MarshalBinary interface implementation

func (*CreateXtraDBClusterParamsBodyParamsHaproxyComputeResources) UnmarshalBinary

UnmarshalBinary interface implementation

func (*CreateXtraDBClusterParamsBodyParamsHaproxyComputeResources) Validate

Validate validates this create xtra DB cluster params body params haproxy compute resources

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

func (*CreateXtraDBClusterParamsBodyParamsProxysql) Validate

Validate validates this create xtra DB cluster params body params proxysql

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

MarshalBinary interface implementation

func (*CreateXtraDBClusterParamsBodyParamsProxysqlComputeResources) UnmarshalBinary

UnmarshalBinary interface implementation

func (*CreateXtraDBClusterParamsBodyParamsProxysqlComputeResources) Validate

Validate validates this create xtra DB cluster params body params proxysql compute resources

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

func (*CreateXtraDBClusterParamsBodyParamsPxc) Validate

Validate validates this create xtra DB cluster params body params pxc

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

MarshalBinary interface implementation

func (*CreateXtraDBClusterParamsBodyParamsPxcComputeResources) UnmarshalBinary

UnmarshalBinary interface implementation

func (*CreateXtraDBClusterParamsBodyParamsPxcComputeResources) Validate

Validate validates this create xtra DB cluster params body params pxc compute resources

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

func (*DeleteXtraDBClusterBody) Validate

func (o *DeleteXtraDBClusterBody) Validate(formats strfmt.Registry) error

Validate validates this delete xtra DB cluster body

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 (*DeleteXtraDBClusterDefault) GetPayload

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

func (*DeleteXtraDBClusterDefaultBody) Validate

func (o *DeleteXtraDBClusterDefaultBody) Validate(formats strfmt.Registry) error

Validate validates this delete xtra DB cluster default body

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

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

WithBody adds the body to the delete xtra DB cluster params

func (*DeleteXtraDBClusterParams) WithContext

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

WithTimeout adds the timeout to the delete xtra DB cluster params

func (*DeleteXtraDBClusterParams) WriteToRequest

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

func (*DetailsItems0) Validate

func (o *DetailsItems0) Validate(formats strfmt.Registry) error

Validate validates this details items0

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

func (*GetXtraDBClusterCredentialsBody) Validate

Validate validates this get xtra DB cluster credentials body

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

Code gets the status code for the get xtra DB cluster credentials default response

func (*GetXtraDBClusterCredentialsDefault) Error

func (*GetXtraDBClusterCredentialsDefault) GetPayload

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

func (*GetXtraDBClusterCredentialsDefaultBody) Validate

Validate validates this get xtra DB cluster credentials default body

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 (*GetXtraDBClusterCredentialsOK) GetPayload

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

func (*GetXtraDBClusterCredentialsOKBody) Validate

Validate validates this get xtra DB cluster credentials OK body

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

MarshalBinary interface implementation

func (*GetXtraDBClusterCredentialsOKBodyConnectionCredentials) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetXtraDBClusterCredentialsOKBodyConnectionCredentials) Validate

Validate validates this get xtra DB cluster credentials OK body connection credentials

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

SetBody adds the body to the get xtra DB cluster credentials params

func (*GetXtraDBClusterCredentialsParams) SetContext

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

WithBody adds the body to the get xtra DB cluster credentials params

func (*GetXtraDBClusterCredentialsParams) WithContext

WithContext adds the context to the get xtra DB cluster credentials params

func (*GetXtraDBClusterCredentialsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get xtra DB cluster credentials params

func (*GetXtraDBClusterCredentialsParams) WithTimeout

WithTimeout adds the timeout to the get xtra DB cluster credentials params

func (*GetXtraDBClusterCredentialsParams) WriteToRequest

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

func (*GetXtraDBClusterResourcesBody) Validate

func (o *GetXtraDBClusterResourcesBody) Validate(formats strfmt.Registry) error

Validate validates this get xtra DB cluster resources body

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

Code gets the status code for the get xtra DB cluster resources default response

func (*GetXtraDBClusterResourcesDefault) Error

func (*GetXtraDBClusterResourcesDefault) GetPayload

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

func (*GetXtraDBClusterResourcesDefaultBody) Validate

Validate validates this get xtra DB cluster resources default body

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 (*GetXtraDBClusterResourcesOK) GetPayload

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

func (*GetXtraDBClusterResourcesOKBody) Validate

Validate validates this get xtra DB cluster resources OK body

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

func (*GetXtraDBClusterResourcesOKBodyExpected) Validate

Validate validates this get xtra DB cluster resources OK body expected

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

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

WithBody adds the body to the get xtra DB cluster resources params

func (*GetXtraDBClusterResourcesParams) WithContext

WithContext adds the context to the get xtra DB cluster resources params

func (*GetXtraDBClusterResourcesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get xtra DB cluster resources params

func (*GetXtraDBClusterResourcesParams) WithTimeout

WithTimeout adds the timeout to the get xtra DB cluster resources params

func (*GetXtraDBClusterResourcesParams) WriteToRequest

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

func (*GetXtraDBClusterResourcesParamsBodyParams) Validate

Validate validates this get xtra DB cluster resources params body params

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

MarshalBinary interface implementation

func (*GetXtraDBClusterResourcesParamsBodyParamsHaproxy) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetXtraDBClusterResourcesParamsBodyParamsHaproxy) Validate

Validate validates this get xtra DB cluster resources params body params haproxy

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

MarshalBinary interface implementation

func (*GetXtraDBClusterResourcesParamsBodyParamsHaproxyComputeResources) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetXtraDBClusterResourcesParamsBodyParamsHaproxyComputeResources) Validate

Validate validates this get xtra DB cluster resources params body params haproxy compute resources

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

MarshalBinary interface implementation

func (*GetXtraDBClusterResourcesParamsBodyParamsProxysql) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetXtraDBClusterResourcesParamsBodyParamsProxysql) Validate

Validate validates this get xtra DB cluster resources params body params proxysql

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

MarshalBinary interface implementation

func (*GetXtraDBClusterResourcesParamsBodyParamsProxysqlComputeResources) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetXtraDBClusterResourcesParamsBodyParamsProxysqlComputeResources) Validate

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

MarshalBinary interface implementation

func (*GetXtraDBClusterResourcesParamsBodyParamsPxc) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetXtraDBClusterResourcesParamsBodyParamsPxc) Validate

Validate validates this get xtra DB cluster resources params body params pxc

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

MarshalBinary interface implementation

func (*GetXtraDBClusterResourcesParamsBodyParamsPxcComputeResources) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetXtraDBClusterResourcesParamsBodyParamsPxcComputeResources) Validate

Validate validates this get xtra DB cluster resources params body params pxc compute resources

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

func (*ListXtraDBClustersBody) Validate

func (o *ListXtraDBClustersBody) Validate(formats strfmt.Registry) error

Validate validates this list xtra DB clusters body

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

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

func (*ListXtraDBClustersDefaultBody) Validate

func (o *ListXtraDBClustersDefaultBody) Validate(formats strfmt.Registry) error

Validate validates this list xtra DB clusters default body

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

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

func (*ListXtraDBClustersOKBody) Validate

func (o *ListXtraDBClustersOKBody) Validate(formats strfmt.Registry) error

Validate validates this list xtra DB clusters OK body

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

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

WithBody adds the body to the list xtra DB clusters params

func (*ListXtraDBClustersParams) WithContext

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

WithTimeout adds the timeout to the list xtra DB clusters params

func (*ListXtraDBClustersParams) WriteToRequest

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

func (*RestartXtraDBClusterBody) Validate

func (o *RestartXtraDBClusterBody) Validate(formats strfmt.Registry) error

Validate validates this restart xtra DB cluster body

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 (*RestartXtraDBClusterDefault) GetPayload

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

func (*RestartXtraDBClusterDefaultBody) Validate

Validate validates this restart xtra DB cluster default body

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

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

WithBody adds the body to the restart xtra DB cluster params

func (*RestartXtraDBClusterParams) WithContext

WithContext adds the context to the restart xtra DB cluster params

func (*RestartXtraDBClusterParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the restart xtra DB cluster params

func (*RestartXtraDBClusterParams) WithTimeout

WithTimeout adds the timeout to the restart xtra DB cluster params

func (*RestartXtraDBClusterParams) WriteToRequest

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

func (*UpdateXtraDBClusterBody) Validate

func (o *UpdateXtraDBClusterBody) Validate(formats strfmt.Registry) error

Validate validates this update xtra DB cluster body

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 (*UpdateXtraDBClusterDefault) GetPayload

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

func (*UpdateXtraDBClusterDefaultBody) Validate

func (o *UpdateXtraDBClusterDefaultBody) Validate(formats strfmt.Registry) error

Validate validates this update xtra DB cluster default body

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

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

WithBody adds the body to the update xtra DB cluster params

func (*UpdateXtraDBClusterParams) WithContext

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

WithTimeout adds the timeout to the update xtra DB cluster params

func (*UpdateXtraDBClusterParams) WriteToRequest

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

func (*UpdateXtraDBClusterParamsBodyParams) Validate

Validate validates this update xtra DB cluster params body params

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

func (*UpdateXtraDBClusterParamsBodyParamsHaproxy) Validate

Validate validates this update xtra DB cluster params body params haproxy

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

MarshalBinary interface implementation

func (*UpdateXtraDBClusterParamsBodyParamsHaproxyComputeResources) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateXtraDBClusterParamsBodyParamsHaproxyComputeResources) Validate

Validate validates this update xtra DB cluster params body params haproxy compute resources

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

func (*UpdateXtraDBClusterParamsBodyParamsProxysql) Validate

Validate validates this update xtra DB cluster params body params proxysql

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

MarshalBinary interface implementation

func (*UpdateXtraDBClusterParamsBodyParamsProxysqlComputeResources) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateXtraDBClusterParamsBodyParamsProxysqlComputeResources) Validate

Validate validates this update xtra DB cluster params body params proxysql compute resources

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

func (*UpdateXtraDBClusterParamsBodyParamsPxc) Validate

Validate validates this update xtra DB cluster params body params pxc

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

MarshalBinary interface implementation

func (*UpdateXtraDBClusterParamsBodyParamsPxcComputeResources) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateXtraDBClusterParamsBodyParamsPxcComputeResources) Validate

Validate validates this update xtra DB cluster params body params pxc compute resources

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL