Versions in this module Expand all Collapse all v0 v0.2.0 Jul 6, 2024 v0.1.0 Jun 27, 2024 Changes in this version + const TestAgent + const TestAlertsTable + const TestEnvPrefix + const TestManager + var NcoSql = func() goqu.DialectWrapper { ... }() + var TestConfig = config.Config + var TestPassword = os.Getenv(TestEnvPrefix + "_PASSWORD") + var TestUser = os.Getenv(TestEnvPrefix + "_USER") + func DoBenchmarkInsert(b *testing.B, client Client, rowCount int, concurrency int) + func DoBenchmarkSelect(b *testing.B, client Client, rowCount, selCount int, concurrency int) + func DoTestCRUD(t *testing.T, client Client) + func SentenceFactory() string + type AlertStatusRecord struct + Agent string + AlertGroup string + AlertKey string + ExtendedAttr string + FirstOccurrence int64 + Identifier string + Manager string + Node string + NodeAlias string + Severity uint8 + Summary string + Type uint8 + URL string + func AlertStatusRecordFactory() AlertStatusRecord + func NewAlertStatusRecordFromMap(params map[string]any) AlertStatusRecord + type Client interface + RawSQLPost func(ctx context.Context, query models.Query, credentials models.Credentials) (map[string]QueryResult, error) + type QueryResult struct + AffectedRows int + Error error + RowSet []map[string]any