Documentation ¶
Index ¶
- func ExecOrchestrator(query string, args ...interface{}) (sql.Result, error)
- func OpenOrchestrator() (*sql.DB, error)
- func OpenTopology(host string, port int) (*sql.DB, error)
- func QueryOrchestratorRowsMap(query string, on_row func(sqlutils.RowMap) error) error
- func QueryOrchestratorRowsMapBuffered(query string, on_row func(sqlutils.RowMap) error) error
- func ResetInternalDeployment() error
- func SetupMySQLOrchestratorTLS(uri string) (string, error)
- func SetupMySQLTopologyTLS(uri string) (string, error)
- type DummySqlResult
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExecOrchestrator ¶
ExecOrchestrator will execute given query on the orchestrator backend database.
func OpenOrchestrator ¶
OpenTopology returns the DB instance for the orchestrator backed database
func OpenTopology ¶
OpenTopology returns a DB instance to access a topology instance
func QueryOrchestratorRowsMap ¶ added in v1.4.454
QueryRowsMapOrchestrator
func QueryOrchestratorRowsMapBuffered ¶ added in v1.4.454
QueryOrchestratorRowsMapBuffered
func ResetInternalDeployment ¶ added in v1.4.448
func ResetInternalDeployment() error
ResetInternalDeployment will clear existing deployment history (and the effect will be a complete re-deployment the next run). This is made available for possible operational errors, a red button
func SetupMySQLOrchestratorTLS ¶ added in v1.4.392
Create a TLS configuration from the config supplied CA, Certificate, and Private key. Register the TLS config with the mysql drivers as the "orchestrator" config Modify the supplied URI to call the TLS config
func SetupMySQLTopologyTLS ¶ added in v1.4.392
Create a TLS configuration from the config supplied CA, Certificate, and Private key. Register the TLS config with the mysql drivers as the "topology" config Modify the supplied URI to call the TLS config TODO: Way to have password mixed with TLS for various nodes in the topology. Currently everything is TLS or everything is password
Types ¶
type DummySqlResult ¶ added in v1.4.454
type DummySqlResult struct { }
func (DummySqlResult) LastInsertId ¶ added in v1.4.454
func (this DummySqlResult) LastInsertId() (int64, error)
func (DummySqlResult) RowsAffected ¶ added in v1.4.454
func (this DummySqlResult) RowsAffected() (int64, error)