connection_state

package
v0.20.2 Latest Latest
Warning

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

Go to latest
Published: May 19, 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 GetConnectionStateTableCreateSql

func GetConnectionStateTableCreateSql() db_common.QueryWithArgs

GetConnectionStateTableCreateSql returns the sql to create the conneciton state table

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 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