package
8.2.0+incompatible
Repository: https://github.com/pingcap/tiflow.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Package v2 is a generated GoMock package.

# Functions

ForwardToCapture forward request to another.
ForwardToOwner forwards a request to the controller.
HandleOwnerBalance balance the changefeed tables.
HandleOwnerDrainCapture schedule drain the target capture.
HandleOwnerJob enqueue the admin job.
HandleOwnerScheduleTable schedule tables.
IsHTTPBadRequestError check if a error is a http bad request error.
WriteData write data to response with http status code 200.
WriteError write error message to response.

# Constants

APIOpVarCaptureID is the key of capture ID in HTTP API.
APIOpVarChangefeedID is the key of changefeed ID in HTTP API.
APIOpVarChangefeedState is the key of changefeed state in HTTP API.
APIOpVarNamespace is the key of changefeed namespace in HTTP API.
APIOpVarTiCDCPassword is the key of ticdc password in HTTP API.
APIOpVarTiCDCUser is the key of ticdc user in HTTP API.
OpVarAdminJob is the key of admin job in HTTP API.
OpVarChangefeedID is the key of changefeed ID in HTTP API.
OpVarTableID is the key of table ID in HTTP API.
OpVarTargetCaptureID is the key of to-capture ID in HTTP API.