Documentation ¶
Index ¶
- Constants
- type Client
- func (a *Client) CreatePSMDBCluster(params *CreatePSMDBClusterParams) (*CreatePSMDBClusterOK, error)
- func (a *Client) DeletePSMDBCluster(params *DeletePSMDBClusterParams) (*DeletePSMDBClusterOK, error)
- func (a *Client) GetPSMDBClusterCredentials(params *GetPSMDBClusterCredentialsParams) (*GetPSMDBClusterCredentialsOK, error)
- func (a *Client) ListPSMDBClusters(params *ListPSMDBClustersParams) (*ListPSMDBClustersOK, error)
- func (a *Client) RestartPSMDBCluster(params *RestartPSMDBClusterParams) (*RestartPSMDBClusterOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdatePSMDBCluster(params *UpdatePSMDBClusterParams) (*UpdatePSMDBClusterOK, error)
- type ClientService
- type ClustersItems0
- type ClustersItems0Operation
- type ClustersItems0Params
- type ClustersItems0ParamsReplicaset
- type ClustersItems0ParamsReplicasetComputeResources
- type CreatePSMDBClusterBody
- type CreatePSMDBClusterDefault
- type CreatePSMDBClusterDefaultBody
- type CreatePSMDBClusterOK
- type CreatePSMDBClusterParams
- func NewCreatePSMDBClusterParams() *CreatePSMDBClusterParams
- func NewCreatePSMDBClusterParamsWithContext(ctx context.Context) *CreatePSMDBClusterParams
- func NewCreatePSMDBClusterParamsWithHTTPClient(client *http.Client) *CreatePSMDBClusterParams
- func NewCreatePSMDBClusterParamsWithTimeout(timeout time.Duration) *CreatePSMDBClusterParams
- func (o *CreatePSMDBClusterParams) SetBody(body CreatePSMDBClusterBody)
- func (o *CreatePSMDBClusterParams) SetContext(ctx context.Context)
- func (o *CreatePSMDBClusterParams) SetHTTPClient(client *http.Client)
- func (o *CreatePSMDBClusterParams) SetTimeout(timeout time.Duration)
- func (o *CreatePSMDBClusterParams) WithBody(body CreatePSMDBClusterBody) *CreatePSMDBClusterParams
- func (o *CreatePSMDBClusterParams) WithContext(ctx context.Context) *CreatePSMDBClusterParams
- func (o *CreatePSMDBClusterParams) WithHTTPClient(client *http.Client) *CreatePSMDBClusterParams
- func (o *CreatePSMDBClusterParams) WithTimeout(timeout time.Duration) *CreatePSMDBClusterParams
- func (o *CreatePSMDBClusterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreatePSMDBClusterParamsBodyParams
- type CreatePSMDBClusterParamsBodyParamsReplicaset
- type CreatePSMDBClusterParamsBodyParamsReplicasetComputeResources
- func (o *CreatePSMDBClusterParamsBodyParamsReplicasetComputeResources) MarshalBinary() ([]byte, error)
- func (o *CreatePSMDBClusterParamsBodyParamsReplicasetComputeResources) UnmarshalBinary(b []byte) error
- func (o *CreatePSMDBClusterParamsBodyParamsReplicasetComputeResources) Validate(formats strfmt.Registry) error
- type CreatePSMDBClusterReader
- type DeletePSMDBClusterBody
- type DeletePSMDBClusterDefault
- type DeletePSMDBClusterDefaultBody
- type DeletePSMDBClusterOK
- type DeletePSMDBClusterParams
- func NewDeletePSMDBClusterParams() *DeletePSMDBClusterParams
- func NewDeletePSMDBClusterParamsWithContext(ctx context.Context) *DeletePSMDBClusterParams
- func NewDeletePSMDBClusterParamsWithHTTPClient(client *http.Client) *DeletePSMDBClusterParams
- func NewDeletePSMDBClusterParamsWithTimeout(timeout time.Duration) *DeletePSMDBClusterParams
- func (o *DeletePSMDBClusterParams) SetBody(body DeletePSMDBClusterBody)
- func (o *DeletePSMDBClusterParams) SetContext(ctx context.Context)
- func (o *DeletePSMDBClusterParams) SetHTTPClient(client *http.Client)
- func (o *DeletePSMDBClusterParams) SetTimeout(timeout time.Duration)
- func (o *DeletePSMDBClusterParams) WithBody(body DeletePSMDBClusterBody) *DeletePSMDBClusterParams
- func (o *DeletePSMDBClusterParams) WithContext(ctx context.Context) *DeletePSMDBClusterParams
- func (o *DeletePSMDBClusterParams) WithHTTPClient(client *http.Client) *DeletePSMDBClusterParams
- func (o *DeletePSMDBClusterParams) WithTimeout(timeout time.Duration) *DeletePSMDBClusterParams
- func (o *DeletePSMDBClusterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeletePSMDBClusterReader
- type DetailsItems0
- type GetPSMDBClusterCredentialsBody
- type GetPSMDBClusterCredentialsDefault
- type GetPSMDBClusterCredentialsDefaultBody
- type GetPSMDBClusterCredentialsOK
- type GetPSMDBClusterCredentialsOKBody
- type GetPSMDBClusterCredentialsOKBodyConnectionCredentials
- type GetPSMDBClusterCredentialsParams
- func NewGetPSMDBClusterCredentialsParams() *GetPSMDBClusterCredentialsParams
- func NewGetPSMDBClusterCredentialsParamsWithContext(ctx context.Context) *GetPSMDBClusterCredentialsParams
- func NewGetPSMDBClusterCredentialsParamsWithHTTPClient(client *http.Client) *GetPSMDBClusterCredentialsParams
- func NewGetPSMDBClusterCredentialsParamsWithTimeout(timeout time.Duration) *GetPSMDBClusterCredentialsParams
- func (o *GetPSMDBClusterCredentialsParams) SetBody(body GetPSMDBClusterCredentialsBody)
- func (o *GetPSMDBClusterCredentialsParams) SetContext(ctx context.Context)
- func (o *GetPSMDBClusterCredentialsParams) SetHTTPClient(client *http.Client)
- func (o *GetPSMDBClusterCredentialsParams) SetTimeout(timeout time.Duration)
- func (o *GetPSMDBClusterCredentialsParams) WithBody(body GetPSMDBClusterCredentialsBody) *GetPSMDBClusterCredentialsParams
- func (o *GetPSMDBClusterCredentialsParams) WithContext(ctx context.Context) *GetPSMDBClusterCredentialsParams
- func (o *GetPSMDBClusterCredentialsParams) WithHTTPClient(client *http.Client) *GetPSMDBClusterCredentialsParams
- func (o *GetPSMDBClusterCredentialsParams) WithTimeout(timeout time.Duration) *GetPSMDBClusterCredentialsParams
- func (o *GetPSMDBClusterCredentialsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPSMDBClusterCredentialsReader
- type ListPSMDBClustersBody
- type ListPSMDBClustersDefault
- type ListPSMDBClustersDefaultBody
- type ListPSMDBClustersOK
- type ListPSMDBClustersOKBody
- type ListPSMDBClustersParams
- func NewListPSMDBClustersParams() *ListPSMDBClustersParams
- func NewListPSMDBClustersParamsWithContext(ctx context.Context) *ListPSMDBClustersParams
- func NewListPSMDBClustersParamsWithHTTPClient(client *http.Client) *ListPSMDBClustersParams
- func NewListPSMDBClustersParamsWithTimeout(timeout time.Duration) *ListPSMDBClustersParams
- func (o *ListPSMDBClustersParams) SetBody(body ListPSMDBClustersBody)
- func (o *ListPSMDBClustersParams) SetContext(ctx context.Context)
- func (o *ListPSMDBClustersParams) SetHTTPClient(client *http.Client)
- func (o *ListPSMDBClustersParams) SetTimeout(timeout time.Duration)
- func (o *ListPSMDBClustersParams) WithBody(body ListPSMDBClustersBody) *ListPSMDBClustersParams
- func (o *ListPSMDBClustersParams) WithContext(ctx context.Context) *ListPSMDBClustersParams
- func (o *ListPSMDBClustersParams) WithHTTPClient(client *http.Client) *ListPSMDBClustersParams
- func (o *ListPSMDBClustersParams) WithTimeout(timeout time.Duration) *ListPSMDBClustersParams
- func (o *ListPSMDBClustersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListPSMDBClustersReader
- type RestartPSMDBClusterBody
- type RestartPSMDBClusterDefault
- type RestartPSMDBClusterDefaultBody
- type RestartPSMDBClusterOK
- type RestartPSMDBClusterParams
- func NewRestartPSMDBClusterParams() *RestartPSMDBClusterParams
- func NewRestartPSMDBClusterParamsWithContext(ctx context.Context) *RestartPSMDBClusterParams
- func NewRestartPSMDBClusterParamsWithHTTPClient(client *http.Client) *RestartPSMDBClusterParams
- func NewRestartPSMDBClusterParamsWithTimeout(timeout time.Duration) *RestartPSMDBClusterParams
- func (o *RestartPSMDBClusterParams) SetBody(body RestartPSMDBClusterBody)
- func (o *RestartPSMDBClusterParams) SetContext(ctx context.Context)
- func (o *RestartPSMDBClusterParams) SetHTTPClient(client *http.Client)
- func (o *RestartPSMDBClusterParams) SetTimeout(timeout time.Duration)
- func (o *RestartPSMDBClusterParams) WithBody(body RestartPSMDBClusterBody) *RestartPSMDBClusterParams
- func (o *RestartPSMDBClusterParams) WithContext(ctx context.Context) *RestartPSMDBClusterParams
- func (o *RestartPSMDBClusterParams) WithHTTPClient(client *http.Client) *RestartPSMDBClusterParams
- func (o *RestartPSMDBClusterParams) WithTimeout(timeout time.Duration) *RestartPSMDBClusterParams
- func (o *RestartPSMDBClusterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RestartPSMDBClusterReader
- type UpdatePSMDBClusterBody
- type UpdatePSMDBClusterDefault
- type UpdatePSMDBClusterDefaultBody
- type UpdatePSMDBClusterOK
- type UpdatePSMDBClusterParams
- func NewUpdatePSMDBClusterParams() *UpdatePSMDBClusterParams
- func NewUpdatePSMDBClusterParamsWithContext(ctx context.Context) *UpdatePSMDBClusterParams
- func NewUpdatePSMDBClusterParamsWithHTTPClient(client *http.Client) *UpdatePSMDBClusterParams
- func NewUpdatePSMDBClusterParamsWithTimeout(timeout time.Duration) *UpdatePSMDBClusterParams
- func (o *UpdatePSMDBClusterParams) SetBody(body UpdatePSMDBClusterBody)
- func (o *UpdatePSMDBClusterParams) SetContext(ctx context.Context)
- func (o *UpdatePSMDBClusterParams) SetHTTPClient(client *http.Client)
- func (o *UpdatePSMDBClusterParams) SetTimeout(timeout time.Duration)
- func (o *UpdatePSMDBClusterParams) WithBody(body UpdatePSMDBClusterBody) *UpdatePSMDBClusterParams
- func (o *UpdatePSMDBClusterParams) WithContext(ctx context.Context) *UpdatePSMDBClusterParams
- func (o *UpdatePSMDBClusterParams) WithHTTPClient(client *http.Client) *UpdatePSMDBClusterParams
- func (o *UpdatePSMDBClusterParams) WithTimeout(timeout time.Duration) *UpdatePSMDBClusterParams
- func (o *UpdatePSMDBClusterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdatePSMDBClusterParamsBodyParams
- type UpdatePSMDBClusterParamsBodyParamsReplicaset
- type UpdatePSMDBClusterParamsBodyParamsReplicasetComputeResources
- func (o *UpdatePSMDBClusterParamsBodyParamsReplicasetComputeResources) MarshalBinary() ([]byte, error)
- func (o *UpdatePSMDBClusterParamsBodyParamsReplicasetComputeResources) UnmarshalBinary(b []byte) error
- func (o *UpdatePSMDBClusterParamsBodyParamsReplicasetComputeResources) Validate(formats strfmt.Registry) error
- type UpdatePSMDBClusterReader
Constants ¶
const ( // ClustersItems0StatePSMDBCLUSTERSTATEINVALID captures enum value "PSMDB_CLUSTER_STATE_INVALID" ClustersItems0StatePSMDBCLUSTERSTATEINVALID string = "PSMDB_CLUSTER_STATE_INVALID" // ClustersItems0StatePSMDBCLUSTERSTATECHANGING captures enum value "PSMDB_CLUSTER_STATE_CHANGING" ClustersItems0StatePSMDBCLUSTERSTATECHANGING string = "PSMDB_CLUSTER_STATE_CHANGING" // ClustersItems0StatePSMDBCLUSTERSTATEREADY captures enum value "PSMDB_CLUSTER_STATE_READY" ClustersItems0StatePSMDBCLUSTERSTATEREADY string = "PSMDB_CLUSTER_STATE_READY" // ClustersItems0StatePSMDBCLUSTERSTATEFAILED captures enum value "PSMDB_CLUSTER_STATE_FAILED" ClustersItems0StatePSMDBCLUSTERSTATEFAILED string = "PSMDB_CLUSTER_STATE_FAILED" // ClustersItems0StatePSMDBCLUSTERSTATEDELETING captures enum value "PSMDB_CLUSTER_STATE_DELETING" ClustersItems0StatePSMDBCLUSTERSTATEDELETING string = "PSMDB_CLUSTER_STATE_DELETING" // ClustersItems0StatePSMDBCLUSTERSTATEPAUSED captures enum value "PSMDB_CLUSTER_STATE_PAUSED" ClustersItems0StatePSMDBCLUSTERSTATEPAUSED string = "PSMDB_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 psmdb cluster API
func (*Client) CreatePSMDBCluster ¶
func (a *Client) CreatePSMDBCluster(params *CreatePSMDBClusterParams) (*CreatePSMDBClusterOK, error)
CreatePSMDBCluster creates PSMDB cluster creates a new PSMDB cluster
func (*Client) DeletePSMDBCluster ¶
func (a *Client) DeletePSMDBCluster(params *DeletePSMDBClusterParams) (*DeletePSMDBClusterOK, error)
DeletePSMDBCluster deletes PSMDB cluster deletes PSMDB cluster
func (*Client) GetPSMDBClusterCredentials ¶
func (a *Client) GetPSMDBClusterCredentials(params *GetPSMDBClusterCredentialsParams) (*GetPSMDBClusterCredentialsOK, error)
GetPSMDBClusterCredentials gets PSMDB cluster credentials returns a PSMDB cluster credentials by cluster name
func (*Client) ListPSMDBClusters ¶
func (a *Client) ListPSMDBClusters(params *ListPSMDBClustersParams) (*ListPSMDBClustersOK, error)
ListPSMDBClusters lists PSMDB clusters returns a list of PSMDB clusters
func (*Client) RestartPSMDBCluster ¶
func (a *Client) RestartPSMDBCluster(params *RestartPSMDBClusterParams) (*RestartPSMDBClusterOK, error)
RestartPSMDBCluster restarts PSMDB cluster restarts PSMDB cluster
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdatePSMDBCluster ¶
func (a *Client) UpdatePSMDBCluster(params *UpdatePSMDBClusterParams) (*UpdatePSMDBClusterOK, error)
UpdatePSMDBCluster updates PSMDB cluster updates existing PSMDB cluster
type ClientService ¶
type ClientService interface { CreatePSMDBCluster(params *CreatePSMDBClusterParams) (*CreatePSMDBClusterOK, error) DeletePSMDBCluster(params *DeletePSMDBClusterParams) (*DeletePSMDBClusterOK, error) GetPSMDBClusterCredentials(params *GetPSMDBClusterCredentialsParams) (*GetPSMDBClusterCredentialsOK, error) ListPSMDBClusters(params *ListPSMDBClustersParams) (*ListPSMDBClustersOK, error) RestartPSMDBCluster(params *RestartPSMDBClusterParams) (*RestartPSMDBClusterOK, error) UpdatePSMDBCluster(params *UpdatePSMDBClusterParams) (*UpdatePSMDBClusterOK, 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 psmdb cluster API client.
type ClustersItems0 ¶
type ClustersItems0 struct { // Cluster name. Name string `json:"name,omitempty"` // PSMDBClusterState represents PSMDB cluster CR state. // // - PSMDB_CLUSTER_STATE_INVALID: PSMDB_CLUSTER_STATE_INVALID represents unknown state. // - PSMDB_CLUSTER_STATE_CHANGING: PSMDB_CLUSTER_STATE_CHANGING represents a cluster being changed. // - PSMDB_CLUSTER_STATE_READY: PSMDB_CLUSTER_STATE_READY represents a cluster without pending changes. // - PSMDB_CLUSTER_STATE_FAILED: PSMDB_CLUSTER_STATE_FAILED represents a failed cluster. // - PSMDB_CLUSTER_STATE_DELETING: PSMDB_CLUSTER_STATE_DELETING represents a cluster being deleting. // - PSMDB_CLUSTER_STATE_PAUSED: PSMDB_CLUSTER_STATE_PAUSED represents a cluster is paused. // Enum: [PSMDB_CLUSTER_STATE_INVALID PSMDB_CLUSTER_STATE_CHANGING PSMDB_CLUSTER_STATE_READY PSMDB_CLUSTER_STATE_FAILED PSMDB_CLUSTER_STATE_DELETING PSMDB_CLUSTER_STATE_PAUSED] State *string `json:"state,omitempty"` // operation Operation *ClustersItems0Operation `json:"operation,omitempty"` // params Params *ClustersItems0Params `json:"params,omitempty"` }
ClustersItems0 Cluster represents PSMDB 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"` // replicaset Replicaset *ClustersItems0ParamsReplicaset `json:"replicaset,omitempty"` }
ClustersItems0Params PSMDBClusterParams represents PSMDB 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 ClustersItems0ParamsReplicaset ¶
type ClustersItems0ParamsReplicaset struct { // Disk size in bytes. DiskSize string `json:"disk_size,omitempty"` // compute resources ComputeResources *ClustersItems0ParamsReplicasetComputeResources `json:"compute_resources,omitempty"` }
ClustersItems0ParamsReplicaset ReplicaSet container parameters. // TODO Do not use inner messages in all public APIs (for consistency). swagger:model ClustersItems0ParamsReplicaset
func (*ClustersItems0ParamsReplicaset) MarshalBinary ¶
func (o *ClustersItems0ParamsReplicaset) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ClustersItems0ParamsReplicaset) UnmarshalBinary ¶
func (o *ClustersItems0ParamsReplicaset) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ClustersItems0ParamsReplicasetComputeResources ¶
type ClustersItems0ParamsReplicasetComputeResources struct { // CPUs in milliCPUs; 1000m = 1 vCPU. CPUm int32 `json:"cpu_m,omitempty"` // Memory in bytes. MemoryBytes string `json:"memory_bytes,omitempty"` }
ClustersItems0ParamsReplicasetComputeResources ComputeResources represents container computer resources requests or limits. swagger:model ClustersItems0ParamsReplicasetComputeResources
func (*ClustersItems0ParamsReplicasetComputeResources) MarshalBinary ¶
func (o *ClustersItems0ParamsReplicasetComputeResources) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ClustersItems0ParamsReplicasetComputeResources) UnmarshalBinary ¶
func (o *ClustersItems0ParamsReplicasetComputeResources) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreatePSMDBClusterBody ¶
type CreatePSMDBClusterBody struct { // Kubernetes cluster name. KubernetesClusterName string `json:"kubernetes_cluster_name,omitempty"` // PSMDB 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 *CreatePSMDBClusterParamsBodyParams `json:"params,omitempty"` }
CreatePSMDBClusterBody create PSMDB cluster body swagger:model CreatePSMDBClusterBody
func (*CreatePSMDBClusterBody) MarshalBinary ¶
func (o *CreatePSMDBClusterBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreatePSMDBClusterBody) UnmarshalBinary ¶
func (o *CreatePSMDBClusterBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreatePSMDBClusterDefault ¶
type CreatePSMDBClusterDefault struct { Payload *CreatePSMDBClusterDefaultBody // contains filtered or unexported fields }
CreatePSMDBClusterDefault handles this case with default header values.
An unexpected error response.
func NewCreatePSMDBClusterDefault ¶
func NewCreatePSMDBClusterDefault(code int) *CreatePSMDBClusterDefault
NewCreatePSMDBClusterDefault creates a CreatePSMDBClusterDefault with default headers values
func (*CreatePSMDBClusterDefault) Code ¶
func (o *CreatePSMDBClusterDefault) Code() int
Code gets the status code for the create PSMDB cluster default response
func (*CreatePSMDBClusterDefault) Error ¶
func (o *CreatePSMDBClusterDefault) Error() string
func (*CreatePSMDBClusterDefault) GetPayload ¶
func (o *CreatePSMDBClusterDefault) GetPayload() *CreatePSMDBClusterDefaultBody
type CreatePSMDBClusterDefaultBody ¶
type CreatePSMDBClusterDefaultBody struct { // error Error string `json:"error,omitempty"` // code Code int32 `json:"code,omitempty"` // message Message string `json:"message,omitempty"` // details Details []*DetailsItems0 `json:"details"` }
CreatePSMDBClusterDefaultBody create PSMDB cluster default body swagger:model CreatePSMDBClusterDefaultBody
func (*CreatePSMDBClusterDefaultBody) MarshalBinary ¶
func (o *CreatePSMDBClusterDefaultBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreatePSMDBClusterDefaultBody) UnmarshalBinary ¶
func (o *CreatePSMDBClusterDefaultBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreatePSMDBClusterOK ¶
type CreatePSMDBClusterOK struct {
Payload interface{}
}
CreatePSMDBClusterOK handles this case with default header values.
A successful response.
func NewCreatePSMDBClusterOK ¶
func NewCreatePSMDBClusterOK() *CreatePSMDBClusterOK
NewCreatePSMDBClusterOK creates a CreatePSMDBClusterOK with default headers values
func (*CreatePSMDBClusterOK) Error ¶
func (o *CreatePSMDBClusterOK) Error() string
func (*CreatePSMDBClusterOK) GetPayload ¶
func (o *CreatePSMDBClusterOK) GetPayload() interface{}
type CreatePSMDBClusterParams ¶
type CreatePSMDBClusterParams struct { /*Body*/ Body CreatePSMDBClusterBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreatePSMDBClusterParams contains all the parameters to send to the API endpoint for the create PSMDB cluster operation typically these are written to a http.Request
func NewCreatePSMDBClusterParams ¶
func NewCreatePSMDBClusterParams() *CreatePSMDBClusterParams
NewCreatePSMDBClusterParams creates a new CreatePSMDBClusterParams object with the default values initialized.
func NewCreatePSMDBClusterParamsWithContext ¶
func NewCreatePSMDBClusterParamsWithContext(ctx context.Context) *CreatePSMDBClusterParams
NewCreatePSMDBClusterParamsWithContext creates a new CreatePSMDBClusterParams object with the default values initialized, and the ability to set a context for a request
func NewCreatePSMDBClusterParamsWithHTTPClient ¶
func NewCreatePSMDBClusterParamsWithHTTPClient(client *http.Client) *CreatePSMDBClusterParams
NewCreatePSMDBClusterParamsWithHTTPClient creates a new CreatePSMDBClusterParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCreatePSMDBClusterParamsWithTimeout ¶
func NewCreatePSMDBClusterParamsWithTimeout(timeout time.Duration) *CreatePSMDBClusterParams
NewCreatePSMDBClusterParamsWithTimeout creates a new CreatePSMDBClusterParams object with the default values initialized, and the ability to set a timeout on a request
func (*CreatePSMDBClusterParams) SetBody ¶
func (o *CreatePSMDBClusterParams) SetBody(body CreatePSMDBClusterBody)
SetBody adds the body to the create PSMDB cluster params
func (*CreatePSMDBClusterParams) SetContext ¶
func (o *CreatePSMDBClusterParams) SetContext(ctx context.Context)
SetContext adds the context to the create PSMDB cluster params
func (*CreatePSMDBClusterParams) SetHTTPClient ¶
func (o *CreatePSMDBClusterParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create PSMDB cluster params
func (*CreatePSMDBClusterParams) SetTimeout ¶
func (o *CreatePSMDBClusterParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create PSMDB cluster params
func (*CreatePSMDBClusterParams) WithBody ¶
func (o *CreatePSMDBClusterParams) WithBody(body CreatePSMDBClusterBody) *CreatePSMDBClusterParams
WithBody adds the body to the create PSMDB cluster params
func (*CreatePSMDBClusterParams) WithContext ¶
func (o *CreatePSMDBClusterParams) WithContext(ctx context.Context) *CreatePSMDBClusterParams
WithContext adds the context to the create PSMDB cluster params
func (*CreatePSMDBClusterParams) WithHTTPClient ¶
func (o *CreatePSMDBClusterParams) WithHTTPClient(client *http.Client) *CreatePSMDBClusterParams
WithHTTPClient adds the HTTPClient to the create PSMDB cluster params
func (*CreatePSMDBClusterParams) WithTimeout ¶
func (o *CreatePSMDBClusterParams) WithTimeout(timeout time.Duration) *CreatePSMDBClusterParams
WithTimeout adds the timeout to the create PSMDB cluster params
func (*CreatePSMDBClusterParams) WriteToRequest ¶
func (o *CreatePSMDBClusterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreatePSMDBClusterParamsBodyParams ¶
type CreatePSMDBClusterParamsBodyParams struct { // Cluster size. ClusterSize int32 `json:"cluster_size,omitempty"` // replicaset Replicaset *CreatePSMDBClusterParamsBodyParamsReplicaset `json:"replicaset,omitempty"` }
CreatePSMDBClusterParamsBodyParams PSMDBClusterParams represents PSMDB cluster parameters that can be updated. swagger:model CreatePSMDBClusterParamsBodyParams
func (*CreatePSMDBClusterParamsBodyParams) MarshalBinary ¶
func (o *CreatePSMDBClusterParamsBodyParams) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreatePSMDBClusterParamsBodyParams) UnmarshalBinary ¶
func (o *CreatePSMDBClusterParamsBodyParams) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreatePSMDBClusterParamsBodyParamsReplicaset ¶
type CreatePSMDBClusterParamsBodyParamsReplicaset struct { // Disk size in bytes. DiskSize string `json:"disk_size,omitempty"` // compute resources ComputeResources *CreatePSMDBClusterParamsBodyParamsReplicasetComputeResources `json:"compute_resources,omitempty"` }
CreatePSMDBClusterParamsBodyParamsReplicaset ReplicaSet container parameters. // TODO Do not use inner messages in all public APIs (for consistency). swagger:model CreatePSMDBClusterParamsBodyParamsReplicaset
func (*CreatePSMDBClusterParamsBodyParamsReplicaset) MarshalBinary ¶
func (o *CreatePSMDBClusterParamsBodyParamsReplicaset) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreatePSMDBClusterParamsBodyParamsReplicaset) UnmarshalBinary ¶
func (o *CreatePSMDBClusterParamsBodyParamsReplicaset) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreatePSMDBClusterParamsBodyParamsReplicasetComputeResources ¶
type CreatePSMDBClusterParamsBodyParamsReplicasetComputeResources struct { // CPUs in milliCPUs; 1000m = 1 vCPU. CPUm int32 `json:"cpu_m,omitempty"` // Memory in bytes. MemoryBytes string `json:"memory_bytes,omitempty"` }
CreatePSMDBClusterParamsBodyParamsReplicasetComputeResources ComputeResources represents container computer resources requests or limits. swagger:model CreatePSMDBClusterParamsBodyParamsReplicasetComputeResources
func (*CreatePSMDBClusterParamsBodyParamsReplicasetComputeResources) MarshalBinary ¶
func (o *CreatePSMDBClusterParamsBodyParamsReplicasetComputeResources) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreatePSMDBClusterParamsBodyParamsReplicasetComputeResources) UnmarshalBinary ¶
func (o *CreatePSMDBClusterParamsBodyParamsReplicasetComputeResources) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreatePSMDBClusterReader ¶
type CreatePSMDBClusterReader struct {
// contains filtered or unexported fields
}
CreatePSMDBClusterReader is a Reader for the CreatePSMDBCluster structure.
func (*CreatePSMDBClusterReader) ReadResponse ¶
func (o *CreatePSMDBClusterReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeletePSMDBClusterBody ¶
type DeletePSMDBClusterBody struct { // Kubernetes cluster name. KubernetesClusterName string `json:"kubernetes_cluster_name,omitempty"` // PSMDB cluster name. Name string `json:"name,omitempty"` }
DeletePSMDBClusterBody delete PSMDB cluster body swagger:model DeletePSMDBClusterBody
func (*DeletePSMDBClusterBody) MarshalBinary ¶
func (o *DeletePSMDBClusterBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeletePSMDBClusterBody) UnmarshalBinary ¶
func (o *DeletePSMDBClusterBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DeletePSMDBClusterDefault ¶
type DeletePSMDBClusterDefault struct { Payload *DeletePSMDBClusterDefaultBody // contains filtered or unexported fields }
DeletePSMDBClusterDefault handles this case with default header values.
An unexpected error response.
func NewDeletePSMDBClusterDefault ¶
func NewDeletePSMDBClusterDefault(code int) *DeletePSMDBClusterDefault
NewDeletePSMDBClusterDefault creates a DeletePSMDBClusterDefault with default headers values
func (*DeletePSMDBClusterDefault) Code ¶
func (o *DeletePSMDBClusterDefault) Code() int
Code gets the status code for the delete PSMDB cluster default response
func (*DeletePSMDBClusterDefault) Error ¶
func (o *DeletePSMDBClusterDefault) Error() string
func (*DeletePSMDBClusterDefault) GetPayload ¶
func (o *DeletePSMDBClusterDefault) GetPayload() *DeletePSMDBClusterDefaultBody
type DeletePSMDBClusterDefaultBody ¶
type DeletePSMDBClusterDefaultBody struct { // error Error string `json:"error,omitempty"` // code Code int32 `json:"code,omitempty"` // message Message string `json:"message,omitempty"` // details Details []*DetailsItems0 `json:"details"` }
DeletePSMDBClusterDefaultBody delete PSMDB cluster default body swagger:model DeletePSMDBClusterDefaultBody
func (*DeletePSMDBClusterDefaultBody) MarshalBinary ¶
func (o *DeletePSMDBClusterDefaultBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeletePSMDBClusterDefaultBody) UnmarshalBinary ¶
func (o *DeletePSMDBClusterDefaultBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DeletePSMDBClusterOK ¶
type DeletePSMDBClusterOK struct {
Payload interface{}
}
DeletePSMDBClusterOK handles this case with default header values.
A successful response.
func NewDeletePSMDBClusterOK ¶
func NewDeletePSMDBClusterOK() *DeletePSMDBClusterOK
NewDeletePSMDBClusterOK creates a DeletePSMDBClusterOK with default headers values
func (*DeletePSMDBClusterOK) Error ¶
func (o *DeletePSMDBClusterOK) Error() string
func (*DeletePSMDBClusterOK) GetPayload ¶
func (o *DeletePSMDBClusterOK) GetPayload() interface{}
type DeletePSMDBClusterParams ¶
type DeletePSMDBClusterParams struct { /*Body*/ Body DeletePSMDBClusterBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeletePSMDBClusterParams contains all the parameters to send to the API endpoint for the delete PSMDB cluster operation typically these are written to a http.Request
func NewDeletePSMDBClusterParams ¶
func NewDeletePSMDBClusterParams() *DeletePSMDBClusterParams
NewDeletePSMDBClusterParams creates a new DeletePSMDBClusterParams object with the default values initialized.
func NewDeletePSMDBClusterParamsWithContext ¶
func NewDeletePSMDBClusterParamsWithContext(ctx context.Context) *DeletePSMDBClusterParams
NewDeletePSMDBClusterParamsWithContext creates a new DeletePSMDBClusterParams object with the default values initialized, and the ability to set a context for a request
func NewDeletePSMDBClusterParamsWithHTTPClient ¶
func NewDeletePSMDBClusterParamsWithHTTPClient(client *http.Client) *DeletePSMDBClusterParams
NewDeletePSMDBClusterParamsWithHTTPClient creates a new DeletePSMDBClusterParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeletePSMDBClusterParamsWithTimeout ¶
func NewDeletePSMDBClusterParamsWithTimeout(timeout time.Duration) *DeletePSMDBClusterParams
NewDeletePSMDBClusterParamsWithTimeout creates a new DeletePSMDBClusterParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeletePSMDBClusterParams) SetBody ¶
func (o *DeletePSMDBClusterParams) SetBody(body DeletePSMDBClusterBody)
SetBody adds the body to the delete PSMDB cluster params
func (*DeletePSMDBClusterParams) SetContext ¶
func (o *DeletePSMDBClusterParams) SetContext(ctx context.Context)
SetContext adds the context to the delete PSMDB cluster params
func (*DeletePSMDBClusterParams) SetHTTPClient ¶
func (o *DeletePSMDBClusterParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete PSMDB cluster params
func (*DeletePSMDBClusterParams) SetTimeout ¶
func (o *DeletePSMDBClusterParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete PSMDB cluster params
func (*DeletePSMDBClusterParams) WithBody ¶
func (o *DeletePSMDBClusterParams) WithBody(body DeletePSMDBClusterBody) *DeletePSMDBClusterParams
WithBody adds the body to the delete PSMDB cluster params
func (*DeletePSMDBClusterParams) WithContext ¶
func (o *DeletePSMDBClusterParams) WithContext(ctx context.Context) *DeletePSMDBClusterParams
WithContext adds the context to the delete PSMDB cluster params
func (*DeletePSMDBClusterParams) WithHTTPClient ¶
func (o *DeletePSMDBClusterParams) WithHTTPClient(client *http.Client) *DeletePSMDBClusterParams
WithHTTPClient adds the HTTPClient to the delete PSMDB cluster params
func (*DeletePSMDBClusterParams) WithTimeout ¶
func (o *DeletePSMDBClusterParams) WithTimeout(timeout time.Duration) *DeletePSMDBClusterParams
WithTimeout adds the timeout to the delete PSMDB cluster params
func (*DeletePSMDBClusterParams) WriteToRequest ¶
func (o *DeletePSMDBClusterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeletePSMDBClusterReader ¶
type DeletePSMDBClusterReader struct {
// contains filtered or unexported fields
}
DeletePSMDBClusterReader is a Reader for the DeletePSMDBCluster structure.
func (*DeletePSMDBClusterReader) ReadResponse ¶
func (o *DeletePSMDBClusterReader) 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 GetPSMDBClusterCredentialsBody ¶
type GetPSMDBClusterCredentialsBody struct { // Kubernetes cluster name. KubernetesClusterName string `json:"kubernetes_cluster_name,omitempty"` // PSMDB cluster name. Name string `json:"name,omitempty"` }
GetPSMDBClusterCredentialsBody get PSMDB cluster credentials body swagger:model GetPSMDBClusterCredentialsBody
func (*GetPSMDBClusterCredentialsBody) MarshalBinary ¶
func (o *GetPSMDBClusterCredentialsBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetPSMDBClusterCredentialsBody) UnmarshalBinary ¶
func (o *GetPSMDBClusterCredentialsBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetPSMDBClusterCredentialsDefault ¶
type GetPSMDBClusterCredentialsDefault struct { Payload *GetPSMDBClusterCredentialsDefaultBody // contains filtered or unexported fields }
GetPSMDBClusterCredentialsDefault handles this case with default header values.
An unexpected error response.
func NewGetPSMDBClusterCredentialsDefault ¶
func NewGetPSMDBClusterCredentialsDefault(code int) *GetPSMDBClusterCredentialsDefault
NewGetPSMDBClusterCredentialsDefault creates a GetPSMDBClusterCredentialsDefault with default headers values
func (*GetPSMDBClusterCredentialsDefault) Code ¶
func (o *GetPSMDBClusterCredentialsDefault) Code() int
Code gets the status code for the get PSMDB cluster credentials default response
func (*GetPSMDBClusterCredentialsDefault) Error ¶
func (o *GetPSMDBClusterCredentialsDefault) Error() string
func (*GetPSMDBClusterCredentialsDefault) GetPayload ¶
func (o *GetPSMDBClusterCredentialsDefault) GetPayload() *GetPSMDBClusterCredentialsDefaultBody
type GetPSMDBClusterCredentialsDefaultBody ¶
type GetPSMDBClusterCredentialsDefaultBody struct { // error Error string `json:"error,omitempty"` // code Code int32 `json:"code,omitempty"` // message Message string `json:"message,omitempty"` // details Details []*DetailsItems0 `json:"details"` }
GetPSMDBClusterCredentialsDefaultBody get PSMDB cluster credentials default body swagger:model GetPSMDBClusterCredentialsDefaultBody
func (*GetPSMDBClusterCredentialsDefaultBody) MarshalBinary ¶
func (o *GetPSMDBClusterCredentialsDefaultBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetPSMDBClusterCredentialsDefaultBody) UnmarshalBinary ¶
func (o *GetPSMDBClusterCredentialsDefaultBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetPSMDBClusterCredentialsOK ¶
type GetPSMDBClusterCredentialsOK struct {
Payload *GetPSMDBClusterCredentialsOKBody
}
GetPSMDBClusterCredentialsOK handles this case with default header values.
A successful response.
func NewGetPSMDBClusterCredentialsOK ¶
func NewGetPSMDBClusterCredentialsOK() *GetPSMDBClusterCredentialsOK
NewGetPSMDBClusterCredentialsOK creates a GetPSMDBClusterCredentialsOK with default headers values
func (*GetPSMDBClusterCredentialsOK) Error ¶
func (o *GetPSMDBClusterCredentialsOK) Error() string
func (*GetPSMDBClusterCredentialsOK) GetPayload ¶
func (o *GetPSMDBClusterCredentialsOK) GetPayload() *GetPSMDBClusterCredentialsOKBody
type GetPSMDBClusterCredentialsOKBody ¶
type GetPSMDBClusterCredentialsOKBody struct { // connection credentials ConnectionCredentials *GetPSMDBClusterCredentialsOKBodyConnectionCredentials `json:"connection_credentials,omitempty"` }
GetPSMDBClusterCredentialsOKBody get PSMDB cluster credentials OK body swagger:model GetPSMDBClusterCredentialsOKBody
func (*GetPSMDBClusterCredentialsOKBody) MarshalBinary ¶
func (o *GetPSMDBClusterCredentialsOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetPSMDBClusterCredentialsOKBody) UnmarshalBinary ¶
func (o *GetPSMDBClusterCredentialsOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetPSMDBClusterCredentialsOKBodyConnectionCredentials ¶
type GetPSMDBClusterCredentialsOKBodyConnectionCredentials struct { // MongoDB username. Username string `json:"username,omitempty"` // MongoDB password. Password string `json:"password,omitempty"` // MongoDB host. Host string `json:"host,omitempty"` // MongoDB port. Port int32 `json:"port,omitempty"` // Replicaset name. Replicaset string `json:"replicaset,omitempty"` }
GetPSMDBClusterCredentialsOKBodyConnectionCredentials PSMDBCredentials is a credentials to connect to PSMDB. // TODO Do not use inner messages in all public APIs (for consistency). swagger:model GetPSMDBClusterCredentialsOKBodyConnectionCredentials
func (*GetPSMDBClusterCredentialsOKBodyConnectionCredentials) MarshalBinary ¶
func (o *GetPSMDBClusterCredentialsOKBodyConnectionCredentials) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetPSMDBClusterCredentialsOKBodyConnectionCredentials) UnmarshalBinary ¶
func (o *GetPSMDBClusterCredentialsOKBodyConnectionCredentials) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetPSMDBClusterCredentialsParams ¶
type GetPSMDBClusterCredentialsParams struct { /*Body*/ Body GetPSMDBClusterCredentialsBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetPSMDBClusterCredentialsParams contains all the parameters to send to the API endpoint for the get PSMDB cluster credentials operation typically these are written to a http.Request
func NewGetPSMDBClusterCredentialsParams ¶
func NewGetPSMDBClusterCredentialsParams() *GetPSMDBClusterCredentialsParams
NewGetPSMDBClusterCredentialsParams creates a new GetPSMDBClusterCredentialsParams object with the default values initialized.
func NewGetPSMDBClusterCredentialsParamsWithContext ¶
func NewGetPSMDBClusterCredentialsParamsWithContext(ctx context.Context) *GetPSMDBClusterCredentialsParams
NewGetPSMDBClusterCredentialsParamsWithContext creates a new GetPSMDBClusterCredentialsParams object with the default values initialized, and the ability to set a context for a request
func NewGetPSMDBClusterCredentialsParamsWithHTTPClient ¶
func NewGetPSMDBClusterCredentialsParamsWithHTTPClient(client *http.Client) *GetPSMDBClusterCredentialsParams
NewGetPSMDBClusterCredentialsParamsWithHTTPClient creates a new GetPSMDBClusterCredentialsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetPSMDBClusterCredentialsParamsWithTimeout ¶
func NewGetPSMDBClusterCredentialsParamsWithTimeout(timeout time.Duration) *GetPSMDBClusterCredentialsParams
NewGetPSMDBClusterCredentialsParamsWithTimeout creates a new GetPSMDBClusterCredentialsParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetPSMDBClusterCredentialsParams) SetBody ¶
func (o *GetPSMDBClusterCredentialsParams) SetBody(body GetPSMDBClusterCredentialsBody)
SetBody adds the body to the get PSMDB cluster credentials params
func (*GetPSMDBClusterCredentialsParams) SetContext ¶
func (o *GetPSMDBClusterCredentialsParams) SetContext(ctx context.Context)
SetContext adds the context to the get PSMDB cluster credentials params
func (*GetPSMDBClusterCredentialsParams) SetHTTPClient ¶
func (o *GetPSMDBClusterCredentialsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get PSMDB cluster credentials params
func (*GetPSMDBClusterCredentialsParams) SetTimeout ¶
func (o *GetPSMDBClusterCredentialsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get PSMDB cluster credentials params
func (*GetPSMDBClusterCredentialsParams) WithBody ¶
func (o *GetPSMDBClusterCredentialsParams) WithBody(body GetPSMDBClusterCredentialsBody) *GetPSMDBClusterCredentialsParams
WithBody adds the body to the get PSMDB cluster credentials params
func (*GetPSMDBClusterCredentialsParams) WithContext ¶
func (o *GetPSMDBClusterCredentialsParams) WithContext(ctx context.Context) *GetPSMDBClusterCredentialsParams
WithContext adds the context to the get PSMDB cluster credentials params
func (*GetPSMDBClusterCredentialsParams) WithHTTPClient ¶
func (o *GetPSMDBClusterCredentialsParams) WithHTTPClient(client *http.Client) *GetPSMDBClusterCredentialsParams
WithHTTPClient adds the HTTPClient to the get PSMDB cluster credentials params
func (*GetPSMDBClusterCredentialsParams) WithTimeout ¶
func (o *GetPSMDBClusterCredentialsParams) WithTimeout(timeout time.Duration) *GetPSMDBClusterCredentialsParams
WithTimeout adds the timeout to the get PSMDB cluster credentials params
func (*GetPSMDBClusterCredentialsParams) WriteToRequest ¶
func (o *GetPSMDBClusterCredentialsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetPSMDBClusterCredentialsReader ¶
type GetPSMDBClusterCredentialsReader struct {
// contains filtered or unexported fields
}
GetPSMDBClusterCredentialsReader is a Reader for the GetPSMDBClusterCredentials structure.
func (*GetPSMDBClusterCredentialsReader) ReadResponse ¶
func (o *GetPSMDBClusterCredentialsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListPSMDBClustersBody ¶
type ListPSMDBClustersBody struct { // Kubernetes cluster name. KubernetesClusterName string `json:"kubernetes_cluster_name,omitempty"` }
ListPSMDBClustersBody list PSMDB clusters body swagger:model ListPSMDBClustersBody
func (*ListPSMDBClustersBody) MarshalBinary ¶
func (o *ListPSMDBClustersBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListPSMDBClustersBody) UnmarshalBinary ¶
func (o *ListPSMDBClustersBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListPSMDBClustersDefault ¶
type ListPSMDBClustersDefault struct { Payload *ListPSMDBClustersDefaultBody // contains filtered or unexported fields }
ListPSMDBClustersDefault handles this case with default header values.
An unexpected error response.
func NewListPSMDBClustersDefault ¶
func NewListPSMDBClustersDefault(code int) *ListPSMDBClustersDefault
NewListPSMDBClustersDefault creates a ListPSMDBClustersDefault with default headers values
func (*ListPSMDBClustersDefault) Code ¶
func (o *ListPSMDBClustersDefault) Code() int
Code gets the status code for the list PSMDB clusters default response
func (*ListPSMDBClustersDefault) Error ¶
func (o *ListPSMDBClustersDefault) Error() string
func (*ListPSMDBClustersDefault) GetPayload ¶
func (o *ListPSMDBClustersDefault) GetPayload() *ListPSMDBClustersDefaultBody
type ListPSMDBClustersDefaultBody ¶
type ListPSMDBClustersDefaultBody struct { // error Error string `json:"error,omitempty"` // code Code int32 `json:"code,omitempty"` // message Message string `json:"message,omitempty"` // details Details []*DetailsItems0 `json:"details"` }
ListPSMDBClustersDefaultBody list PSMDB clusters default body swagger:model ListPSMDBClustersDefaultBody
func (*ListPSMDBClustersDefaultBody) MarshalBinary ¶
func (o *ListPSMDBClustersDefaultBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListPSMDBClustersDefaultBody) UnmarshalBinary ¶
func (o *ListPSMDBClustersDefaultBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListPSMDBClustersOK ¶
type ListPSMDBClustersOK struct {
Payload *ListPSMDBClustersOKBody
}
ListPSMDBClustersOK handles this case with default header values.
A successful response.
func NewListPSMDBClustersOK ¶
func NewListPSMDBClustersOK() *ListPSMDBClustersOK
NewListPSMDBClustersOK creates a ListPSMDBClustersOK with default headers values
func (*ListPSMDBClustersOK) Error ¶
func (o *ListPSMDBClustersOK) Error() string
func (*ListPSMDBClustersOK) GetPayload ¶
func (o *ListPSMDBClustersOK) GetPayload() *ListPSMDBClustersOKBody
type ListPSMDBClustersOKBody ¶
type ListPSMDBClustersOKBody struct { // PSMDB clusters information. Clusters []*ClustersItems0 `json:"clusters"` }
ListPSMDBClustersOKBody list PSMDB clusters OK body swagger:model ListPSMDBClustersOKBody
func (*ListPSMDBClustersOKBody) MarshalBinary ¶
func (o *ListPSMDBClustersOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListPSMDBClustersOKBody) UnmarshalBinary ¶
func (o *ListPSMDBClustersOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListPSMDBClustersParams ¶
type ListPSMDBClustersParams struct { /*Body*/ Body ListPSMDBClustersBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListPSMDBClustersParams contains all the parameters to send to the API endpoint for the list PSMDB clusters operation typically these are written to a http.Request
func NewListPSMDBClustersParams ¶
func NewListPSMDBClustersParams() *ListPSMDBClustersParams
NewListPSMDBClustersParams creates a new ListPSMDBClustersParams object with the default values initialized.
func NewListPSMDBClustersParamsWithContext ¶
func NewListPSMDBClustersParamsWithContext(ctx context.Context) *ListPSMDBClustersParams
NewListPSMDBClustersParamsWithContext creates a new ListPSMDBClustersParams object with the default values initialized, and the ability to set a context for a request
func NewListPSMDBClustersParamsWithHTTPClient ¶
func NewListPSMDBClustersParamsWithHTTPClient(client *http.Client) *ListPSMDBClustersParams
NewListPSMDBClustersParamsWithHTTPClient creates a new ListPSMDBClustersParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewListPSMDBClustersParamsWithTimeout ¶
func NewListPSMDBClustersParamsWithTimeout(timeout time.Duration) *ListPSMDBClustersParams
NewListPSMDBClustersParamsWithTimeout creates a new ListPSMDBClustersParams object with the default values initialized, and the ability to set a timeout on a request
func (*ListPSMDBClustersParams) SetBody ¶
func (o *ListPSMDBClustersParams) SetBody(body ListPSMDBClustersBody)
SetBody adds the body to the list PSMDB clusters params
func (*ListPSMDBClustersParams) SetContext ¶
func (o *ListPSMDBClustersParams) SetContext(ctx context.Context)
SetContext adds the context to the list PSMDB clusters params
func (*ListPSMDBClustersParams) SetHTTPClient ¶
func (o *ListPSMDBClustersParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list PSMDB clusters params
func (*ListPSMDBClustersParams) SetTimeout ¶
func (o *ListPSMDBClustersParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list PSMDB clusters params
func (*ListPSMDBClustersParams) WithBody ¶
func (o *ListPSMDBClustersParams) WithBody(body ListPSMDBClustersBody) *ListPSMDBClustersParams
WithBody adds the body to the list PSMDB clusters params
func (*ListPSMDBClustersParams) WithContext ¶
func (o *ListPSMDBClustersParams) WithContext(ctx context.Context) *ListPSMDBClustersParams
WithContext adds the context to the list PSMDB clusters params
func (*ListPSMDBClustersParams) WithHTTPClient ¶
func (o *ListPSMDBClustersParams) WithHTTPClient(client *http.Client) *ListPSMDBClustersParams
WithHTTPClient adds the HTTPClient to the list PSMDB clusters params
func (*ListPSMDBClustersParams) WithTimeout ¶
func (o *ListPSMDBClustersParams) WithTimeout(timeout time.Duration) *ListPSMDBClustersParams
WithTimeout adds the timeout to the list PSMDB clusters params
func (*ListPSMDBClustersParams) WriteToRequest ¶
func (o *ListPSMDBClustersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListPSMDBClustersReader ¶
type ListPSMDBClustersReader struct {
// contains filtered or unexported fields
}
ListPSMDBClustersReader is a Reader for the ListPSMDBClusters structure.
func (*ListPSMDBClustersReader) ReadResponse ¶
func (o *ListPSMDBClustersReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RestartPSMDBClusterBody ¶
type RestartPSMDBClusterBody struct { // Kubernetes cluster name. KubernetesClusterName string `json:"kubernetes_cluster_name,omitempty"` // PSMDB cluster name. Name string `json:"name,omitempty"` }
RestartPSMDBClusterBody restart PSMDB cluster body swagger:model RestartPSMDBClusterBody
func (*RestartPSMDBClusterBody) MarshalBinary ¶
func (o *RestartPSMDBClusterBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RestartPSMDBClusterBody) UnmarshalBinary ¶
func (o *RestartPSMDBClusterBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RestartPSMDBClusterDefault ¶
type RestartPSMDBClusterDefault struct { Payload *RestartPSMDBClusterDefaultBody // contains filtered or unexported fields }
RestartPSMDBClusterDefault handles this case with default header values.
An unexpected error response.
func NewRestartPSMDBClusterDefault ¶
func NewRestartPSMDBClusterDefault(code int) *RestartPSMDBClusterDefault
NewRestartPSMDBClusterDefault creates a RestartPSMDBClusterDefault with default headers values
func (*RestartPSMDBClusterDefault) Code ¶
func (o *RestartPSMDBClusterDefault) Code() int
Code gets the status code for the restart PSMDB cluster default response
func (*RestartPSMDBClusterDefault) Error ¶
func (o *RestartPSMDBClusterDefault) Error() string
func (*RestartPSMDBClusterDefault) GetPayload ¶
func (o *RestartPSMDBClusterDefault) GetPayload() *RestartPSMDBClusterDefaultBody
type RestartPSMDBClusterDefaultBody ¶
type RestartPSMDBClusterDefaultBody struct { // error Error string `json:"error,omitempty"` // code Code int32 `json:"code,omitempty"` // message Message string `json:"message,omitempty"` // details Details []*DetailsItems0 `json:"details"` }
RestartPSMDBClusterDefaultBody restart PSMDB cluster default body swagger:model RestartPSMDBClusterDefaultBody
func (*RestartPSMDBClusterDefaultBody) MarshalBinary ¶
func (o *RestartPSMDBClusterDefaultBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RestartPSMDBClusterDefaultBody) UnmarshalBinary ¶
func (o *RestartPSMDBClusterDefaultBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RestartPSMDBClusterOK ¶
type RestartPSMDBClusterOK struct {
Payload interface{}
}
RestartPSMDBClusterOK handles this case with default header values.
A successful response.
func NewRestartPSMDBClusterOK ¶
func NewRestartPSMDBClusterOK() *RestartPSMDBClusterOK
NewRestartPSMDBClusterOK creates a RestartPSMDBClusterOK with default headers values
func (*RestartPSMDBClusterOK) Error ¶
func (o *RestartPSMDBClusterOK) Error() string
func (*RestartPSMDBClusterOK) GetPayload ¶
func (o *RestartPSMDBClusterOK) GetPayload() interface{}
type RestartPSMDBClusterParams ¶
type RestartPSMDBClusterParams struct { /*Body*/ Body RestartPSMDBClusterBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
RestartPSMDBClusterParams contains all the parameters to send to the API endpoint for the restart PSMDB cluster operation typically these are written to a http.Request
func NewRestartPSMDBClusterParams ¶
func NewRestartPSMDBClusterParams() *RestartPSMDBClusterParams
NewRestartPSMDBClusterParams creates a new RestartPSMDBClusterParams object with the default values initialized.
func NewRestartPSMDBClusterParamsWithContext ¶
func NewRestartPSMDBClusterParamsWithContext(ctx context.Context) *RestartPSMDBClusterParams
NewRestartPSMDBClusterParamsWithContext creates a new RestartPSMDBClusterParams object with the default values initialized, and the ability to set a context for a request
func NewRestartPSMDBClusterParamsWithHTTPClient ¶
func NewRestartPSMDBClusterParamsWithHTTPClient(client *http.Client) *RestartPSMDBClusterParams
NewRestartPSMDBClusterParamsWithHTTPClient creates a new RestartPSMDBClusterParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewRestartPSMDBClusterParamsWithTimeout ¶
func NewRestartPSMDBClusterParamsWithTimeout(timeout time.Duration) *RestartPSMDBClusterParams
NewRestartPSMDBClusterParamsWithTimeout creates a new RestartPSMDBClusterParams object with the default values initialized, and the ability to set a timeout on a request
func (*RestartPSMDBClusterParams) SetBody ¶
func (o *RestartPSMDBClusterParams) SetBody(body RestartPSMDBClusterBody)
SetBody adds the body to the restart PSMDB cluster params
func (*RestartPSMDBClusterParams) SetContext ¶
func (o *RestartPSMDBClusterParams) SetContext(ctx context.Context)
SetContext adds the context to the restart PSMDB cluster params
func (*RestartPSMDBClusterParams) SetHTTPClient ¶
func (o *RestartPSMDBClusterParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the restart PSMDB cluster params
func (*RestartPSMDBClusterParams) SetTimeout ¶
func (o *RestartPSMDBClusterParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the restart PSMDB cluster params
func (*RestartPSMDBClusterParams) WithBody ¶
func (o *RestartPSMDBClusterParams) WithBody(body RestartPSMDBClusterBody) *RestartPSMDBClusterParams
WithBody adds the body to the restart PSMDB cluster params
func (*RestartPSMDBClusterParams) WithContext ¶
func (o *RestartPSMDBClusterParams) WithContext(ctx context.Context) *RestartPSMDBClusterParams
WithContext adds the context to the restart PSMDB cluster params
func (*RestartPSMDBClusterParams) WithHTTPClient ¶
func (o *RestartPSMDBClusterParams) WithHTTPClient(client *http.Client) *RestartPSMDBClusterParams
WithHTTPClient adds the HTTPClient to the restart PSMDB cluster params
func (*RestartPSMDBClusterParams) WithTimeout ¶
func (o *RestartPSMDBClusterParams) WithTimeout(timeout time.Duration) *RestartPSMDBClusterParams
WithTimeout adds the timeout to the restart PSMDB cluster params
func (*RestartPSMDBClusterParams) WriteToRequest ¶
func (o *RestartPSMDBClusterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RestartPSMDBClusterReader ¶
type RestartPSMDBClusterReader struct {
// contains filtered or unexported fields
}
RestartPSMDBClusterReader is a Reader for the RestartPSMDBCluster structure.
func (*RestartPSMDBClusterReader) ReadResponse ¶
func (o *RestartPSMDBClusterReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdatePSMDBClusterBody ¶
type UpdatePSMDBClusterBody struct { // Kubernetes cluster name. KubernetesClusterName string `json:"kubernetes_cluster_name,omitempty"` // PSMDB cluster name. Name string `json:"name,omitempty"` // params Params *UpdatePSMDBClusterParamsBodyParams `json:"params,omitempty"` }
UpdatePSMDBClusterBody update PSMDB cluster body swagger:model UpdatePSMDBClusterBody
func (*UpdatePSMDBClusterBody) MarshalBinary ¶
func (o *UpdatePSMDBClusterBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdatePSMDBClusterBody) UnmarshalBinary ¶
func (o *UpdatePSMDBClusterBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdatePSMDBClusterDefault ¶
type UpdatePSMDBClusterDefault struct { Payload *UpdatePSMDBClusterDefaultBody // contains filtered or unexported fields }
UpdatePSMDBClusterDefault handles this case with default header values.
An unexpected error response.
func NewUpdatePSMDBClusterDefault ¶
func NewUpdatePSMDBClusterDefault(code int) *UpdatePSMDBClusterDefault
NewUpdatePSMDBClusterDefault creates a UpdatePSMDBClusterDefault with default headers values
func (*UpdatePSMDBClusterDefault) Code ¶
func (o *UpdatePSMDBClusterDefault) Code() int
Code gets the status code for the update PSMDB cluster default response
func (*UpdatePSMDBClusterDefault) Error ¶
func (o *UpdatePSMDBClusterDefault) Error() string
func (*UpdatePSMDBClusterDefault) GetPayload ¶
func (o *UpdatePSMDBClusterDefault) GetPayload() *UpdatePSMDBClusterDefaultBody
type UpdatePSMDBClusterDefaultBody ¶
type UpdatePSMDBClusterDefaultBody struct { // error Error string `json:"error,omitempty"` // code Code int32 `json:"code,omitempty"` // message Message string `json:"message,omitempty"` // details Details []*DetailsItems0 `json:"details"` }
UpdatePSMDBClusterDefaultBody update PSMDB cluster default body swagger:model UpdatePSMDBClusterDefaultBody
func (*UpdatePSMDBClusterDefaultBody) MarshalBinary ¶
func (o *UpdatePSMDBClusterDefaultBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdatePSMDBClusterDefaultBody) UnmarshalBinary ¶
func (o *UpdatePSMDBClusterDefaultBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdatePSMDBClusterOK ¶
type UpdatePSMDBClusterOK struct {
Payload interface{}
}
UpdatePSMDBClusterOK handles this case with default header values.
A successful response.
func NewUpdatePSMDBClusterOK ¶
func NewUpdatePSMDBClusterOK() *UpdatePSMDBClusterOK
NewUpdatePSMDBClusterOK creates a UpdatePSMDBClusterOK with default headers values
func (*UpdatePSMDBClusterOK) Error ¶
func (o *UpdatePSMDBClusterOK) Error() string
func (*UpdatePSMDBClusterOK) GetPayload ¶
func (o *UpdatePSMDBClusterOK) GetPayload() interface{}
type UpdatePSMDBClusterParams ¶
type UpdatePSMDBClusterParams struct { /*Body*/ Body UpdatePSMDBClusterBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdatePSMDBClusterParams contains all the parameters to send to the API endpoint for the update PSMDB cluster operation typically these are written to a http.Request
func NewUpdatePSMDBClusterParams ¶
func NewUpdatePSMDBClusterParams() *UpdatePSMDBClusterParams
NewUpdatePSMDBClusterParams creates a new UpdatePSMDBClusterParams object with the default values initialized.
func NewUpdatePSMDBClusterParamsWithContext ¶
func NewUpdatePSMDBClusterParamsWithContext(ctx context.Context) *UpdatePSMDBClusterParams
NewUpdatePSMDBClusterParamsWithContext creates a new UpdatePSMDBClusterParams object with the default values initialized, and the ability to set a context for a request
func NewUpdatePSMDBClusterParamsWithHTTPClient ¶
func NewUpdatePSMDBClusterParamsWithHTTPClient(client *http.Client) *UpdatePSMDBClusterParams
NewUpdatePSMDBClusterParamsWithHTTPClient creates a new UpdatePSMDBClusterParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewUpdatePSMDBClusterParamsWithTimeout ¶
func NewUpdatePSMDBClusterParamsWithTimeout(timeout time.Duration) *UpdatePSMDBClusterParams
NewUpdatePSMDBClusterParamsWithTimeout creates a new UpdatePSMDBClusterParams object with the default values initialized, and the ability to set a timeout on a request
func (*UpdatePSMDBClusterParams) SetBody ¶
func (o *UpdatePSMDBClusterParams) SetBody(body UpdatePSMDBClusterBody)
SetBody adds the body to the update PSMDB cluster params
func (*UpdatePSMDBClusterParams) SetContext ¶
func (o *UpdatePSMDBClusterParams) SetContext(ctx context.Context)
SetContext adds the context to the update PSMDB cluster params
func (*UpdatePSMDBClusterParams) SetHTTPClient ¶
func (o *UpdatePSMDBClusterParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update PSMDB cluster params
func (*UpdatePSMDBClusterParams) SetTimeout ¶
func (o *UpdatePSMDBClusterParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update PSMDB cluster params
func (*UpdatePSMDBClusterParams) WithBody ¶
func (o *UpdatePSMDBClusterParams) WithBody(body UpdatePSMDBClusterBody) *UpdatePSMDBClusterParams
WithBody adds the body to the update PSMDB cluster params
func (*UpdatePSMDBClusterParams) WithContext ¶
func (o *UpdatePSMDBClusterParams) WithContext(ctx context.Context) *UpdatePSMDBClusterParams
WithContext adds the context to the update PSMDB cluster params
func (*UpdatePSMDBClusterParams) WithHTTPClient ¶
func (o *UpdatePSMDBClusterParams) WithHTTPClient(client *http.Client) *UpdatePSMDBClusterParams
WithHTTPClient adds the HTTPClient to the update PSMDB cluster params
func (*UpdatePSMDBClusterParams) WithTimeout ¶
func (o *UpdatePSMDBClusterParams) WithTimeout(timeout time.Duration) *UpdatePSMDBClusterParams
WithTimeout adds the timeout to the update PSMDB cluster params
func (*UpdatePSMDBClusterParams) WriteToRequest ¶
func (o *UpdatePSMDBClusterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdatePSMDBClusterParamsBodyParams ¶
type UpdatePSMDBClusterParamsBodyParams 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"` // replicaset Replicaset *UpdatePSMDBClusterParamsBodyParamsReplicaset `json:"replicaset,omitempty"` }
UpdatePSMDBClusterParamsBodyParams UpdatePSMDBClusterParams represents PSMDB cluster parameters that can be updated. swagger:model UpdatePSMDBClusterParamsBodyParams
func (*UpdatePSMDBClusterParamsBodyParams) MarshalBinary ¶
func (o *UpdatePSMDBClusterParamsBodyParams) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdatePSMDBClusterParamsBodyParams) UnmarshalBinary ¶
func (o *UpdatePSMDBClusterParamsBodyParams) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdatePSMDBClusterParamsBodyParamsReplicaset ¶
type UpdatePSMDBClusterParamsBodyParamsReplicaset struct { // compute resources ComputeResources *UpdatePSMDBClusterParamsBodyParamsReplicasetComputeResources `json:"compute_resources,omitempty"` }
UpdatePSMDBClusterParamsBodyParamsReplicaset ReplicaSet container parameters. swagger:model UpdatePSMDBClusterParamsBodyParamsReplicaset
func (*UpdatePSMDBClusterParamsBodyParamsReplicaset) MarshalBinary ¶
func (o *UpdatePSMDBClusterParamsBodyParamsReplicaset) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdatePSMDBClusterParamsBodyParamsReplicaset) UnmarshalBinary ¶
func (o *UpdatePSMDBClusterParamsBodyParamsReplicaset) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdatePSMDBClusterParamsBodyParamsReplicasetComputeResources ¶
type UpdatePSMDBClusterParamsBodyParamsReplicasetComputeResources struct { // CPUs in milliCPUs; 1000m = 1 vCPU. CPUm int32 `json:"cpu_m,omitempty"` // Memory in bytes. MemoryBytes string `json:"memory_bytes,omitempty"` }
UpdatePSMDBClusterParamsBodyParamsReplicasetComputeResources ComputeResources represents container computer resources requests or limits. swagger:model UpdatePSMDBClusterParamsBodyParamsReplicasetComputeResources
func (*UpdatePSMDBClusterParamsBodyParamsReplicasetComputeResources) MarshalBinary ¶
func (o *UpdatePSMDBClusterParamsBodyParamsReplicasetComputeResources) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdatePSMDBClusterParamsBodyParamsReplicasetComputeResources) UnmarshalBinary ¶
func (o *UpdatePSMDBClusterParamsBodyParamsReplicasetComputeResources) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdatePSMDBClusterReader ¶
type UpdatePSMDBClusterReader struct {
// contains filtered or unexported fields
}
UpdatePSMDBClusterReader is a Reader for the UpdatePSMDBCluster structure.
func (*UpdatePSMDBClusterReader) ReadResponse ¶
func (o *UpdatePSMDBClusterReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- create_psmdb_cluster_parameters.go
- create_psmdb_cluster_responses.go
- delete_psmdb_cluster_parameters.go
- delete_psmdb_cluster_responses.go
- get_psmdb_cluster_credentials_parameters.go
- get_psmdb_cluster_credentials_responses.go
- list_psmdb_clusters_parameters.go
- list_psmdb_clusters_responses.go
- psmdb_cluster_client.go
- restart_psmdb_cluster_parameters.go
- restart_psmdb_cluster_responses.go
- update_psmdb_cluster_parameters.go
- update_psmdb_cluster_responses.go