Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateXClusterConfig(params *CreateXClusterConfigParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateXClusterConfigOK, error)
- func (a *Client) DeleteXClusterConfig(params *DeleteXClusterConfigParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteXClusterConfigOK, error)
- func (a *Client) EditXClusterConfig(params *EditXClusterConfigParams, authInfo runtime.ClientAuthInfoWriter, ...) (*EditXClusterConfigOK, error)
- func (a *Client) GetXClusterConfig(params *GetXClusterConfigParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetXClusterConfigOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) SyncXClusterConfig(params *SyncXClusterConfigParams, authInfo runtime.ClientAuthInfoWriter, ...) (*SyncXClusterConfigOK, error)
- type ClientOption
- type ClientService
- type CreateXClusterConfigOK
- type CreateXClusterConfigParams
- func NewCreateXClusterConfigParams() *CreateXClusterConfigParams
- func NewCreateXClusterConfigParamsWithContext(ctx context.Context) *CreateXClusterConfigParams
- func NewCreateXClusterConfigParamsWithHTTPClient(client *http.Client) *CreateXClusterConfigParams
- func NewCreateXClusterConfigParamsWithTimeout(timeout time.Duration) *CreateXClusterConfigParams
- func (o *CreateXClusterConfigParams) SetCUUID(cUUID strfmt.UUID)
- func (o *CreateXClusterConfigParams) SetContext(ctx context.Context)
- func (o *CreateXClusterConfigParams) SetDefaults()
- func (o *CreateXClusterConfigParams) SetHTTPClient(client *http.Client)
- func (o *CreateXClusterConfigParams) SetTimeout(timeout time.Duration)
- func (o *CreateXClusterConfigParams) SetXclusterReplicationCreateFormData(xclusterReplicationCreateFormData *models.XClusterConfigCreateFormData)
- func (o *CreateXClusterConfigParams) WithCUUID(cUUID strfmt.UUID) *CreateXClusterConfigParams
- func (o *CreateXClusterConfigParams) WithContext(ctx context.Context) *CreateXClusterConfigParams
- func (o *CreateXClusterConfigParams) WithDefaults() *CreateXClusterConfigParams
- func (o *CreateXClusterConfigParams) WithHTTPClient(client *http.Client) *CreateXClusterConfigParams
- func (o *CreateXClusterConfigParams) WithTimeout(timeout time.Duration) *CreateXClusterConfigParams
- func (o *CreateXClusterConfigParams) WithXclusterReplicationCreateFormData(xclusterReplicationCreateFormData *models.XClusterConfigCreateFormData) *CreateXClusterConfigParams
- func (o *CreateXClusterConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateXClusterConfigReader
- type DeleteXClusterConfigOK
- type DeleteXClusterConfigParams
- func NewDeleteXClusterConfigParams() *DeleteXClusterConfigParams
- func NewDeleteXClusterConfigParamsWithContext(ctx context.Context) *DeleteXClusterConfigParams
- func NewDeleteXClusterConfigParamsWithHTTPClient(client *http.Client) *DeleteXClusterConfigParams
- func NewDeleteXClusterConfigParamsWithTimeout(timeout time.Duration) *DeleteXClusterConfigParams
- func (o *DeleteXClusterConfigParams) SetCUUID(cUUID strfmt.UUID)
- func (o *DeleteXClusterConfigParams) SetContext(ctx context.Context)
- func (o *DeleteXClusterConfigParams) SetDefaults()
- func (o *DeleteXClusterConfigParams) SetHTTPClient(client *http.Client)
- func (o *DeleteXClusterConfigParams) SetTimeout(timeout time.Duration)
- func (o *DeleteXClusterConfigParams) SetXccUUID(xccUUID strfmt.UUID)
- func (o *DeleteXClusterConfigParams) WithCUUID(cUUID strfmt.UUID) *DeleteXClusterConfigParams
- func (o *DeleteXClusterConfigParams) WithContext(ctx context.Context) *DeleteXClusterConfigParams
- func (o *DeleteXClusterConfigParams) WithDefaults() *DeleteXClusterConfigParams
- func (o *DeleteXClusterConfigParams) WithHTTPClient(client *http.Client) *DeleteXClusterConfigParams
- func (o *DeleteXClusterConfigParams) WithTimeout(timeout time.Duration) *DeleteXClusterConfigParams
- func (o *DeleteXClusterConfigParams) WithXccUUID(xccUUID strfmt.UUID) *DeleteXClusterConfigParams
- func (o *DeleteXClusterConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteXClusterConfigReader
- type EditXClusterConfigOK
- type EditXClusterConfigParams
- func NewEditXClusterConfigParams() *EditXClusterConfigParams
- func NewEditXClusterConfigParamsWithContext(ctx context.Context) *EditXClusterConfigParams
- func NewEditXClusterConfigParamsWithHTTPClient(client *http.Client) *EditXClusterConfigParams
- func NewEditXClusterConfigParamsWithTimeout(timeout time.Duration) *EditXClusterConfigParams
- func (o *EditXClusterConfigParams) SetCUUID(cUUID strfmt.UUID)
- func (o *EditXClusterConfigParams) SetContext(ctx context.Context)
- func (o *EditXClusterConfigParams) SetDefaults()
- func (o *EditXClusterConfigParams) SetHTTPClient(client *http.Client)
- func (o *EditXClusterConfigParams) SetTimeout(timeout time.Duration)
- func (o *EditXClusterConfigParams) SetXccUUID(xccUUID strfmt.UUID)
- func (o *EditXClusterConfigParams) SetXclusterReplicationEditFormData(xclusterReplicationEditFormData *models.XClusterConfigEditFormData)
- func (o *EditXClusterConfigParams) WithCUUID(cUUID strfmt.UUID) *EditXClusterConfigParams
- func (o *EditXClusterConfigParams) WithContext(ctx context.Context) *EditXClusterConfigParams
- func (o *EditXClusterConfigParams) WithDefaults() *EditXClusterConfigParams
- func (o *EditXClusterConfigParams) WithHTTPClient(client *http.Client) *EditXClusterConfigParams
- func (o *EditXClusterConfigParams) WithTimeout(timeout time.Duration) *EditXClusterConfigParams
- func (o *EditXClusterConfigParams) WithXccUUID(xccUUID strfmt.UUID) *EditXClusterConfigParams
- func (o *EditXClusterConfigParams) WithXclusterReplicationEditFormData(xclusterReplicationEditFormData *models.XClusterConfigEditFormData) *EditXClusterConfigParams
- func (o *EditXClusterConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type EditXClusterConfigReader
- type GetXClusterConfigOK
- type GetXClusterConfigParams
- func NewGetXClusterConfigParams() *GetXClusterConfigParams
- func NewGetXClusterConfigParamsWithContext(ctx context.Context) *GetXClusterConfigParams
- func NewGetXClusterConfigParamsWithHTTPClient(client *http.Client) *GetXClusterConfigParams
- func NewGetXClusterConfigParamsWithTimeout(timeout time.Duration) *GetXClusterConfigParams
- func (o *GetXClusterConfigParams) SetCUUID(cUUID strfmt.UUID)
- func (o *GetXClusterConfigParams) SetContext(ctx context.Context)
- func (o *GetXClusterConfigParams) SetDefaults()
- func (o *GetXClusterConfigParams) SetHTTPClient(client *http.Client)
- func (o *GetXClusterConfigParams) SetTimeout(timeout time.Duration)
- func (o *GetXClusterConfigParams) SetXccUUID(xccUUID strfmt.UUID)
- func (o *GetXClusterConfigParams) WithCUUID(cUUID strfmt.UUID) *GetXClusterConfigParams
- func (o *GetXClusterConfigParams) WithContext(ctx context.Context) *GetXClusterConfigParams
- func (o *GetXClusterConfigParams) WithDefaults() *GetXClusterConfigParams
- func (o *GetXClusterConfigParams) WithHTTPClient(client *http.Client) *GetXClusterConfigParams
- func (o *GetXClusterConfigParams) WithTimeout(timeout time.Duration) *GetXClusterConfigParams
- func (o *GetXClusterConfigParams) WithXccUUID(xccUUID strfmt.UUID) *GetXClusterConfigParams
- func (o *GetXClusterConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetXClusterConfigReader
- type SyncXClusterConfigOK
- type SyncXClusterConfigParams
- func NewSyncXClusterConfigParams() *SyncXClusterConfigParams
- func NewSyncXClusterConfigParamsWithContext(ctx context.Context) *SyncXClusterConfigParams
- func NewSyncXClusterConfigParamsWithHTTPClient(client *http.Client) *SyncXClusterConfigParams
- func NewSyncXClusterConfigParamsWithTimeout(timeout time.Duration) *SyncXClusterConfigParams
- func (o *SyncXClusterConfigParams) SetCUUID(cUUID strfmt.UUID)
- func (o *SyncXClusterConfigParams) SetContext(ctx context.Context)
- func (o *SyncXClusterConfigParams) SetDefaults()
- func (o *SyncXClusterConfigParams) SetHTTPClient(client *http.Client)
- func (o *SyncXClusterConfigParams) SetTargetUniverseUUID(targetUniverseUUID *strfmt.UUID)
- func (o *SyncXClusterConfigParams) SetTimeout(timeout time.Duration)
- func (o *SyncXClusterConfigParams) WithCUUID(cUUID strfmt.UUID) *SyncXClusterConfigParams
- func (o *SyncXClusterConfigParams) WithContext(ctx context.Context) *SyncXClusterConfigParams
- func (o *SyncXClusterConfigParams) WithDefaults() *SyncXClusterConfigParams
- func (o *SyncXClusterConfigParams) WithHTTPClient(client *http.Client) *SyncXClusterConfigParams
- func (o *SyncXClusterConfigParams) WithTargetUniverseUUID(targetUniverseUUID *strfmt.UUID) *SyncXClusterConfigParams
- func (o *SyncXClusterConfigParams) WithTimeout(timeout time.Duration) *SyncXClusterConfigParams
- func (o *SyncXClusterConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SyncXClusterConfigReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for asynchronous replication API
func (*Client) CreateXClusterConfig ¶
func (a *Client) CreateXClusterConfig(params *CreateXClusterConfigParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateXClusterConfigOK, error)
CreateXClusterConfig creates xcluster config
func (*Client) DeleteXClusterConfig ¶
func (a *Client) DeleteXClusterConfig(params *DeleteXClusterConfigParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteXClusterConfigOK, error)
DeleteXClusterConfig deletes xcluster config
func (*Client) EditXClusterConfig ¶
func (a *Client) EditXClusterConfig(params *EditXClusterConfigParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*EditXClusterConfigOK, error)
EditXClusterConfig edits xcluster config
func (*Client) GetXClusterConfig ¶
func (a *Client) GetXClusterConfig(params *GetXClusterConfigParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetXClusterConfigOK, error)
GetXClusterConfig gets xcluster config
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) SyncXClusterConfig ¶
func (a *Client) SyncXClusterConfig(params *SyncXClusterConfigParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SyncXClusterConfigOK, error)
SyncXClusterConfig syncs xcluster config
Changes from upstream: Changes default value of targetUniverseUUID to null
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { CreateXClusterConfig(params *CreateXClusterConfigParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateXClusterConfigOK, error) DeleteXClusterConfig(params *DeleteXClusterConfigParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteXClusterConfigOK, error) EditXClusterConfig(params *EditXClusterConfigParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*EditXClusterConfigOK, error) GetXClusterConfig(params *GetXClusterConfigParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetXClusterConfigOK, error) SyncXClusterConfig(params *SyncXClusterConfigParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SyncXClusterConfigOK, 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 asynchronous replication API client.
type CreateXClusterConfigOK ¶
CreateXClusterConfigOK describes a response with status code 200, with default header values.
successful operation
func NewCreateXClusterConfigOK ¶
func NewCreateXClusterConfigOK() *CreateXClusterConfigOK
NewCreateXClusterConfigOK creates a CreateXClusterConfigOK with default headers values
func (*CreateXClusterConfigOK) Error ¶
func (o *CreateXClusterConfigOK) Error() string
func (*CreateXClusterConfigOK) GetPayload ¶
func (o *CreateXClusterConfigOK) GetPayload() *models.YBPTask
type CreateXClusterConfigParams ¶
type CreateXClusterConfigParams struct { // CUUID. // // Format: uuid CUUID strfmt.UUID /* XclusterReplicationCreateFormData. XCluster Replication Create Form Data */ XclusterReplicationCreateFormData *models.XClusterConfigCreateFormData Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateXClusterConfigParams contains all the parameters to send to the API endpoint
for the create x cluster config operation. Typically these are written to a http.Request.
func NewCreateXClusterConfigParams ¶
func NewCreateXClusterConfigParams() *CreateXClusterConfigParams
NewCreateXClusterConfigParams creates a new CreateXClusterConfigParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewCreateXClusterConfigParamsWithContext ¶
func NewCreateXClusterConfigParamsWithContext(ctx context.Context) *CreateXClusterConfigParams
NewCreateXClusterConfigParamsWithContext creates a new CreateXClusterConfigParams object with the ability to set a context for a request.
func NewCreateXClusterConfigParamsWithHTTPClient ¶
func NewCreateXClusterConfigParamsWithHTTPClient(client *http.Client) *CreateXClusterConfigParams
NewCreateXClusterConfigParamsWithHTTPClient creates a new CreateXClusterConfigParams object with the ability to set a custom HTTPClient for a request.
func NewCreateXClusterConfigParamsWithTimeout ¶
func NewCreateXClusterConfigParamsWithTimeout(timeout time.Duration) *CreateXClusterConfigParams
NewCreateXClusterConfigParamsWithTimeout creates a new CreateXClusterConfigParams object with the ability to set a timeout on a request.
func (*CreateXClusterConfigParams) SetCUUID ¶
func (o *CreateXClusterConfigParams) SetCUUID(cUUID strfmt.UUID)
SetCUUID adds the cUuid to the create x cluster config params
func (*CreateXClusterConfigParams) SetContext ¶
func (o *CreateXClusterConfigParams) SetContext(ctx context.Context)
SetContext adds the context to the create x cluster config params
func (*CreateXClusterConfigParams) SetDefaults ¶
func (o *CreateXClusterConfigParams) SetDefaults()
SetDefaults hydrates default values in the create x cluster config params (not the query body).
All values with no default are reset to their zero value.
func (*CreateXClusterConfigParams) SetHTTPClient ¶
func (o *CreateXClusterConfigParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create x cluster config params
func (*CreateXClusterConfigParams) SetTimeout ¶
func (o *CreateXClusterConfigParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create x cluster config params
func (*CreateXClusterConfigParams) SetXclusterReplicationCreateFormData ¶
func (o *CreateXClusterConfigParams) SetXclusterReplicationCreateFormData(xclusterReplicationCreateFormData *models.XClusterConfigCreateFormData)
SetXclusterReplicationCreateFormData adds the xclusterReplicationCreateFormData to the create x cluster config params
func (*CreateXClusterConfigParams) WithCUUID ¶
func (o *CreateXClusterConfigParams) WithCUUID(cUUID strfmt.UUID) *CreateXClusterConfigParams
WithCUUID adds the cUUID to the create x cluster config params
func (*CreateXClusterConfigParams) WithContext ¶
func (o *CreateXClusterConfigParams) WithContext(ctx context.Context) *CreateXClusterConfigParams
WithContext adds the context to the create x cluster config params
func (*CreateXClusterConfigParams) WithDefaults ¶
func (o *CreateXClusterConfigParams) WithDefaults() *CreateXClusterConfigParams
WithDefaults hydrates default values in the create x cluster config params (not the query body).
All values with no default are reset to their zero value.
func (*CreateXClusterConfigParams) WithHTTPClient ¶
func (o *CreateXClusterConfigParams) WithHTTPClient(client *http.Client) *CreateXClusterConfigParams
WithHTTPClient adds the HTTPClient to the create x cluster config params
func (*CreateXClusterConfigParams) WithTimeout ¶
func (o *CreateXClusterConfigParams) WithTimeout(timeout time.Duration) *CreateXClusterConfigParams
WithTimeout adds the timeout to the create x cluster config params
func (*CreateXClusterConfigParams) WithXclusterReplicationCreateFormData ¶
func (o *CreateXClusterConfigParams) WithXclusterReplicationCreateFormData(xclusterReplicationCreateFormData *models.XClusterConfigCreateFormData) *CreateXClusterConfigParams
WithXclusterReplicationCreateFormData adds the xclusterReplicationCreateFormData to the create x cluster config params
func (*CreateXClusterConfigParams) WriteToRequest ¶
func (o *CreateXClusterConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateXClusterConfigReader ¶
type CreateXClusterConfigReader struct {
// contains filtered or unexported fields
}
CreateXClusterConfigReader is a Reader for the CreateXClusterConfig structure.
func (*CreateXClusterConfigReader) ReadResponse ¶
func (o *CreateXClusterConfigReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteXClusterConfigOK ¶
DeleteXClusterConfigOK describes a response with status code 200, with default header values.
successful operation
func NewDeleteXClusterConfigOK ¶
func NewDeleteXClusterConfigOK() *DeleteXClusterConfigOK
NewDeleteXClusterConfigOK creates a DeleteXClusterConfigOK with default headers values
func (*DeleteXClusterConfigOK) Error ¶
func (o *DeleteXClusterConfigOK) Error() string
func (*DeleteXClusterConfigOK) GetPayload ¶
func (o *DeleteXClusterConfigOK) GetPayload() *models.YBPTask
type DeleteXClusterConfigParams ¶
type DeleteXClusterConfigParams struct { // CUUID. // // Format: uuid CUUID strfmt.UUID // XccUUID. // // Format: uuid XccUUID strfmt.UUID Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteXClusterConfigParams contains all the parameters to send to the API endpoint
for the delete x cluster config operation. Typically these are written to a http.Request.
func NewDeleteXClusterConfigParams ¶
func NewDeleteXClusterConfigParams() *DeleteXClusterConfigParams
NewDeleteXClusterConfigParams creates a new DeleteXClusterConfigParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewDeleteXClusterConfigParamsWithContext ¶
func NewDeleteXClusterConfigParamsWithContext(ctx context.Context) *DeleteXClusterConfigParams
NewDeleteXClusterConfigParamsWithContext creates a new DeleteXClusterConfigParams object with the ability to set a context for a request.
func NewDeleteXClusterConfigParamsWithHTTPClient ¶
func NewDeleteXClusterConfigParamsWithHTTPClient(client *http.Client) *DeleteXClusterConfigParams
NewDeleteXClusterConfigParamsWithHTTPClient creates a new DeleteXClusterConfigParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteXClusterConfigParamsWithTimeout ¶
func NewDeleteXClusterConfigParamsWithTimeout(timeout time.Duration) *DeleteXClusterConfigParams
NewDeleteXClusterConfigParamsWithTimeout creates a new DeleteXClusterConfigParams object with the ability to set a timeout on a request.
func (*DeleteXClusterConfigParams) SetCUUID ¶
func (o *DeleteXClusterConfigParams) SetCUUID(cUUID strfmt.UUID)
SetCUUID adds the cUuid to the delete x cluster config params
func (*DeleteXClusterConfigParams) SetContext ¶
func (o *DeleteXClusterConfigParams) SetContext(ctx context.Context)
SetContext adds the context to the delete x cluster config params
func (*DeleteXClusterConfigParams) SetDefaults ¶
func (o *DeleteXClusterConfigParams) SetDefaults()
SetDefaults hydrates default values in the delete x cluster config params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteXClusterConfigParams) SetHTTPClient ¶
func (o *DeleteXClusterConfigParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete x cluster config params
func (*DeleteXClusterConfigParams) SetTimeout ¶
func (o *DeleteXClusterConfigParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete x cluster config params
func (*DeleteXClusterConfigParams) SetXccUUID ¶
func (o *DeleteXClusterConfigParams) SetXccUUID(xccUUID strfmt.UUID)
SetXccUUID adds the xccUuid to the delete x cluster config params
func (*DeleteXClusterConfigParams) WithCUUID ¶
func (o *DeleteXClusterConfigParams) WithCUUID(cUUID strfmt.UUID) *DeleteXClusterConfigParams
WithCUUID adds the cUUID to the delete x cluster config params
func (*DeleteXClusterConfigParams) WithContext ¶
func (o *DeleteXClusterConfigParams) WithContext(ctx context.Context) *DeleteXClusterConfigParams
WithContext adds the context to the delete x cluster config params
func (*DeleteXClusterConfigParams) WithDefaults ¶
func (o *DeleteXClusterConfigParams) WithDefaults() *DeleteXClusterConfigParams
WithDefaults hydrates default values in the delete x cluster config params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteXClusterConfigParams) WithHTTPClient ¶
func (o *DeleteXClusterConfigParams) WithHTTPClient(client *http.Client) *DeleteXClusterConfigParams
WithHTTPClient adds the HTTPClient to the delete x cluster config params
func (*DeleteXClusterConfigParams) WithTimeout ¶
func (o *DeleteXClusterConfigParams) WithTimeout(timeout time.Duration) *DeleteXClusterConfigParams
WithTimeout adds the timeout to the delete x cluster config params
func (*DeleteXClusterConfigParams) WithXccUUID ¶
func (o *DeleteXClusterConfigParams) WithXccUUID(xccUUID strfmt.UUID) *DeleteXClusterConfigParams
WithXccUUID adds the xccUUID to the delete x cluster config params
func (*DeleteXClusterConfigParams) WriteToRequest ¶
func (o *DeleteXClusterConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteXClusterConfigReader ¶
type DeleteXClusterConfigReader struct {
// contains filtered or unexported fields
}
DeleteXClusterConfigReader is a Reader for the DeleteXClusterConfig structure.
func (*DeleteXClusterConfigReader) ReadResponse ¶
func (o *DeleteXClusterConfigReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type EditXClusterConfigOK ¶
EditXClusterConfigOK describes a response with status code 200, with default header values.
successful operation
func NewEditXClusterConfigOK ¶
func NewEditXClusterConfigOK() *EditXClusterConfigOK
NewEditXClusterConfigOK creates a EditXClusterConfigOK with default headers values
func (*EditXClusterConfigOK) Error ¶
func (o *EditXClusterConfigOK) Error() string
func (*EditXClusterConfigOK) GetPayload ¶
func (o *EditXClusterConfigOK) GetPayload() *models.YBPTask
type EditXClusterConfigParams ¶
type EditXClusterConfigParams struct { // CUUID. // // Format: uuid CUUID strfmt.UUID // XccUUID. // // Format: uuid XccUUID strfmt.UUID /* XclusterReplicationEditFormData. XCluster Replication Edit Form Data */ XclusterReplicationEditFormData *models.XClusterConfigEditFormData Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
EditXClusterConfigParams contains all the parameters to send to the API endpoint
for the edit x cluster config operation. Typically these are written to a http.Request.
func NewEditXClusterConfigParams ¶
func NewEditXClusterConfigParams() *EditXClusterConfigParams
NewEditXClusterConfigParams creates a new EditXClusterConfigParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewEditXClusterConfigParamsWithContext ¶
func NewEditXClusterConfigParamsWithContext(ctx context.Context) *EditXClusterConfigParams
NewEditXClusterConfigParamsWithContext creates a new EditXClusterConfigParams object with the ability to set a context for a request.
func NewEditXClusterConfigParamsWithHTTPClient ¶
func NewEditXClusterConfigParamsWithHTTPClient(client *http.Client) *EditXClusterConfigParams
NewEditXClusterConfigParamsWithHTTPClient creates a new EditXClusterConfigParams object with the ability to set a custom HTTPClient for a request.
func NewEditXClusterConfigParamsWithTimeout ¶
func NewEditXClusterConfigParamsWithTimeout(timeout time.Duration) *EditXClusterConfigParams
NewEditXClusterConfigParamsWithTimeout creates a new EditXClusterConfigParams object with the ability to set a timeout on a request.
func (*EditXClusterConfigParams) SetCUUID ¶
func (o *EditXClusterConfigParams) SetCUUID(cUUID strfmt.UUID)
SetCUUID adds the cUuid to the edit x cluster config params
func (*EditXClusterConfigParams) SetContext ¶
func (o *EditXClusterConfigParams) SetContext(ctx context.Context)
SetContext adds the context to the edit x cluster config params
func (*EditXClusterConfigParams) SetDefaults ¶
func (o *EditXClusterConfigParams) SetDefaults()
SetDefaults hydrates default values in the edit x cluster config params (not the query body).
All values with no default are reset to their zero value.
func (*EditXClusterConfigParams) SetHTTPClient ¶
func (o *EditXClusterConfigParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the edit x cluster config params
func (*EditXClusterConfigParams) SetTimeout ¶
func (o *EditXClusterConfigParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the edit x cluster config params
func (*EditXClusterConfigParams) SetXccUUID ¶
func (o *EditXClusterConfigParams) SetXccUUID(xccUUID strfmt.UUID)
SetXccUUID adds the xccUuid to the edit x cluster config params
func (*EditXClusterConfigParams) SetXclusterReplicationEditFormData ¶
func (o *EditXClusterConfigParams) SetXclusterReplicationEditFormData(xclusterReplicationEditFormData *models.XClusterConfigEditFormData)
SetXclusterReplicationEditFormData adds the xclusterReplicationEditFormData to the edit x cluster config params
func (*EditXClusterConfigParams) WithCUUID ¶
func (o *EditXClusterConfigParams) WithCUUID(cUUID strfmt.UUID) *EditXClusterConfigParams
WithCUUID adds the cUUID to the edit x cluster config params
func (*EditXClusterConfigParams) WithContext ¶
func (o *EditXClusterConfigParams) WithContext(ctx context.Context) *EditXClusterConfigParams
WithContext adds the context to the edit x cluster config params
func (*EditXClusterConfigParams) WithDefaults ¶
func (o *EditXClusterConfigParams) WithDefaults() *EditXClusterConfigParams
WithDefaults hydrates default values in the edit x cluster config params (not the query body).
All values with no default are reset to their zero value.
func (*EditXClusterConfigParams) WithHTTPClient ¶
func (o *EditXClusterConfigParams) WithHTTPClient(client *http.Client) *EditXClusterConfigParams
WithHTTPClient adds the HTTPClient to the edit x cluster config params
func (*EditXClusterConfigParams) WithTimeout ¶
func (o *EditXClusterConfigParams) WithTimeout(timeout time.Duration) *EditXClusterConfigParams
WithTimeout adds the timeout to the edit x cluster config params
func (*EditXClusterConfigParams) WithXccUUID ¶
func (o *EditXClusterConfigParams) WithXccUUID(xccUUID strfmt.UUID) *EditXClusterConfigParams
WithXccUUID adds the xccUUID to the edit x cluster config params
func (*EditXClusterConfigParams) WithXclusterReplicationEditFormData ¶
func (o *EditXClusterConfigParams) WithXclusterReplicationEditFormData(xclusterReplicationEditFormData *models.XClusterConfigEditFormData) *EditXClusterConfigParams
WithXclusterReplicationEditFormData adds the xclusterReplicationEditFormData to the edit x cluster config params
func (*EditXClusterConfigParams) WriteToRequest ¶
func (o *EditXClusterConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type EditXClusterConfigReader ¶
type EditXClusterConfigReader struct {
// contains filtered or unexported fields
}
EditXClusterConfigReader is a Reader for the EditXClusterConfig structure.
func (*EditXClusterConfigReader) ReadResponse ¶
func (o *EditXClusterConfigReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetXClusterConfigOK ¶
type GetXClusterConfigOK struct {
Payload *models.XClusterConfigGetResp
}
GetXClusterConfigOK describes a response with status code 200, with default header values.
successful operation
func NewGetXClusterConfigOK ¶
func NewGetXClusterConfigOK() *GetXClusterConfigOK
NewGetXClusterConfigOK creates a GetXClusterConfigOK with default headers values
func (*GetXClusterConfigOK) Error ¶
func (o *GetXClusterConfigOK) Error() string
func (*GetXClusterConfigOK) GetPayload ¶
func (o *GetXClusterConfigOK) GetPayload() *models.XClusterConfigGetResp
type GetXClusterConfigParams ¶
type GetXClusterConfigParams struct { // CUUID. // // Format: uuid CUUID strfmt.UUID // XccUUID. // // Format: uuid XccUUID strfmt.UUID Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetXClusterConfigParams contains all the parameters to send to the API endpoint
for the get x cluster config operation. Typically these are written to a http.Request.
func NewGetXClusterConfigParams ¶
func NewGetXClusterConfigParams() *GetXClusterConfigParams
NewGetXClusterConfigParams creates a new GetXClusterConfigParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetXClusterConfigParamsWithContext ¶
func NewGetXClusterConfigParamsWithContext(ctx context.Context) *GetXClusterConfigParams
NewGetXClusterConfigParamsWithContext creates a new GetXClusterConfigParams object with the ability to set a context for a request.
func NewGetXClusterConfigParamsWithHTTPClient ¶
func NewGetXClusterConfigParamsWithHTTPClient(client *http.Client) *GetXClusterConfigParams
NewGetXClusterConfigParamsWithHTTPClient creates a new GetXClusterConfigParams object with the ability to set a custom HTTPClient for a request.
func NewGetXClusterConfigParamsWithTimeout ¶
func NewGetXClusterConfigParamsWithTimeout(timeout time.Duration) *GetXClusterConfigParams
NewGetXClusterConfigParamsWithTimeout creates a new GetXClusterConfigParams object with the ability to set a timeout on a request.
func (*GetXClusterConfigParams) SetCUUID ¶
func (o *GetXClusterConfigParams) SetCUUID(cUUID strfmt.UUID)
SetCUUID adds the cUuid to the get x cluster config params
func (*GetXClusterConfigParams) SetContext ¶
func (o *GetXClusterConfigParams) SetContext(ctx context.Context)
SetContext adds the context to the get x cluster config params
func (*GetXClusterConfigParams) SetDefaults ¶
func (o *GetXClusterConfigParams) SetDefaults()
SetDefaults hydrates default values in the get x cluster config params (not the query body).
All values with no default are reset to their zero value.
func (*GetXClusterConfigParams) SetHTTPClient ¶
func (o *GetXClusterConfigParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get x cluster config params
func (*GetXClusterConfigParams) SetTimeout ¶
func (o *GetXClusterConfigParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get x cluster config params
func (*GetXClusterConfigParams) SetXccUUID ¶
func (o *GetXClusterConfigParams) SetXccUUID(xccUUID strfmt.UUID)
SetXccUUID adds the xccUuid to the get x cluster config params
func (*GetXClusterConfigParams) WithCUUID ¶
func (o *GetXClusterConfigParams) WithCUUID(cUUID strfmt.UUID) *GetXClusterConfigParams
WithCUUID adds the cUUID to the get x cluster config params
func (*GetXClusterConfigParams) WithContext ¶
func (o *GetXClusterConfigParams) WithContext(ctx context.Context) *GetXClusterConfigParams
WithContext adds the context to the get x cluster config params
func (*GetXClusterConfigParams) WithDefaults ¶
func (o *GetXClusterConfigParams) WithDefaults() *GetXClusterConfigParams
WithDefaults hydrates default values in the get x cluster config params (not the query body).
All values with no default are reset to their zero value.
func (*GetXClusterConfigParams) WithHTTPClient ¶
func (o *GetXClusterConfigParams) WithHTTPClient(client *http.Client) *GetXClusterConfigParams
WithHTTPClient adds the HTTPClient to the get x cluster config params
func (*GetXClusterConfigParams) WithTimeout ¶
func (o *GetXClusterConfigParams) WithTimeout(timeout time.Duration) *GetXClusterConfigParams
WithTimeout adds the timeout to the get x cluster config params
func (*GetXClusterConfigParams) WithXccUUID ¶
func (o *GetXClusterConfigParams) WithXccUUID(xccUUID strfmt.UUID) *GetXClusterConfigParams
WithXccUUID adds the xccUUID to the get x cluster config params
func (*GetXClusterConfigParams) WriteToRequest ¶
func (o *GetXClusterConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetXClusterConfigReader ¶
type GetXClusterConfigReader struct {
// contains filtered or unexported fields
}
GetXClusterConfigReader is a Reader for the GetXClusterConfig structure.
func (*GetXClusterConfigReader) ReadResponse ¶
func (o *GetXClusterConfigReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SyncXClusterConfigOK ¶
SyncXClusterConfigOK describes a response with status code 200, with default header values.
successful operation
func NewSyncXClusterConfigOK ¶
func NewSyncXClusterConfigOK() *SyncXClusterConfigOK
NewSyncXClusterConfigOK creates a SyncXClusterConfigOK with default headers values
func (*SyncXClusterConfigOK) Error ¶
func (o *SyncXClusterConfigOK) Error() string
func (*SyncXClusterConfigOK) GetPayload ¶
func (o *SyncXClusterConfigOK) GetPayload() *models.YBPTask
type SyncXClusterConfigParams ¶
type SyncXClusterConfigParams struct { // CUUID. // // Format: uuid CUUID strfmt.UUID // TargetUniverseUUID. // // Format: uuid TargetUniverseUUID *strfmt.UUID Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
SyncXClusterConfigParams contains all the parameters to send to the API endpoint
for the sync x cluster config operation. Typically these are written to a http.Request.
func NewSyncXClusterConfigParams ¶
func NewSyncXClusterConfigParams() *SyncXClusterConfigParams
NewSyncXClusterConfigParams creates a new SyncXClusterConfigParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewSyncXClusterConfigParamsWithContext ¶
func NewSyncXClusterConfigParamsWithContext(ctx context.Context) *SyncXClusterConfigParams
NewSyncXClusterConfigParamsWithContext creates a new SyncXClusterConfigParams object with the ability to set a context for a request.
func NewSyncXClusterConfigParamsWithHTTPClient ¶
func NewSyncXClusterConfigParamsWithHTTPClient(client *http.Client) *SyncXClusterConfigParams
NewSyncXClusterConfigParamsWithHTTPClient creates a new SyncXClusterConfigParams object with the ability to set a custom HTTPClient for a request.
func NewSyncXClusterConfigParamsWithTimeout ¶
func NewSyncXClusterConfigParamsWithTimeout(timeout time.Duration) *SyncXClusterConfigParams
NewSyncXClusterConfigParamsWithTimeout creates a new SyncXClusterConfigParams object with the ability to set a timeout on a request.
func (*SyncXClusterConfigParams) SetCUUID ¶
func (o *SyncXClusterConfigParams) SetCUUID(cUUID strfmt.UUID)
SetCUUID adds the cUuid to the sync x cluster config params
func (*SyncXClusterConfigParams) SetContext ¶
func (o *SyncXClusterConfigParams) SetContext(ctx context.Context)
SetContext adds the context to the sync x cluster config params
func (*SyncXClusterConfigParams) SetDefaults ¶
func (o *SyncXClusterConfigParams) SetDefaults()
SetDefaults hydrates default values in the sync x cluster config params (not the query body).
All values with no default are reset to their zero value.
func (*SyncXClusterConfigParams) SetHTTPClient ¶
func (o *SyncXClusterConfigParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the sync x cluster config params
func (*SyncXClusterConfigParams) SetTargetUniverseUUID ¶
func (o *SyncXClusterConfigParams) SetTargetUniverseUUID(targetUniverseUUID *strfmt.UUID)
SetTargetUniverseUUID adds the targetUniverseUuid to the sync x cluster config params
func (*SyncXClusterConfigParams) SetTimeout ¶
func (o *SyncXClusterConfigParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the sync x cluster config params
func (*SyncXClusterConfigParams) WithCUUID ¶
func (o *SyncXClusterConfigParams) WithCUUID(cUUID strfmt.UUID) *SyncXClusterConfigParams
WithCUUID adds the cUUID to the sync x cluster config params
func (*SyncXClusterConfigParams) WithContext ¶
func (o *SyncXClusterConfigParams) WithContext(ctx context.Context) *SyncXClusterConfigParams
WithContext adds the context to the sync x cluster config params
func (*SyncXClusterConfigParams) WithDefaults ¶
func (o *SyncXClusterConfigParams) WithDefaults() *SyncXClusterConfigParams
WithDefaults hydrates default values in the sync x cluster config params (not the query body).
All values with no default are reset to their zero value.
func (*SyncXClusterConfigParams) WithHTTPClient ¶
func (o *SyncXClusterConfigParams) WithHTTPClient(client *http.Client) *SyncXClusterConfigParams
WithHTTPClient adds the HTTPClient to the sync x cluster config params
func (*SyncXClusterConfigParams) WithTargetUniverseUUID ¶
func (o *SyncXClusterConfigParams) WithTargetUniverseUUID(targetUniverseUUID *strfmt.UUID) *SyncXClusterConfigParams
WithTargetUniverseUUID adds the targetUniverseUUID to the sync x cluster config params
func (*SyncXClusterConfigParams) WithTimeout ¶
func (o *SyncXClusterConfigParams) WithTimeout(timeout time.Duration) *SyncXClusterConfigParams
WithTimeout adds the timeout to the sync x cluster config params
func (*SyncXClusterConfigParams) WriteToRequest ¶
func (o *SyncXClusterConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SyncXClusterConfigReader ¶
type SyncXClusterConfigReader struct {
// contains filtered or unexported fields
}
SyncXClusterConfigReader is a Reader for the SyncXClusterConfig structure.
func (*SyncXClusterConfigReader) ReadResponse ¶
func (o *SyncXClusterConfigReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- asynchronous_replication_client.go
- create_x_cluster_config_parameters.go
- create_x_cluster_config_responses.go
- delete_x_cluster_config_parameters.go
- delete_x_cluster_config_responses.go
- edit_x_cluster_config_parameters.go
- edit_x_cluster_config_responses.go
- get_x_cluster_config_parameters.go
- get_x_cluster_config_responses.go
- sync_x_cluster_config_parameters.go
- sync_x_cluster_config_responses.go