server

package
v0.0.0-...-145e2ed Latest Latest
Warning

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

Go to latest
Published: Dec 25, 2025 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmdServer

func NewCmdServer() *cobra.Command

NewCmdServer creates the `server` command.

func Run

func Run(o *Options, cmd *cobra.Command) error

Run a TiCDC server. Exported for the new architecture of TiCDC only.

Types

type Options

type Options struct {
	ServerConfig         *config.ServerConfig
	ServerPdAddr         string
	ServerConfigFilePath string

	// TODO(hi-rustin): Consider using a client construction factory here.
	CaPath        string
	CertPath      string
	KeyPath       string
	AllowedCertCN string
}

Options defines flags for the `server` command. Exported for the new architecture of TiCDC only.

Jump to

Keyboard shortcuts

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