Documentation ¶
Index ¶
- Constants
- func AfterTestSuite()
- func BeforeTestSuite()
- func CreateSchema(name string)
- func CreateSimulacronCluster(dc1Length int, dc2Length int)
- func EnsureCcmCluster(setupHandler func(), queries ...string)
- func EnsureSimulacronCluster()
- func GetSession() *gocql.Session
- func PanicIfError(err error)
- func StartSimulacron()
- func StopSimulacron()
- func TestLogger() log.Logger
- type ClusterQueryLogReport
- type DataCenterQueryLogReport
- type Frame
- type Message
- type NodeQueryLogReport
- type QueryLog
- type QueryMatches
Constants ¶
View Source
const SimulacronStartIp = "127.0.0.101"
Variables ¶
This section is empty.
Functions ¶
func AfterTestSuite ¶
func AfterTestSuite()
func BeforeTestSuite ¶
func BeforeTestSuite()
func CreateSchema ¶
func CreateSchema(name string)
func CreateSimulacronCluster ¶
func EnsureCcmCluster ¶
func EnsureCcmCluster(setupHandler func(), queries ...string)
func EnsureSimulacronCluster ¶
func EnsureSimulacronCluster()
func PanicIfError ¶
func PanicIfError(err error)
func StartSimulacron ¶
func StartSimulacron()
func StopSimulacron ¶
func StopSimulacron()
func TestLogger ¶
Types ¶
type ClusterQueryLogReport ¶
type ClusterQueryLogReport struct { Id int64 `json:"id"` DataCenters []DataCenterQueryLogReport `json:"data_centers"` }
func GetQueryLogs ¶
func GetQueryLogs(dcIndex int) ClusterQueryLogReport
type DataCenterQueryLogReport ¶
type DataCenterQueryLogReport struct { Id int64 `json:"id"` Nodes []NodeQueryLogReport `json:"nodes"` }
type NodeQueryLogReport ¶
type QueryMatches ¶
func CountLogMatches ¶
func CountLogMatches(nodeLogs []NodeQueryLogReport, query string) QueryMatches
Click to show internal directories.
Click to hide internal directories.