package
8.1.0-1168+incompatible
Repository: https://github.com/couchbase/goxdcr.git
Documentation: pkg.go.dev

# Packages

Code generated by mockery v1.0.0.

# Functions

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
CreateReplication create the replication specification in metadata store and start the replication pipeline.
No description provided by the author
No description provided by the author
decode parameters from create replication request.
decode replicationId from create replication response.
decode dynamic paramater from the path of http request.
No description provided by the author
this func assumes that the request.ParseForm() has already been called, which should be the case since justValidate always come with some other required parameters As a result, the error returned by this func is always a validation error.
No description provided by the author
decode parameters from create remote cluster request.
decode replication settings related parameters from http request.
No description provided by the author
No description provided by the author
DeleteReplication stops the running replication of given replicationId and delete the replication specification from the metadata store.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
encode a byte array into Response object with default status code of StatusOK.
encode a byte array into Response object with specified status code.
encode the error message of an error, without any wrapping, into Response object.
encode a map of validation errors into a Response object, which can then be returned in a http response when withErrorsWrapper is false, simply return a map of error messages -- this is needed by remote cluster rest APIs when withErrorsWrapper is true, wrap the map of error messages in an outer map -- this is needed by replication rest APIs.
encode an arbitrary object into Response object with default status code of StatusOK.
No description provided by the author
encode an arbitrary object into Response object with specified status code.
No description provided by the author
Remote cluster related errors can be internal server error or less servere invalid/unknown remote cluster errors, return different Response for them.
No description provided by the author
No description provided by the author
Replication spec related errors can be internal server error or less servere replication spec not found/already exists errors, return different Response for them.
No description provided by the author
encode a validation error into Response object by wrapping it in an errorMap.
No description provided by the author
No description provided by the author
No description provided by the author
get info of all running replications - serves back to consumers who call the REST end point, i.e.
get statistics for all running replications % returns a list of replication stats for the bucket.
No description provided by the author
pull GoMaxProc from environment.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
update the replication settings and XDCR process setting.
update the per-replication settings only if justValidate is false Warnings should be given only if there are no errors.
No description provided by the author

# Constants

constants for stats names.
constants used for parsing url path.
constants used for parsing url path.
desired latency is the parameter exposed to UI and CLI.
constants used for parsing replication settings.
constants for stats names.
constants used for parsing replication settings.
constants used for parsing replication settings.
constants used for parsing url path.
constants used for parsing url path.
constants for RegexpValidation request.
constants used for parsing bucket setting changes.
constants used for parsing url path.
bypass sounds better to external, translates into strip internally.
constants used for parsing replication settings.
constants for stats names.
constants used for parsing replication settings.
constants used for parsing replication settings.
constants for RegexpValidation request.
constants used for parsing replication settings.
constants used for parsing replication settings.
constants used for parsing replication settings.
constants used for parsing replication settings.
constants used for parsing replication settings.
constants used for parsing replication settings.
constants used for parsing replication settings.
constants used for parsing url path.
constants for stats names.
constants used for parsing url path.
constants used for parsing replication settings.
constants for RegexpValidation request.
constants for stats names.
constants for stats names.
constants for stats names.
constants for stats names.
constants for stats names.
constants for stats names.
Some url paths are not static and have variable contents, e.g., settings/replications/$replication_id The message keys for such paths are constructed by appending the dynamic suffix below to the static portion of the path.
Input.
constants used for parsing replication settings.
constants used for parsing replication settings.
constants used for parsing replication settings.
constants used for parsing replication settings.
constants used for parsing replication settings.
constants used for parsing replication settings.
constants used for parsing replication settings.
constants used for parsing replication settings.
constants used for parsing replication settings.
constants used for parsing replication settings.
constants used for parsing replication settings.
constants used for parsing replication settings.
constants used for parsing bucket setting changes.
constants used for parsing replication settings.
constants for RegexpValidation request.
Output.
constants used for parsing replication settings.
constants used for parsing url path.
constants used for parsing replication settings.
constants for stats names.
constants for stats names.
constants for stats names.
constants for stats names.
constants used for parsing replication settings.
constants used for parsing replication settings.
constants used for parsing replication settings.
constants used for parsing replication settings.
constants for stats names.
constants used for parsing url path.
constants used for parsing replication settings.
constants for parsing create/change/view replication response.
constants used for parsing replication settings.
constants used for parsing replication settings.
constants for parsing create/change/view replication response.
constants used for parsing replication settings.
constants used for parsing replication settings.
constants for RegexpValidation request.
constants used for parsing url path.
constants for stats names.
constants for RegexpValidation request.
constants used for parsing replication settings.
constants used for parsing url path.
constants used for parsing replication settings.
constants used for parsing replication settings.
constants for stats names.
constants used for parsing replication settings.
constants for stats names.
constants for stats names.
constants for stats names.
constants for parsing create/change/view replication response.
constants used for parsing url path.
constants used for parsing url path.
constants used for parsing url path.

# Variables

No description provided by the author
For outside world via REST, they would prefer to see descriptive names of compression settings instead of 0 or 1.
No description provided by the author
errors.
xdcr prefix for internal settings keys.
No description provided by the author
No description provided by the author
No description provided by the author
Conversion to REST for user -> pauseRequested - Pretty much a NOT operation User wants to know if the replication is paused.
replication settings key in rest api -> internal replication settings key.
No description provided by the author
internal replication settings key -> replication settings key in rest api.
* * In cases where internally we store values differently from what the REST API requires, this * map performs the translation.
No description provided by the author
No description provided by the author

# Structs

*********************************** /* struct Adminport *************************************/.
listener for GOXDCR Process level setting changes.
listener for GOXDCR internal setting changes.
No description provided by the author
generic listener for metadata stored in metakv.
listener for remote clusters.
listener for replication spec.

# Interfaces

*********************************** /* ReplicationManager Interface ************************************ */.