Documentation ¶
Overview ¶
Package inventory contains all the code used to collect inventory items from the target
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PopulateInventory ¶
func PopulateInventory(instanceEntity *integration.Entity, connection *connection.SQLConnection)
PopulateInventory gathers inventory data for the SQL Server instance and populates it into entity
Types ¶
type ConfigQueryRow ¶
ConfigQueryRow represents a row in the table returned by sysConfigQuery
type SPConfigRow ¶
type SPConfigRow struct { Name string `db:"name"` Minimum int `db:"minimum"` // not used but needed in order to unmarshal from query results Maximum int `db:"maximum"` // not used but needed in order to unmarshal from query results ConfigValue int `db:"config_value"` // not used but needed in order to unmarshal from query results RunValue int `db:"run_value"` }
SPConfigRow represents a row in the table returned by spConfigQuery
Click to show internal directories.
Click to hide internal directories.