asynchronous_replication

package
v0.0.0-...-af0b780 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2024 License: Apache-2.0, Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

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

type CreateXClusterConfigOK struct {
	Payload *models.YBPTask
}
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

WithCUUID adds the cUUID to the create x cluster config params

func (*CreateXClusterConfigParams) WithContext

WithContext adds the context to the create x cluster config params

func (*CreateXClusterConfigParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the create x cluster config params

func (*CreateXClusterConfigParams) WithTimeout

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

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

type DeleteXClusterConfigOK struct {
	Payload *models.YBPTask
}
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

WithCUUID adds the cUUID to the delete x cluster config params

func (*DeleteXClusterConfigParams) WithContext

WithContext adds the context to the delete x cluster config params

func (*DeleteXClusterConfigParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the delete x cluster config params

func (*DeleteXClusterConfigParams) WithTimeout

WithTimeout adds the timeout to the delete x cluster config params

func (*DeleteXClusterConfigParams) WithXccUUID

WithXccUUID adds the xccUUID to the delete x cluster config params

func (*DeleteXClusterConfigParams) WriteToRequest

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

type EditXClusterConfigOK struct {
	Payload *models.YBPTask
}
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

WithCUUID adds the cUUID to the edit x cluster config params

func (*EditXClusterConfigParams) WithContext

WithContext adds the context to the edit x cluster config params

func (*EditXClusterConfigParams) WithDefaults

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

WithTimeout adds the timeout to the edit x cluster config params

func (*EditXClusterConfigParams) WithXccUUID

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

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

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

WithCUUID adds the cUUID to the get x cluster config params

func (*GetXClusterConfigParams) WithContext

WithContext adds the context to the get x cluster config params

func (*GetXClusterConfigParams) WithDefaults

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

WithTimeout adds the timeout to the get x cluster config params

func (*GetXClusterConfigParams) WithXccUUID

WithXccUUID adds the xccUUID to the get x cluster config params

func (*GetXClusterConfigParams) WriteToRequest

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

type SyncXClusterConfigOK struct {
	Payload *models.YBPTask
}
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

WithCUUID adds the cUUID to the sync x cluster config params

func (*SyncXClusterConfigParams) WithContext

WithContext adds the context to the sync x cluster config params

func (*SyncXClusterConfigParams) WithDefaults

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

WithTimeout adds the timeout to the sync x cluster config params

func (*SyncXClusterConfigParams) WriteToRequest

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.

Jump to

Keyboard shortcuts

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