Documentation ¶
Overview ¶
Package sqlcollector contains modules that collects rules from Sql server.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SQLCollector ¶
type SQLCollector interface {
CollectMasterRules(context.Context, time.Duration) []internal.Details
}
SQLCollector is the interface of Collector which declares all funcs that needs to be implemented.
type V1 ¶
type V1 struct {
// contains filtered or unexported fields
}
V1 that execute cmd and connect to SQL server.
func NewV1 ¶
func NewV1(driver, conn string, windows bool, usageMetricsLogger agentstatus.AgentStatus) (*V1, error)
NewV1 initializes a V1 instance.
Click to show internal directories.
Click to hide internal directories.