Documentation ¶
Index ¶
- func RenderPDStartScript(tc *v1alpha1.TidbCluster) (string, error)
- func RenderPumpStartScript(tc *v1alpha1.TidbCluster) (string, error)
- func RenderTiCDCStartScript(tc *v1alpha1.TidbCluster) (string, error)
- func RenderTiDBStartScript(tc *v1alpha1.TidbCluster) (string, error)
- func RenderTiFlashInitScript(tc *v1alpha1.TidbCluster) (string, error)
- func RenderTiFlashStartScript(tc *v1alpha1.TidbCluster) (string, error)
- func RenderTiKVStartScript(tc *v1alpha1.TidbCluster) (string, error)
- func RenderTiProxyStartScript(tc *v1alpha1.TidbCluster) (string, error)
- type AcrossK8sScriptModel
- type PDStartScriptModel
- type PumpStartScriptModel
- type TiCDCStartScriptModel
- type TiDBStartScriptModel
- type TiFlashInitScriptModel
- type TiFlashStartScriptModel
- type TiKVStartScriptModel
- type TiProxyStartScriptModel
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RenderPDStartScript ¶
func RenderPDStartScript(tc *v1alpha1.TidbCluster) (string, error)
RenderPDStartScript renders PD start script from TidbCluster
func RenderPumpStartScript ¶
func RenderPumpStartScript(tc *v1alpha1.TidbCluster) (string, error)
RenderPumpStartScript renders Pump start script from TidbCluster
func RenderTiCDCStartScript ¶
func RenderTiCDCStartScript(tc *v1alpha1.TidbCluster) (string, error)
func RenderTiDBStartScript ¶
func RenderTiDBStartScript(tc *v1alpha1.TidbCluster) (string, error)
RenderTiDBStartScript renders TiDB start script from TidbCluster
func RenderTiFlashInitScript ¶
func RenderTiFlashInitScript(tc *v1alpha1.TidbCluster) (string, error)
RenderTiFlashInitScript renders TiFlash Init script from TidbCluster
func RenderTiFlashStartScript ¶
func RenderTiFlashStartScript(tc *v1alpha1.TidbCluster) (string, error)
RenderTiFlashStartScript renders TiFlash start script from TidbCluster
func RenderTiKVStartScript ¶
func RenderTiKVStartScript(tc *v1alpha1.TidbCluster) (string, error)
RenderTiKVStartScript renders TiKV start script from TidbCluster
func RenderTiProxyStartScript ¶
func RenderTiProxyStartScript(tc *v1alpha1.TidbCluster) (string, error)
RenderTiProxyStartScript renders tiproxy start script for TidbCluster
Types ¶
type AcrossK8sScriptModel ¶
type AcrossK8sScriptModel struct { // DiscoveryAddr is the address of the discovery service. // // When cluster is deployed across k8s, all components except pd will get the pd addr from discovery. DiscoveryAddr string // PDAddr is the address used by discovery to get the actual pd addr. PDAddr string }
AcrossK8sScriptModel contain fields for rendering subscript
type PDStartScriptModel ¶
type PDStartScriptModel struct { PDDomain string PDName string DataDir string PeerURL string AdvertisePeerURL string ClientURL string AdvertiseClientURL string DiscoveryAddr string ExtraArgs string }
PDStartScriptModel contain fields for rendering PD start script
type PumpStartScriptModel ¶
type PumpStartScriptModel struct { PDAddr string LogLevel string AdvertiseAddr string ExtraArgs string AcrossK8s *AcrossK8sScriptModel }
PumpStartScriptModel contain fields for rendering Pump start script
type TiCDCStartScriptModel ¶
type TiCDCStartScriptModel struct { AdvertiseAddr string GCTTL int32 LogFile string LogLevel string PDAddr string ExtraArgs string AcrossK8s *AcrossK8sScriptModel }
TiCDCStartScriptModel contain fields for rendering TiCDC start script
type TiDBStartScriptModel ¶
type TiDBStartScriptModel struct { PDAddr string AdvertiseAddr string ExtraArgs string AcrossK8s *AcrossK8sScriptModel }
TiDBStartScriptModel contain some fields for rendering TiDB start script
type TiFlashInitScriptModel ¶
type TiFlashInitScriptModel struct {
AcrossK8s *AcrossK8sScriptModel
}
TiFlashInitScriptModel contain fields for rendering TiFlash Init script
type TiFlashStartScriptModel ¶
type TiFlashStartScriptModel struct {
ExtraArgs string
}
TiFlashStartScriptModel contain fields for rendering TiFlash start script
type TiKVStartScriptModel ¶
type TiKVStartScriptModel struct { PDAddr string Addr string StatusAddr string AdvertiseAddr string DataDir string Capacity string ExtraArgs string AcrossK8s *AcrossK8sScriptModel }
TiKVStartScriptModel contain fields for rendering TiKV start script
type TiProxyStartScriptModel ¶
type TiProxyStartScriptModel struct { }
TiProxyStartScriptModel contain fields for rendering TiProxy start script