Documentation ¶
Index ¶
- Variables
- func RenderDMMasterStartScript(model *DMMasterStartScriptModel) (string, error)
- func RenderDMWorkerStartScript(model *DMWorkerStartScriptModel) (string, error)
- func RenderPDStartScript(tc *v1alpha1.TidbCluster) (string, error)
- func RenderPumpStartScript(tc *v1alpha1.TidbCluster) (string, error)
- func RenderTiCDCStartScript(tc *v1alpha1.TidbCluster) (string, error)
- func RenderTiDBInitInitStartScript(model *TiDBInitInitStartScriptModel) (string, error)
- func RenderTiDBInitStartScript(model *TiDBInitStartScriptModel) (string, error)
- func RenderTiDBStartScript(tc *v1alpha1.TidbCluster) (string, error)
- func RenderTiFlashInitScript(tc *v1alpha1.TidbCluster) (string, error)
- func RenderTiFlashStartScript(tc *v1alpha1.TidbCluster) (string, error)
- func RenderTiFlashStartScriptWithStartArgs(tc *v1alpha1.TidbCluster) (string, error)
- func RenderTiKVStartScript(tc *v1alpha1.TidbCluster) (string, error)
- type CommonModel
- type DMMasterStartScriptModel
- type DMWorkerStartScriptModel
- type PDStartScriptModel
- type PumpStartScriptModel
- type TiDBInitInitStartScriptModel
- type TiDBInitStartScriptModel
- type TiKVStartScriptModel
- type TidbStartScriptModel
- type TiflashStartScriptModel
Constants ¶
This section is empty.
Variables ¶
View Source
var DMMasterCheckDNSV1 string = `` /* 184-byte string literal not displayed */
TODO: refactor to confine the checking script within the package
Functions ¶
func RenderDMMasterStartScript ¶
func RenderDMMasterStartScript(model *DMMasterStartScriptModel) (string, error)
func RenderDMWorkerStartScript ¶
func RenderDMWorkerStartScript(model *DMWorkerStartScriptModel) (string, error)
func RenderPDStartScript ¶
func RenderPDStartScript(tc *v1alpha1.TidbCluster) (string, error)
func RenderPumpStartScript ¶
func RenderPumpStartScript(tc *v1alpha1.TidbCluster) (string, error)
func RenderTiCDCStartScript ¶
func RenderTiCDCStartScript(tc *v1alpha1.TidbCluster) (string, error)
func RenderTiDBInitInitStartScript ¶
func RenderTiDBInitInitStartScript(model *TiDBInitInitStartScriptModel) (string, error)
func RenderTiDBInitStartScript ¶
func RenderTiDBInitStartScript(model *TiDBInitStartScriptModel) (string, error)
func RenderTiDBStartScript ¶
func RenderTiDBStartScript(tc *v1alpha1.TidbCluster) (string, error)
func RenderTiFlashInitScript ¶
func RenderTiFlashInitScript(tc *v1alpha1.TidbCluster) (string, error)
func RenderTiFlashStartScript ¶
func RenderTiFlashStartScript(tc *v1alpha1.TidbCluster) (string, error)
func RenderTiFlashStartScriptWithStartArgs ¶ added in v1.6.0
func RenderTiFlashStartScriptWithStartArgs(tc *v1alpha1.TidbCluster) (string, error)
func RenderTiKVStartScript ¶
func RenderTiKVStartScript(tc *v1alpha1.TidbCluster) (string, error)
Types ¶
type CommonModel ¶
type CommonModel struct { AcrossK8s bool // same as tc.spec.acrossK8s ClusterDomain string // same as tc.spec.clusterDomain }
func (CommonModel) FormatClusterDomain ¶
func (c CommonModel) FormatClusterDomain() string
type PDStartScriptModel ¶
type PDStartScriptModel struct { CommonModel Scheme string DataDir string CheckDomainScript string PDStartTimeout int }
type PumpStartScriptModel ¶
type PumpStartScriptModel struct { CommonModel Scheme string ClusterName string PDAddr string LogLevel string Namespace string }
func (*PumpStartScriptModel) FormatPumpZone ¶
func (pssm *PumpStartScriptModel) FormatPumpZone() string
type TiKVStartScriptModel ¶
type TidbStartScriptModel ¶
type TidbStartScriptModel struct { CommonModel EnablePlugin bool PluginDirectory string PluginList string Path string }
type TiflashStartScriptModel ¶ added in v1.6.0
Click to show internal directories.
Click to hide internal directories.