connection_state

package
v0.21.0-beta.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 11, 2023 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

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 GetConnectionStateTableColumnAlterSql added in v0.20.7

func GetConnectionStateTableColumnAlterSql() []db_common.QueryWithArgs

GetConnectionStateTableColumnAlterSql returns the SQL to make alterations to the table this is for changes to the table made after the 0.20.0 release

func GetConnectionStateTableCreateSql

func GetConnectionStateTableCreateSql() db_common.QueryWithArgs

GetConnectionStateTableCreateSql returns the sql to create the conneciton state table

func GetConnectionStateTableGrantSql added in v0.20.7

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 GetIncompleteConnectionStatePendingIncompleteSql

func GetIncompleteConnectionStatePendingIncompleteSql() db_common.QueryWithArgs

GetIncompleteConnectionStatePendingIncompleteSql returns the sql to set all incomplete connections to 'incomplete'

func GetNewConnectionStateTableInsertSql

func GetNewConnectionStateTableInsertSql(c *modconfig.Connection) db_common.QueryWithArgs

func GetReadConnectionStatePendingSql added in v0.20.4

func GetReadConnectionStatePendingSql() db_common.QueryWithArgs

GetReadConnectionStatePendingSql returns the sql to set all ready connections to 'pending'

func GetSetConnectionStateCommentLoadedSql

func GetSetConnectionStateCommentLoadedSql(connectionName string, commentsLoaded bool) db_common.QueryWithArgs

func GetSetConnectionStateSql

func GetSetConnectionStateSql(connectionName string, state string) db_common.QueryWithArgs

func GetUpdateConnectionStateSql

func GetUpdateConnectionStateSql(c *steampipeconfig.ConnectionState) db_common.QueryWithArgs

GetUpdateConnectionStateSql returns the sql to update the connection state in the able with the current properties

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL