Documentation ¶
Index ¶
- func GetConnectionStateErrorSql(connectionName string, err error) []db_common.QueryWithArgs
- func GetConnectionStateTableCreateSql() []db_common.QueryWithArgs
- func GetConnectionStateTableDropSql() []db_common.QueryWithArgs
- func GetConnectionStateTableGrantSql() []db_common.QueryWithArgs
- func GetDeleteConnectionStateSql(connectionName string) []db_common.QueryWithArgs
- func GetIncompleteConnectionStateErrorSql(err error) []db_common.QueryWithArgs
- func GetNewConnectionStateFromConnectionInsertSql(c *modconfig.Connection) []db_common.QueryWithArgs
- func GetPluginColumnTableCreateSql() db_common.QueryWithArgs
- func GetPluginColumnTableDeletePluginSql(plugin string) db_common.QueryWithArgs
- func GetPluginColumnTableDropSql() db_common.QueryWithArgs
- func GetPluginColumnTableGrantSql() db_common.QueryWithArgs
- func GetPluginColumnTablePopulateSql(pluginName, tableName string, columnSchema *proto.ColumnDefinition, ...) (db_common.QueryWithArgs, error)
- func GetPluginColumnTablePopulateSqlForPlugin(pluginName string, schema map[string]*proto.TableSchema) ([]db_common.QueryWithArgs, error)
- func GetPluginTableCreateSql() db_common.QueryWithArgs
- func GetPluginTableDropSql() db_common.QueryWithArgs
- func GetPluginTableGrantSql() db_common.QueryWithArgs
- func GetPluginTablePopulateSql(plugin *modconfig.Plugin) db_common.QueryWithArgs
- func GetRateLimiterTableCreateSql() db_common.QueryWithArgs
- func GetRateLimiterTableDropSql() db_common.QueryWithArgs
- func GetRateLimiterTableGrantSql() db_common.QueryWithArgs
- func GetRateLimiterTablePopulateSql(settings *modconfig.RateLimiter) db_common.QueryWithArgs
- func GetSetConnectionStateCommentLoadedSql(connectionName string, commentsLoaded bool) []db_common.QueryWithArgs
- func GetSetConnectionStateSql(connectionName string, state string) []db_common.QueryWithArgs
- func GetUpsertConnectionStateSql(c *steampipeconfig.ConnectionState) []db_common.QueryWithArgs
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetConnectionStateErrorSql ¶
func GetConnectionStateErrorSql(connectionName string, err error) []db_common.QueryWithArgs
GetConnectionStateErrorSql returns the sql to set a connection to 'error'
func GetConnectionStateTableCreateSql ¶
func GetConnectionStateTableCreateSql() []db_common.QueryWithArgs
func GetConnectionStateTableDropSql ¶
func GetConnectionStateTableDropSql() []db_common.QueryWithArgs
func GetConnectionStateTableGrantSql ¶
func GetConnectionStateTableGrantSql() []db_common.QueryWithArgs
GetConnectionStateTableGrantSql returns the sql to setup SELECT permission for the 'steampipe_users' role
func GetDeleteConnectionStateSql ¶
func GetDeleteConnectionStateSql(connectionName string) []db_common.QueryWithArgs
func GetIncompleteConnectionStateErrorSql ¶
func GetIncompleteConnectionStateErrorSql(err error) []db_common.QueryWithArgs
GetIncompleteConnectionStateErrorSql returns the sql to set all incomplete connections to 'error' (unless they alre already in error)
func GetNewConnectionStateFromConnectionInsertSql ¶
func GetNewConnectionStateFromConnectionInsertSql(c *modconfig.Connection) []db_common.QueryWithArgs
func GetPluginColumnTableCreateSql ¶ added in v0.21.2
func GetPluginColumnTableCreateSql() db_common.QueryWithArgs
func GetPluginColumnTableDeletePluginSql ¶ added in v0.21.2
func GetPluginColumnTableDeletePluginSql(plugin string) db_common.QueryWithArgs
func GetPluginColumnTableDropSql ¶ added in v0.21.2
func GetPluginColumnTableDropSql() db_common.QueryWithArgs
func GetPluginColumnTableGrantSql ¶ added in v0.21.2
func GetPluginColumnTableGrantSql() db_common.QueryWithArgs
func GetPluginColumnTablePopulateSql ¶ added in v0.21.2
func GetPluginColumnTablePopulateSql( pluginName, tableName string, columnSchema *proto.ColumnDefinition, getKeyColumn, listKeyColumn *proto.KeyColumn) (db_common.QueryWithArgs, error)
func GetPluginColumnTablePopulateSqlForPlugin ¶ added in v0.21.2
func GetPluginColumnTablePopulateSqlForPlugin(pluginName string, schema map[string]*proto.TableSchema) ([]db_common.QueryWithArgs, error)
func GetPluginTableCreateSql ¶
func GetPluginTableCreateSql() db_common.QueryWithArgs
func GetPluginTableDropSql ¶
func GetPluginTableDropSql() db_common.QueryWithArgs
func GetPluginTableGrantSql ¶
func GetPluginTableGrantSql() db_common.QueryWithArgs
func GetPluginTablePopulateSql ¶
func GetPluginTablePopulateSql(plugin *modconfig.Plugin) db_common.QueryWithArgs
func GetRateLimiterTableCreateSql ¶
func GetRateLimiterTableCreateSql() db_common.QueryWithArgs
func GetRateLimiterTableDropSql ¶
func GetRateLimiterTableDropSql() db_common.QueryWithArgs
func GetRateLimiterTableGrantSql ¶
func GetRateLimiterTableGrantSql() db_common.QueryWithArgs
func GetRateLimiterTablePopulateSql ¶
func GetRateLimiterTablePopulateSql(settings *modconfig.RateLimiter) db_common.QueryWithArgs
func GetSetConnectionStateCommentLoadedSql ¶
func GetSetConnectionStateCommentLoadedSql(connectionName string, commentsLoaded bool) []db_common.QueryWithArgs
func GetSetConnectionStateSql ¶
func GetSetConnectionStateSql(connectionName string, state string) []db_common.QueryWithArgs
func GetUpsertConnectionStateSql ¶
func GetUpsertConnectionStateSql(c *steampipeconfig.ConnectionState) []db_common.QueryWithArgs
GetUpsertConnectionStateSql returns the sql to update the connection state in the able with the current properties
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.