command

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2023 License: Apache-2.0 Imports: 46 Imported by: 0

Documentation

Overview

Copyright 2020 PingCAP, Inc.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, See the License for the specific language governing permissions and limitations under the License.

Index

Constants

View Source
const (
	MySQL2TiDBCloud = "ohmytiup-mysql2tidbcloud"
)
View Source
const (
	TiDB2MSK2REDSHIFT = "ohmytiup-tidb2msk2redshift"
)
View Source
const (
	TiDB2S3DELTALAKE = "ohmytiup-tidb2s3deltalake"
)
View Source
const (
	TiDBCLOUD = "ohmytiup-tidbcloud"
)
View Source
const (
	TiDBCluster = "ohmytiup-tidb"
)

Variables

This section is empty.

Functions

func Execute

func Execute()

Execute executes the root command

Types

type TemplateOptions

type TemplateOptions struct {
	Full    bool // print full template
	MultiDC bool // print template for deploying to multiple data center
	Local   bool // print local template
}

TemplateOptions contains the options for print topology template.

type TemplateTiDB2ESOptions

type TemplateTiDB2ESOptions struct {
	OP     bool // print template for On Premise
	Simple bool // print template for TiDB and ES only
	MSK    bool // print template using MSK/Glue
}

Jump to

Keyboard shortcuts

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