Documentation
¶
Index ¶
- func AddBackend(db *sql.DB, beHostPort string) error
- func AddBroker(db *sql.DB, brokerName string, brokerHost string) error
- func AddFrontend(db *sql.DB, feHostPort string) error
- func DropBackend(db *sql.DB, beHostPort string) error
- func DropBroker(db *sql.DB, brokerName string) error
- func DropFrontend(db *sql.DB, feHostPort string) error
- func GetBeExpectedHosts(cr *dapi.DorisCluster) []string
- func GetBrokerExpectedHosts(cr *dapi.DorisCluster) []string
- func GetBrokerExpectedNames(cr *dapi.DorisCluster) []string
- func GetBrokerNameByPodName(bkPodName string) string
- func GetBrokerPodNameByName(bkPodName string) string
- func GetCnExpectedHosts(cr *dapi.DorisCluster) []string
- func GetFeExpectedHosts(cr *dapi.DorisCluster) []string
- func ShowBackendHosts(db *sql.DB) ([]string, error)
- func ShowBrokerNameHosts(db *sql.DB) (map[string]string, error)
- func ShowFrontendHosts(db *sql.DB) ([]string, error)
- type DorisDiscovery
- type DorisSqlConnConf
- type RecErr
- type RowMap
- type SqlAccount
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetBeExpectedHosts ¶
func GetBeExpectedHosts(cr *dapi.DorisCluster) []string
func GetBrokerExpectedHosts ¶
func GetBrokerExpectedHosts(cr *dapi.DorisCluster) []string
func GetBrokerExpectedNames ¶
func GetBrokerExpectedNames(cr *dapi.DorisCluster) []string
func GetBrokerNameByPodName ¶
func GetBrokerPodNameByName ¶
func GetCnExpectedHosts ¶
func GetCnExpectedHosts(cr *dapi.DorisCluster) []string
func GetFeExpectedHosts ¶
func GetFeExpectedHosts(cr *dapi.DorisCluster) []string
func ShowBrokerNameHosts ¶
ShowBrokerNameHosts returns map structure: key is broker name, value is broker host
Types ¶
type DorisDiscovery ¶
type DorisDiscovery struct { rec.ReconcileContext CR *dapi.DorisCluster }
func (*DorisDiscovery) Reconcile ¶
func (r *DorisDiscovery) Reconcile() *RecErr
type DorisSqlConnConf ¶
DorisSqlConnConf is the Doris SQL connection configuration
func (*DorisSqlConnConf) HostPort ¶
func (e *DorisSqlConnConf) HostPort() string
type RecErr ¶
func NewRecSqlErr ¶
type RowMap ¶
func ReadAllRowsAsString ¶
ReadAllRowsAsString reads all rows from sql.Rows and returns a slice of map[string]string
type SqlAccount ¶
Click to show internal directories.
Click to hide internal directories.