SYMBOL INDEX (1978 symbols across 270 files) FILE: cmd/completion.go function generateCompletionScriptsCmd (line 13) | func generateCompletionScriptsCmd() *cobra.Command { function includeBashHelp (line 32) | func includeBashHelp(base string) string { function includeZshHelp (line 58) | func includeZshHelp(base string) string { function includeFishHelp (line 72) | func includeFishHelp(base string) string { function completionHelp (line 87) | func completionHelp(cmd *cobra.Command, _ []string) { function runGenCompletionScriptsCmd (line 110) | func runGenCompletionScriptsCmd(cmd *cobra.Command, args []string) { FILE: cmd/login.go function loginCmd (line 20) | func loginCmd() *cobra.Command { function runLoginCmd (line 37) | func runLoginCmd(cmd *cobra.Command, _ []string) { function getToken (line 68) | func getToken(ctx context.Context, id string) (loginToken string, err er... function displayLoginMessage (line 103) | func displayLoginMessage(ctx context.Context, token string) { function promptUserForString (line 112) | func promptUserForString(prompt string) (string, error) { FILE: cmd/plugin.go type installedPlugin (line 36) | type installedPlugin struct type failedPlugin (line 42) | type failedPlugin struct type pluginJsonOutput (line 48) | type pluginJsonOutput struct function pluginCmd (line 55) | func pluginCmd() *cobra.Command { function pluginInstallCmd (line 94) | func pluginInstallCmd() *cobra.Command { function pluginUpdateCmd (line 134) | func pluginUpdateCmd() *cobra.Command { function pluginListCmd (line 168) | func pluginListCmd() *cobra.Command { function pluginUninstallCmd (line 199) | func pluginUninstallCmd() *cobra.Command { function runPluginInstallCmd (line 234) | func runPluginInstallCmd(cmd *cobra.Command, args []string) { function doPluginInstall (line 351) | func doPluginInstall(ctx context.Context, bar *uiprogress.Bar, pluginNam... function runPluginUpdateCmd (line 389) | func runPluginUpdateCmd(cmd *cobra.Command, args []string) { function doPluginUpdate (line 538) | func doPluginUpdate(ctx context.Context, bar *uiprogress.Bar, pvr pplugi... function createProgressBar (line 573) | func createProgressBar(plugin string, parentProgressBars *uiprogress.Pro... function installPlugin (line 581) | func installPlugin(ctx context.Context, resolvedPlugin pplugin.ResolvedP... function isPluginNotFoundErr (line 641) | func isPluginNotFoundErr(err error) bool { function resolveUpdatePluginsFromArgs (line 645) | func resolveUpdatePluginsFromArgs(args []string) ([]string, error) { function runPluginListCmd (line 661) | func runPluginListCmd(cmd *cobra.Command, _ []string) { function showPluginListOutput (line 690) | func showPluginListOutput(pluginList []plugin.PluginListItem, failedPlug... function showPluginListAsTable (line 701) | func showPluginListAsTable(pluginList []plugin.PluginListItem, failedPlu... function showPluginListAsJSON (line 751) | func showPluginListAsJSON(pluginList []plugin.PluginListItem, failedPlug... function runPluginUninstallCmd (line 802) | func runPluginUninstallCmd(cmd *cobra.Command, args []string) { function getPluginList (line 852) | func getPluginList(ctx context.Context) (pluginList []plugin.PluginListI... function getPluginConnectionMap (line 886) | func getPluginConnectionMap(ctx context.Context) (pluginConnectionMap, f... function getConnectionState (line 924) | func getConnectionState(ctx context.Context) (steampipeconfig.Connection... FILE: cmd/plugin_manager.go function pluginManagerCmd (line 27) | func pluginManagerCmd() *cobra.Command { function runPluginManagerCmd (line 37) | func runPluginManagerCmd(cmd *cobra.Command, _ []string) { function doRunPluginManager (line 53) | func doRunPluginManager(cmd *cobra.Command) error { function createPluginManager (line 79) | func createPluginManager(cmd *cobra.Command) (*pluginmanager_service.Plu... function shouldRunConnectionWatcher (line 114) | func shouldRunConnectionWatcher() bool { function createPluginManagerLog (line 124) | func createPluginManagerLog() hclog.Logger { FILE: cmd/query.go type queryConfig (line 35) | type queryConfig struct function queryCmd (line 42) | func queryCmd() *cobra.Command { function runQueryCmd (line 95) | func runQueryCmd(cmd *cobra.Command, args []string) { function validateQueryArgs (line 170) | func validateQueryArgs(ctx context.Context, args []string, cfg *queryCon... function getPipedStdinData (line 198) | func getPipedStdinData() string { FILE: cmd/query_test.go function TestGetPipedStdinData_PreservesNewlines (line 14) | func TestGetPipedStdinData_PreservesNewlines(t *testing.T) { function TestValidateQueryArgs_ConcurrentCalls (line 63) | func TestValidateQueryArgs_ConcurrentCalls(t *testing.T) { function TestValidateQueryArgs_InteractiveModeWithSnapshot (line 105) | func TestValidateQueryArgs_InteractiveModeWithSnapshot(t *testing.T) { function TestValidateQueryArgs_BatchModeWithSnapshot (line 125) | func TestValidateQueryArgs_BatchModeWithSnapshot(t *testing.T) { function TestValidateQueryArgs_InvalidOutputFormat (line 149) | func TestValidateQueryArgs_InvalidOutputFormat(t *testing.T) { FILE: cmd/root.go function InitCmd (line 51) | func InitCmd() { function hideRootFlags (line 85) | func hideRootFlags(flags ...string) { function AddCommands (line 98) | func AddCommands() { function ResetCommands (line 117) | func ResetCommands() { function Execute (line 124) | func Execute() int { function createRootContext (line 138) | func createRootContext() context.Context { FILE: cmd/root_test.go function TestHideRootFlags_NonExistentFlag (line 12) | func TestHideRootFlags_NonExistentFlag(t *testing.T) { function TestAddCommands_Concurrent (line 24) | func TestAddCommands_Concurrent(t *testing.T) { FILE: cmd/service.go function serviceCmd (line 31) | func serviceCmd() *cobra.Command { function serviceStartCmd (line 51) | func serviceStartCmd() *cobra.Command { function serviceStatusCmd (line 81) | func serviceStatusCmd() *cobra.Command { function serviceStopCmd (line 102) | func serviceStopCmd() *cobra.Command { function serviceRestartCmd (line 120) | func serviceRestartCmd() *cobra.Command { function runServiceStartCmd (line 137) | func runServiceStartCmd(cmd *cobra.Command, _ []string) { function startService (line 180) | func startService(ctx context.Context, listenAddresses []string, port in... function startServiceAndRefreshConnections (line 227) | func startServiceAndRefreshConnections(ctx context.Context, listenAddres... function runServiceInForeground (line 245) | func runServiceInForeground(ctx context.Context) { function runServiceRestartCmd (line 298) | func runServiceRestartCmd(cmd *cobra.Command, _ []string) { function restartService (line 321) | func restartService(ctx context.Context) (_ *db_local.StartResult) { function runServiceStatusCmd (line 374) | func runServiceStatusCmd(cmd *cobra.Command, _ []string) { function composeStateError (line 403) | func composeStateError(dbStateErr error, pmStateErr error) error { function runServiceStopCmd (line 418) | func runServiceStopCmd(cmd *cobra.Command, _ []string) { function showAllStatus (line 505) | func showAllStatus(ctx context.Context) { function getServiceProcessDetails (line 530) | func getServiceProcessDetails(process *psutils.Process) (string, string,... function printStatus (line 552) | func printStatus(ctx context.Context, dbState *db_local.RunningDBInstanc... function printRunningImplicit (line 662) | func printRunningImplicit(invoker constants.Invoker) { function printClientsConnected (line 674) | func printClientsConnected() { function buildForegroundClientsConnectedMsg (line 686) | func buildForegroundClientsConnectedMsg() string { FILE: main.go function main (line 34) | func main() { function checkRoot (line 71) | func checkRoot(ctx context.Context) { function checkWsl1 (line 95) | func checkWsl1(ctx context.Context) { function checkOSXVersion (line 135) | func checkOSXVersion(ctx context.Context) { function setVersionProperties (line 167) | func setVersionProperties() { FILE: pkg/cmdconfig/app_specific.go function SetAppSpecificConstants (line 17) | func SetAppSpecificConstants() { FILE: pkg/cmdconfig/builder.go type CmdBuilder (line 14) | type CmdBuilder struct method AddStringFlag (line 80) | func (c *CmdBuilder) AddStringFlag(name string, defaultValue string, d... method AddIntFlag (line 91) | func (c *CmdBuilder) AddIntFlag(name string, defaultValue int, desc st... method AddBoolFlag (line 101) | func (c *CmdBuilder) AddBoolFlag(name string, defaultValue bool, desc ... method AddCloudFlags (line 111) | func (c *CmdBuilder) AddCloudFlags() *CmdBuilder { method AddWorkspaceDatabaseFlag (line 118) | func (c *CmdBuilder) AddWorkspaceDatabaseFlag() *CmdBuilder { method AddStringSliceFlag (line 124) | func (c *CmdBuilder) AddStringSliceFlag(name string, defaultValue []st... method AddStringArrayFlag (line 134) | func (c *CmdBuilder) AddStringArrayFlag(name string, defaultValue []st... method AddStringMapStringFlag (line 144) | func (c *CmdBuilder) AddStringMapStringFlag(name string, defaultValue ... method AddVarFlag (line 153) | func (c *CmdBuilder) AddVarFlag(value pflag.Value, name string, usage ... function OnCmd (line 20) | func OnCmd(cmd *cobra.Command) *CmdBuilder { FILE: pkg/cmdconfig/cmd_flags.go type FlagOption (line 14) | type FlagOption function requiredOpt (line 32) | func requiredOpt() FlagOption { function hiddenOpt (line 45) | func hiddenOpt() FlagOption { function deprecatedOpt (line 51) | func deprecatedOpt(replacement string) FlagOption { function noOptDefValOpt (line 57) | func noOptDefValOpt(noOptDefVal string) FlagOption { function withShortHand (line 63) | func withShortHand(shorthand string) FlagOption { FILE: pkg/cmdconfig/cmd_hooks.go function postRunHook (line 46) | func postRunHook(cmd *cobra.Command, args []string) { function preRunHook (line 63) | func preRunHook(cmd *cobra.Command, args []string) { function setMemoryLimit (line 128) | func setMemoryLimit() { function runScheduledTasks (line 140) | func runScheduledTasks(ctx context.Context, cmd *cobra.Command, args []s... function logLevelNeedsReset (line 175) | func logLevelNeedsReset() bool { function envLogLevelSet (line 183) | func envLogLevelSet() bool { function initGlobalConfig (line 199) | func initGlobalConfig() perror_helpers.ErrorAndWarnings { function setCloudTokenDefault (line 268) | func setCloudTokenDefault(loader *parse.WorkspaceProfileLoader[*workspac... function getWorkspaceProfileLoader (line 304) | func getWorkspaceProfileLoader(ctx context.Context) (*parse.WorkspacePro... function validateConfig (line 338) | func validateConfig() perror_helpers.ErrorAndWarnings { function createLogger (line 354) | func createLogger(logBuffer *bytes.Buffer, cmd *cobra.Command) { function ensureInstallDir (line 404) | func ensureInstallDir() { function displayDeprecationWarnings (line 419) | func displayDeprecationWarnings(errorsAndWarnings perror_helpers.ErrorAn... function displayPpDeprecationWarning (line 430) | func displayPpDeprecationWarning() { FILE: pkg/cmdconfig/cmd_hooks_test.go function TestPostRunHook_WaitsForTasks (line 11) | func TestPostRunHook_WaitsForTasks(t *testing.T) { function TestPostRunHook_Timeout (line 40) | func TestPostRunHook_Timeout(t *testing.T) { function TestCmdBuilder_HookIntegration (line 78) | func TestCmdBuilder_HookIntegration(t *testing.T) { function TestCmdBuilder_FlagBinding (line 119) | func TestCmdBuilder_FlagBinding(t *testing.T) { function TestCmdBuilder_MultipleFlagTypes (line 152) | func TestCmdBuilder_MultipleFlagTypes(t *testing.T) { function TestCmdBuilder_CloudFlags (line 186) | func TestCmdBuilder_CloudFlags(t *testing.T) { function TestCmdBuilder_NilFlagPanic (line 205) | func TestCmdBuilder_NilFlagPanic(t *testing.T) { FILE: pkg/cmdconfig/diagnostics.go function DisplayConfig (line 17) | func DisplayConfig() { FILE: pkg/cmdconfig/env_var_type.go type EnvVarType (line 3) | type EnvVarType constant String (line 6) | String EnvVarType = iota constant Int (line 7) | Int constant Bool (line 8) | Bool FILE: pkg/cmdconfig/envvartype_string.go function _ (line 7) | func _() { constant _EnvVarType_name (line 16) | _EnvVarType_name = "StringIntBool" method String (line 20) | func (i EnvVarType) String() string { FILE: pkg/cmdconfig/validate.go function ValidateSnapshotArgs (line 16) | func ValidateSnapshotArgs(ctx context.Context) error { function validateSnapshotLocation (line 54) | func validateSnapshotLocation(ctx context.Context, cloudToken string) er... function setSnapshotLocationFromDefaultWorkspace (line 86) | func setSnapshotLocationFromDefaultWorkspace(ctx context.Context, cloudT... function validateSnapshotTags (line 98) | func validateSnapshotTags() error { FILE: pkg/cmdconfig/validate_test.go function TestValidateSnapshotTags_EdgeCases (line 13) | func TestValidateSnapshotTags_EdgeCases(t *testing.T) { function TestValidateSnapshotArgs_Conflicts (line 99) | func TestValidateSnapshotArgs_Conflicts(t *testing.T) { function TestValidateSnapshotLocation_FileValidation (line 165) | func TestValidateSnapshotLocation_FileValidation(t *testing.T) { function TestValidateSnapshotArgs_MissingHost (line 227) | func TestValidateSnapshotArgs_MissingHost(t *testing.T) { function TestValidateSnapshotTags_EmptyAndWhitespace (line 243) | func TestValidateSnapshotTags_EmptyAndWhitespace(t *testing.T) { function TestValidateSnapshotLocation_TildePath (line 289) | func TestValidateSnapshotLocation_TildePath(t *testing.T) { function TestValidateSnapshotArgs_WorkspaceIdentifierWithoutToken (line 308) | func TestValidateSnapshotArgs_WorkspaceIdentifierWithoutToken(t *testing... function TestValidateSnapshotLocation_RelativePath (line 326) | func TestValidateSnapshotLocation_RelativePath(t *testing.T) { FILE: pkg/cmdconfig/viper.go function Viper (line 25) | func Viper() *viper.Viper { function bootstrapViper (line 30) | func bootstrapViper(loader *parse.WorkspaceProfileLoader[*workspace_prof... function tildefyPaths (line 62) | func tildefyPaths() error { function SetDefaultsFromConfig (line 93) | func SetDefaultsFromConfig(configMap map[string]interface{}) { function setBaseDefaults (line 107) | func setBaseDefaults() error { type envMapping (line 142) | type envMapping struct function setDirectoryDefaultsFromEnv (line 148) | func setDirectoryDefaultsFromEnv() { function setDefaultsFromEnv (line 160) | func setDefaultsFromEnv() { function setConfigFromEnv (line 200) | func setConfigFromEnv(envVar string, configs []string, varType EnvVarTyp... function SetDefaultFromEnv (line 206) | func SetDefaultFromEnv(k string, configVar string, varType EnvVarType) { FILE: pkg/cmdconfig/viper_test.go function TestViper (line 13) | func TestViper(t *testing.T) { function TestSetBaseDefaults (line 24) | func TestSetBaseDefaults(t *testing.T) { function TestSetDefaultFromEnv_String (line 99) | func TestSetDefaultFromEnv_String(t *testing.T) { function TestSetDefaultFromEnv_Bool (line 120) | func TestSetDefaultFromEnv_Bool(t *testing.T) { function TestSetDefaultFromEnv_Int (line 190) | func TestSetDefaultFromEnv_Int(t *testing.T) { function TestSetDefaultFromEnv_MissingEnvVar (line 254) | func TestSetDefaultFromEnv_MissingEnvVar(t *testing.T) { function TestSetDefaultsFromConfig (line 274) | func TestSetDefaultsFromConfig(t *testing.T) { function TestTildefyPaths (line 298) | func TestTildefyPaths(t *testing.T) { function TestSetConfigFromEnv (line 318) | func TestSetConfigFromEnv(t *testing.T) { function TestViperGlobalState_ConcurrentReads (line 341) | func TestViperGlobalState_ConcurrentReads(t *testing.T) { function TestViperGlobalState_ConcurrentWrites (line 374) | func TestViperGlobalState_ConcurrentWrites(t *testing.T) { function TestViperGlobalState_ConcurrentReadWrite (line 411) | func TestViperGlobalState_ConcurrentReadWrite(t *testing.T) { function TestSetDefaultFromEnv_ConcurrentAccess (line 460) | func TestSetDefaultFromEnv_ConcurrentAccess(t *testing.T) { function TestSetDefaultsFromConfig_ConcurrentCalls (line 496) | func TestSetDefaultsFromConfig_ConcurrentCalls(t *testing.T) { function TestSetBaseDefaults_MultipleCalls (line 522) | func TestSetBaseDefaults_MultipleCalls(t *testing.T) { function TestViperReset_StateCleanup (line 544) | func TestViperReset_StateCleanup(t *testing.T) { function TestSetDefaultFromEnv_TypeConversionErrors (line 574) | func TestSetDefaultFromEnv_TypeConversionErrors(t *testing.T) { function TestTildefyPaths_InvalidPaths (line 636) | func TestTildefyPaths_InvalidPaths(t *testing.T) { FILE: pkg/connection/config_map.go type ConnectionConfigMap (line 9) | type ConnectionConfigMap method Diff (line 33) | func (m ConnectionConfigMap) Diff(otherMap ConnectionConfigMap) (added... function NewConnectionConfigMap (line 13) | func NewConnectionConfigMap(connectionMap map[string]*modconfig.Steampip... FILE: pkg/connection/connection_lifecycle_test.go function TestExemplarSchemaMapConcurrentAccess (line 20) | func TestExemplarSchemaMapConcurrentAccess(t *testing.T) { function TestExemplarSchemaMapRaceCondition (line 73) | func TestExemplarSchemaMapRaceCondition(t *testing.T) { function TestRefreshConnectionState_ContextCancellation (line 124) | func TestRefreshConnectionState_ContextCancellation(t *testing.T) { function TestLogRefreshConnectionResultsTypeAssertion (line 198) | func TestLogRefreshConnectionResultsTypeAssertion(t *testing.T) { function TestExecuteUpdateSetsInParallelGoroutineLeak (line 300) | func TestExecuteUpdateSetsInParallelGoroutineLeak(t *testing.T) { FILE: pkg/connection/connection_state_table_updater.go type connectionStateTableUpdater (line 16) | type connectionStateTableUpdater struct method start (line 32) | func (u *connectionStateTableUpdater) start(ctx context.Context) error { method onConnectionReady (line 80) | func (u *connectionStateTableUpdater) onConnectionReady(ctx context.Co... method onConnectionCommentsLoaded (line 94) | func (u *connectionStateTableUpdater) onConnectionCommentsLoaded(ctx c... method onConnectionDeleted (line 108) | func (u *connectionStateTableUpdater) onConnectionDeleted(ctx context.... method onConnectionError (line 125) | func (u *connectionStateTableUpdater) onConnectionError(ctx context.Co... function newConnectionStateTableUpdater (line 21) | func newConnectionStateTableUpdater(updates *steampipeconfig.ConnectionU... FILE: pkg/connection/connection_watcher.go type ConnectionWatcher (line 17) | type ConnectionWatcher struct method handleFileWatcherEvent (line 63) | func (w *ConnectionWatcher) handleFileWatcherEvent([]fsnotify.Event) { method Close (line 126) | func (w *ConnectionWatcher) Close() { function NewConnectionWatcher (line 24) | func NewConnectionWatcher(pluginManager pluginManager) (*ConnectionWatch... FILE: pkg/connection/interface.go type pluginManager (line 13) | type pluginManager interface FILE: pkg/connection/limiter_map.go type LimiterMap (line 9) | type LimiterMap method Equals (line 18) | func (l LimiterMap) Equals(other LimiterMap) bool { method ToPluginLimiterMap (line 23) | func (l LimiterMap) ToPluginLimiterMap() PluginLimiterMap { function NewLimiterMap (line 11) | func NewLimiterMap(limiters []*plugin.RateLimiter) LimiterMap { FILE: pkg/connection/plugin_limiter_map.go type PluginLimiterMap (line 9) | type PluginLimiterMap method Equals (line 11) | func (l PluginLimiterMap) Equals(other PluginLimiterMap) bool { type PluginMap (line 15) | type PluginMap method ToPluginLimiterMap (line 17) | func (p PluginMap) ToPluginLimiterMap() PluginLimiterMap { FILE: pkg/connection/refresh_connections.go function RefreshConnections (line 19) | func RefreshConnections(ctx context.Context, pluginManager pluginManager... FILE: pkg/connection/refresh_connections_state.go type connectionError (line 34) | type connectionError struct type refreshConnectionState (line 39) | type refreshConnectionState struct method refreshConnections (line 102) | func (s *refreshConnectionState) refreshConnections(ctx context.Contex... method setFailedConnectionsToError (line 207) | func (s *refreshConnectionState) setFailedConnectionsToError(ctx conte... method updateRateLimiterDefinitions (line 225) | func (s *refreshConnectionState) updateRateLimiterDefinitions(ctx cont... method updatePluginColumnTable (line 246) | func (s *refreshConnectionState) updatePluginColumnTable(ctx context.C... method addMissingPluginWarnings (line 292) | func (s *refreshConnectionState) addMissingPluginWarnings() { method logRefreshConnectionResults (line 317) | func (s *refreshConnectionState) logRefreshConnectionResults() { method executeConnectionQueries (line 345) | func (s *refreshConnectionState) executeConnectionQueries(ctx context.... method executeUpdateQueries (line 382) | func (s *refreshConnectionState) executeUpdateQueries(ctx context.Cont... method executeUpdatesInParallel (line 502) | func (s *refreshConnectionState) executeUpdatesInParallel(ctx context.... method executeUpdateSetsInParallel (line 519) | func (s *refreshConnectionState) executeUpdateSetsInParallel(ctx conte... method executeUpdateForConnections (line 595) | func (s *refreshConnectionState) executeUpdateForConnections(ctx conte... method executeUpdateQuery (line 643) | func (s *refreshConnectionState) executeUpdateQuery(ctx context.Contex... method UpdateCommentsInParallel (line 688) | func (s *refreshConnectionState) UpdateCommentsInParallel(ctx context.... method updateCommentsForConnection (line 739) | func (s *refreshConnectionState) updateCommentsForConnection(ctx conte... method executeCommentQuery (line 786) | func (s *refreshConnectionState) executeCommentQuery(ctx context.Conte... method getInitialAndRemainingUpdates (line 829) | func (s *refreshConnectionState) getInitialAndRemainingUpdates() (init... method executeDeleteQueries (line 873) | func (s *refreshConnectionState) executeDeleteQueries(ctx context.Cont... method executeDeleteQuery (line 893) | func (s *refreshConnectionState) executeDeleteQuery(ctx context.Contex... method setIncompleteConnectionStateToError (line 934) | func (s *refreshConnectionState) setIncompleteConnectionStateToError(c... function newRefreshConnectionState (line 61) | func newRefreshConnectionState(ctx context.Context, pluginManager plugin... function updateSetMapToArray (line 492) | func updateSetMapToArray(updateSetMap map[string][]*steampipeconfig.Conn... function getCloneSchemaQuery (line 825) | func getCloneSchemaQuery(exemplarSchemaName string, connectionState *ste... FILE: pkg/connection/refresh_connections_state_test.go function TestRefreshConnectionState_ExemplarSchemaMapConcurrentWrites (line 22) | func TestRefreshConnectionState_ExemplarSchemaMapConcurrentWrites(t *tes... function TestRefreshConnectionState_ExemplarSchemaMapConcurrentReadWrite (line 77) | func TestRefreshConnectionState_ExemplarSchemaMapConcurrentReadWrite(t *... function TestRefreshConnectionState_ExemplarMapRaceCondition (line 145) | func TestRefreshConnectionState_ExemplarMapRaceCondition(t *testing.T) { function TestUpdateSetMapToArray (line 212) | func TestUpdateSetMapToArray(t *testing.T) { function TestGetCloneSchemaQuery (line 272) | func TestGetCloneSchemaQuery(t *testing.T) { function TestRefreshConnectionState_DeferErrorHandling (line 313) | func TestRefreshConnectionState_DeferErrorHandling(t *testing.T) { function TestRefreshConnectionState_NilResInDefer (line 340) | func TestRefreshConnectionState_NilResInDefer(t *testing.T) { function TestRefreshConnectionState_MultiplePluginsSameExemplar (line 354) | func TestRefreshConnectionState_MultiplePluginsSameExemplar(t *testing.T) { function TestRefreshConnectionState_ErrorChannelBlocking (line 396) | func TestRefreshConnectionState_ErrorChannelBlocking(t *testing.T) { function TestRefreshConnectionState_ExemplarMapNilPlugin (line 449) | func TestRefreshConnectionState_ExemplarMapNilPlugin(t *testing.T) { function TestConnectionError (line 471) | func TestConnectionError(t *testing.T) { type mockPluginManager (line 490) | type mockPluginManager struct method Pool (line 495) | func (m *mockPluginManager) Pool() *pgxpool.Pool { method OnConnectionConfigChanged (line 500) | func (m *mockPluginManager) OnConnectionConfigChanged(context.Context,... method GetConnectionConfig (line 503) | func (m *mockPluginManager) GetConnectionConfig() ConnectionConfigMap { method HandlePluginLimiterChanges (line 507) | func (m *mockPluginManager) HandlePluginLimiterChanges(PluginLimiterMa... method ShouldFetchRateLimiterDefs (line 511) | func (m *mockPluginManager) ShouldFetchRateLimiterDefs() bool { method LoadPluginRateLimiters (line 515) | func (m *mockPluginManager) LoadPluginRateLimiters(map[string]string) ... method SendPostgresSchemaNotification (line 519) | func (m *mockPluginManager) SendPostgresSchemaNotification(context.Con... method SendPostgresErrorsAndWarningsNotification (line 523) | func (m *mockPluginManager) SendPostgresErrorsAndWarningsNotification(... method UpdatePluginColumnsTable (line 526) | func (m *mockPluginManager) UpdatePluginColumnsTable(context.Context, ... function TestNewRefreshConnectionState_NilPool (line 532) | func TestNewRefreshConnectionState_NilPool(t *testing.T) { function TestRefreshConnectionState_ConnectionOrderEdgeCases (line 550) | func TestRefreshConnectionState_ConnectionOrderEdgeCases(t *testing.T) { FILE: pkg/connection_sync/wait_for_search_path.go function WaitForSearchPathSchemas (line 14) | func WaitForSearchPathSchemas(ctx context.Context, client db_common.Clie... FILE: pkg/constants/app.go constant ClientConnectionAppNamePrefix (line 4) | ClientConnectionAppNamePrefix = "steampipe_client" constant ServiceConnectionAppNamePrefix (line 5) | ServiceConnectionAppNamePrefix = "steampipe_service" constant ClientSystemConnectionAppNamePrefix (line 6) | ClientSystemConnectionAppNamePrefix = "steampipe_client_system" FILE: pkg/constants/build.go constant ConfigKeyVersion (line 4) | ConfigKeyVersion = "main.version" constant ConfigKeyCommit (line 5) | ConfigKeyCommit = "main.commit" constant ConfigKeyDate (line 6) | ConfigKeyDate = "main.date" constant ConfigKeyBuiltBy (line 7) | ConfigKeyBuiltBy = "main.builtBy" constant LocalBuild (line 9) | LocalBuild = DefaultBuiltBy constant DefaultVersion (line 13) | DefaultVersion = "0.0.0" constant DefaultCommit (line 14) | DefaultCommit = "none" constant DefaultDate (line 15) | DefaultDate = "unknown" constant DefaultBuiltBy (line 16) | DefaultBuiltBy = "local" FILE: pkg/constants/cache.go constant DefaultMaxCacheSizeMb (line 3) | DefaultMaxCacheSizeMb = 16384 FILE: pkg/constants/cmd_name.go constant CmdNameQuery (line 4) | CmdNameQuery = "query" constant CmdNameCheck (line 5) | CmdNameCheck = "check" constant CmdNameDashboard (line 6) | CmdNameDashboard = "dashboard" FILE: pkg/constants/config_keys.go constant ConfigKeyInteractive (line 5) | ConfigKeyInteractive = "interactive" constant ConfigKeyActiveCommand (line 6) | ConfigKeyActiveCommand = "cmd" constant ConfigKeyActiveCommandArgs (line 7) | ConfigKeyActiveCommandArgs = "cmd_args" constant ConfigInteractiveVariables (line 8) | ConfigInteractiveVariables = "interactive_var" constant ConfigKeyIsTerminalTTY (line 9) | ConfigKeyIsTerminalTTY = "is_terminal" constant ConfigKeyServerSearchPath (line 10) | ConfigKeyServerSearchPath = "server-search-path" constant ConfigKeyServerSearchPathPrefix (line 11) | ConfigKeyServerSearchPathPrefix = "server-search-path-prefix" constant ConfigKeyBypassHomeDirModfileWarning (line 12) | ConfigKeyBypassHomeDirModfileWarning = "bypass-home-dir-modfile-warning" FILE: pkg/constants/control_execute.go constant ControlQueryCancellationTimeoutSecs (line 5) | ControlQueryCancellationTimeoutSecs = 30 constant MaxControlRunAttempts (line 8) | MaxControlRunAttempts = 2 FILE: pkg/constants/control_status.go constant ControlOk (line 4) | ControlOk = "ok" constant ControlAlarm (line 5) | ControlAlarm = "alarm" constant ControlSkip (line 6) | ControlSkip = "skip" constant ControlInfo (line 7) | ControlInfo = "info" constant ControlError (line 8) | ControlError = "error" FILE: pkg/constants/db.go constant MaxParallelClientInits (line 11) | MaxParallelClientInits = 3 constant MaxBackups (line 14) | MaxBackups = 100 constant DatabaseDefaultListenAddresses (line 18) | DatabaseDefaultListenAddresses = "localhost" constant DatabaseDefaultPort (line 19) | DatabaseDefaultPort = 9193 constant DatabaseDefaultCheckQueryTimeout (line 20) | DatabaseDefaultCheckQueryTimeout = 240 constant DatabaseSuperUser (line 21) | DatabaseSuperUser = "root" constant DatabaseUser (line 22) | DatabaseUser = "steampipe" constant DatabaseName (line 23) | DatabaseName = "steampipe" constant DatabaseUsersRole (line 24) | DatabaseUsersRole = "steampipe_users" constant DefaultMaxConnections (line 25) | DefaultMaxConnections = 10 constant DatabaseVersion (line 30) | DatabaseVersion = "14.19.0" constant FdwVersion (line 31) | FdwVersion = "2.2.0" constant PostgresImageRef (line 34) | PostgresImageRef = "ghcr.io/turbot/steampipe/db:14.19.0" constant PostgresImageDigest (line 35) | PostgresImageDigest = "sha256:84264ef41853178707bccb091f5450c22e835f8a98... constant FdwImageRef (line 37) | FdwImageRef = "ghcr.io/turbot/steampipe/fdw:" + FdwVersion constant FdwBinaryFileName (line 38) | FdwBinaryFileName = "steampipe_postgres_fdw.so" constant LegacyInternalSchema (line 47) | LegacyInternalSchema = "internal" constant InternalSchema (line 51) | InternalSchema = "steampipe_internal" constant ServerSettingsTable (line 54) | ServerSettingsTable = "steampipe_server_settings" constant RateLimiterDefinitionTable (line 57) | RateLimiterDefinitionTable = "steampipe_plugin_limiter" constant PluginInstanceTable (line 59) | PluginInstanceTable = "steampipe_plugin" constant PluginColumnTable (line 60) | PluginColumnTable = "steampipe_plugin_column" constant LegacyConnectionStateTable (line 63) | LegacyConnectionStateTable = "steampipe_connection_state" constant ConnectionTable (line 64) | ConnectionTable = "steampipe_connection" constant ConnectionStatePending (line 65) | ConnectionStatePending = "pending" constant ConnectionStatePendingIncomplete (line 66) | ConnectionStatePendingIncomplete = "incomplete" constant ConnectionStateReady (line 67) | ConnectionStateReady = "ready" constant ConnectionStateUpdating (line 68) | ConnectionStateUpdating = "updating" constant ConnectionStateDeleting (line 69) | ConnectionStateDeleting = "deleting" constant ConnectionStateDisabled (line 70) | ConnectionStateDisabled = "disabled" constant ConnectionStateError (line 71) | ConnectionStateError = "error" constant ForeignTableScanMetadataSummary (line 74) | ForeignTableScanMetadataSummary = "steampipe_scan_metadata_summary" constant ForeignTableScanMetadata (line 75) | ForeignTableScanMetadata = "steampipe_scan_metadata" constant ForeignTableSettings (line 76) | ForeignTableSettings = "steampipe_settings" constant ForeignTableSettingsKeyColumn (line 77) | ForeignTableSettingsKeyColumn = "name" constant ForeignTableSettingsValueColumn (line 78) | ForeignTableSettingsValueColumn = "value" constant ForeignTableSettingsCacheKey (line 79) | ForeignTableSettingsCacheKey = "cache" constant ForeignTableSettingsCacheTtlKey (line 80) | ForeignTableSettingsCacheTtlKey = "cache_ttl" constant ForeignTableSettingsCacheClearTimeKey (line 81) | ForeignTableSettingsCacheClearTimeKey = "cache_clear_time" constant FunctionCacheSet (line 83) | FunctionCacheSet = "meta_cache" constant FunctionConnectionCacheClear (line 84) | FunctionConnectionCacheClear = "meta_connection_cache_clear" constant FunctionCacheSetTtl (line 85) | FunctionCacheSetTtl = "meta_cache_ttl" constant LegacyCommandSchema (line 88) | LegacyCommandSchema = "steampipe_command" constant LegacyCommandTableCache (line 90) | LegacyCommandTableCache = "cache" constant LegacyCommandTableCacheOperationColumn (line 91) | LegacyCommandTableCacheOperationColumn = "operation" constant LegacyCommandCacheOn (line 92) | LegacyCommandCacheOn = "cache_on" constant LegacyCommandCacheOff (line 93) | LegacyCommandCacheOff = "cache_off" constant LegacyCommandCacheClear (line 94) | LegacyCommandCacheClear = "cache_clear" constant LegacyCommandTableScanMetadata (line 96) | LegacyCommandTableScanMetadata = "scan_metadata" constant ReservedConnectionNamePrefix (line 113) | ReservedConnectionNamePrefix = "steampipe_" constant IntrospectionTableQuery (line 117) | IntrospectionTableQuery = "steampipe_query" constant IntrospectionTableControl (line 118) | IntrospectionTableControl = "steampipe_control" constant IntrospectionTableBenchmark (line 119) | IntrospectionTableBenchmark = "steampipe_benchmark" constant IntrospectionTableMod (line 120) | IntrospectionTableMod = "steampipe_mod" constant IntrospectionTableDashboard (line 121) | IntrospectionTableDashboard = "steampipe_dashboard" constant IntrospectionTableDashboardContainer (line 122) | IntrospectionTableDashboardContainer = "steampipe_dashboard_container" constant IntrospectionTableDashboardCard (line 123) | IntrospectionTableDashboardCard = "steampipe_dashboard_card" constant IntrospectionTableDashboardChart (line 124) | IntrospectionTableDashboardChart = "steampipe_dashboard_chart" constant IntrospectionTableDashboardFlow (line 125) | IntrospectionTableDashboardFlow = "steampipe_dashboard_flow" constant IntrospectionTableDashboardGraph (line 126) | IntrospectionTableDashboardGraph = "steampipe_dashboard_graph" constant IntrospectionTableDashboardHierarchy (line 127) | IntrospectionTableDashboardHierarchy = "steampipe_dashboard_hierarchy" constant IntrospectionTableDashboardImage (line 128) | IntrospectionTableDashboardImage = "steampipe_dashboard_image" constant IntrospectionTableDashboardInput (line 129) | IntrospectionTableDashboardInput = "steampipe_dashboard_input" constant IntrospectionTableDashboardTable (line 130) | IntrospectionTableDashboardTable = "steampipe_dashboard_table" constant IntrospectionTableDashboardText (line 131) | IntrospectionTableDashboardText = "steampipe_dashboard_text" constant IntrospectionTableVariable (line 132) | IntrospectionTableVariable = "steampipe_variable" constant IntrospectionTableReference (line 133) | IntrospectionTableReference = "steampipe_reference" constant RuntimeParamsKeyApplicationName (line 137) | RuntimeParamsKeyApplicationName = "application_name" type Invoker (line 141) | type Invoker method IsValid (line 159) | func (i Invoker) IsValid() error { constant InvokerService (line 145) | InvokerService Invoker = "service" constant InvokerQuery (line 147) | InvokerQuery = "query" constant InvokerCheck (line 149) | InvokerCheck = "check" constant InvokerPlugin (line 151) | InvokerPlugin = "plugin" constant InvokerDashboard (line 153) | InvokerDashboard = "dashboard" constant InvokerConnectionWatcher (line 155) | InvokerConnectionWatcher = "connection-watcher" FILE: pkg/constants/default_options.go constant DefaultConnectionConfigContent (line 5) | DefaultConnectionConfigContent = ` FILE: pkg/constants/default_workspaces.go constant DefaultWorkspaceContent (line 5) | DefaultWorkspaceContent = ` FILE: pkg/constants/display.go constant SpinnerShowTimeout (line 8) | SpinnerShowTimeout = 1 * time.Second constant MaxColumnWidth (line 10) | MaxColumnWidth = 1024 constant NullString (line 13) | NullString = "" FILE: pkg/constants/env.go constant EnvUpdateCheck (line 5) | EnvUpdateCheck = "STEAMPIPE_UPDATE_CHECK" constant EnvInstallDir (line 6) | EnvInstallDir = "STEAMPIPE_INSTALL_DIR" constant EnvInstallDatabase (line 7) | EnvInstallDatabase = "STEAMPIPE_INITDB_DATABASE_NAME" constant EnvServicePassword (line 8) | EnvServicePassword = "STEAMPIPE_DATABASE_PASSWORD" constant EnvMaxParallel (line 9) | EnvMaxParallel = "STEAMPIPE_MAX_PARALLEL" constant EnvDatabaseStartTimeout (line 11) | EnvDatabaseStartTimeout = "STEAMPIPE_DATABASE_START_TIMEOUT" constant EnvDatabaseSSLPassword (line 12) | EnvDatabaseSSLPassword = "STEAMPIPE_DATABASE_SSL_PASSWORD" constant EnvDashboardStartTimeout (line 13) | EnvDashboardStartTimeout = "STEAMPIPE_DASHBOARD_START_TIMEOUT" constant EnvSnapshotLocation (line 15) | EnvSnapshotLocation = "STEAMPIPE_SNAPSHOT_LOCATION" constant EnvWorkspaceDatabase (line 16) | EnvWorkspaceDatabase = "STEAMPIPE_WORKSPACE_DATABASE" constant EnvWorkspaceProfile (line 17) | EnvWorkspaceProfile = "STEAMPIPE_WORKSPACE" constant EnvPipesHost (line 19) | EnvPipesHost = "PIPES_HOST" constant EnvPipesToken (line 20) | EnvPipesToken = "PIPES_TOKEN" constant EnvPipesInstallDir (line 21) | EnvPipesInstallDir = "PIPES_INSTALL_DIR" constant EnvDisplayWidth (line 23) | EnvDisplayWidth = "STEAMPIPE_DISPLAY_WIDTH" constant EnvCacheEnabled (line 24) | EnvCacheEnabled = "STEAMPIPE_CACHE" constant EnvCacheTTL (line 25) | EnvCacheTTL = "STEAMPIPE_CACHE_TTL" constant EnvCacheMaxTTL (line 26) | EnvCacheMaxTTL = "STEAMPIPE_CACHE_MAX_TTL" constant EnvCacheMaxSize (line 27) | EnvCacheMaxSize = "STEAMPIPE_CACHE_MAX_SIZE_MB" constant EnvQueryTimeout (line 28) | EnvQueryTimeout = "STEAMPIPE_QUERY_TIMEOUT" constant EnvConnectionWatcher (line 30) | EnvConnectionWatcher = "STEAMPIPE_CONNECTION_WATCHER" constant EnvWorkspaceChDir (line 31) | EnvWorkspaceChDir = "STEAMPIPE_WORKSPACE_CHDIR" constant EnvModLocation (line 32) | EnvModLocation = "STEAMPIPE_MOD_LOCATION" constant EnvTelemetry (line 33) | EnvTelemetry = "STEAMPIPE_TELEMETRY" constant EnvWorkspaceProfileLocation (line 34) | EnvWorkspaceProfileLocation = "STEAMPIPE_WORKSPACE_PROFILES_LOCATION" constant EnvInputVarPrefix (line 37) | EnvInputVarPrefix = "SP_VAR_" constant EnvConfigDump (line 40) | EnvConfigDump = "STEAMPIPE_CONFIG_DUMP" constant EnvMemoryMaxMb (line 42) | EnvMemoryMaxMb = "STEAMPIPE_MEMORY_MAX_MB" constant EnvMemoryMaxMbPlugin (line 43) | EnvMemoryMaxMbPlugin = "STEAMPIPE_PLUGIN_MEMORY_MAX_MB" constant EnvPluginStartTimeout (line 45) | EnvPluginStartTimeout = "STEAMPIPE_PLUGIN_START_TIMEOUT" FILE: pkg/constants/exit_codes.go constant ExitCodeSuccessful (line 4) | ExitCodeSuccessful = 0 constant ExitCodeControlsAlarm (line 5) | ExitCodeControlsAlarm = 1 constant ExitCodeControlsError (line 6) | ExitCodeControlsError = 2 constant ExitCodePluginLoadingError (line 7) | ExitCodePluginLoadingError = 11 constant ExitCodePluginListFailure (line 8) | ExitCodePluginListFailure = 12 constant ExitCodePluginNotFound (line 9) | ExitCodePluginNotFound = 13 constant ExitCodePluginInstallFailure (line 10) | ExitCodePluginInstallFailure = 14 constant ExitCodeSnapshotCreationFailed (line 11) | ExitCodeSnapshotCreationFailed = 21 constant ExitCodeSnapshotUploadFailed (line 12) | ExitCodeSnapshotUploadFailed = 22 constant ExitCodeServiceSetupFailure (line 13) | ExitCodeServiceSetupFailure = 31 constant ExitCodeServiceStartupFailure (line 14) | ExitCodeServiceStartupFailure = 32 constant ExitCodeServiceStopFailure (line 15) | ExitCodeServiceStopFailure = 33 constant ExitCodeQueryExecutionFailed (line 16) | ExitCodeQueryExecutionFailed = 41 constant ExitCodeLoginCloudConnectionFailed (line 17) | ExitCodeLoginCloudConnectionFailed = 51 constant ExitCodeModInitFailed (line 18) | ExitCodeModInitFailed = 61 constant ExitCodeModInstallFailed (line 19) | ExitCodeModInstallFailed = 62 constant ExitCodeInvalidExecutionEnvironment (line 20) | ExitCodeInvalidExecutionEnvironment = 249 constant ExitCodeInitializationFailed (line 21) | ExitCodeInitializationFailed = 250 constant ExitCodeBindPortUnavailable (line 22) | ExitCodeBindPortUnavailable = 251 constant ExitCodeNoModFile (line 23) | ExitCodeNoModFile = 252 constant ExitCodeFileSystemAccessFailure (line 24) | ExitCodeFileSystemAccessFailure = 253 constant ExitCodeInsufficientOrWrongInputs (line 25) | ExitCodeInsufficientOrWrongInputs = 254 constant ExitCodeUnknownErrorPanic (line 26) | ExitCodeUnknownErrorPanic = 255 FILE: pkg/constants/extensions.go constant ConfigExtension (line 8) | ConfigExtension = ".spc" constant SnapshotExtension (line 9) | SnapshotExtension = ".sps" constant TokenExtension (line 10) | TokenExtension = ".tptt" constant LegacyTokenExtension (line 11) | LegacyTokenExtension = ".sptt" FILE: pkg/constants/flags.go type QueryOutputMode (line 8) | type QueryOutputMode constant QueryOutputModeCsv (line 11) | QueryOutputModeCsv QueryOutputMode = iota constant QueryOutputModeJson (line 12) | QueryOutputModeJson constant QueryOutputModeLine (line 13) | QueryOutputModeLine constant QueryOutputModeSnapshot (line 14) | QueryOutputModeSnapshot constant QueryOutputModeSnapshotShort (line 15) | QueryOutputModeSnapshotShort constant QueryOutputModeTable (line 16) | QueryOutputModeTable constant OutputFormatSpSnapshotShort (line 20) | OutputFormatSpSnapshotShort = "sps" type QueryTimingMode (line 31) | type QueryTimingMode constant QueryTimingModeOff (line 34) | QueryTimingModeOff QueryTimingMode = iota constant QueryTimingModeOn (line 35) | QueryTimingModeOn constant QueryTimingModeVerbose (line 36) | QueryTimingModeVerbose constant QueryTimingModeTrue (line 38) | QueryTimingModeTrue constant QueryTimingModeFalse (line 39) | QueryTimingModeFalse type CheckTimingMode (line 59) | type CheckTimingMode constant CheckTimingModeOff (line 62) | CheckTimingModeOff CheckTimingMode = iota constant CheckTimingModeOn (line 63) | CheckTimingModeOn type CheckOutputMode (line 76) | type CheckOutputMode constant CheckOutputModeText (line 79) | CheckOutputModeText CheckOutputMode = iota constant CheckOutputModeBrief (line 80) | CheckOutputModeBrief CheckOutputMode = iota constant CheckOutputModeCsv (line 81) | CheckOutputModeCsv constant CheckOutputModeHTML (line 82) | CheckOutputModeHTML constant CheckOutputModeJSON (line 83) | CheckOutputModeJSON constant CheckOutputModeMd (line 84) | CheckOutputModeMd constant CheckOutputModeSnapshot (line 85) | CheckOutputModeSnapshot constant CheckOutputModeSnapshotShort (line 86) | CheckOutputModeSnapshotShort constant CheckOutputModeNone (line 87) | CheckOutputModeNone function FlagValues (line 102) | func FlagValues[T comparable](mappings map[T][]string) []string { FILE: pkg/constants/history.go constant HistoryFile (line 5) | HistoryFile = "history.json" constant HistorySize (line 6) | HistorySize = 500 FILE: pkg/constants/image.go constant BaseImageRef (line 8) | BaseImageRef = "ghcr.io/turbot/steampipe" FILE: pkg/constants/metaquery_commands.go constant CmdTableList (line 6) | CmdTableList = ".tables" constant CmdOutput (line 7) | CmdOutput = ".output" constant CmdTiming (line 8) | CmdTiming = ".timing" constant CmdHeaders (line 9) | CmdHeaders = ".header" constant CmdSeparator (line 10) | CmdSeparator = ".separator" constant CmdExit (line 11) | CmdExit = ".exit" constant CmdQuit (line 12) | CmdQuit = ".quit" constant CmdInspect (line 13) | CmdInspect = ".inspect" constant CmdConnections (line 14) | CmdConnections = ".connections" constant CmdMulti (line 15) | CmdMulti = ".multi" constant CmdClear (line 16) | CmdClear = ".clear" constant CmdHelp (line 17) | CmdHelp = ".help" constant CmdSearchPath (line 18) | CmdSearchPath = ".search_path" constant CmdSearchPathPrefix (line 19) | CmdSearchPathPrefix = ".search_path_prefix" constant CmdCache (line 20) | CmdCache = ".cache" constant CmdCacheTtl (line 21) | CmdCacheTtl = ".cache_ttl" constant CmdAutoComplete (line 22) | CmdAutoComplete = ".autocomplete" FILE: pkg/constants/notifications.go constant PostgresNotificationChannel (line 4) | PostgresNotificationChannel = "steampipe_notification" FILE: pkg/constants/oci.go constant SteampipeHubOCIBase (line 3) | SteampipeHubOCIBase = "hub.steampipe.io/" FILE: pkg/constants/output_format.go constant OutputFormatCSV (line 4) | OutputFormatCSV = "csv" constant OutputFormatJSON (line 5) | OutputFormatJSON = "json" constant OutputFormatTable (line 6) | OutputFormatTable = "table" constant OutputFormatLine (line 7) | OutputFormatLine = "line" constant OutputFormatNone (line 8) | OutputFormatNone = "none" constant OutputFormatText (line 9) | OutputFormatText = "text" constant OutputFormatBrief (line 10) | OutputFormatBrief = "brief" constant OutputFormatSnapshot (line 11) | OutputFormatSnapshot = "snapshot" constant OutputFormatSnapshotShort (line 12) | OutputFormatSnapshotShort = "sps" FILE: pkg/constants/postgresql_conf.go constant PostgresqlConfContent (line 3) | PostgresqlConfContent = ` constant SteampipeConfContent (line 26) | SteampipeConfContent = ` FILE: pkg/constants/ssl.go constant ServerCertKey (line 5) | ServerCertKey = "server.key" constant RootCertKey (line 6) | RootCertKey = "root.key" constant ServerCert (line 7) | ServerCert = "server.crt" constant RootCert (line 8) | RootCert = "root.crt" constant SslConfDir (line 9) | SslConfDir = "/etc/ssl" FILE: pkg/constants/telemetry.go constant TelemetryNone (line 5) | TelemetryNone = "none" constant TelemetryInfo (line 6) | TelemetryInfo = "info" FILE: pkg/constants/workspace_profile.go constant DefaultPipesHost (line 4) | DefaultPipesHost = "pipes.turbot.com" constant LegacyDefaultPipesHost (line 5) | LegacyDefaultPipesHost = "cloud.steampipe.io" constant DefaultWorkspaceDatabase (line 6) | DefaultWorkspaceDatabase = "local" FILE: pkg/db/db_client/db_client.go type DbClient (line 25) | type DbClient struct method closePools (line 115) | func (c *DbClient) closePools() { method loadServerSettings (line 124) | func (c *DbClient) loadServerSettings(ctx context.Context) error { method shouldFetchTiming (line 141) | func (c *DbClient) shouldFetchTiming() bool { method shouldFetchVerboseTiming (line 151) | func (c *DbClient) shouldFetchVerboseTiming() bool { method lockSessions (line 157) | func (c *DbClient) lockSessions() { method sessionsTryLock (line 167) | func (c *DbClient) sessionsTryLock() bool { method sessionsUnlock (line 179) | func (c *DbClient) sessionsUnlock() { method ServerSettings (line 191) | func (c *DbClient) ServerSettings() *db_common.ServerSettings { method RegisterNotificationListener (line 197) | func (c *DbClient) RegisterNotificationListener(func(notification *pgc... method Close (line 202) | func (c *DbClient) Close(context.Context) error { method GetSchemaFromDB (line 218) | func (c *DbClient) GetSchemaFromDB(ctx context.Context) (*db_common.Sc... method GetSchemaFromDBLegacy (line 271) | func (c *DbClient) GetSchemaFromDBLegacy(ctx context.Context, conn *pg... method ResetPools (line 280) | func (c *DbClient) ResetPools(ctx context.Context) { method buildSchemasQuery (line 292) | func (c *DbClient) buildSchemasQuery(schemas ...string) string { method buildSchemasQueryLegacy (line 327) | func (c *DbClient) buildSchemasQueryLegacy() string { function NewDbClient (line 67) | func NewDbClient(ctx context.Context, connectionString string, opts ...C... FILE: pkg/db/db_client/db_client_connect.go constant MaxConnLifeTime (line 19) | MaxConnLifeTime = 10 * time.Minute constant MaxConnIdleTime (line 20) | MaxConnIdleTime = 1 * time.Minute type DbConnectionCallback (line 23) | type DbConnectionCallback method establishConnectionPool (line 25) | func (c *DbClient) establishConnectionPool(ctx context.Context, override... method establishManagementConnectionPool (line 113) | func (c *DbClient) establishManagementConnectionPool(ctx context.Context... function createManagementPoolConfig (line 129) | func createManagementPoolConfig(config *pgxpool.Config, overrides client... FILE: pkg/db/db_client/db_client_execute.go method ExecuteSync (line 31) | func (c *DbClient) ExecuteSync(ctx context.Context, query string, args .... method ExecuteSyncInSession (line 48) | func (c *DbClient) ExecuteSyncInSession(ctx context.Context, session *db... method Execute (line 80) | func (c *DbClient) Execute(ctx context.Context, query string, args ...an... method ExecuteInSession (line 96) | func (c *DbClient) ExecuteInSession(ctx context.Context, session *db_com... method getExecuteContext (line 166) | func (c *DbClient) getExecuteContext(ctx context.Context) context.Context { method getQueryTiming (line 180) | func (c *DbClient) getQueryTiming(ctx context.Context, startTime time.Ti... method loadTimingSummary (line 219) | func (c *DbClient) loadTimingSummary(ctx context.Context, session *db_co... method loadTimingMetadata (line 244) | func (c *DbClient) loadTimingMetadata(ctx context.Context, session *db_c... method startQuery (line 272) | func (c *DbClient) startQuery(ctx context.Context, conn *pgx.Conn, query... method readRows (line 295) | func (c *DbClient) readRows(ctx context.Context, rows pgx.Rows, result *... function readRow (line 342) | func readRow(rows pgx.Rows, cols []*pqueryresult.ColumnDef) ([]interface... function populateRow (line 350) | func populateRow(columnValues []interface{}, cols []*pqueryresult.Column... function isStreamingOutput (line 429) | func isStreamingOutput() bool { function humanizeRowCount (line 435) | func humanizeRowCount(count int) string { FILE: pkg/db/db_client/db_client_execute_retry.go method startQueryWithRetries (line 20) | func (c *DbClient) startQueryWithRetries(ctx context.Context, session *d... FILE: pkg/db/db_client/db_client_execute_test.go function TestTimestamptzTextFormatImplemented (line 20) | func TestTimestamptzTextFormatImplemented(t *testing.T) { function TestTimestamptzFormatCorrectness (line 75) | func TestTimestamptzFormatCorrectness(t *testing.T) { function TestTimestamptzFormatDoesNotAffectOtherTypes (line 120) | func TestTimestamptzFormatDoesNotAffectOtherTypes(t *testing.T) { FILE: pkg/db/db_client/db_client_options.go type PoolOverrides (line 9) | type PoolOverrides struct method apply (line 16) | func (c PoolOverrides) apply(config *pgxpool.Config) { type clientConfig (line 28) | type clientConfig struct type ClientOption (line 33) | type ClientOption function WithUserPoolOverride (line 35) | func WithUserPoolOverride(s PoolOverrides) ClientOption { function WithManagementPoolOverride (line 41) | func WithManagementPoolOverride(s PoolOverrides) ClientOption { FILE: pkg/db/db_client/db_client_search_path.go method SetRequiredSessionSearchPath (line 21) | func (c *DbClient) SetRequiredSessionSearchPath(ctx context.Context) err... method LoadUserSearchPath (line 59) | func (c *DbClient) LoadUserSearchPath(ctx context.Context) error { method loadUserSearchPath (line 68) | func (c *DbClient) loadUserSearchPath(ctx context.Context, connection *p... method GetRequiredSessionSearchPath (line 80) | func (c *DbClient) GetRequiredSessionSearchPath() []string { method GetCustomSearchPath (line 91) | func (c *DbClient) GetCustomSearchPath() []string { method ensureSessionSearchPath (line 99) | func (c *DbClient) ensureSessionSearchPath(ctx context.Context, session ... FILE: pkg/db/db_client/db_client_session.go method AcquireManagementConnection (line 14) | func (c *DbClient) AcquireManagementConnection(ctx context.Context) (*pg... method AcquireSession (line 18) | func (c *DbClient) AcquireSession(ctx context.Context) (sessionResult *d... FILE: pkg/db/db_client/db_client_session_test.go function TestDbClient_SessionRegistration (line 16) | func TestDbClient_SessionRegistration(t *testing.T) { function TestDbClient_SessionUnregistration (line 40) | func TestDbClient_SessionUnregistration(t *testing.T) { function TestDbClient_ConcurrentSessionRegistration (line 74) | func TestDbClient_ConcurrentSessionRegistration(t *testing.T) { function TestDbClient_SessionMapGrowthUnbounded (line 109) | func TestDbClient_SessionMapGrowthUnbounded(t *testing.T) { function TestDbClient_SearchPathUpdates (line 146) | func TestDbClient_SearchPathUpdates(t *testing.T) { function TestSearchPathAccessShouldUseReadLocks (line 171) | func TestSearchPathAccessShouldUseReadLocks(t *testing.T) { function TestDbClient_SessionConnectionNilSafety (line 189) | func TestDbClient_SessionConnectionNilSafety(t *testing.T) { function TestDbClient_SessionSearchPathUpdatesThreadSafe (line 204) | func TestDbClient_SessionSearchPathUpdatesThreadSafe(t *testing.T) { FILE: pkg/db/db_client/db_client_test.go function TestSessionMapCleanupImplemented (line 22) | func TestSessionMapCleanupImplemented(t *testing.T) { function TestBeforeCloseCleanupShouldBeNonBlocking (line 60) | func TestBeforeCloseCleanupShouldBeNonBlocking(t *testing.T) { function TestDbClient_Close_Idempotent (line 89) | func TestDbClient_Close_Idempotent(t *testing.T) { function TestDbClient_ConcurrentSessionAccess (line 119) | func TestDbClient_ConcurrentSessionAccess(t *testing.T) { function TestDbClient_Close_ClearsSessionsMap (line 171) | func TestDbClient_Close_ClearsSessionsMap(t *testing.T) { function TestDbClient_ConcurrentCloseAndRead (line 197) | func TestDbClient_ConcurrentCloseAndRead(t *testing.T) { function TestDbClient_ConcurrentClose (line 249) | func TestDbClient_ConcurrentClose(t *testing.T) { function TestDbClient_SessionsMapNilAfterClose (line 282) | func TestDbClient_SessionsMapNilAfterClose(t *testing.T) { function TestDbClient_SessionsMutexProtectsMap (line 310) | func TestDbClient_SessionsMutexProtectsMap(t *testing.T) { function TestDbClient_SessionMapDocumentation (line 328) | func TestDbClient_SessionMapDocumentation(t *testing.T) { function TestDbClient_ClosePools_NilPoolsHandling (line 343) | func TestDbClient_ClosePools_NilPoolsHandling(t *testing.T) { function TestResetPools (line 357) | func TestResetPools(t *testing.T) { function TestDbClient_SessionsMapInitialized (line 377) | func TestDbClient_SessionsMapInitialized(t *testing.T) { function TestDbClient_DeferredCleanupInNewDbClient (line 394) | func TestDbClient_DeferredCleanupInNewDbClient(t *testing.T) { function TestDbClient_ParallelSessionInitLock (line 409) | func TestDbClient_ParallelSessionInitLock(t *testing.T) { function TestDbClient_BeforeCloseCallbackNilSafety (line 425) | func TestDbClient_BeforeCloseCallbackNilSafety(t *testing.T) { function TestDbClient_BeforeCloseHandlesNilSessions (line 444) | func TestDbClient_BeforeCloseHandlesNilSessions(t *testing.T) { function TestDbClient_DisableTimingFlag (line 476) | func TestDbClient_DisableTimingFlag(t *testing.T) { FILE: pkg/db/db_client/pgx_types.go function columnTypeDatabaseTypeName (line 15) | func columnTypeDatabaseTypeName(field pgconn.FieldDescription, connectio... function fieldDescriptionsToColumns (line 23) | func fieldDescriptionsToColumns(fieldDescriptions []pgconn.FieldDescript... function ensureUniqueColumnName (line 43) | func ensureUniqueColumnName(cols []*queryresult.ColumnDef) error { FILE: pkg/db/db_common/acquire_session_result.go type AcquireSessionResult (line 7) | type AcquireSessionResult struct FILE: pkg/db/db_common/appname.go function IsClientAppName (line 9) | func IsClientAppName(appName string) bool { function IsClientSystemAppName (line 13) | func IsClientSystemAppName(appName string) bool { function IsServiceAppName (line 17) | func IsServiceAppName(appName string) bool { FILE: pkg/db/db_common/cache_control.go function SetCacheTtl (line 13) | func SetCacheTtl(ctx context.Context, duration time.Duration, connection... function CacheClear (line 21) | func CacheClear(ctx context.Context, connection *pgx.Conn) error { function SetCacheEnabled (line 26) | func SetCacheEnabled(ctx context.Context, enabled bool, connection *pgx.... function executeCacheSetFunction (line 34) | func executeCacheSetFunction(ctx context.Context, settingValue string, c... function executeCacheTtlSetFunction (line 46) | func executeCacheTtlSetFunction(ctx context.Context, seconds string, con... FILE: pkg/db/db_common/cache_settings.go function ValidateClientCacheSettings (line 11) | func ValidateClientCacheSettings(c Client) error_helpers.ErrorAndWarnings { function ValidateClientCacheEnabled (line 18) | func ValidateClientCacheEnabled(c Client) error_helpers.ErrorAndWarnings { function ValidateClientCacheTtl (line 32) | func ValidateClientCacheTtl(c Client) error_helpers.ErrorAndWarnings { function CanSetCacheTtl (line 48) | func CanSetCacheTtl(ss *ServerSettings, newTtl int) (bool, string) { FILE: pkg/db/db_common/client.go type Client (line 12) | type Client interface FILE: pkg/db/db_common/db_session.go type DatabaseSession (line 14) | type DatabaseSession struct method Close (line 28) | func (s *DatabaseSession) Close(waitForCleanup bool) { function NewDBSession (line 22) | func NewDBSession(backendPid uint32) *DatabaseSession { FILE: pkg/db/db_common/errors.go function IsRelationNotFoundError (line 9) | func IsRelationNotFoundError(err error) bool { function GetMissingSchemaFromIsRelationNotFoundError (line 14) | func GetMissingSchemaFromIsRelationNotFoundError(err error) (string, str... FILE: pkg/db/db_common/execute.go function ExecuteQuery (line 11) | func ExecuteQuery(ctx context.Context, client Client, queryString string... FILE: pkg/db/db_common/init_result.go type InitResult (line 13) | type InitResult struct method AddMessage (line 23) | func (r *InitResult) AddMessage(message string) { method AddWarnings (line 27) | func (r *InitResult) AddWarnings(warnings ...string) { method HasMessages (line 31) | func (r *InitResult) HasMessages() bool { method DisplayMessages (line 35) | func (r *InitResult) DisplayMessages() { FILE: pkg/db/db_common/max_connections.go function MaxDbConnections (line 9) | func MaxDbConnections() int { FILE: pkg/db/db_common/notification_cache.go type NotificationListener (line 17) | type NotificationListener struct method Stop (line 52) | func (c *NotificationListener) Stop(ctx context.Context) { method RegisterListener (line 58) | func (c *NotificationListener) RegisterListener(onNotification func(*p... method listenToPgNotificationsAsync (line 71) | func (c *NotificationListener) listenToPgNotificationsAsync(ctx contex... function NewNotificationListener (line 26) | func NewNotificationListener(ctx context.Context, conn *pgx.Conn) (*Noti... FILE: pkg/db/db_common/postgres.go function PgEscapeName (line 10) | func PgEscapeName(name string) string { function PgEscapeString (line 20) | func PgEscapeString(str string) string { function PgEscapeSearchPath (line 25) | func PgEscapeSearchPath(searchPath []string) []string { FILE: pkg/db/db_common/query_with_args.go type QueryWithArgs (line 3) | type QueryWithArgs struct FILE: pkg/db/db_common/schema.go type schemaRecord (line 15) | type schemaRecord struct function LoadForeignSchemaNames (line 27) | func LoadForeignSchemaNames(ctx context.Context, conn *pgx.Conn) ([]stri... function LoadSchemaMetadata (line 48) | func LoadSchemaMetadata(ctx context.Context, conn *pgx.Conn, query strin... function buildSchemaMetadata (line 65) | func buildSchemaMetadata(records []schemaRecord) (_ *SchemaMetadata, err... function getSchemaRecordsFromRows (line 105) | func getSchemaRecordsFromRows(rows pgx.Rows) ([]schemaRecord, error) { FILE: pkg/db/db_common/schema_metadata.go function NewSchemaMetadata (line 12) | func NewSchemaMetadata() *SchemaMetadata { type SchemaMetadata (line 19) | type SchemaMetadata struct method GetSchemas (line 47) | func (m *SchemaMetadata) GetSchemas() []string { method GetTablesInSchema (line 57) | func (m *SchemaMetadata) GetTablesInSchema(schemaName string) map[stri... type TableSchema (line 27) | type TableSchema struct type ColumnSchema (line 37) | type ColumnSchema struct function IsSchemaNameValid (line 62) | func IsSchemaNameValid(name string) (bool, string) { FILE: pkg/db/db_common/search_path.go function EnsureInternalSchemaSuffix (line 14) | func EnsureInternalSchemaSuffix(searchPath []string) []string { function AddSearchPathPrefix (line 22) | func AddSearchPathPrefix(searchPathPrefix []string, searchPath []string)... function BuildSearchPathResult (line 35) | func BuildSearchPathResult(searchPathString string) ([]string, error) { function GetUserSearchPath (line 50) | func GetUserSearchPath(ctx context.Context, conn *pgx.Conn) ([]string, e... FILE: pkg/db/db_common/server_settings.go type ServerSettings (line 7) | type ServerSettings struct FILE: pkg/db/db_common/session_system.go type SystemClientExecutor (line 17) | type SystemClientExecutor function ExecuteSystemClientCall (line 21) | func ExecuteSystemClientCall(ctx context.Context, conn *pgx.Conn, execut... FILE: pkg/db/db_common/sql_connections.go function GetCommentsQueryForPlugin (line 9) | func GetCommentsQueryForPlugin(connectionName string, p map[string]*prot... function GetUpdateConnectionQuery (line 29) | func GetUpdateConnectionQuery(connectionName, pluginSchemaName string) s... function GetDeleteConnectionQuery (line 61) | func GetDeleteConnectionQuery(name string) string { FILE: pkg/db/db_common/sql_function.go type SQLFunction (line 4) | type SQLFunction struct FILE: pkg/db/db_common/tls_config.go function AddRootCertToConfig (line 8) | func AddRootCertToConfig(config *pgconn.Config, certLocation string) err... FILE: pkg/db/db_common/wait_connection.go type waitConfig (line 21) | type waitConfig struct type WaitOption (line 26) | type WaitOption function WithRetryInterval (line 28) | func WithRetryInterval(d time.Duration) WaitOption { function WithTimeout (line 33) | func WithTimeout(d time.Duration) WaitOption { function WaitForConnection (line 39) | func WaitForConnection(ctx context.Context, connStr string, options ...W... function WaitForPool (line 76) | func WaitForPool(ctx context.Context, db *pgxpool.Pool, waitOptions ...W... function WaitForConnectionPing (line 90) | func WaitForConnectionPing(ctx context.Context, connection *pgx.Conn, wa... function WaitForRecovery (line 123) | func WaitForRecovery(ctx context.Context, connection *pgx.Conn, waitOpti... FILE: pkg/db/db_local/backup.go constant backupFormat (line 30) | backupFormat = "custom" constant backupDumpFileExtension (line 31) | backupDumpFileExtension = "dump" constant backupTextFileExtension (line 32) | backupTextFileExtension = "sql" type pgRunningInfo (line 37) | type pgRunningInfo struct method stop (line 48) | func (r *pgRunningInfo) stop(ctx context.Context) error { constant noMatViewRefreshListFileName (line 57) | noMatViewRefreshListFileName = "without_refresh.lst" constant onlyMatViewRefreshListFileName (line 58) | onlyMatViewRefreshListFileName = "only_refresh.lst" function prepareBackup (line 63) | func prepareBackup(ctx context.Context) (*string, error) { function killRunningDbInstance (line 100) | func killRunningDbInstance(ctx context.Context) error { function takeBackup (line 127) | func takeBackup(ctx context.Context, config *pgRunningInfo) error { function startDatabaseInLocation (line 153) | func startDatabaseInLocation(ctx context.Context, location string) (*pgR... function findDifferentPgInstallation (line 199) | func findDifferentPgInstallation(ctx context.Context) (bool, string, err... function restoreDBBackup (line 231) | func restoreDBBackup(ctx context.Context) error { function runRestoreUsingList (line 314) | func runRestoreUsingList(ctx context.Context, info *RunningDBInstanceInf... function partitionTableOfContents (line 351) | func partitionTableOfContents(ctx context.Context, tableOfContentsOfBack... function getTableOfContentsFromBackup (line 369) | func getTableOfContentsFromBackup(ctx context.Context) ([]string, error) { function retainBackup (line 409) | func retainBackup(ctx context.Context) error { function pgDumpCmd (line 444) | func pgDumpCmd(ctx context.Context, args ...string) *exec.Cmd { function pgRestoreCmd (line 462) | func pgRestoreCmd(ctx context.Context, args ...string) *exec.Cmd { function trimBackups (line 481) | func trimBackups() { FILE: pkg/db/db_local/backup_test.go function TestTrimBackups (line 16) | func TestTrimBackups(t *testing.T) { FILE: pkg/db/db_local/create_connection.go function getLocalSteampipeConnectionString (line 23) | func getLocalSteampipeConnectionString(opts *CreateDbOptions) (string, e... type CreateDbOptions (line 74) | type CreateDbOptions struct function CreateLocalDbConnection (line 83) | func CreateLocalDbConnection(ctx context.Context, opts *CreateDbOptions)... function CreateConnectionPool (line 121) | func CreateConnectionPool(ctx context.Context, opts *CreateDbOptions, ma... function createMaintenanceClient (line 175) | func createMaintenanceClient(ctx context.Context, port int) (*pgx.Conn, ... FILE: pkg/db/db_local/execute.go function executeSqlAsRoot (line 13) | func executeSqlAsRoot(ctx context.Context, statements ...string) ([]pgco... function ExecuteSqlInTransaction (line 24) | func ExecuteSqlInTransaction(ctx context.Context, conn *pgx.Conn, statem... function ExecuteSqlWithArgsInTransaction (line 41) | func ExecuteSqlWithArgsInTransaction(ctx context.Context, conn *pgx.Conn... FILE: pkg/db/db_local/install.go function noBackupWarning (line 29) | func noBackupWarning() string { function EnsureDBInstalled (line 40) | func EnsureDBInstalled(ctx context.Context) (err error) { function downloadAndInstallDbFiles (line 127) | func downloadAndInstallDbFiles(ctx context.Context) error { function IsDBInstalled (line 146) | func IsDBInstalled() bool { function IsFDWInstalled (line 160) | func IsFDWInstalled() bool { function prepareDb (line 175) | func prepareDb(ctx context.Context) error { function fdwNeedsUpdate (line 227) | func fdwNeedsUpdate(versionInfo *versionfile.DatabaseVersionFile) bool { function dbNeedsUpdate (line 231) | func dbNeedsUpdate(versionInfo *versionfile.DatabaseVersionFile) bool { function installFDW (line 235) | func installFDW(ctx context.Context, firstSetup bool) (string, error) { function needsInit (line 255) | func needsInit() bool { function runInstall (line 263) | func runInstall(ctx context.Context, oldDbName *string) error { function resolveDatabaseName (line 338) | func resolveDatabaseName(oldDbName *string) string { function startServiceForInstall (line 352) | func startServiceForInstall(port int) (*psutils.Process, error) { function isValidDatabaseName (line 380) | func isValidDatabaseName(databaseName string) bool { function initDatabase (line 387) | func initDatabase() error { function installDatabaseWithPermissions (line 438) | func installDatabaseWithPermissions(ctx context.Context, databaseName st... function writePgHbaContent (line 506) | func writePgHbaContent(databaseName string, username string) error { function installForeignServer (line 511) | func installForeignServer(ctx context.Context, rawClient *pgx.Conn) error { function updateDownloadedBinarySignature (line 535) | func updateDownloadedBinarySignature() error { FILE: pkg/db/db_local/install_test.go function TestIsValidDatabaseName (line 7) | func TestIsValidDatabaseName(t *testing.T) { function TestIsValidDatabaseName_EmptyString (line 23) | func TestIsValidDatabaseName_EmptyString(t *testing.T) { FILE: pkg/db/db_local/internal.go function dropLegacyInternalSchema (line 22) | func dropLegacyInternalSchema(ctx context.Context, conn *pgx.Conn) error { function legacyInternalExists (line 42) | func legacyInternalExists(ctx context.Context, conn *pgx.Conn) (bool, er... function setupInternal (line 122) | func setupInternal(ctx context.Context, conn *pgx.Conn) error { function getFunctionAddStrings (line 165) | func getFunctionAddStrings(functions []db_common.SQLFunction) []string { function getFunctionAddString (line 173) | func getFunctionAddString(function db_common.SQLFunction) string { function validateFunction (line 202) | func validateFunction(f db_common.SQLFunction) error { function initializeConnectionStateTable (line 214) | func initializeConnectionStateTable(ctx context.Context, conn *pgx.Conn)... function PopulatePluginTable (line 255) | func PopulatePluginTable(ctx context.Context, conn *pgx.Conn) error { FILE: pkg/db/db_local/local_db_client.go type LocalDbClient (line 20) | type LocalDbClient struct method initNotificationListener (line 96) | func (c *LocalDbClient) initNotificationListener(ctx context.Context) ... method Close (line 117) | func (c *LocalDbClient) Close(ctx context.Context) error { method RegisterNotificationListener (line 132) | func (c *LocalDbClient) RegisterNotificationListener(f func(notificati... function GetLocalClient (line 27) | func GetLocalClient(ctx context.Context, invoker constants.Invoker, opts... function newLocalClient (line 71) | func newLocalClient(ctx context.Context, invoker constants.Invoker, opts... FILE: pkg/db/db_local/logs.go constant logRetentionDays (line 12) | logRetentionDays = 7 function TrimLogs (line 14) | func TrimLogs() { FILE: pkg/db/db_local/notify.go function SendPostgresNotification (line 15) | func SendPostgresNotification(_ context.Context, conn *pgx.Conn, notific... FILE: pkg/db/db_local/password.go type Passwords (line 15) | type Passwords struct function writePasswordFile (line 20) | func writePasswordFile(password string) error { function readPasswordFile (line 27) | func readPasswordFile() (string, error) { function generatePassword (line 42) | func generatePassword() string { function migrateLegacyPasswordFile (line 55) | func migrateLegacyPasswordFile() error { function getLegacyPasswords (line 69) | func getLegacyPasswords() (*Passwords, error) { FILE: pkg/db/db_local/refresh_functions_test.go function TestConcurrentPerms (line 14) | func TestConcurrentPerms(t *testing.T) { function runQueriesAsync (line 62) | func runQueriesAsync(queries []string, wg *sync.WaitGroup, errChan chan ... FILE: pkg/db/db_local/running_info.go constant RunningDBStructVersion (line 19) | RunningDBStructVersion = 20220411 type RunningDBInstanceInfo (line 22) | type RunningDBInstanceInfo struct method MatchWithGivenListenAddresses (line 96) | func (r *RunningDBInstanceInfo) MatchWithGivenListenAddresses(listenAd... method Save (line 108) | func (r *RunningDBInstanceInfo) Save() error { method String (line 119) | func (r *RunningDBInstanceInfo) String() string { function newRunningDBInstanceInfo (line 36) | func newRunningDBInstanceInfo(cmd *exec.Cmd, listenAddresses []string, p... function getListenAddresses (line 54) | func getListenAddresses(listenAddresses []string) []string { function loadRunningInstanceInfo (line 137) | func loadRunningInstanceInfo() (*RunningDBInstanceInfo, error) { function removeRunningInstanceInfo (line 158) | func removeRunningInstanceInfo() error { FILE: pkg/db/db_local/search_path.go function SetUserSearchPath (line 18) | func SetUserSearchPath(ctx context.Context, pool *pgxpool.Pool) ([]strin... function getDefaultSearchPath (line 81) | func getDefaultSearchPath() []string { FILE: pkg/db/db_local/server_settings.go function setupServerSettingsTable (line 20) | func setupServerSettingsTable(ctx context.Context, conn *pgx.Conn) error { FILE: pkg/db/db_local/service.go function GetState (line 17) | func GetState() (*RunningDBInstanceInfo, error) { function errorIfUnknownService (line 50) | func errorIfUnknownService() error { FILE: pkg/db/db_local/sql_clone.go constant cloneForeignSchemaSQL (line 3) | cloneForeignSchemaSQL = `CREATE OR REPLACE FUNCTION clone_foreign_schema( constant cloneCommentsSQL (line 79) | cloneCommentsSQL = ` FILE: pkg/db/db_local/ssl.go constant CertIssuer (line 27) | CertIssuer = "steampipe.io" constant ServerCertValidityPeriod (line 28) | ServerCertValidityPeriod = 3 * (365 * (24 * time.Hour)) function removeExpiringSelfIssuedCertificates (line 33) | func removeExpiringSelfIssuedCertificates() error { function isRootCertificateSelfIssued (line 65) | func isRootCertificateSelfIssued() bool { function isServerCertificateSelfIssued (line 73) | func isServerCertificateSelfIssued() bool { function certificatesExist (line 82) | func certificatesExist() bool { function removeServerCertificate (line 87) | func removeServerCertificate() error { function removeAllCertificates (line 98) | func removeAllCertificates() error { function isRootCertificateExpiring (line 111) | func isRootCertificateExpiring() bool { function isServerCertificateExpiring (line 122) | func isServerCertificateExpiring() bool { function ensureCertificates (line 134) | func ensureCertificates() (err error) { function rootCertificateAndKeyExists (line 162) | func rootCertificateAndKeyExists() bool { function serverCertificateAndKeyExist (line 167) | func serverCertificateAndKeyExist() bool { function isCerticateExpiring (line 172) | func isCerticateExpiring(certificate *x509.Certificate) bool { function generateRootCertificate (line 185) | func generateRootCertificate() (*x509.Certificate, *rsa.PrivateKey, erro... function generateServerCertificate (line 220) | func generateServerCertificate(caCertificateData *x509.Certificate, caPr... function getSerialNumber (line 261) | func getSerialNumber(t time.Time) *big.Int { function sslStatus (line 271) | func sslStatus() string { function dsnSSLParams (line 279) | func dsnSSLParams() map[string]string { function ensureRootPrivateKey (line 306) | func ensureRootPrivateKey() (*rsa.PrivateKey, error) { function loadRootPrivateKey (line 328) | func loadRootPrivateKey() (*rsa.PrivateKey, error) { FILE: pkg/db/db_local/start_services.go type StartResult (line 33) | type StartResult struct method SetError (line 41) | func (r *StartResult) SetError(err error) *StartResult { type StartDbStatus (line 48) | type StartDbStatus constant ServiceStarted (line 52) | ServiceStarted StartDbStatus = iota + 1 constant ServiceAlreadyRunning (line 53) | ServiceAlreadyRunning constant ServiceFailedToStart (line 54) | ServiceFailedToStart type StartListenType (line 58) | type StartListenType method ToListenAddresses (line 68) | func (slt StartListenType) ToListenAddresses() []string { constant ListenTypeNetwork (line 62) | ListenTypeNetwork StartListenType = "network" constant ListenTypeLocal (line 64) | ListenTypeLocal = "local" function StartServices (line 78) | func StartServices(ctx context.Context, listenAddresses []string, port i... function ensurePluginManager (line 143) | func ensurePluginManager(ctx context.Context) (*pluginmanager.PluginMana... function postServiceStart (line 169) | func postServiceStart(ctx context.Context, res *StartResult) error { function startDB (line 219) | func startDB(ctx context.Context, listenAddresses []string, port int, in... function ensureService (line 321) | func ensureService(ctx context.Context, databaseName string) error { function getDatabaseName (line 351) | func getDatabaseName(ctx context.Context, port int) (string, error) { function resolvePassword (line 362) | func resolvePassword() (string, error) { function startPostgresProcess (line 378) | func startPostgresProcess(ctx context.Context, listenAddresses []string,... function retrieveDatabaseNameFromService (line 399) | func retrieveDatabaseNameFromService(ctx context.Context, port int) (str... function writePGConf (line 417) | func writePGConf(ctx context.Context) error { function updateDatabaseNameInRunningInfo (line 436) | func updateDatabaseNameInRunningInfo(ctx context.Context, databaseName s... function createCmd (line 445) | func createCmd(ctx context.Context, port int, listenAddresses []string) ... function setupLogCollection (line 499) | func setupLogCollection(cmd *exec.Cmd) { function traceoutServiceLogs (line 511) | func traceoutServiceLogs(logChannel chan string, stopLogStreamFn func()) { function setServicePassword (line 521) | func setServicePassword(ctx context.Context, password string) error { function setupLogCollector (line 535) | func setupLogCollector(postgresCmd *exec.Cmd) (chan string, func(), erro... function ensurePgExtensions (line 585) | func ensurePgExtensions(ctx context.Context, rootClient *pgx.Conn) error { function ensureSteampipeServer (line 604) | func ensureSteampipeServer(ctx context.Context, rootClient *pgx.Conn) er... function ensureTempTablePermissions (line 618) | func ensureTempTablePermissions(ctx context.Context, databaseName string... function killInstanceIfAny (line 630) | func killInstanceIfAny(ctx context.Context) bool { function FindAllSteampipePostgresInstances (line 647) | func FindAllSteampipePostgresInstances(ctx context.Context) ([]*psutils.... function isSteampipePostgresProcess (line 667) | func isSteampipePostgresProcess(ctx context.Context, cmdline []string) b... FILE: pkg/db/db_local/stop_services.go type StopStatus (line 25) | type StopStatus constant ServiceStopped (line 29) | ServiceStopped StopStatus = iota + 1 constant ServiceNotRunning (line 30) | ServiceNotRunning constant ServiceStopFailed (line 31) | ServiceStopFailed constant ServiceStopTimedOut (line 32) | ServiceStopTimedOut function ShutdownService (line 36) | func ShutdownService(ctx context.Context, invoker constants.Invoker) { type ClientCount (line 82) | type ClientCount struct function GetClientCount (line 101) | func GetClientCount(ctx context.Context) (*ClientCount, error) { function StopServices (line 163) | func StopServices(ctx context.Context, force bool, invoker constants.Inv... function stopDBService (line 188) | func stopDBService(ctx context.Context, force bool) (StopStatus, error) { function doThreeStepPostgresExit (line 252) | func doThreeStepPostgresExit(ctx context.Context, process *psutils.Proce... function waitForProcessExit (line 297) | func waitForProcessExit(process *psutils.Process, waitFor time.Duration)... function getPrintableProcessDetails (line 319) | func getPrintableProcessDetails(process *psutils.Process, indent int) st... FILE: pkg/db/platform/platform_paths.go type PlatformPaths (line 4) | type PlatformPaths struct FILE: pkg/db/sslio/sslio.go function ParseCertificateInLocation (line 15) | func ParseCertificateInLocation(location string) (*x509.Certificate, err... function WriteCertificate (line 33) | func WriteCertificate(path string, certificate []byte) error { function WritePrivateKey (line 37) | func WritePrivateKey(path string, key *rsa.PrivateKey) error { function writeAsPEM (line 41) | func writeAsPEM(location string, pemType string, b []byte) error { FILE: pkg/display/timing.go function DisplayTiming (line 17) | func DisplayTiming(result *queryresult.Result, rowCount int) { function getTiming (line 30) | func getTiming(result *queryresult.Result, count int) *queryresult.Timin... function buildTimingString (line 47) | func buildTimingString(timingResult *queryresult.TimingResult) string { function getDurationString (line 94) | func getDurationString(durationMs int64, p *message.Printer) string { function getVerboseTimingString (line 103) | func getVerboseTimingString(sb *strings.Builder, p *message.Printer, tim... function formatQuals (line 145) | func formatQuals(scan *queryresult.ScanMetadataRow) string { function formatQualValue (line 187) | func formatQualValue(val any) string { FILE: pkg/error_helpers/cancelled.go function IsContextCanceled (line 8) | func IsContextCanceled(ctx context.Context) bool { function IsContextCancelledError (line 12) | func IsContextCancelledError(err error) bool { FILE: pkg/error_helpers/cloud.go function IsInvalidWorkspaceDatabaseArg (line 3) | func IsInvalidWorkspaceDatabaseArg(err error) bool { function IsInvalidCloudToken (line 7) | func IsInvalidCloudToken(err error) bool { FILE: pkg/error_helpers/diags.go function DiagsToError (line 13) | func DiagsToError(prefix string, diags tfdiags.Diagnostics) error { FILE: pkg/error_helpers/postgres.go function DecodePgError (line 10) | func DecodePgError(err error) error { FILE: pkg/error_helpers/utils.go function init (line 19) | func init() { function WrapError (line 23) | func WrapError(err error) error { function FailOnError (line 30) | func FailOnError(err error) { function FailOnErrorWithMessage (line 37) | func FailOnErrorWithMessage(err error, message string) { function ShowError (line 44) | func ShowError(ctx context.Context, err error) { function ShowErrorWithMessage (line 54) | func ShowErrorWithMessage(ctx context.Context, err error, message string) { function TransformErrorToSteampipe (line 66) | func TransformErrorToSteampipe(err error) error { function HandleCancelError (line 90) | func HandleCancelError(err error) error { function HandleQueryTimeoutError (line 98) | func HandleQueryTimeoutError(err error) error { function IsCancelledError (line 105) | func IsCancelledError(err error) bool { function ShowWarning (line 109) | func ShowWarning(warning string) { function CombineErrorsWithPrefix (line 116) | func CombineErrorsWithPrefix(prefix string, errors ...error) error { function allErrorsNil (line 144) | func allErrorsNil(errors ...error) bool { function CombineErrors (line 153) | func CombineErrors(errors ...error) error { function PrefixError (line 157) | func PrefixError(err error, prefix string) error { FILE: pkg/export/exporter.go type ExportSourceData (line 6) | type ExportSourceData interface type Exporter (line 10) | type Exporter interface type ExporterBase (line 17) | type ExporterBase struct method Alias (line 19) | func (*ExporterBase) Alias() string { FILE: pkg/export/helpers.go function GenerateDefaultExportFileName (line 11) | func GenerateDefaultExportFileName(executionName, fileExtension string) ... function Write (line 17) | func Write(filePath string, exportData io.Reader) error { FILE: pkg/export/helpers_test.go type errorReader (line 12) | type errorReader struct method Read (line 18) | func (e *errorReader) Read(p []byte) (n int, err error) { function TestWrite_PartialFileCleanup (line 44) | func TestWrite_PartialFileCleanup(t *testing.T) { FILE: pkg/export/manager.go type Manager (line 18) | type Manager struct method Register (line 31) | func (m *Manager) Register(exporter Exporter) error { method registerExporterByExtension (line 59) | func (m *Manager) registerExporterByExtension(exporter Exporter, ext s... method resolveTargetsFromArgs (line 93) | func (m *Manager) resolveTargetsFromArgs(exportArgs []string, executio... method getExportTarget (line 121) | func (m *Manager) getExportTarget(export, executionName string) (*Targ... method DoExport (line 147) | func (m *Manager) DoExport(ctx context.Context, targetName string, sou... method HasNamedExport (line 175) | func (m *Manager) HasNamedExport(exports []string) bool { method ValidateExportFormat (line 186) | func (m *Manager) ValidateExportFormat(exports []string) error { function NewManager (line 24) | func NewManager() *Manager { function isDefaultExporterForExtension (line 89) | func isDefaultExporterForExtension(existing Exporter) bool { FILE: pkg/export/manager_test.go type testExporter (line 10) | type testExporter struct method Export (line 16) | func (t *testExporter) Export(ctx context.Context, input ExportSourceD... method FileExtension (line 19) | func (t *testExporter) FileExtension() string { return t.extension } method Name (line 20) | func (t *testExporter) Name() string { return t.name } method Alias (line 21) | func (t *testExporter) Alias() string { return t.alias } type exporterTestCase (line 29) | type exporterTestCase struct function TestDoExport (line 93) | func TestDoExport(t *testing.T) { function TestManager_ConcurrentRegistration (line 141) | func TestManager_ConcurrentRegistration(t *testing.T) { FILE: pkg/export/snapshot_exporter.go type SnapshotExporter (line 12) | type SnapshotExporter struct method Export (line 16) | func (e *SnapshotExporter) Export(_ context.Context, input ExportSourc... method FileExtension (line 31) | func (e *SnapshotExporter) FileExtension() string { method Name (line 35) | func (e *SnapshotExporter) Name() string { method Alias (line 39) | func (*SnapshotExporter) Alias() string { FILE: pkg/export/target.go type Target (line 9) | type Target struct method Export (line 15) | func (t *Target) Export(ctx context.Context, input ExportSourceData) (... FILE: pkg/export/target_test.go function TestTarget_Export_NilExporter (line 11) | func TestTarget_Export_NilExporter(t *testing.T) { type mockExportSourceData (line 39) | type mockExportSourceData struct method IsExportSourceData (line 41) | func (m *mockExportSourceData) IsExportSourceData() {} FILE: pkg/filepaths/db_path.go function ServiceExecutableRelativeLocation (line 12) | func ServiceExecutableRelativeLocation() string { function DatabaseInstanceDir (line 16) | func DatabaseInstanceDir() string { function GetDatabaseLocation (line 25) | func GetDatabaseLocation() string { function GetDataLocation (line 34) | func GetDataLocation() string { function DatabaseBackupFilePath (line 45) | func DatabaseBackupFilePath() string { function GetDatabaseLibPath (line 49) | func GetDatabaseLibPath() string { function GetRootCertLocation (line 53) | func GetRootCertLocation() string { function GetRootCertKeyLocation (line 57) | func GetRootCertKeyLocation() string { function GetServerCertLocation (line 61) | func GetServerCertLocation() string { function GetServerCertKeyLocation (line 65) | func GetServerCertKeyLocation() string { function GetInitDbBinaryExecutablePath (line 69) | func GetInitDbBinaryExecutablePath() string { function GetPostgresBinaryExecutablePath (line 73) | func GetPostgresBinaryExecutablePath() string { function PgDumpBinaryExecutablePath (line 77) | func PgDumpBinaryExecutablePath() string { function PgRestoreBinaryExecutablePath (line 81) | func PgRestoreBinaryExecutablePath() string { function GetDBSignatureLocation (line 85) | func GetDBSignatureLocation() string { function getDatabaseLibDirectory (line 90) | func getDatabaseLibDirectory() string { function GetFDWBinaryDir (line 94) | func GetFDWBinaryDir() string { function GetFDWBinaryLocation (line 98) | func GetFDWBinaryLocation() string { function GetFDWSQLAndControlDir (line 102) | func GetFDWSQLAndControlDir() string { function GetFDWSQLAndControlLocation (line 106) | func GetFDWSQLAndControlLocation() (string, string) { function GetPostmasterPidLocation (line 113) | func GetPostmasterPidLocation() string { function GetPgHbaConfLocation (line 117) | func GetPgHbaConfLocation() string { function GetPostgresqlConfLocation (line 121) | func GetPostgresqlConfLocation() string { function GetPostgresqlConfDLocation (line 125) | func GetPostgresqlConfDLocation() string { function GetSteampipeConfLocation (line 129) | func GetSteampipeConfLocation() string { function GetLegacyPasswordFileLocation (line 133) | func GetLegacyPasswordFileLocation() string { function GetPasswordFileLocation (line 137) | func GetPasswordFileLocation() string { FILE: pkg/filepaths/steampipe.go constant connectionsStateFileName (line 16) | connectionsStateFileName = "connection.json" constant versionFileName (line 17) | versionFileName = "versions.json" constant databaseRunningInfoFileName (line 18) | databaseRunningInfoFileName = "steampipe.json" constant pluginManagerStateFileName (line 19) | pluginManagerStateFileName = "plugin_manager.json" constant dashboardServerStateFileName (line 20) | dashboardServerStateFileName = "dashboard_service.json" constant stateFileName (line 21) | stateFileName = "update_check.json" constant legacyStateFileName (line 22) | legacyStateFileName = "update-check.json" constant availableVersionsFileName (line 23) | availableVersionsFileName = "available_versions.json" constant legacyNotificationsFileName (line 24) | legacyNotificationsFileName = "notifications.json" constant localPluginFolder (line 25) | localPluginFolder = "local" function ensureSteampipeSubDir (line 28) | func ensureSteampipeSubDir(dirName string) string { function steampipeSubDir (line 39) | func steampipeSubDir(dirName string) string { function EnsureTemplateDir (line 47) | func EnsureTemplateDir() string { function EnsureInternalDir (line 52) | func EnsureInternalDir() string { function EnsureBackupsDir (line 57) | func EnsureBackupsDir() string { function BackupsDir (line 62) | func BackupsDir() string { function WorkspaceProfileDir (line 72) | func WorkspaceProfileDir(installDir string) (string, error) { function EnsureDatabaseDir (line 81) | func EnsureDatabaseDir() string { function EnsureLogDir (line 86) | func EnsureLogDir() string { function EnsureDashboardAssetsDir (line 90) | func EnsureDashboardAssetsDir() string { function LegacyDashboardAssetsDir (line 95) | func LegacyDashboardAssetsDir() string { function LegacyStateFilePath (line 100) | func LegacyStateFilePath() string { function StateFilePath (line 105) | func StateFilePath() string { function AvailableVersionsFilePath (line 110) | func AvailableVersionsFilePath() string { function LegacyNotificationsFilePath (line 115) | func LegacyNotificationsFilePath() string { function ConnectionStatePath (line 120) | func ConnectionStatePath() string { function LegacyVersionFilePath (line 125) | func LegacyVersionFilePath() string { function DatabaseVersionFilePath (line 130) | func DatabaseVersionFilePath() string { function ReportAssetsVersionFilePath (line 135) | func ReportAssetsVersionFilePath() string { function RunningInfoFilePath (line 139) | func RunningInfoFilePath() string { function PluginManagerStateFilePath (line 143) | func PluginManagerStateFilePath() string { function DashboardServiceStateFilePath (line 147) | func DashboardServiceStateFilePath() string { function StateFileName (line 151) | func StateFileName() string { FILE: pkg/filepaths/workspace.go constant WorkspaceConfigFileName (line 4) | WorkspaceConfigFileName = "workspace.spc" FILE: pkg/initialisation/cloud_metadata.go function getPipesMetadata (line 14) | func getPipesMetadata(ctx context.Context) (*steampipeconfig.PipesMetada... FILE: pkg/initialisation/init_data.go type InitData (line 23) | type InitData struct method RegisterExporters (line 47) | func (i *InitData) RegisterExporters(exporters ...export.Exporter) *In... method Init (line 62) | func (i *InitData) Init(ctx context.Context, invoker constants.Invoker... method Cleanup (line 139) | func (i *InitData) Cleanup(ctx context.Context) { function NewErrorInitData (line 32) | func NewErrorInitData(err error) *InitData { function NewInitData (line 38) | func NewInitData() *InitData { function GetDbClient (line 123) | func GetDbClient(ctx context.Context, invoker constants.Invoker, opts ..... FILE: pkg/initialisation/init_data_test.go function TestInitData_ResourceLeakOnPipesMetadataError (line 16) | func TestInitData_ResourceLeakOnPipesMetadataError(t *testing.T) { function TestInitData_ResourceLeakOnClientError (line 55) | func TestInitData_ResourceLeakOnClientError(t *testing.T) { function TestInitData_CleanupIdempotency (line 92) | func TestInitData_CleanupIdempotency(t *testing.T) { function TestInitData_NilExporter (line 112) | func TestInitData_NilExporter(t *testing.T) { function TestInitData_PartialInitialization (line 127) | func TestInitData_PartialInitialization(t *testing.T) { function TestInitData_GoroutineLeak (line 171) | func TestInitData_GoroutineLeak(t *testing.T) { function TestNewErrorInitData (line 220) | func TestNewErrorInitData(t *testing.T) { function TestInitData_ContextCancellation (line 242) | func TestInitData_ContextCancellation(t *testing.T) { function TestInitData_PanicRecovery (line 273) | func TestInitData_PanicRecovery(t *testing.T) { function TestInitData_DoubleInit (line 283) | func TestInitData_DoubleInit(t *testing.T) { function TestGetDbClient_WithConnectionString (line 321) | func TestGetDbClient_WithConnectionString(t *testing.T) { function TestGetDbClient_WithoutConnectionString (line 356) | func TestGetDbClient_WithoutConnectionString(t *testing.T) { FILE: pkg/installationstate/state.go constant StateStructVersion (line 15) | StateStructVersion = 20220411 type InstallationState (line 17) | type InstallationState struct method Save (line 53) | func (s *InstallationState) Save() error { method IsValid (line 70) | func (s *InstallationState) IsValid() bool { function newInstallationState (line 23) | func newInstallationState() InstallationState { function Load (line 30) | func Load() (InstallationState, error) { function newInstallationID (line 74) | func newInstallationID() string { function nowTimeString (line 78) | func nowTimeString() string { FILE: pkg/interactive/autocomplete_suggestions.go constant maxSchemasInSuggestions (line 12) | maxSchemasInSuggestions = 100 constant maxTablesPerSchema (line 14) | maxTablesPerSchema = 500 constant maxQueriesPerMod (line 16) | maxQueriesPerMod = 500 type autoCompleteSuggestions (line 19) | type autoCompleteSuggestions struct method setTablesForSchema (line 39) | func (s *autoCompleteSuggestions) setTablesForSchema(schemaName string... method setQueriesForMod (line 60) | func (s *autoCompleteSuggestions) setQueriesForMod(modName string, que... method sort (line 78) | func (s *autoCompleteSuggestions) sort() { function newAutocompleteSuggestions (line 29) | func newAutocompleteSuggestions() *autoCompleteSuggestions { FILE: pkg/interactive/autocomplete_suggestions_test.go function TestAutoCompleteSuggestions_ConcurrentSort (line 13) | func TestAutoCompleteSuggestions_ConcurrentSort(t *testing.T) { FILE: pkg/interactive/autocomplete_test.go function TestNewAutocompleteSuggestions (line 10) | func TestNewAutocompleteSuggestions(t *testing.T) { function TestAutocompleteSuggestionsSort (line 30) | func TestAutocompleteSuggestionsSort(t *testing.T) { function TestAutocompleteSuggestionsEmptySort (line 84) | func TestAutocompleteSuggestionsEmptySort(t *testing.T) { function TestAutocompleteSuggestionsSortWithDuplicates (line 98) | func TestAutocompleteSuggestionsSortWithDuplicates(t *testing.T) { function TestAutocompleteSuggestionsWithUnicode (line 124) | func TestAutocompleteSuggestionsWithUnicode(t *testing.T) { function TestAutocompleteSuggestionsLargeDataset (line 148) | func TestAutocompleteSuggestionsLargeDataset(t *testing.T) { function TestAutocompleteSuggestionsMemoryUsage (line 182) | func TestAutocompleteSuggestionsMemoryUsage(t *testing.T) { function TestAutocompleteSuggestionsSizeLimits (line 211) | func TestAutocompleteSuggestionsSizeLimits(t *testing.T) { function TestAutocompleteSuggestionsEdgeCases (line 292) | func TestAutocompleteSuggestionsEdgeCases(t *testing.T) { FILE: pkg/interactive/cancel_test.go function TestCreatePromptContext (line 13) | func TestCreatePromptContext(t *testing.T) { function TestCreatePromptContextReplacesOld (line 39) | func TestCreatePromptContextReplacesOld(t *testing.T) { function TestCreateQueryContext (line 73) | func TestCreateQueryContext(t *testing.T) { function TestCreateQueryContextDoesNotCancelOld (line 99) | func TestCreateQueryContextDoesNotCancelOld(t *testing.T) { function TestCancelActiveQueryIfAnyIdempotent (line 139) | func TestCancelActiveQueryIfAnyIdempotent(t *testing.T) { function TestCancelActiveQueryIfAnyNil (line 166) | func TestCancelActiveQueryIfAnyNil(t *testing.T) { function TestClosePrompt (line 187) | func TestClosePrompt(t *testing.T) { function TestClosePromptNilCancelPanic (line 231) | func TestClosePromptNilCancelPanic(t *testing.T) { function TestContextCancellationPropagation (line 250) | func TestContextCancellationPropagation(t *testing.T) { function TestContextCancellationTimeout (line 270) | func TestContextCancellationTimeout(t *testing.T) { function TestRapidContextCreation (line 291) | func TestRapidContextCreation(t *testing.T) { function TestCancelAfterContextAlreadyCancelled (line 316) | func TestCancelAfterContextAlreadyCancelled(t *testing.T) { function TestContextCancellationTiming (line 343) | func TestContextCancellationTiming(t *testing.T) { function TestCancelFuncReplacement (line 374) | func TestCancelFuncReplacement(t *testing.T) { function TestNoGoroutineLeaks (line 434) | func TestNoGoroutineLeaks(t *testing.T) { function TestConcurrentCancellation (line 458) | func TestConcurrentCancellation(t *testing.T) { function TestMultipleConcurrentCancellations (line 496) | func TestMultipleConcurrentCancellations(t *testing.T) { FILE: pkg/interactive/highlighter.go type Highlighter (line 10) | type Highlighter struct method Highlight (line 24) | func (h *Highlighter) Highlight(d prompt.Document) ([]byte, error) { function newHighlighter (line 16) | func newHighlighter(lexer chroma.Lexer, formatter chroma.Formatter, styl... FILE: pkg/interactive/highlighter_test.go function TestNewHighlighter (line 14) | func TestNewHighlighter(t *testing.T) { function TestHighlighterHighlight (line 39) | func TestHighlighterHighlight(t *testing.T) { function TestGetHighlighter (line 134) | func TestGetHighlighter(t *testing.T) { function TestHighlighterConcurrency (line 173) | func TestHighlighterConcurrency(t *testing.T) { function TestHighlighterMemoryLeak (line 215) | func TestHighlighterMemoryLeak(t *testing.T) { FILE: pkg/interactive/interactive_client.go type AfterPromptCloseAction (line 39) | type AfterPromptCloseAction constant AfterPromptCloseExit (line 42) | AfterPromptCloseExit AfterPromptCloseAction = iota constant AfterPromptCloseRestart (line 43) | AfterPromptCloseRestart type InteractiveClient (line 47) | type InteractiveClient struct method InteractivePrompt (line 109) | func (c *InteractiveClient) InteractivePrompt(parentContext context.Co... method ClosePrompt (line 172) | func (c *InteractiveClient) ClosePrompt(afterClose AfterPromptCloseAct... method loadSchema (line 181) | func (c *InteractiveClient) loadSchema() error { method runInteractivePromptAsync (line 196) | func (c *InteractiveClient) runInteractivePromptAsync(ctx context.Cont... method runInteractivePrompt (line 203) | func (c *InteractiveClient) runInteractivePrompt(ctx context.Context) { method breakMultilinePrompt (line 341) | func (c *InteractiveClient) breakMultilinePrompt(buffer *prompt.Buffer) { method executor (line 345) | func (c *InteractiveClient) executor(ctx context.Context, line string) { method executeQuery (line 392) | func (c *InteractiveClient) executeQuery(ctx context.Context, queryCtx... method getQuery (line 414) | func (c *InteractiveClient) getQuery(ctx context.Context, line string)... method executeMetaquery (line 515) | func (c *InteractiveClient) executeMetaquery(ctx context.Context, quer... method getConnectionState (line 546) | func (c *InteractiveClient) getConnectionState(ctx context.Context) (s... method restartInteractiveSession (line 560) | func (c *InteractiveClient) restartInteractiveSession() { method shouldExecute (line 565) | func (c *InteractiveClient) shouldExecute(line string) bool { method queryCompleter (line 582) | func (c *InteractiveClient) queryCompleter(d prompt.Document) []prompt... method getFirstWordSuggestions (line 619) | func (c *InteractiveClient) getFirstWordSuggestions(word string) []pro... method getTableAndConnectionSuggestions (line 646) | func (c *InteractiveClient) getTableAndConnectionSuggestions(word stri... method startCancelHandler (line 662) | func (c *InteractiveClient) startCancelHandler() chan bool { method listenToPgNotifications (line 692) | func (c *InteractiveClient) listenToPgNotifications(ctx context.Contex... method handlePostgresNotification (line 698) | func (c *InteractiveClient) handlePostgresNotification(ctx context.Con... method handleErrorsAndWarningsNotification (line 722) | func (c *InteractiveClient) handleErrorsAndWarningsNotification(ctx co... method handleConnectionUpdateNotification (line 736) | func (c *InteractiveClient) handleConnectionUpdateNotification(ctx con... function getHighlighter (line 77) | func getHighlighter(theme string) *Highlighter { function newInteractiveClient (line 85) | func newInteractiveClient(ctx context.Context, initData *query.InitData,... function cleanBufferForWSL (line 329) | func cleanBufferForWSL(s string) (string, bool) { FILE: pkg/interactive/interactive_client_autocomplete.go method initialiseSuggestions (line 17) | func (c *InteractiveClient) initialiseSuggestions(ctx context.Context) e... method initialiseSchemaAndTableSuggestions (line 42) | func (c *InteractiveClient) initialiseSchemaAndTableSuggestions(connecti... method initialiseQuerySuggestions (line 112) | func (c *InteractiveClient) initialiseQuerySuggestions() { function sanitiseTableName (line 116) | func sanitiseTableName(strToEscape string) string { FILE: pkg/interactive/interactive_client_autocomplete_test.go function TestInitialiseSchemaAndTableSuggestions_NilClient (line 14) | func TestInitialiseSchemaAndTableSuggestions_NilClient(t *testing.T) { FILE: pkg/interactive/interactive_client_cancel.go method createPromptContext (line 9) | func (c *InteractiveClient) createPromptContext(parentContext context.Co... method createQueryContext (line 19) | func (c *InteractiveClient) createQueryContext(ctx context.Context) cont... method cancelActiveQueryIfAny (line 27) | func (c *InteractiveClient) cancelActiveQueryIfAny() { FILE: pkg/interactive/interactive_client_init.go method handleInitResult (line 16) | func (c *InteractiveClient) handleInitResult(ctx context.Context, initRe... method showMessages (line 49) | func (c *InteractiveClient) showMessages(ctx context.Context, showMessag... method readInitDataStream (line 87) | func (c *InteractiveClient) readInitDataStream(ctx context.Context) { method isInitialised (line 129) | func (c *InteractiveClient) isInitialised() bool { method waitForInitData (line 133) | func (c *InteractiveClient) waitForInitData(ctx context.Context) error { method client (line 152) | func (c *InteractiveClient) client() db_common.Client { FILE: pkg/interactive/interactive_client_test.go function TestGetTableAndConnectionSuggestions_ReturnsEmptySliceNotNil (line 24) | func TestGetTableAndConnectionSuggestions_ReturnsEmptySliceNotNil(t *tes... function TestShouldExecute (line 78) | func TestShouldExecute(t *testing.T) { function TestShouldExecuteEdgeCases (line 166) | func TestShouldExecuteEdgeCases(t *testing.T) { function TestBreakMultilinePrompt (line 219) | func TestBreakMultilinePrompt(t *testing.T) { function TestBreakMultilinePromptEmpty (line 232) | func TestBreakMultilinePromptEmpty(t *testing.T) { function TestBreakMultilinePromptNil (line 251) | func TestBreakMultilinePromptNil(t *testing.T) { function TestIsInitialised (line 274) | func TestIsInitialised(t *testing.T) { function TestClientNil (line 307) | func TestClientNil(t *testing.T) { function TestAfterPromptCloseAction (line 320) | func TestAfterPromptCloseAction(t *testing.T) { function TestGetFirstWordSuggestionsEmptyWord (line 337) | func TestGetFirstWordSuggestionsEmptyWord(t *testing.T) { function TestGetFirstWordSuggestionsQualifiedQuery (line 357) | func TestGetFirstWordSuggestionsQualifiedQuery(t *testing.T) { function TestGetTableAndConnectionSuggestionsEdgeCases (line 405) | func TestGetTableAndConnectionSuggestionsEdgeCases(t *testing.T) { function TestCancelActiveQueryIfAny (line 471) | func TestCancelActiveQueryIfAny(t *testing.T) { function TestInitialisationComplete_RaceCondition (line 545) | func TestInitialisationComplete_RaceCondition(t *testing.T) { function TestGetQueryInfo_FromDetection (line 594) | func TestGetQueryInfo_FromDetection(t *testing.T) { function TestExecuteMetaquery_NotInitialised (line 646) | func TestExecuteMetaquery_NotInitialised(t *testing.T) { FILE: pkg/interactive/interactive_helpers.go type queryCompletionInfo (line 9) | type queryCompletionInfo struct function getQueryInfo (line 14) | func getQueryInfo(text string) *queryCompletionInfo { function isEditingTable (line 24) | func isEditingTable(prevWord string) bool { function getTable (line 28) | func getTable(text string) string { function getPreviousWord (line 42) | func getPreviousWord(text string) string { function lastIndexByteNot (line 60) | func lastIndexByteNot(s string, c byte) int { function isFirstWord (line 70) | func isFirstWord(text string) bool { function lastWord (line 75) | func lastWord(text string) string { FILE: pkg/interactive/interactive_helpers_test.go function TestIsFirstWord (line 9) | func TestIsFirstWord(t *testing.T) { function TestLastWord (line 69) | func TestLastWord(t *testing.T) { function TestLastIndexByteNot (line 129) | func TestLastIndexByteNot(t *testing.T) { function TestGetPreviousWord (line 191) | func TestGetPreviousWord(t *testing.T) { function TestGetTable (line 250) | func TestGetTable(t *testing.T) { function TestIsEditingTable (line 324) | func TestIsEditingTable(t *testing.T) { function TestGetQueryInfo (line 374) | func TestGetQueryInfo(t *testing.T) { function TestCleanBufferForWSL (line 445) | func TestCleanBufferForWSL(t *testing.T) { function TestSanitiseTableName (line 504) | func TestSanitiseTableName(t *testing.T) { function TestHelperFunctionsWithExtremeInput (line 563) | func TestHelperFunctionsWithExtremeInput(t *testing.T) { FILE: pkg/interactive/metaquery/completers.go type CompleterInput (line 10) | type CompleterInput struct type completer (line 15) | type completer function Complete (line 18) | func Complete(input *CompleterInput) []prompt.Suggest { function completerFromArgsOf (line 32) | func completerFromArgsOf(cmd string) completer { function inspectCompleter (line 43) | func inspectCompleter(input *CompleterInput) []prompt.Suggest { FILE: pkg/interactive/metaquery/definitions.go type metaQueryArg (line 8) | type metaQueryArg struct type metaQueryDefinition (line 13) | type metaQueryDefinition struct function init (line 24) | func init() { FILE: pkg/interactive/metaquery/handler_cache.go function cacheControl (line 18) | func cacheControl(ctx context.Context, input *HandlerInput) error { function cacheTTL (line 58) | func cacheTTL(ctx context.Context, input *HandlerInput) error { function showCache (line 85) | func showCache(_ context.Context, input *HandlerInput) error { function showCacheTtl (line 112) | func showCacheTtl(ctx context.Context, input *HandlerInput) error { function getEffectiveCacheTtl (line 127) | func getEffectiveCacheTtl(serverSettings *db_common.ServerSettings, clie... FILE: pkg/interactive/metaquery/handler_help.go function doHelp (line 15) | func doHelp(_ context.Context, _ *HandlerInput) error { function getMetaQueryHelpRows (line 35) | func getMetaQueryHelpRows(cmds []string, arrange bool) [][]string { FILE: pkg/interactive/metaquery/handler_input.go type ConnectionStateGetter (line 11) | type ConnectionStateGetter type HandlerInput (line 14) | type HandlerInput struct method args (line 25) | func (h *HandlerInput) args() []string { FILE: pkg/interactive/metaquery/handler_inspect.go function inspect (line 21) | func inspect(ctx context.Context, input *HandlerInput) error { function inspectSchemaOrUnqualifiedTable (line 66) | func inspectSchemaOrUnqualifiedTable(ctx context.Context, tableOrConnect... function listTables (line 98) | func listTables(ctx context.Context, input *HandlerInput) error { function listConnections (line 148) | func listConnections(ctx context.Context, input *HandlerInput) error { function showStateSummaryTable (line 202) | func showStateSummaryTable(connectionState steampipeconfig.ConnectionSta... function inspectQualifiedTable (line 215) | func inspectQualifiedTable(ctx context.Context, connectionName string, t... function inspectConnection (line 254) | func inspectConnection(ctx context.Context, connectionName string, input... FILE: pkg/interactive/metaquery/handler_inspect_legacy.go function inspectLegacy (line 14) | func inspectLegacy(ctx context.Context, input *HandlerInput) error { function listConnectionsLegacy (line 92) | func listConnectionsLegacy(ctx context.Context, input *HandlerInput) err... function inspectConnectionLegacy (line 120) | func inspectConnectionLegacy(connectionName string, input *HandlerInput)... function inspectTableLegacy (line 144) | func inspectTableLegacy(connectionName string, tableName string, input *... FILE: pkg/interactive/metaquery/handler_search_path.go function setOrGetSearchPath (line 14) | func setOrGetSearchPath(ctx context.Context, input *HandlerInput) error { function setSearchPathPrefix (line 44) | func setSearchPathPrefix(ctx context.Context, input *HandlerInput) error { FILE: pkg/interactive/metaquery/handlers.go type handler (line 15) | type handler function Handle (line 18) | func Handle(ctx context.Context, input *HandlerInput) error { function setHeader (line 30) | func setHeader(_ context.Context, input *HandlerInput) error { function setMultiLine (line 37) | func setMultiLine(_ context.Context, input *HandlerInput) error { function setTiming (line 44) | func setTiming(ctx context.Context, input *HandlerInput) error { function showTimingFlag (line 54) | func showTimingFlag() { function setViperConfigFromArg (line 68) | func setViperConfigFromArg(viperKey string) handler { function doExit (line 76) | func doExit(_ context.Context, input *HandlerInput) error { function clearScreen (line 82) | func clearScreen(_ context.Context, input *HandlerInput) error { function setAutoComplete (line 88) | func setAutoComplete(_ context.Context, input *HandlerInput) error { FILE: pkg/interactive/metaquery/suggestions.go function PromptSuggestions (line 10) | func PromptSuggestions() []prompt.Suggest { FILE: pkg/interactive/metaquery/utils.go function IsMetaQuery (line 11) | func IsMetaQuery(query string) bool { function getCmdAndArgs (line 24) | func getCmdAndArgs(query string) (string, []string) { function getArguments (line 36) | func getArguments(query string) []string { function buildTable (line 42) | func buildTable(rows [][]string, autoMerge bool) string { FILE: pkg/interactive/metaquery/utils_test.go type CmdAndArgsExpected (line 8) | type CmdAndArgsExpected struct function TestGetCmdAndArgs (line 13) | func TestGetCmdAndArgs(t *testing.T) { FILE: pkg/interactive/metaquery/validators.go type ValidationResult (line 16) | type ValidationResult struct type validator (line 22) | type validator function Validate (line 25) | func Validate(query string) ValidationResult { function titleSentenceCase (line 38) | func titleSentenceCase(title string) string { function booleanValidator (line 48) | func booleanValidator(metaquery, arg string, validators ...validator) va... function composeValidator (line 87) | func composeValidator(validators ...validator) validator { function validatorFromArgsOf (line 93) | func validatorFromArgsOf(cmd string) validator { function buildValidationResult (line 169) | func buildValidationResult(val []string, validators []validator) Validat... FILE: pkg/interactive/run.go type RunInteractivePromptResult (line 13) | type RunInteractivePromptResult struct function RunInteractivePrompt (line 19) | func RunInteractivePrompt(ctx context.Context, initData *query.InitData)... FILE: pkg/introspection/connection_table_sql.go function GetConnectionStateTableDropSql (line 13) | func GetConnectionStateTableDropSql() []db_common.QueryWithArgs { function GetConnectionStateTableCreateSql (line 18) | func GetConnectionStateTableCreateSql() []db_common.QueryWithArgs { function GetConnectionStateTableGrantSql (line 41) | func GetConnectionStateTableGrantSql() []db_common.QueryWithArgs { function GetConnectionStateErrorSql (line 50) | func GetConnectionStateErrorSql(connectionName string, err error) []db_c... function GetIncompleteConnectionStateErrorSql (line 64) | func GetIncompleteConnectionStateErrorSql(err error) []db_common.QueryWi... function GetUpsertConnectionStateSql (line 80) | func GetUpsertConnectionStateSql(c *steampipeconfig.ConnectionState) []d... function GetNewConnectionStateFromConnectionInsertSql (line 139) | func GetNewConnectionStateFromConnectionInsertSql(c *modconfig.Steampipe... function GetSetConnectionStateSql (line 182) | func GetSetConnectionStateSql(connectionName string, state string) []db_... function GetDeleteConnectionStateSql (line 194) | func GetDeleteConnectionStateSql(connectionName string) []db_common.Quer... function GetSetConnectionStateCommentLoadedSql (line 200) | func GetSetConnectionStateCommentLoadedSql(connectionName string, commen... function getConnectionStateQueries (line 208) | func getConnectionStateQueries(queryFormat string, args []any) []db_comm... FILE: pkg/introspection/introspection_test.go function TestGetSetConnectionStateSql_SQLInjection (line 24) | func TestGetSetConnectionStateSql_SQLInjection(t *testing.T) { function TestGetConnectionStateErrorSql_ConstantUsage (line 88) | func TestGetConnectionStateErrorSql_ConstantUsage(t *testing.T) { function TestGetConnectionStateErrorSql_EmptyConnectionName (line 111) | func TestGetConnectionStateErrorSql_EmptyConnectionName(t *testing.T) { function TestGetSetConnectionStateSql_EmptyInputs (line 118) | func TestGetSetConnectionStateSql_EmptyInputs(t *testing.T) { function TestGetDeleteConnectionStateSql_EmptyName (line 138) | func TestGetDeleteConnectionStateSql_EmptyName(t *testing.T) { function TestGetUpsertConnectionStateSql_NilFields (line 144) | func TestGetUpsertConnectionStateSql_NilFields(t *testing.T) { function TestGetNewConnectionStateFromConnectionInsertSql_MinimalConnection (line 157) | func TestGetNewConnectionStateFromConnectionInsertSql_MinimalConnection(... function TestGetSetConnectionStateSql_SpecialCharacters (line 173) | func TestGetSetConnectionStateSql_SpecialCharacters(t *testing.T) { function TestGetConnectionStateErrorSql_SpecialCharactersInError (line 204) | func TestGetConnectionStateErrorSql_SpecialCharactersInError(t *testing.... function TestGetDeleteConnectionStateSql_SpecialCharacters (line 227) | func TestGetDeleteConnectionStateSql_SpecialCharacters(t *testing.T) { function TestGetPluginTableCreateSql_ValidSQL (line 250) | func TestGetPluginTableCreateSql_ValidSQL(t *testing.T) { function TestGetPluginTablePopulateSql_AllFields (line 265) | func TestGetPluginTablePopulateSql_AllFields(t *testing.T) { function TestGetPluginTablePopulateSql_SpecialCharacters (line 290) | func TestGetPluginTablePopulateSql_SpecialCharacters(t *testing.T) { function TestGetPluginTableDropSql_ValidSQL (line 329) | func TestGetPluginTableDropSql_ValidSQL(t *testing.T) { function TestGetPluginTableGrantSql_ValidSQL (line 338) | func TestGetPluginTableGrantSql_ValidSQL(t *testing.T) { function TestGetPluginColumnTableCreateSql_ValidSQL (line 350) | func TestGetPluginColumnTableCreateSql_ValidSQL(t *testing.T) { function TestGetPluginColumnTablePopulateSql_AllFieldTypes (line 360) | func TestGetPluginColumnTablePopulateSql_AllFieldTypes(t *testing.T) { function TestGetPluginColumnTablePopulateSql_SQLInjectionAttempts (line 433) | func TestGetPluginColumnTablePopulateSql_SQLInjectionAttempts(t *testing... function TestGetPluginColumnTableDeletePluginSql_SpecialCharacters (line 490) | func TestGetPluginColumnTableDeletePluginSql_SpecialCharacters(t *testin... function TestGetRateLimiterTableCreateSql_ValidSQL (line 511) | func TestGetRateLimiterTableCreateSql_ValidSQL(t *testing.T) { function TestGetRateLimiterTablePopulateSql_AllFields (line 522) | func TestGetRateLimiterTablePopulateSql_AllFields(t *testing.T) { function TestGetRateLimiterTablePopulateSql_SQLInjection (line 555) | func TestGetRateLimiterTablePopulateSql_SQLInjection(t *testing.T) { function TestGetRateLimiterTablePopulateSql_SpecialCharacters (line 611) | func TestGetRateLimiterTablePopulateSql_SpecialCharacters(t *testing.T) { function TestGetRateLimiterTableGrantSql_ValidSQL (line 657) | func TestGetRateLimiterTableGrantSql_ValidSQL(t *testing.T) { function TestGetConnectionStateQueries_ReturnsMultipleQueries (line 669) | func TestGetConnectionStateQueries_ReturnsMultipleQueries(t *testing.T) { function TestVeryLongIdentifiers (line 691) | func TestVeryLongIdentifiers(t *testing.T) { FILE: pkg/introspection/plugin_column_table_sql.go function GetPluginColumnTableCreateSql (line 13) | func GetPluginColumnTableCreateSql() db_common.QueryWithArgs { function GetPluginColumnTablePopulateSqlForPlugin (line 29) | func GetPluginColumnTablePopulateSqlForPlugin(pluginName string, schema ... function GetPluginColumnTablePopulateSql (line 47) | func GetPluginColumnTablePopulateSql( function GetPluginColumnTableDropSql (line 111) | func GetPluginColumnTableDropSql() db_common.QueryWithArgs { function GetPluginColumnTableDeletePluginSql (line 121) | func GetPluginColumnTableDeletePluginSql(plugin string) db_common.QueryW... function GetPluginColumnTableGrantSql (line 133) | func GetPluginColumnTableGrantSql() db_common.QueryWithArgs { type keyColumn (line 144) | type keyColumn struct method MarshalJSON (line 182) | func (s keyColumn) MarshalJSON() ([]byte, error) { function newKeyColumn (line 150) | func newKeyColumn(operators []string, require string, cacheMatch string)... function cleanOperators (line 159) | func cleanOperators(operators []string) []string { FILE: pkg/introspection/plugin_table_sql.go function GetPluginTableCreateSql (line 11) | func GetPluginTableCreateSql() db_common.QueryWithArgs { function GetPluginTablePopulateSql (line 26) | func GetPluginTablePopulateSql(plugin *plugin.Plugin) db_common.QueryWit... function GetPluginTableDropSql (line 52) | func GetPluginTableDropSql() db_common.QueryWithArgs { function GetPluginTableGrantSql (line 62) | func GetPluginTableGrantSql() db_common.QueryWithArgs { FILE: pkg/introspection/rate_limiters_table_sql.go function GetRateLimiterTableCreateSql (line 11) | func GetRateLimiterTableCreateSql() db_common.QueryWithArgs { function GetRateLimiterTableDropSql (line 31) | func GetRateLimiterTableDropSql() db_common.QueryWithArgs { function GetRateLimiterTablePopulateSql (line 41) | func GetRateLimiterTablePopulateSql(settings *plugin.RateLimiter) db_com... function GetRateLimiterTableGrantSql (line 77) | func GetRateLimiterTableGrantSql() db_common.QueryWithArgs { FILE: pkg/ociinstaller/asset_downloader.go type assetsDownloader (line 9) | type assetsDownloader struct method EmptyConfig (line 13) | func (p *assetsDownloader) EmptyConfig() *assetsImageConfig { method GetImageData (line 28) | func (p *assetsDownloader) GetImageData(layers []ocispec.Descriptor) (... function newAssetDownloader (line 17) | func newAssetDownloader() *assetsDownloader { FILE: pkg/ociinstaller/assets_image.go type assetsImage (line 5) | type assetsImage struct method Type (line 9) | func (s *assetsImage) Type() ociinstaller.ImageType { type assetsImageConfig (line 14) | type assetsImageConfig struct FILE: pkg/ociinstaller/db.go function InstallDB (line 18) | func InstallDB(ctx context.Context, dblocation string) (string, error) { function updateVersionFileDB (line 51) | func updateVersionFileDB(image *ociinstaller.OciImage[*dbImage, *dbImage... function installDbFiles (line 66) | func installDbFiles(image *ociinstaller.OciImage[*dbImage, *dbImageConfi... FILE: pkg/ociinstaller/db_downloader.go type dbDownloader (line 11) | type dbDownloader struct method EmptyConfig (line 15) | func (p *dbDownloader) EmptyConfig() *dbImageConfig { method GetImageData (line 30) | func (p *dbDownloader) GetImageData(layers []ocispec.Descriptor) (*dbI... function newDbDownloader (line 19) | func newDbDownloader() *dbDownloader { FILE: pkg/ociinstaller/db_image.go type dbImage (line 5) | type dbImage struct method Type (line 11) | func (s *dbImage) Type() ociinstaller.ImageType { type dbImageConfig (line 15) | type dbImageConfig struct FILE: pkg/ociinstaller/db_test.go function TestDownloadImageData_InvalidLayerCount_DB (line 13) | func TestDownloadImageData_InvalidLayerCount_DB(t *testing.T) { function TestDbDownloader_EmptyConfig (line 49) | func TestDbDownloader_EmptyConfig(t *testing.T) { function TestDbImage_Type (line 59) | func TestDbImage_Type(t *testing.T) { function TestDbDownloader_GetImageData_WithValidLayers (line 67) | func TestDbDownloader_GetImageData_WithValidLayers(t *testing.T) { function TestInstallDbFiles_SimpleMove (line 115) | func TestInstallDbFiles_SimpleMove(t *testing.T) { function TestInstallDB_DiskSpaceExhaustion_BugDocumentation (line 163) | func TestInstallDB_DiskSpaceExhaustion_BugDocumentation(t *testing.T) { function TestUpdateVersionFileDB_FailureHandling_BugDocumentation (line 207) | func TestUpdateVersionFileDB_FailureHandling_BugDocumentation(t *testing... FILE: pkg/ociinstaller/diskspace.go function getAvailableDiskSpace (line 12) | func getAvailableDiskSpace(path string) (uint64, error) { function estimateRequiredSpace (line 44) | func estimateRequiredSpace(imageRef string) uint64 { function validateDiskSpace (line 56) | func validateDiskSpace(path string, imageRef string) error { FILE: pkg/ociinstaller/fdw.go function InstallFdw (line 20) | func InstallFdw(ctx context.Context, dbLocation string) (string, error) { function copyFile (line 55) | func copyFile(src, dst string) error { function updateVersionFileFdw (line 76) | func updateVersionFileFdw(image *ociinstaller.OciImage[*fdwImage, *FdwIm... function installFdwFiles (line 91) | func installFdwFiles(image *ociinstaller.OciImage[*fdwImage, *FdwImageCo... FILE: pkg/ociinstaller/fdw_downloader.go type fdwDownloader (line 11) | type fdwDownloader struct method EmptyConfig (line 15) | func (p *fdwDownloader) EmptyConfig() *FdwImageConfig { method GetImageData (line 30) | func (p *fdwDownloader) GetImageData(layers []ocispec.Descriptor) (*fd... function newFdwDownloader (line 19) | func newFdwDownloader() *fdwDownloader { FILE: pkg/ociinstaller/fdw_image.go type fdwImage (line 5) | type fdwImage struct method Type (line 13) | func (s *fdwImage) Type() ociinstaller.ImageType { type FdwImageConfig (line 17) | type FdwImageConfig struct FILE: pkg/ociinstaller/fdw_test.go function createValidGzipFile (line 14) | func createValidGzipFile(path string, content []byte) error { function TestDownloadImageData_InvalidLayerCount (line 38) | func TestDownloadImageData_InvalidLayerCount(t *testing.T) { function TestValidGzipFileCreation (line 56) | func TestValidGzipFileCreation(t *testing.T) { function TestMediaTypeProvider_PlatformDetection (line 82) | func TestMediaTypeProvider_PlatformDetection(t *testing.T) { function TestInstallFdwFiles_CorruptGzipFile_BugDocumentation (line 143) | func TestInstallFdwFiles_CorruptGzipFile_BugDocumentation(t *testing.T) { FILE: pkg/ociinstaller/mediatypes.go constant MediaTypeDbDocLayer (line 14) | MediaTypeDbDocLayer = "application/vnd.turbot.steampipe.db.doc.lay... constant MediaTypeDbLicenseLayer (line 15) | MediaTypeDbLicenseLayer = "application/vnd.turbot.steampipe.db.license... constant MediaTypeFdwDocLayer (line 16) | MediaTypeFdwDocLayer = "application/vnd.turbot.steampipe.fdw.doc.la... constant MediaTypeFdwLicenseLayer (line 17) | MediaTypeFdwLicenseLayer = "application/vnd.turbot.steampipe.fdw.licens... constant MediaTypeFdwControlLayer (line 18) | MediaTypeFdwControlLayer = "application/vnd.turbot.steampipe.fdw.contro... constant MediaTypeFdwSqlLayer (line 19) | MediaTypeFdwSqlLayer = "application/vnd.turbot.steampipe.fdw.sql.la... constant MediaTypeAssetReportLayer (line 20) | MediaTypeAssetReportLayer = "application/vnd.turbot.steampipe.assets.rep... type SteampipeMediaTypeProvider (line 23) | type SteampipeMediaTypeProvider struct method GetAllMediaTypes (line 25) | func (p SteampipeMediaTypeProvider) GetAllMediaTypes(imageType ociinst... method MediaTypeForPlatform (line 37) | func (SteampipeMediaTypeProvider) MediaTypeForPlatform(imageType ociin... method SharedMediaTypes (line 69) | func (SteampipeMediaTypeProvider) SharedMediaTypes(imageType ociinstal... method ConfigMediaTypes (line 84) | func (SteampipeMediaTypeProvider) ConfigMediaTypes() []string { FILE: pkg/ociinstaller/oci_image_types.go constant ImageTypeDatabase (line 8) | ImageTypeDatabase ociinstaller.ImageType = "db" constant ImageTypeFdw (line 9) | ImageTypeFdw ociinstaller.ImageType = "fdw" constant ImageTypeAssets (line 10) | ImageTypeAssets ociinstaller.ImageType = "assets" FILE: pkg/ociinstaller/versionfile/db_version_file.go constant DatabaseStructVersion (line 13) | DatabaseStructVersion = 20220411 type DatabaseVersionFile (line 15) | type DatabaseVersionFile struct method IsValid (line 31) | func (s DatabaseVersionFile) IsValid() bool { method Save (line 56) | func (f *DatabaseVersionFile) Save() error { method write (line 64) | func (f *DatabaseVersionFile) write(path string) error { function NewDBVersionFile (line 21) | func NewDBVersionFile() *DatabaseVersionFile { function LoadDatabaseVersionFile (line 36) | func LoadDatabaseVersionFile() (*DatabaseVersionFile, error) { function readDatabaseVersionFile (line 44) | func readDatabaseVersionFile(path string) (*DatabaseVersionFile, error) { FILE: pkg/ociinstaller/versionfile/db_version_file_test.go function TestWriteDatabaseVersionFile (line 9) | func TestWriteDatabaseVersionFile(t *testing.T) { FILE: pkg/options/database.go type Database (line 11) | type Database struct method ConfigMap (line 23) | func (d *Database) ConfigMap() map[string]interface{} { method Merge (line 60) | func (d *Database) Merge(otherOptions options.Options) { method String (line 90) | func (d *Database) String() string { function searchPathToArray (line 138) | func searchPathToArray(searchPathString string) []string { FILE: pkg/options/general.go type General (line 12) | type General struct method SetBaseProperties (line 21) | func (g *General) SetBaseProperties(otherOptions options.Options) { method ConfigMap (line 46) | func (g *General) ConfigMap() map[string]interface{} { method Merge (line 70) | func (g *General) Merge(otherOptions options.Options) { method String (line 81) | func (g *General) String() string { FILE: pkg/options/plugin.go type Plugin (line 11) | type Plugin struct method ConfigMap (line 17) | func (t *Plugin) ConfigMap() map[string]interface{} { method Merge (line 32) | func (t *Plugin) Merge(otherOptions options.Options) { method String (line 44) | func (t *Plugin) String() string { FILE: pkg/parse/plugin.go function DecodePlugin (line 12) | func DecodePlugin(block *hcl.Block) (*plugin.Plugin, hcl.Diagnostics) { FILE: pkg/plugin/actions.go function Remove (line 21) | func Remove(ctx context.Context, image string, pluginConnections map[str... function Install (line 53) | func Install(ctx context.Context, plugin plugin.ResolvedPluginVersion, s... type PluginListItem (line 60) | type PluginListItem struct function List (line 67) | func List(ctx context.Context, pluginConnectionMap map[string][]PluginCo... function detectLocalPlugin (line 121) | func detectLocalPlugin(installation *versionfile.InstalledVersion, plugi... FILE: pkg/plugin/installed.go function GetInstalledPlugins (line 14) | func GetInstalledPlugins(ctx context.Context, pluginVersions map[string]... FILE: pkg/plugin/plugin_connection.go type PluginConnection (line 5) | type PluginConnection interface FILE: pkg/plugin/plugin_remove.go type PluginRemoveReport (line 13) | type PluginRemoveReport struct type PluginRemoveReports (line 19) | type PluginRemoveReports method Print (line 21) | func (r PluginRemoveReports) Print() { FILE: pkg/pluginmanager/lifecycle.go function StartNewInstance (line 25) | func StartNewInstance(steampipeExecutablePath string) (*State, error) { function start (line 48) | func start(steampipeExecutablePath string) (*State, error) { function Stop (line 104) | func Stop() error { function stop (line 120) | func stop(state *State) error { function GetPluginManager (line 147) | func GetPluginManager() (pluginshared.PluginManager, error) { function getPluginManager (line 154) | func getPluginManager(startIfNeeded bool) (pluginshared.PluginManager, e... FILE: pkg/pluginmanager/plugin_manager_client.go type PluginManagerClient (line 16) | type PluginManagerClient struct method attachToPluginManager (line 35) | func (c *PluginManagerClient) attachToPluginManager() error { method Get (line 71) | func (c *PluginManagerClient) Get(req *pb.GetRequest) (*pb.GetResponse... method RefreshConnections (line 79) | func (c *PluginManagerClient) RefreshConnections(req *pb.RefreshConnec... method Shutdown (line 87) | func (c *PluginManagerClient) Shutdown(req *pb.ShutdownRequest) (*pb.S... function NewPluginManagerClient (line 22) | func NewPluginManagerClient(pluginManagerState *State) (*PluginManagerCl... FILE: pkg/pluginmanager/state.go constant PluginManagerStructVersion (line 19) | PluginManagerStructVersion = 20220411 type State (line 24) | type State struct method Save (line 82) | func (s *State) Save() error { method reattachConfig (line 116) | func (s *State) reattachConfig() *plugin.ReattachConfig { method verifyRunning (line 130) | func (s *State) verifyRunning() (bool, error) { method kill (line 151) | func (s *State) kill() (err error) { method delete (line 181) | func (s *State) delete() { function NewState (line 36) | func NewState(executable string, reattach *plugin.ReattachConfig) *State { function LoadState (line 47) | func LoadState() (*State, error) { FILE: pkg/pluginmanager/state_test.go function TestStateWithNilAddr (line 19) | func TestStateWithNilAddr(t *testing.T) { function TestStateFileRaceCondition (line 37) | func TestStateFileRaceCondition(t *testing.T) { FILE: pkg/pluginmanager_service/get_response.go type getResponse (line 10) | type getResponse struct method AddFailure (line 26) | func (r *getResponse) AddFailure(instance string, s string) { method AddReattach (line 32) | func (r *getResponse) AddReattach(c string, reattach *pb.ReattachConfi... function newGetResponse (line 17) | func newGetResponse() *getResponse { FILE: pkg/pluginmanager_service/grpc/proto/plugin_manager.pb.go constant _ (line 18) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 20) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type GetRequest (line 23) | type GetRequest struct method Reset (line 31) | func (x *GetRequest) Reset() { method String (line 40) | func (x *GetRequest) String() string { method ProtoMessage (line 44) | func (*GetRequest) ProtoMessage() {} method ProtoReflect (line 46) | func (x *GetRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 59) | func (*GetRequest) Descriptor() ([]byte, []int) { method GetConnections (line 63) | func (x *GetRequest) GetConnections() []string { type GetResponse (line 70) | type GetResponse struct method Reset (line 79) | func (x *GetResponse) Reset() { method String (line 88) | func (x *GetResponse) String() string { method ProtoMessage (line 92) | func (*GetResponse) ProtoMessage() {} method ProtoReflect (line 94) | func (x *GetResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 107) | func (*GetResponse) Descriptor() ([]byte, []int) { method GetReattachMap (line 111) | func (x *GetResponse) GetReattachMap() map[string]*ReattachConfig { method GetFailureMap (line 118) | func (x *GetResponse) GetFailureMap() map[string]string { type RefreshConnectionsRequest (line 125) | type RefreshConnectionsRequest struct method Reset (line 131) | func (x *RefreshConnectionsRequest) Reset() { method String (line 140) | func (x *RefreshConnectionsRequest) String() string { method ProtoMessage (line 144) | func (*RefreshConnectionsRequest) ProtoMessage() {} method ProtoReflect (line 146) | func (x *RefreshConnectionsRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 159) | func (*RefreshConnectionsRequest) Descriptor() ([]byte, []int) { type RefreshConnectionsResponse (line 163) | type RefreshConnectionsResponse struct method Reset (line 169) | func (x *RefreshConnectionsResponse) Reset() { method String (line 178) | func (x *RefreshConnectionsResponse) String() string { method ProtoMessage (line 182) | func (*RefreshConnectionsResponse) ProtoMessage() {} method ProtoReflect (line 184) | func (x *RefreshConnectionsResponse) ProtoReflect() protoreflect.Messa... method Descriptor (line 197) | func (*RefreshConnectionsResponse) Descriptor() ([]byte, []int) { type ShutdownRequest (line 201) | type ShutdownRequest struct method Reset (line 207) | func (x *ShutdownRequest) Reset() { method String (line 216) | func (x *ShutdownRequest) String() string { method ProtoMessage (line 220) | func (*ShutdownRequest) ProtoMessage() {} method ProtoReflect (line 222) | func (x *ShutdownRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 235) | func (*ShutdownRequest) Descriptor() ([]byte, []int) { type ShutdownResponse (line 239) | type ShutdownResponse struct method Reset (line 245) | func (x *ShutdownResponse) Reset() { method String (line 254) | func (x *ShutdownResponse) String() string { method ProtoMessage (line 258) | func (*ShutdownResponse) ProtoMessage() {} method ProtoReflect (line 260) | func (x *ShutdownResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 273) | func (*ShutdownResponse) Descriptor() ([]byte, []int) { type ReattachConfig (line 277) | type ReattachConfig struct method Reset (line 291) | func (x *ReattachConfig) Reset() { method String (line 300) | func (x *ReattachConfig) String() string { method ProtoMessage (line 304) | func (*ReattachConfig) ProtoMessage() {} method ProtoReflect (line 306) | func (x *ReattachConfig) ProtoReflect() protoreflect.Message { method Descriptor (line 319) | func (*ReattachConfig) Descriptor() ([]byte, []int) { method GetProtocol (line 323) | func (x *ReattachConfig) GetProtocol() string { method GetProtocolVersion (line 330) | func (x *ReattachConfig) GetProtocolVersion() int64 { method GetAddr (line 337) | func (x *ReattachConfig) GetAddr() *NetAddr { method GetPid (line 344) | func (x *ReattachConfig) GetPid() int64 { method GetSupportedOperations (line 351) | func (x *ReattachConfig) GetSupportedOperations() *SupportedOperations { method GetConnections (line 358) | func (x *ReattachConfig) GetConnections() []string { method GetPlugin (line 365) | func (x *ReattachConfig) GetPlugin() string { type SupportedOperations (line 373) | type SupportedOperations struct method Reset (line 385) | func (x *SupportedOperations) Reset() { method String (line 394) | func (x *SupportedOperations) String() string { method ProtoMessage (line 398) | func (*SupportedOperations) ProtoMessage() {} method ProtoReflect (line 400) | func (x *SupportedOperations) ProtoReflect() protoreflect.Message { method Descriptor (line 413) | func (*SupportedOperations) Descriptor() ([]byte, []int) { method GetQueryCache (line 417) | func (x *SupportedOperations) GetQueryCache() bool { method GetMultipleConnections (line 424) | func (x *SupportedOperations) GetMultipleConnections() bool { method GetMessageStream (line 431) | func (x *SupportedOperations) GetMessageStream() bool { method GetSetCacheOptions (line 438) | func (x *SupportedOperations) GetSetCacheOptions() bool { method GetRateLimiters (line 445) | func (x *SupportedOperations) GetRateLimiters() bool { type NetAddr (line 452) | type NetAddr struct method Reset (line 461) | func (x *NetAddr) Reset() { method String (line 470) | func (x *NetAddr) String() string { method ProtoMessage (line 474) | func (*NetAddr) ProtoMessage() {} method ProtoReflect (line 476) | func (x *NetAddr) ProtoReflect() protoreflect.Message { method Descriptor (line 489) | func (*NetAddr) Descriptor() ([]byte, []int) { method GetNetwork (line 493) | func (x *NetAddr) GetNetwork() string { method GetAddress (line 500) | func (x *NetAddr) GetAddress() string { function file_plugin_manager_proto_rawDescGZIP (line 598) | func file_plugin_manager_proto_rawDescGZIP() []byte { function init (line 638) | func init() { file_plugin_manager_proto_init() } function file_plugin_manager_proto_init (line 639) | func file_plugin_manager_proto_init() { FILE: pkg/pluginmanager_service/grpc/proto/plugin_manager_grpc.pb.go constant _ (line 19) | _ = grpc.SupportPackageIsVersion7 constant PluginManager_Get_FullMethodName (line 22) | PluginManager_Get_FullMethodName = "/proto.PluginManager/... constant PluginManager_RefreshConnections_FullMethodName (line 23) | PluginManager_RefreshConnections_FullMethodName = "/proto.PluginManager/... constant PluginManager_Shutdown_FullMethodName (line 24) | PluginManager_Shutdown_FullMethodName = "/proto.PluginManager/... type PluginManagerClient (line 30) | type PluginManagerClient interface type pluginManagerClient (line 36) | type pluginManagerClient struct method Get (line 44) | func (c *pluginManagerClient) Get(ctx context.Context, in *GetRequest,... method RefreshConnections (line 53) | func (c *pluginManagerClient) RefreshConnections(ctx context.Context, ... method Shutdown (line 62) | func (c *pluginManagerClient) Shutdown(ctx context.Context, in *Shutdo... function NewPluginManagerClient (line 40) | func NewPluginManagerClient(cc grpc.ClientConnInterface) PluginManagerCl... type PluginManagerServer (line 74) | type PluginManagerServer interface type UnimplementedPluginManagerServer (line 82) | type UnimplementedPluginManagerServer struct method Get (line 85) | func (UnimplementedPluginManagerServer) Get(context.Context, *GetReque... method RefreshConnections (line 88) | func (UnimplementedPluginManagerServer) RefreshConnections(context.Con... method Shutdown (line 91) | func (UnimplementedPluginManagerServer) Shutdown(context.Context, *Shu... method mustEmbedUnimplementedPluginManagerServer (line 94) | func (UnimplementedPluginManagerServer) mustEmbedUnimplementedPluginMa... type UnsafePluginManagerServer (line 99) | type UnsafePluginManagerServer interface function RegisterPluginManagerServer (line 103) | func RegisterPluginManagerServer(s grpc.ServiceRegistrar, srv PluginMana... function _PluginManager_Get_Handler (line 107) | func _PluginManager_Get_Handler(srv interface{}, ctx context.Context, de... function _PluginManager_RefreshConnections_Handler (line 125) | func _PluginManager_RefreshConnections_Handler(srv interface{}, ctx cont... function _PluginManager_Shutdown_Handler (line 143) | func _PluginManager_Shutdown_Handler(srv interface{}, ctx context.Contex... FILE: pkg/pluginmanager_service/grpc/proto/reattach_config.go function NewReattachConfig (line 10) | func NewReattachConfig(pluginName string, src *plugin.ReattachConfig, su... method Convert (line 26) | func (r *ReattachConfig) Convert() *plugin.ReattachConfig { method AddConnection (line 38) | func (r *ReattachConfig) AddConnection(connection string) { method RemoveConnection (line 43) | func (r *ReattachConfig) RemoveConnection(connection string) { method UpdateConnections (line 53) | func (r *ReattachConfig) UpdateConnections(configs []*proto.ConnectionCo... FILE: pkg/pluginmanager_service/grpc/proto/simple_addr.go type SimpleAddr (line 5) | type SimpleAddr struct method Network (line 17) | func (s SimpleAddr) Network() string { method String (line 22) | func (s SimpleAddr) String() string { function NewSimpleAddr (line 10) | func NewSimpleAddr(addr net.Addr) *SimpleAddr { FILE: pkg/pluginmanager_service/grpc/proto/supported_operations.go function SupportedOperationsFromSdk (line 7) | func SupportedOperationsFromSdk(s *sdkproto.GetSupportedOperationsRespon... FILE: pkg/pluginmanager_service/grpc/shared/grpc.go type GRPCClient (line 10) | type GRPCClient struct method Get (line 18) | func (c *GRPCClient) Get(req *proto.GetRequest) (*proto.GetResponse, e... method RefreshConnections (line 21) | func (c *GRPCClient) RefreshConnections(req *proto.RefreshConnectionsR... method Shutdown (line 25) | func (c *GRPCClient) Shutdown(req *proto.ShutdownRequest) (*proto.Shut... type GRPCServer (line 30) | type GRPCServer struct method Get (line 36) | func (m *GRPCServer) Get(_ context.Context, req *proto.GetRequest) (*p... method RefreshConnections (line 39) | func (m *GRPCServer) RefreshConnections(_ context.Context, req *proto.... method Shutdown (line 43) | func (m *GRPCServer) Shutdown(_ context.Context, req *proto.ShutdownRe... FILE: pkg/pluginmanager_service/grpc/shared/interface.go constant PluginName (line 13) | PluginName = "steampipe_plugin_manager" type PluginManager (line 28) | type PluginManager interface type PluginManagerPlugin (line 35) | type PluginManagerPlugin struct method GRPCServer (line 42) | func (p *PluginManagerPlugin) GRPCServer(_ *plugin.GRPCBroker, s *grpc... method GRPCClient (line 49) | func (p *PluginManagerPlugin) GRPCClient(ctx context.Context, _ *plugi... FILE: pkg/pluginmanager_service/grpc/start_failure.go function HandleStartFailure (line 24) | func HandleStartFailure(err error) error { FILE: pkg/pluginmanager_service/message_server.go type PluginMessageServer (line 10) | type PluginMessageServer struct method AddConnection (line 21) | func (m *PluginMessageServer) AddConnection(pluginClient *sdkgrpc.Plug... method openMessageStream (line 39) | func (m *PluginMessageServer) openMessageStream(pluginClient *sdkgrpc.... method runMessageListener (line 59) | func (m *PluginMessageServer) runMessageListener(stream sdkproto.Wrapp... method logReceiveError (line 73) | func (m *PluginMessageServer) logReceiveError(err error, connection st... method handleMessage (line 91) | func (m *PluginMessageServer) handleMessage(stream sdkproto.WrapperPlu... function NewPluginMessageServer (line 14) | func NewPluginMessageServer(pluginManager *PluginManager) (*PluginMessag... FILE: pkg/pluginmanager_service/message_server_test.go function newTestMessageServer (line 17) | func newTestMessageServer(t *testing.T) *PluginMessageServer { function TestNewPluginMessageServer (line 27) | func TestNewPluginMessageServer(t *testing.T) { function TestPluginManager_MessageServerInitialization (line 39) | func TestPluginManager_MessageServerInitialization(t *testing.T) { function TestPluginMessageServer_ConcurrentAccess (line 48) | func TestPluginMessageServer_ConcurrentAccess(t *testing.T) { function TestPluginMessageServer_LogReceiveError (line 67) | func TestPluginMessageServer_LogReceiveError(t *testing.T) { function TestPluginMessageServer_LogReceiveError_NilError (line 77) | func TestPluginMessageServer_LogReceiveError_NilError(t *testing.T) { function TestPluginManager_MultipleMessageServers (line 90) | func TestPluginManager_MultipleMessageServers(t *testing.T) { function TestPluginMessageServer_NilPluginManager (line 108) | func TestPluginMessageServer_NilPluginManager(t *testing.T) { function TestPluginMessageServer_GoroutineCleanup (line 118) | func TestPluginMessageServer_GoroutineCleanup(t *testing.T) { function TestPluginMessage_SchemaUpdatedType (line 135) | func TestPluginMessage_SchemaUpdatedType(t *testing.T) { function TestPluginMessageServer_LogReceiveError_ErrorTypes (line 147) | func TestPluginMessageServer_LogReceiveError_ErrorTypes(t *testing.T) { function TestPluginManager_MessageServer_Consistency (line 164) | func TestPluginManager_MessageServer_Consistency(t *testing.T) { function TestPluginMessageServer_SurvivesPluginManagerOperations (line 179) | func TestPluginMessageServer_SurvivesPluginManagerOperations(t *testing.... function TestNewPluginMessageServer_Concurrent (line 195) | func TestNewPluginMessageServer_Concurrent(t *testing.T) { function TestPluginMessageServer_PointerStability (line 223) | func TestPluginMessageServer_PointerStability(t *testing.T) { function TestPluginMessageServer_LogReceiveError_Concurrent (line 235) | func TestPluginMessageServer_LogReceiveError_Concurrent(t *testing.T) { function TestPluginMessageServer_FieldAccess (line 258) | func TestPluginMessageServer_FieldAccess(t *testing.T) { function TestPluginMessageServer_DoesNotBlockPluginManager (line 269) | func TestPluginMessageServer_DoesNotBlockPluginManager(t *testing.T) { function TestPluginMessageServer_StressConcurrentAccess (line 287) | func TestPluginMessageServer_StressConcurrentAccess(t *testing.T) { function TestPluginManager_UpdateConnectionSchema_NilPool (line 326) | func TestPluginManager_UpdateConnectionSchema_NilPool(t *testing.T) { function TestPluginManager_UpdateConnectionSchema_NilPool_Concurrent (line 344) | func TestPluginManager_UpdateConnectionSchema_NilPool_Concurrent(t *test... FILE: pkg/pluginmanager_service/plugin_manager.go type PluginManager (line 40) | type PluginManager struct method Serve (line 141) | func (m *PluginManager) Serve() { method Get (line 154) | func (m *PluginManager) Get(req *pb.GetRequest) (_ *pb.GetResponse, er... method ensurePluginAsync (line 182) | func (m *PluginManager) ensurePluginAsync(req *pb.GetRequest, resp *ge... method buildRequiredPluginMap (line 208) | func (m *PluginManager) buildRequiredPluginMap(req *pb.GetRequest) (ma... method Pool (line 231) | func (m *PluginManager) Pool() *pgxpool.Pool { method RefreshConnections (line 235) | func (m *PluginManager) RefreshConnections(*pb.RefreshConnectionsReque... method doRefresh (line 246) | func (m *PluginManager) doRefresh() { method OnConnectionConfigChanged (line 255) | func (m *PluginManager) OnConnectionConfigChanged(ctx context.Context,... method GetConnectionConfig (line 284) | func (m *PluginManager) GetConnectionConfig() connection.ConnectionCon... method Shutdown (line 288) | func (m *PluginManager) Shutdown(*pb.ShutdownRequest) (resp *pb.Shutdo... method killPlugin (line 322) | func (m *PluginManager) killPlugin(p *runningPlugin) { method ensurePlugin (line 335) | func (m *PluginManager) ensurePlugin(pluginInstance string, connection... method startPluginIfNeeded (line 370) | func (m *PluginManager) startPluginIfNeeded(pluginInstance string, con... method startPlugin (line 407) | func (m *PluginManager) startPlugin(pluginInstance string, connectionC... method addRunningPlugin (line 474) | func (m *PluginManager) addRunningPlugin(pluginInstance string) (*runn... method startPluginProcess (line 511) | func (m *PluginManager) startPluginProcess(pluginInstance string, conn... method setPluginMaxMemory (line 562) | func (m *PluginManager) setPluginMaxMemory(pluginConfig *plugin.Plugin... method initializePlugin (line 578) | func (m *PluginManager) initializePlugin(connectionConfigs []*sdkproto... method isShuttingDown (line 652) | func (m *PluginManager) isShuttingDown() bool { method populatePluginConnectionConfigs (line 659) | func (m *PluginManager) populatePluginConnectionConfigs() { method setPluginCacheSizeMap (line 667) | func (m *PluginManager) setPluginCacheSizeMap() { method notifyNewDynamicSchemas (line 697) | func (m *PluginManager) notifyNewDynamicSchemas(pluginClient *sdkgrpc.... method waitForPluginLoad (line 710) | func (m *PluginManager) waitForPluginLoad(p *runningPlugin, req *pb.Ge... method setAllConnectionConfigs (line 779) | func (m *PluginManager) setAllConnectionConfigs(connectionConfigs []*s... method setCacheOptions (line 799) | func (m *PluginManager) setCacheOptions(pluginClient *sdkgrpc.PluginCl... method setRateLimiters (line 809) | func (m *PluginManager) setRateLimiters(pluginInstance string, pluginC... method setRateLimitersInternal (line 815) | func (m *PluginManager) setRateLimitersInternal(pluginInstance string,... method updateConnectionSchema (line 832) | func (m *PluginManager) updateConnectionSchema(ctx context.Context, co... method nonAggregatorConnectionCount (line 867) | func (m *PluginManager) nonAggregatorConnectionCount() int { method getPluginExemplarConnections (line 876) | func (m *PluginManager) getPluginExemplarConnections() map[string]stri... method tableExists (line 884) | func (m *PluginManager) tableExists(ctx context.Context, schema, table... function NewPluginManager (line 103) | func NewPluginManager(ctx context.Context, connectionConfig map[string]*... function nonAggregatorConnectionCount (line 903) | func nonAggregatorConnectionCount(connections []*sdkproto.ConnectionConf... FILE: pkg/pluginmanager_service/plugin_manager_connection_config.go method getConnectionConfig (line 12) | func (m *PluginManager) getConnectionConfig(connectionName string) (*sdk... method handleConnectionConfigChanges (line 20) | func (m *PluginManager) handleConnectionConfigChanges(ctx context.Contex... method sendUpdateConnectionConfigs (line 44) | func (m *PluginManager) sendUpdateConnectionConfigs(requestMap map[strin... method handleAddedConnections (line 68) | func (m *PluginManager) handleAddedConnections(addedConnections map[stri... method handleDeletedConnections (line 99) | func (m *PluginManager) handleDeletedConnections(deletedConnections map[... method handleUpdatedConnections (line 125) | func (m *PluginManager) handleUpdatedConnections(updatedConnections map[... FILE: pkg/pluginmanager_service/plugin_manager_notifications.go method SendPostgresSchemaNotification (line 12) | func (m *PluginManager) SendPostgresSchemaNotification(ctx context.Conte... method SendPostgresErrorsAndWarningsNotification (line 20) | func (m *PluginManager) SendPostgresErrorsAndWarningsNotification(ctx co... method sendPostgresNotification (line 27) | func (m *PluginManager) sendPostgresNotification(ctx context.Context, no... FILE: pkg/pluginmanager_service/plugin_manager_plugin_columns.go method initialisePluginColumns (line 21) | func (m *PluginManager) initialisePluginColumns(ctx context.Context) err... method shouldBootstrapPluginColumnTable (line 28) | func (m *PluginManager) shouldBootstrapPluginColumnTable(ctx context.Con... method bootstrapPluginColumnTable (line 64) | func (m *PluginManager) bootstrapPluginColumnTable(ctx context.Context) ... method createPluginColumnsTable (line 81) | func (m *PluginManager) createPluginColumnsTable(ctx context.Context) er... method populatePluginColumnsTable (line 98) | func (m *PluginManager) populatePluginColumnsTable(ctx context.Context, ... method removePluginsFromPluginColumnsTable (line 130) | func (m *PluginManager) removePluginsFromPluginColumnsTable(ctx context.... method loadPluginSchemas (line 153) | func (m *PluginManager) loadPluginSchemas(pluginConnectionMap map[string... method UpdatePluginColumnsTable (line 186) | func (m *PluginManager) UpdatePluginColumnsTable(ctx context.Context, up... FILE: pkg/pluginmanager_service/plugin_manager_plugin_instance.go method handlePluginInstanceChanges (line 12) | func (m *PluginManager) handlePluginInstanceChanges(ctx context.Context,... FILE: pkg/pluginmanager_service/plugin_manager_rate_limiters.go method ShouldFetchRateLimiterDefs (line 24) | func (m *PluginManager) ShouldFetchRateLimiterDefs() bool { method HandlePluginLimiterChanges (line 31) | func (m *PluginManager) HandlePluginLimiterChanges(newLimiters connectio... method refreshRateLimiterTable (line 51) | func (m *PluginManager) refreshRateLimiterTable(ctx context.Context) err... method refreshRateLimiterTableInternal (line 57) | func (m *PluginManager) refreshRateLimiterTableInternal(ctx context.Cont... method handleUserLimiterChanges (line 105) | func (m *PluginManager) handleUserLimiterChanges(_ context.Context, plug... method setRateLimitersForPlugin (line 145) | func (m *PluginManager) setRateLimitersForPlugin(pluginShortName string)... method getPluginsWithChangedLimiters (line 171) | func (m *PluginManager) getPluginsWithChangedLimiters(newLimiters connec... method getPluginsWithChangedLimitersInternal (line 177) | func (m *PluginManager) getPluginsWithChangedLimitersInternal(newLimiter... method updateRateLimiterStatus (line 197) | func (m *PluginManager) updateRateLimiterStatus() { method updateRateLimiterStatusInternal (line 203) | func (m *PluginManager) updateRateLimiterStatusInternal() { method getUserDefinedLimitersForPlugin (line 222) | func (m *PluginManager) getUserDefinedLimitersForPlugin(plugin string) c... method getUserDefinedLimitersForPluginInternal (line 230) | func (m *PluginManager) getUserDefinedLimitersForPluginInternal(plugin s... method initialiseRateLimiterDefs (line 238) | func (m *PluginManager) initialiseRateLimiterDefs(ctx context.Context) (... method bootstrapRateLimiterTable (line 274) | func (m *PluginManager) bootstrapRateLimiterTable(ctx context.Context) e... method loadRateLimitersFromTable (line 284) | func (m *PluginManager) loadRateLimitersFromTable(ctx context.Context) (... method getUserAndPluginLimitersFromTableResult (line 305) | func (m *PluginManager) getUserAndPluginLimitersFromTableResult(rateLimi... method LoadPluginRateLimiters (line 329) | func (m *PluginManager) LoadPluginRateLimiters(pluginConnectionMap map[s... FILE: pkg/pluginmanager_service/plugin_manager_test.go function newTestPluginManager (line 22) | func newTestPluginManager(t *testing.T) *PluginManager { function newTestConnectionConfig (line 43) | func newTestConnectionConfig(plugin, instance, connection string) *sdkpr... function TestPluginManager_New (line 53) | func TestPluginManager_New(t *testing.T) { function TestPluginManager_GetConnectionConfig_NotFound (line 64) | func TestPluginManager_GetConnectionConfig_NotFound(t *testing.T) { function TestPluginManager_GetConnectionConfig_Found (line 73) | func TestPluginManager_GetConnectionConfig_Found(t *testing.T) { function TestPluginManager_GetConnectionConfig_NilMap (line 85) | func TestPluginManager_GetConnectionConfig_NilMap(t *testing.T) { function TestPluginManager_PopulatePluginConnectionConfigs (line 96) | func TestPluginManager_PopulatePluginConnectionConfigs(t *testing.T) { function TestPluginManager_BuildRequiredPluginMap (line 118) | func TestPluginManager_BuildRequiredPluginMap(t *testing.T) { function TestPluginManager_ConcurrentMapAccess (line 147) | func TestPluginManager_ConcurrentMapAccess(t *testing.T) { function TestPluginManager_Shutdown_SetsShuttingDownFlag (line 181) | func TestPluginManager_Shutdown_SetsShuttingDownFlag(t *testing.T) { function TestPluginManager_Shutdown_WaitsForPluginStart (line 194) | func TestPluginManager_Shutdown_WaitsForPluginStart(t *testing.T) { function TestPluginManager_AddRunningPlugin_Success (line 235) | func TestPluginManager_AddRunningPlugin_Success(t *testing.T) { function TestPluginManager_AddRunningPlugin_AlreadyExists (line 259) | func TestPluginManager_AddRunningPlugin_AlreadyExists(t *testing.T) { function TestPluginManager_AddRunningPlugin_NoConfig (line 278) | func TestPluginManager_AddRunningPlugin_NoConfig(t *testing.T) { function TestPluginManager_ConcurrentAddRunningPlugin (line 291) | func TestPluginManager_ConcurrentAddRunningPlugin(t *testing.T) { function TestPluginManager_IsShuttingDown_Concurrent (line 330) | func TestPluginManager_IsShuttingDown_Concurrent(t *testing.T) { function TestPluginManager_SetPluginCacheSizeMap_NoCacheLimit (line 364) | func TestPluginManager_SetPluginCacheSizeMap_NoCacheLimit(t *testing.T) { function TestPluginManager_NonAggregatorConnectionCount (line 384) | func TestPluginManager_NonAggregatorConnectionCount(t *testing.T) { function TestPluginManager_GetPluginExemplarConnections (line 424) | func TestPluginManager_GetPluginExemplarConnections(t *testing.T) { function TestPluginManager_NoGoroutineLeak_OnError (line 447) | func TestPluginManager_NoGoroutineLeak_OnError(t *testing.T) { function TestPluginManager_Pool (line 478) | func TestPluginManager_Pool(t *testing.T) { function TestPluginManager_RefreshConnections (line 487) | func TestPluginManager_RefreshConnections(t *testing.T) { function TestPluginManager_GetConnectionConfig_Concurrent (line 500) | func TestPluginManager_GetConnectionConfig_Concurrent(t *testing.T) { function TestRunningPlugin_Initialization (line 525) | func TestRunningPlugin_Initialization(t *testing.T) { function TestPluginManager_ConcurrentRefreshConnections (line 554) | func TestPluginManager_ConcurrentRefreshConnections(t *testing.T) { function TestNonAggregatorConnectionCount (line 574) | func TestNonAggregatorConnectionCount(t *testing.T) { function TestNewGetResponse (line 630) | func TestNewGetResponse(t *testing.T) { function TestPluginManager_EnsurePlugin_ShuttingDown (line 641) | func TestPluginManager_EnsurePlugin_ShuttingDown(t *testing.T) { function TestPluginManager_KillPlugin_NilClient (line 660) | func TestPluginManager_KillPlugin_NilClient(t *testing.T) { function TestPluginManager_StressConcurrentMapAccess (line 674) | func TestPluginManager_StressConcurrentMapAccess(t *testing.T) { function TestPluginManager_OnConnectionConfigChanged_EmptyToNonEmpty (line 724) | func TestPluginManager_OnConnectionConfigChanged_EmptyToNonEmpty(t *test... function TestPluginManager_Shutdown_NoPlugins (line 753) | func TestPluginManager_Shutdown_NoPlugins(t *testing.T) { function TestWaitForPluginLoadWithNilReattach (line 781) | func TestWaitForPluginLoadWithNilReattach(t *testing.T) { FILE: pkg/pluginmanager_service/rate_limiter.go function RateLimiterFromProto (line 9) | func RateLimiterFromProto(p *proto.RateLimiterDefinition, pluginImageRef... function RateLimiterAsProto (line 33) | func RateLimiterAsProto(l *plugin.RateLimiter) *proto.RateLimiterDefinit... FILE: pkg/pluginmanager_service/rate_limiters_helpers_test.go function newTestRateLimiter (line 14) | func newTestRateLimiter(pluginName, name string, source string) *plugin.... function TestPluginManager_ShouldFetchRateLimiterDefs_Nil (line 25) | func TestPluginManager_ShouldFetchRateLimiterDefs_Nil(t *testing.T) { function TestPluginManager_ShouldFetchRateLimiterDefs_NotNil (line 34) | func TestPluginManager_ShouldFetchRateLimiterDefs_NotNil(t *testing.T) { function TestPluginManager_GetPluginsWithChangedLimiters_NoChanges (line 45) | func TestPluginManager_GetPluginsWithChangedLimiters_NoChanges(t *testin... function TestPluginManager_GetPluginsWithChangedLimiters_NewPlugin (line 66) | func TestPluginManager_GetPluginsWithChangedLimiters_NewPlugin(t *testin... function TestPluginManager_GetPluginsWithChangedLimiters_RemovedPlugin (line 82) | func TestPluginManager_GetPluginsWithChangedLimiters_RemovedPlugin(t *te... function TestPluginManager_UpdateRateLimiterStatus_NoOverride (line 100) | func TestPluginManager_UpdateRateLimiterStatus_NoOverride(t *testing.T) { function TestPluginManager_UpdateRateLimiterStatus_WithOverride (line 118) | func TestPluginManager_UpdateRateLimiterStatus_WithOverride(t *testing.T) { function TestPluginManager_UpdateRateLimiterStatus_MultiplePlugins (line 142) | func TestPluginManager_UpdateRateLimiterStatus_MultiplePlugins(t *testin... function TestPluginManager_GetUserDefinedLimitersForPlugin_Exists (line 175) | func TestPluginManager_GetUserDefinedLimitersForPlugin_Exists(t *testing... function TestPluginManager_GetUserDefinedLimitersForPlugin_NotExists (line 191) | func TestPluginManager_GetUserDefinedLimitersForPlugin_NotExists(t *test... function TestPluginManager_GetUserAndPluginLimitersFromTableResult (line 203) | func TestPluginManager_GetUserAndPluginLimitersFromTableResult(t *testin... function TestPluginManager_GetUserAndPluginLimitersFromTableResult_Empty (line 224) | func TestPluginManager_GetUserAndPluginLimitersFromTableResult_Empty(t *... function TestPluginManager_GetPluginsWithChangedLimiters_Concurrent (line 239) | func TestPluginManager_GetPluginsWithChangedLimiters_Concurrent(t *testi... function TestPluginManager_UpdateRateLimiterStatus_MultipleLimiters (line 275) | func TestPluginManager_UpdateRateLimiterStatus_MultipleLimiters(t *testi... function TestPluginManager_GetUserAndPluginLimitersFromTableResult_DuplicateNames (line 306) | func TestPluginManager_GetUserAndPluginLimitersFromTableResult_Duplicate... function TestPluginManager_UpdateRateLimiterStatus_EmptyMaps (line 324) | func TestPluginManager_UpdateRateLimiterStatus_EmptyMaps(t *testing.T) { function TestPluginManager_GetPluginsWithChangedLimiters_NilComparison (line 335) | func TestPluginManager_GetPluginsWithChangedLimiters_NilComparison(t *te... function TestPluginManager_ShouldFetchRateLimiterDefs_Concurrent (line 355) | func TestPluginManager_ShouldFetchRateLimiterDefs_Concurrent(t *testing.... function TestPluginManager_GetUserDefinedLimitersForPlugin_Concurrent (line 375) | func TestPluginManager_GetUserDefinedLimitersForPlugin_Concurrent(t *tes... function TestPluginManager_GetUserAndPluginLimitersFromTableResult_Concurrent (line 400) | func TestPluginManager_GetUserAndPluginLimitersFromTableResult_Concurren... FILE: pkg/pluginmanager_service/rate_limiters_test.go function TestPluginManager_ConcurrentRateLimiterMapAccess (line 21) | func TestPluginManager_ConcurrentRateLimiterMapAccess(t *testing.T) { function TestPluginManager_ConcurrentUpdateRateLimiterStatus (line 98) | func TestPluginManager_ConcurrentUpdateRateLimiterStatus(t *testing.T) { function TestPluginManager_ConcurrentRateLimiterMapAccess2 (line 153) | func TestPluginManager_ConcurrentRateLimiterMapAccess2(t *testing.T) { function TestPluginManager_HandlePluginLimiterChanges_NilPool (line 216) | func TestPluginManager_HandlePluginLimiterChanges_NilPool(t *testing.T) { FILE: pkg/pluginmanager_service/running_plugin.go type runningPlugin (line 8) | type runningPlugin struct FILE: pkg/query/init_data.go type InitData (line 22) | type InitData struct method Cancel (line 53) | func (i *InitData) Cancel() { method Cleanup (line 62) | func (i *InitData) Cleanup(ctx context.Context) { method init (line 80) | func (i *InitData) init(ctx context.Context, args []string) { function NewInitData (line 35) | func NewInitData(ctx context.Context, args []string) *InitData { function queryExporters (line 49) | func queryExporters() []export.Exporter { function getQueriesFromArgs (line 135) | func getQueriesFromArgs(args []string) ([]*modconfig.ResolvedQuery, erro... function ResolveQueryAndArgsFromSQLString (line 154) | func ResolveQueryAndArgsFromSQLString(sqlString string) (*modconfig.Reso... function getQueryFromFile (line 185) | func getQueryFromFile(input string) (*modconfig.ResolvedQuery, bool, err... FILE: pkg/query/queryexecute/execute.go function RunInteractiveSession (line 32) | func RunInteractiveSession(ctx context.Context, initData *query.InitData... function RunBatchSession (line 52) | func RunBatchSession(ctx context.Context, initData *query.InitData) (int... function executeQueries (line 98) | func executeQueries(ctx context.Context, initData *query.InitData) int { function executeQuery (line 135) | func executeQuery(ctx context.Context, initData *query.InitData, resolve... function needSnapshot (line 225) | func needSnapshot() bool { function publishSnapshotIfNeeded (line 240) | func publishSnapshotIfNeeded(ctx context.Context, snapshot *steampipecon... function handlePublishSnapshotError (line 259) | func handlePublishSnapshotError(err error) error { function showBlankLineBetweenResults (line 267) | func showBlankLineBetweenResults() bool { FILE: pkg/query/queryexecute/execute_test.go function createMockInitData (line 23) | func createMockInitData(t *testing.T) *query.InitData { function closeInitDataLoaded (line 41) | func closeInitDataLoaded(initData *query.InitData) { function TestRunBatchSession_NilInitData (line 52) | func TestRunBatchSession_NilInitData(t *testing.T) { function TestRunBatchSession_EmptyQueries (line 67) | func TestRunBatchSession_EmptyQueries(t *testing.T) { function TestRunBatchSession_InitError (line 84) | func TestRunBatchSession_InitError(t *testing.T) { function TestRunBatchSession_NilClient (line 103) | func TestRunBatchSession_NilClient(t *testing.T) { function TestRunBatchSession_LoadedTimeout (line 128) | func TestRunBatchSession_LoadedTimeout(t *testing.T) { function TestNeedSnapshot_DefaultValues (line 165) | func TestNeedSnapshot_DefaultValues(t *testing.T) { function TestShowBlankLineBetweenResults_DefaultValues (line 176) | func TestShowBlankLineBetweenResults_DefaultValues(t *testing.T) { function TestHandlePublishSnapshotError_PaymentRequired (line 186) | func TestHandlePublishSnapshotError_PaymentRequired(t *testing.T) { function TestHandlePublishSnapshotError_OtherError (line 199) | func TestHandlePublishSnapshotError_OtherError(t *testing.T) { function TestExecuteQueries_EmptyQueriesList (line 212) | func TestExecuteQueries_EmptyQueriesList(t *testing.T) { function TestExecuteQueries_NilClient (line 227) | func TestExecuteQueries_NilClient(t *testing.T) { function TestRunBatchSession_CancelHandlerSetup (line 257) | func TestRunBatchSession_CancelHandlerSetup(t *testing.T) { function TestWrapResult_NotNil (line 275) | func TestWrapResult_NotNil(t *testing.T) { type mockError (line 289) | type mockError struct method Error (line 293) | func (e *mockError) Error() string { type mockClient (line 298) | type mockClient struct method Close (line 303) | func (m *mockClient) Close(ctx context.Context) error { method LoadUserSearchPath (line 307) | func (m *mockClient) LoadUserSearchPath(ctx context.Context) error { method SetRequiredSessionSearchPath (line 311) | func (m *mockClient) SetRequiredSessionSearchPath(ctx context.Context)... method GetRequiredSessionSearchPath (line 315) | func (m *mockClient) GetRequiredSessionSearchPath() []string { method GetCustomSearchPath (line 319) | func (m *mockClient) GetCustomSearchPath() []string { method AcquireManagementConnection (line 323) | func (m *mockClient) AcquireManagementConnection(ctx context.Context) ... method AcquireSession (line 327) | func (m *mockClient) AcquireSession(ctx context.Context) *db_common.Ac... method ExecuteSync (line 331) | func (m *mockClient) ExecuteSync(ctx context.Context, query string, ar... method Execute (line 335) | func (m *mockClient) Execute(ctx context.Context, query string, args .... method ExecuteSyncInSession (line 339) | func (m *mockClient) ExecuteSyncInSession(ctx context.Context, session... method ExecuteInSession (line 343) | func (m *mockClient) ExecuteInSession(ctx context.Context, session *db... method ResetPools (line 347) | func (m *mockClient) ResetPools(ctx context.Context) { method GetSchemaFromDB (line 350) | func (m *mockClient) GetSchemaFromDB(ctx context.Context) (*db_common.... method ServerSettings (line 354) | func (m *mockClient) ServerSettings() *db_common.ServerSettings { method RegisterNotificationListener (line 358) | func (m *mockClient) RegisterNotificationListener(f func(notification ... FILE: pkg/query/queryhistory/history.go type QueryHistory (line 15) | type QueryHistory struct method Push (line 30) | func (q *QueryHistory) Push(query string) { method Peek (line 50) | func (q *QueryHistory) Peek() *string { method Persist (line 58) | func (q *QueryHistory) Persist() error { method Get (line 79) | func (q *QueryHistory) Get() []string { method enforceLimit (line 86) | func (q *QueryHistory) enforceLimit() { method load (line 95) | func (q *QueryHistory) load() error { function New (line 20) | func New() (*QueryHistory, error) { FILE: pkg/query/queryhistory/history_test.go function TestQueryHistory_BoundedSize (line 15) | func TestQueryHistory_BoundedSize(t *testing.T) { FILE: pkg/query/queryresult/result.go type Result (line 11) | type Result struct method Close (line 25) | func (r *Result) Close() { method StreamRow (line 35) | func (r *Result) StreamRow(row []interface{}) { function NewResult (line 18) | func NewResult(cols []*queryresult.ColumnDef) *Result { function WrapResult (line 45) | func WrapResult(r *queryresult.Result[TimingResultStream]) *Result { function NewResultStreamer (line 57) | func NewResultStreamer() *ResultStreamer { FILE: pkg/query/queryresult/result_test.go function TestResultClose_DoubleClose (line 12) | func TestResultClose_DoubleClose(t *testing.T) { function TestResult_ConcurrentReadAndClose (line 31) | func TestResult_ConcurrentReadAndClose(t *testing.T) { function TestWrapResult_NilResult (line 69) | func TestWrapResult_NilResult(t *testing.T) { FILE: pkg/query/queryresult/scan_metadata.go type ScanMetadataRow (line 9) | type ScanMetadataRow struct method AsResultRow (line 46) | func (m ScanMetadataRow) AsResultRow() map[string]any { function NewScanMetadataRow (line 23) | func NewScanMetadataRow(connection string, table string, columns []strin... type QueryRowSummary (line 67) | type QueryRowSummary struct method AsResultRow (line 82) | func (s *QueryRowSummary) AsResultRow() map[string]any { method Update (line 94) | func (s *QueryRowSummary) Update(m ScanMetadataRow) { function NewQueryRowSummary (line 77) | func NewQueryRowSummary() *QueryRowSummary { FILE: pkg/query/queryresult/timing_result.go type TimingResultStream (line 3) | type TimingResultStream struct method GetTiming (line 8) | func (t TimingResultStream) GetTiming() any { method SetTiming (line 12) | func (t TimingResultStream) SetTiming(result *TimingResult) { function NewTimingResultStream (line 16) | func NewTimingResultStream() TimingResultStream { type TimingResult (line 22) | type TimingResult struct method Initialise (line 33) | func (r *TimingResult) Initialise(summary *QueryRowSummary, scans []*S... method GetTiming (line 44) | func (t TimingResult) GetTiming() any { FILE: pkg/serversettings/load.go function Load (line 14) | func Load(ctx context.Context, pool *pgxpool.Pool) (serverSettings *db_c... FILE: pkg/serversettings/setup.go function GetPopulateServerSettingsSql (line 11) | func GetPopulateServerSettingsSql(ctx context.Context, settings db_commo... function CreateServerSettingsTable (line 32) | func CreateServerSettingsTable(ctx context.Context) db_common.QueryWithA... function GrantsOnServerSettingsTable (line 45) | func GrantsOnServerSettingsTable(ctx context.Context) db_common.QueryWit... function DropServerSettingsTable (line 56) | func DropServerSettingsTable(ctx context.Context) db_common.QueryWithArgs { FILE: pkg/snapshot/snapshot.go constant schemaVersion (line 20) | schemaVersion = "20221222" type PanelData (line 25) | type PanelData struct method IsSnapshotPanel (line 43) | func (*PanelData) IsSnapshotPanel() {} type LeafData (line 37) | type LeafData struct function QueryResultToSnapshot (line 46) | func QueryResultToSnapshot[T queryresult.TimingContainer](ctx context.Co... function getPanelDashboard (line 72) | func getPanelDashboard[T queryresult.TimingContainer](ctx context.Contex... function getPanelTable (line 89) | func getPanelTable[T queryresult.TimingContainer](ctx context.Context, r... type snapshotPanelData (line 110) | type snapshotPanelData struct function newSnapshotPanelData (line 116) | func newSnapshotPanelData() *snapshotPanelData { function getData (line 122) | func getData[T queryresult.TimingContainer](ctx context.Context, result ... function getLayout (line 158) | func getLayout[T queryresult.TimingContainer](result *queryresult.Result... function SnapshotToQueryResult (line 178) | func SnapshotToQueryResult[T queryresult.TimingContainer](snap *steampip... FILE: pkg/snapshot/snapshot_test.go function TestRoundTripDataIntegrity_EmptyResult (line 19) | func TestRoundTripDataIntegrity_EmptyResult(t *testing.T) { function TestRoundTripDataIntegrity_BasicData (line 50) | func TestRoundTripDataIntegrity_BasicData(t *testing.T) { function TestRoundTripDataIntegrity_NullValues (line 110) | func TestRoundTripDataIntegrity_NullValues(t *testing.T) { function TestConcurrentSnapshotToQueryResult_Race (line 154) | func TestConcurrentSnapshotToQueryResult_Race(t *testing.T) { function TestSnapshotToQueryResult_GoroutineCleanup (line 206) | func TestSnapshotToQueryResult_GoroutineCleanup(t *testing.T) { function TestSnapshotToQueryResult_PartialConsumption (line 246) | func TestSnapshotToQueryResult_PartialConsumption(t *testing.T) { function TestLargeDataHandling (line 285) | func TestLargeDataHandling(t *testing.T) { function TestSnapshotToQueryResult_InvalidSnapshot (line 339) | func TestSnapshotToQueryResult_InvalidSnapshot(t *testing.T) { function TestSnapshotToQueryResult_WrongPanelType (line 353) | func TestSnapshotToQueryResult_WrongPanelType(t *testing.T) { function TestConcurrentDataAccess_MultipleGoroutines (line 373) | func TestConcurrentDataAccess_MultipleGoroutines(t *testing.T) { function TestDataIntegrity_SpecialCharacters (line 419) | func TestDataIntegrity_SpecialCharacters(t *testing.T) { function TestHashCollision_DifferentQueries (line 468) | func TestHashCollision_DifferentQueries(t *testing.T) { function TestMemoryLeak_RepeatedConversions (line 517) | func TestMemoryLeak_RepeatedConversions(t *testing.T) { FILE: pkg/statushooks/context.go function DisableStatusHooks (line 16) | func DisableStatusHooks(ctx context.Context) context.Context { function AddStatusHooksToContext (line 20) | func AddStatusHooksToContext(ctx context.Context, statusHooks StatusHook... function StatusHooksFromContext (line 24) | func StatusHooksFromContext(ctx context.Context) StatusHooks { function AddSnapshotProgressToContext (line 35) | func AddSnapshotProgressToContext(ctx context.Context, snapshotProgress ... function SnapshotProgressFromContext (line 39) | func SnapshotProgressFromContext(ctx context.Context) SnapshotProgress { function AddMessageRendererToContext (line 50) | func AddMessageRendererToContext(ctx context.Context, messageRenderer Me... function SetStatus (line 54) | func SetStatus(ctx context.Context, msg string) { function Done (line 58) | func Done(ctx context.Context) { function Warn (line 64) | func Warn(ctx context.Context, warning string) { function Show (line 68) | func Show(ctx context.Context) { function Message (line 72) | func Message(ctx context.Context, msgs ...string) { type MessageRenderer (line 76) | type MessageRenderer function MessageRendererFromContext (line 78) | func MessageRendererFromContext(ctx context.Context) MessageRenderer { FILE: pkg/statushooks/null_hooks.go type NullStatusHook (line 5) | type NullStatusHook struct method SetStatus (line 7) | func (*NullStatusHook) SetStatus(string) {} method Hide (line 8) | func (*NullStatusHook) Hide() {} method Message (line 9) | func (*NullStatusHook) Message(...string) {} method Show (line 10) | func (*NullStatusHook) Show() {} method Warn (line 11) | func (*NullStatusHook) Warn(string) {} FILE: pkg/statushooks/null_snapshot_progress.go type NullSnapshotProgress (line 8) | type NullSnapshotProgress struct method UpdateRowCount (line 10) | func (*NullSnapshotProgress) UpdateRowCount(context.Context, int) {} method UpdateErrorCount (line 11) | func (*NullSnapshotProgress) UpdateErrorCount(context.Context, int) {} FILE: pkg/statushooks/snapshot_progress.go type SnapshotProgress (line 5) | type SnapshotProgress interface function SnapshotError (line 10) | func SnapshotError(ctx context.Context) { function UpdateSnapshotProgress (line 14) | func UpdateSnapshotProgress(ctx context.Context, completedRows int) { FILE: pkg/statushooks/snapshot_progress_reporter.go type SnapshotProgressReporter (line 13) | type SnapshotProgressReporter struct method UpdateRowCount (line 27) | func (r *SnapshotProgressReporter) UpdateRowCount(ctx context.Context,... method UpdateErrorCount (line 34) | func (r *SnapshotProgressReporter) UpdateErrorCount(ctx context.Contex... method showProgress (line 41) | func (r *SnapshotProgressReporter) showProgress(ctx context.Context) { function NewSnapshotProgressReporter (line 20) | func NewSnapshotProgressReporter(target string) *SnapshotProgressReporter { FILE: pkg/statushooks/spinner.go constant minSpinnerWidth (line 24) | minSpinnerWidth = 7 type StatusSpinner (line 27) | type StatusSpinner struct method SetStatus (line 73) | func (s *StatusSpinner) SetStatus(msg string) { method Message (line 77) | func (s *StatusSpinner) Message(msgs ...string) { method Warn (line 87) | func (s *StatusSpinner) Warn(msg string) { method Hide (line 96) | func (s *StatusSpinner) Hide() { method Show (line 106) | func (s *StatusSpinner) Show() { method UpdateSpinnerMessage (line 117) | func (s *StatusSpinner) UpdateSpinnerMessage(newMessage string) { method closeSpinner (line 128) | func (s *StatusSpinner) closeSpinner() { method truncateSpinnerMessageToScreen (line 134) | func (s *StatusSpinner) truncateSpinnerMessageToScreen(msg string) str... type StatusSpinnerOpt (line 35) | type StatusSpinnerOpt function WithMessage (line 37) | func WithMessage(msg string) StatusSpinnerOpt { function WithDelay (line 43) | func WithDelay(delay time.Duration) StatusSpinnerOpt { function NewStatusSpinnerHook (line 56) | func NewStatusSpinnerHook(opts ...StatusSpinnerOpt) *StatusSpinner { FILE: pkg/statushooks/status_hooks.go type StatusHooks (line 3) | type StatusHooks interface FILE: pkg/statushooks/statushooks_test.go function TestSpinnerCancelChannelNeverInitialized (line 14) | func TestSpinnerCancelChannelNeverInitialized(t *testing.T) { function TestSpinnerConcurrentShowHide (line 31) | func TestSpinnerConcurrentShowHide(t *testing.T) { function TestSpinnerConcurrentUpdate (line 57) | func TestSpinnerConcurrentUpdate(t *testing.T) { function TestSpinnerMessageDeferredRestart (line 81) | func TestSpinnerMessageDeferredRestart(t *testing.T) { function TestSpinnerWarnDeferredRestart (line 108) | func TestSpinnerWarnDeferredRestart(t *testing.T) { function TestSpinnerConcurrentMessageAndHide (line 135) | func TestSpinnerConcurrentMessageAndHide(t *testing.T) { function TestProgressReporterConcurrentUpdates (line 171) | func TestProgressReporterConcurrentUpdates(t *testing.T) { function TestSpinnerGoroutineLeak (line 198) | func TestSpinnerGoroutineLeak(t *testing.T) { function TestSpinnerUpdateAfterHide (line 229) | func TestSpinnerUpdateAfterHide(t *testing.T) { function TestSpinnerSetStatusRace (line 244) | func TestSpinnerSetStatusRace(t *testing.T) { function TestContextFunctionsNilContext (line 266) | func TestContextFunctionsNilContext(t *testing.T) { function TestSnapshotProgressHelperFunctions (line 285) | func TestSnapshotProgressHelperFunctions(t *testing.T) { function TestSpinnerShowWithoutMessage (line 303) | func TestSpinnerShowWithoutMessage(t *testing.T) { function TestSpinnerMultipleStartStopCycles (line 314) | func TestSpinnerMultipleStartStopCycles(t *testing.T) { function TestSpinnerConcurrentSetStatusAndHide (line 329) | func TestSpinnerConcurrentSetStatusAndHide(t *testing.T) { FILE: pkg/steampipeconfig/connection_plugin.go type ConnectionPluginData (line 22) | type ConnectionPluginData struct type ConnectionPlugin (line 32) | type ConnectionPlugin struct method addConnection (line 42) | func (p ConnectionPlugin) addConnection(name string, config string, co... method GetSchema (line 51) | func (p ConnectionPlugin) GetSchema(connectionName string) (schema *sd... function NewConnectionPlugin (line 79) | func NewConnectionPlugin(pluginShortName, pluginName string, pluginClien... function CreateConnectionPlugins (line 89) | func CreateConnectionPlugins(pluginManager pluginshared.PluginManager, c... function handleGetFailures (line 173) | func handleGetFailures(getResponse *proto.GetResponse, res *RefreshConne... function populateConnectionPluginSchemas (line 218) | func populateConnectionPluginSchemas(requestedConnectionPluginMap map[st... function fullConnectionPluginMap (line 270) | func fullConnectionPluginMap(sparseConnectionPluginMap map[string]*Conne... function createConnectionPlugin (line 285) | func createConnectionPlugin(connection *modconfig.SteampipeConnection, r... function attachToPlugin (line 336) | func attachToPlugin(reattach *plugin.ReattachConfig, pluginName string) ... FILE: pkg/steampipeconfig/connection_schemas.go type ConnectionSchemaMap (line 12) | type ConnectionSchemaMap function NewConnectionSchemaMap (line 17) | func NewConnectionSchemaMap(ctx context.Context, connectionStateMap Conn... FILE: pkg/steampipeconfig/connection_state.go type ConnectionState (line 17) | type ConnectionState struct method setFilename (line 67) | func (d *ConnectionState) setFilename(connection *modconfig.SteampipeC... method Equals (line 73) | func (d *ConnectionState) Equals(other *ConnectionState) bool { method pluginModTimeChanged (line 104) | func (d *ConnectionState) pluginModTimeChanged(other *ConnectionState)... method CanCloneSchema (line 108) | func (d *ConnectionState) CanCloneSchema() bool { method Error (line 113) | func (d *ConnectionState) Error() string { method SetError (line 117) | func (d *ConnectionState) SetError(err string) { method Loaded (line 124) | func (d *ConnectionState) Loaded() bool { method Disabled (line 128) | func (d *ConnectionState) Disabled() bool { method GetType (line 132) | func (d *ConnectionState) GetType() string { function NewConnectionState (line 49) | func NewConnectionState(connection *modconfig.SteampipeConnection, creat... FILE: pkg/steampipeconfig/connection_state_map.go type ConnectionStateSummary (line 19) | type ConnectionStateSummary type ConnectionStateMap (line 21) | type ConnectionStateMap method GetSummary (line 94) | func (m ConnectionStateMap) GetSummary() ConnectionStateSummary { method Pending (line 104) | func (m ConnectionStateMap) Pending() bool { method Loaded (line 110) | func (m ConnectionStateMap) Loaded(connections ...string) bool { method ConnectionsInState (line 131) | func (m ConnectionStateMap) ConnectionsInState(states ...string) bool { method Save (line 142) | func (m ConnectionStateMap) Save() error { method Equals (line 152) | func (m ConnectionStateMap) Equals(other ConnectionStateMap) bool { method ConnectionModTime (line 171) | func (m ConnectionStateMap) ConnectionModTime() time.Time { method GetFirstSearchPathConnectionForPlugins (line 181) | func (m ConnectionStateMap) GetFirstSearchPathConnectionForPlugins(sea... method GetPluginToConnectionMap (line 194) | func (m ConnectionStateMap) GetPluginToConnectionMap() map[string][]st... method getFirstSearchPathConnectionMapForPlugins (line 205) | func (m ConnectionStateMap) getFirstSearchPathConnectionMapForPlugins(... method SetConnectionsToPendingOrIncomplete (line 228) | func (m ConnectionStateMap) SetConnectionsToPendingOrIncomplete() { method PopulateFilename (line 242) | func (m ConnectionStateMap) PopulateFilename() { function GetRequiredConnectionStateMap (line 24) | func GetRequiredConnectionStateMap(connectionMap map[string]*modconfig.S... function newErrorConnectionState (line 88) | func newErrorConnectionState(connection *modconfig.SteampipeConnection) ... FILE: pkg/steampipeconfig/connection_state_map_test.go function TestConnectionStateMapGetSummary (line 10) | func TestConnectionStateMapGetSummary(t *testing.T) { function TestConnectionStateMapPending (line 45) | func TestConnectionStateMapPending(t *testing.T) { function TestConnectionStateMapLoaded (line 106) | func TestConnectionStateMapLoaded(t *testing.T) { function TestConnectionStateMapConnectionsInState (line 181) | func TestConnectionStateMapConnectionsInState(t *testing.T) { function TestConnectionStateMapEquals (line 234) | func TestConnectionStateMapEquals(t *testing.T) { function TestConnectionStateMapConnectionModTime (line 319) | func TestConnectionStateMapConnectionModTime(t *testing.T) { function TestConnectionStateMapConnectionModTimeEmpty (line 346) | func TestConnectionStateMapConnectionModTimeEmpty(t *testing.T) { function TestConnectionStateMapGetPluginToConnectionMap (line 356) | func TestConnectionStateMapGetPluginToConnectionMap(t *testing.T) { function TestConnectionStateMapSetConnectionsToPendingOrIncomplete (line 383) | func TestConnectionStateMapSetConnectionsToPendingOrIncomplete(t *testin... FILE: pkg/steampipeconfig/connection_test.go function TestConnectionsUpdateEqual (line 11) | func TestConnectionsUpdateEqual(t *testing.T) { function TestConnectionStateLoaded (line 122) | func TestConnectionStateLoaded(t *testing.T) { function TestConnectionStateDisabled (line 180) | func TestConnectionStateDisabled(t *testing.T) { function TestConnectionStateGetType (line 222) | func TestConnectionStateGetType(t *testing.T) { function TestConnectionStateError (line 256) | func TestConnectionStateError(t *testing.T) { function TestConnectionStateSetError (line 290) | func TestConnectionStateSetError(t *testing.T) { FILE: pkg/steampipeconfig/connection_updates.go type ConnectionUpdates (line 24) | type ConnectionUpdates struct method updateRequiredStateWithSchemaProperties (line 293) | func (u *ConnectionUpdates) updateRequiredStateWithSchemaProperties(dy... method populateConnectionPlugins (line 322) | func (u *ConnectionUpdates) populateConnectionPlugins(alreadyCreatedCo... method getConnectionsToCreate (line 353) | func (u *ConnectionUpdates) getConnectionsToCreate(alreadyCreatedConne... method HasUpdates (line 378) | func (u *ConnectionUpdates) HasUpdates() bool { method String (line 382) | func (u *ConnectionUpdates) String() string { method setError (line 402) | func (u *ConnectionUpdates) setError(connectionName string, error stri... method IdentifyMissingComments (line 416) | func (u *ConnectionUpdates) IdentifyMissingComments() { method DynamicUpdates (line 436) | func (u *ConnectionUpdates) DynamicUpdates() []string { method populateAggregators (line 446) | func (u *ConnectionUpdates) populateAggregators() { method getSchemaHashesForDynamicSchemas (line 483) | func (u *ConnectionUpdates) getSchemaHashesForDynamicSchemas(requiredC... method GetConnectionsToDelete (line 517) | func (u *ConnectionUpdates) GetConnectionsToDelete() []string { function NewConnectionUpdates (line 48) | func NewConnectionUpdates(ctx context.Context, pool *pgxpool.Pool, plugi... function populateConnectionUpdates (line 64) | func populateConnectionUpdates(ctx context.Context, pool *pgxpool.Pool, ... type connectionRequiresUpdateResult (line 238) | type connectionRequiresUpdateResult struct function connectionRequiresUpdate (line 243) | func connectionRequiresUpdate(forceUpdateConnectionNames []string, name ... function pluginSchemaHash (line 521) | func pluginSchemaHash(s *proto.Schema) string { FILE: pkg/steampipeconfig/connection_updates_opts.go type connectionUpdatesConfig (line 3) | type connectionUpdatesConfig struct type ConnectionUpdatesOption (line 7) | type ConnectionUpdatesOption function WithForceUpdate (line 9) | func WithForceUpdate(connections []string) ConnectionUpdatesOption { FILE: pkg/steampipeconfig/connection_updates_test.go function TestConnectionUpdates_IdentifyMissingComments (line 14) | func TestConnectionUpdates_IdentifyMissingComments(t *testing.T) { FILE: pkg/steampipeconfig/connection_updates_validate.go method validate (line 13) | func (u *ConnectionUpdates) validate() { method validatePluginsAndConnections (line 19) | func (u *ConnectionUpdates) validatePluginsAndConnections() { method validateUpdates (line 37) | func (u *ConnectionUpdates) validateUpdates() { function validateConnectionName (line 72) | func validateConnectionName(connectionName string, p *ConnectionPlugin) ... function validateProtocolVersion (line 86) | func validateProtocolVersion(connectionName string, p *ConnectionPlugin)... function BuildValidationWarningString (line 108) | func BuildValidationWarningString(failures []*ValidationFailure) string { FILE: pkg/steampipeconfig/dependency_path.go constant pathSeparator (line 5) | pathSeparator = " -> " type DependencyPathKey (line 11) | type DependencyPathKey method GetParent (line 17) | func (k DependencyPathKey) GetParent() DependencyPathKey { method PathLength (line 26) | func (k DependencyPathKey) PathLength() int { function newDependencyPathKey (line 13) | func newDependencyPathKey(dependencyPath ...string) DependencyPathKey { FILE: pkg/steampipeconfig/load_config.go function LoadSteampipeConfig (line 46) | func LoadSteampipeConfig(ctx context.Context, modLocation string, comman... function LoadConnectionConfig (line 65) | func LoadConnectionConfig(ctx context.Context) (*SteampipeConfig, perror... function ensureDefaultConfigFile (line 69) | func ensureDefaultConfigFile(configFolder string) error { function loadSteampipeConfig (line 133) | func loadSteampipeConfig(ctx context.Context, modLocation string, comman... function logValidationResult (line 197) | func logValidationResult(warnings []string, errors []string) { function buildValidationLogString (line 208) | func buildValidationLogString(items []string, validationType string) str... type loadConfigOptions (line 226) | type loadConfigOptions struct function loadConfig (line 231) | func loadConfig(ctx context.Context, configFolder string, steampipeConfi... function getDuplicateConnectionError (line 347) | func getDuplicateConnectionError(existingConnection, newConnection *modc... function optionsBlockPermitted (line 353) | func optionsBlockPermitted(block *hcl.Block, blockMap map[string]bool, o... function SteampipeOptionsBlockMapping (line 370) | func SteampipeOptionsBlockMapping(block *hcl.Block) (poptions.Options, h... FILE: pkg/steampipeconfig/load_config_test.go type loadConfigTest (line 20) | type loadConfigTest struct function TestLoadConfig (line 80) | func TestLoadConfig(t *testing.T) { function SteampipeConfigEquals (line 133) | func SteampipeConfigEquals(left, right *SteampipeConfig) bool { FILE: pkg/steampipeconfig/load_connection_state.go function LoadConnectionState (line 21) | func LoadConnectionState(ctx context.Context, conn *pgx.Conn, opts ...Lo... function loadConnectionState (line 93) | func loadConnectionState(ctx context.Context, conn *pgx.Conn, opts ...lo... function checkConnectionsAreReady (line 142) | func checkConnectionsAreReady(ctx context.Context, connectionStateMap Co... function allConnectionsInError (line 151) | func allConnectionsInError(connectionsNames []string, connectionStateMap... function GetLoadingConnectionStatusMessage (line 169) | func GetLoadingConnectionStatusMessage(connectionStateMap ConnectionStat... function SaveConnectionStateFile (line 188) | func SaveConnectionStateFile(res *RefreshConnectionResult, connectionUpd... function DeleteConnectionStateFile (line 205) | func DeleteConnectionStateFile() { type loadConnectionStateConfig (line 209) | type loadConnectionStateConfig struct type loadConnectionStateOption (line 212) | type loadConnectionStateOption FILE: pkg/steampipeconfig/load_connection_state_option.go type WaitModeValue (line 3) | type WaitModeValue constant NoWait (line 6) | NoWait WaitModeValue = iota constant WaitForLoading (line 7) | WaitForLoading constant WaitForReady (line 8) | WaitForReady constant WaitForSearchPath (line 9) | WaitForSearchPath type LoadConnectionStateConfiguration (line 12) | type LoadConnectionStateConfiguration struct FILE: pkg/steampipeconfig/postgres_notification.go constant PostgresNotificationStructVersion (line 7) | PostgresNotificationStructVersion = 20230306 type PostgresNotificationType (line 9) | type PostgresNotificationType constant PgNotificationSchemaUpdate (line 12) | PgNotificationSchemaUpdate PostgresNotificationType = iota + 1 constant PgNotificationConnectionError (line 13) | PgNotificationConnectionError type PostgresNotification (line 16) | type PostgresNotification struct type ErrorsAndWarningsNotification (line 21) | type ErrorsAndWarningsNotification struct function NewSchemaUpdateNotification (line 27) | func NewSchemaUpdateNotification() *PostgresNotification { function NewErrorsAndWarningsNotification (line 34) | func NewErrorsAndWarningsNotification(errorAndWarnings error_helpers.Err... FILE: pkg/steampipeconfig/refresh_connections_result.go type RefreshConnectionResult (line 12) | type RefreshConnectionResult struct method Merge (line 22) | func (r *RefreshConnectionResult) Merge(other *RefreshConnectionResult) { method String (line 40) | func (r *RefreshConnectionResult) String() string { method AddFailedConnection (line 52) | func (r *RefreshConnectionResult) AddFailedConnection(c string, failur... function NewErrorRefreshConnectionResult (line 18) | func NewErrorRefreshConnectionResult(err error) *RefreshConnectionResult { FILE: pkg/steampipeconfig/shared_test.go type findPluginFolderTest (line 13) | type findPluginFolderTest struct function setupTestData (line 20) | func setupTestData() { function TestFindPluginFolderTest (line 38) | func TestFindPluginFolderTest(t *testing.T) { function setupFindPluginFolderTest (line 67) | func setupFindPluginFolderTest(directories []string) { function cleanupFindPluginFolderTest (line 76) | func cleanupFindPluginFolderTest(directories []string) { FILE: pkg/steampipeconfig/steampipeconfig.go type SteampipeConfig (line 26) | type SteampipeConfig struct method Validate (line 53) | func (c *SteampipeConfig) Validate() (validationWarnings, validationEr... method ConfigMap (line 74) | func (c *SteampipeConfig) ConfigMap() map[string]interface{} { method SetOptions (line 95) | func (c *SteampipeConfig) SetOptions(opts poptions.Options) (errorsAnd... method String (line 121) | func (c *SteampipeConfig) String() string { method ConnectionsForPlugin (line 155) | func (c *SteampipeConfig) ConnectionsForPlugin(pluginLongName string, ... method ConnectionNames (line 177) | func (c *SteampipeConfig) ConnectionNames() []string { method ConnectionList (line 187) | func (c *SteampipeConfig) ConnectionList() []*modconfig.SteampipeConne... method addPlugin (line 199) | func (c *SteampipeConfig) addPlugin(plugin *plugin.Plugin) error { method initializePlugins (line 232) | func (c *SteampipeConfig) initializePlugins() { method resolvePluginInstanceForConnection (line 281) | func (c *SteampipeConfig) resolvePluginInstanceForConnection(connectio... method GetNonSearchPathConnections (line 351) | func (c *SteampipeConfig) GetNonSearchPathConnections(searchPath []str... function NewSteampipeConfig (line 43) | func NewSteampipeConfig(commandName string) *SteampipeConfig { function duplicatePluginError (line 223) | func duplicatePluginError(existingPlugin, newPlugin *plugin.Plugin) error { FILE: pkg/steampipeconfig/validate.go function ValidateConnectionName (line 11) | func ValidateConnectionName(connectionName string) error { FILE: pkg/steampipeconfig/validation_failure.go type ValidationFailure (line 7) | type ValidationFailure struct method String (line 14) | func (v ValidationFailure) String() string { FILE: pkg/steampipeconfig/validation_failure_test.go function TestValidationFailureString (line 8) | func TestValidationFailureString(t *testing.T) { function TestValidationFailureStringFormat (line 71) | func TestValidationFailureStringFormat(t *testing.T) { FILE: pkg/task/available_versions.go type AvailableVersionCache (line 18) | type AvailableVersionCache struct method asTable (line 24) | func (av *AvailableVersionCache) asTable(ctx context.Context) (*bytes.... method buildNotification (line 53) | func (av *AvailableVersionCache) buildNotification(ctx context.Context... method cliNotificationMessage (line 64) | func (av *AvailableVersionCache) cliNotificationMessage() ([]string, e... method pluginNotificationMessage (line 101) | func (av *AvailableVersionCache) pluginNotificationMessage(ctx context... method getPluginNotificationLines (line 116) | func (av *AvailableVersionCache) getPluginNotificationLines(reports []... FILE: pkg/task/config.go type TaskRunOption (line 5) | type TaskRunOption type HookFn (line 7) | type HookFn type taskRunConfig (line 9) | type taskRunConfig struct function newRunConfig (line 14) | func newRunConfig() *taskRunConfig { function WithUpdateCheck (line 20) | func WithUpdateCheck(run bool) TaskRunOption { function WithPreHook (line 26) | func WithPreHook(f HookFn) TaskRunOption { FILE: pkg/task/display.go constant AvailableVersionsCacheStructVersion (line 18) | AvailableVersionsCacheStructVersion = 20230117 method saveAvailableVersions (line 21) | func (r *Runner) saveAvailableVersions(cli *CLIVersionCheckResponse, plu... method hasAvailableVersion (line 45) | func (r *Runner) hasAvailableVersion() bool { method loadCachedVersions (line 51) | func (r *Runner) loadCachedVersions() (*AvailableVersionCache, error) { method displayNotifications (line 75) | func (r *Runner) displayNotifications(cmd *cobra.Command, cmdArgs []stri... FILE: pkg/task/runner.go constant minimumDurationBetweenChecks (line 22) | minimumDurationBetweenChecks = 24 * time.Hour type Runner (line 24) | type Runner struct method run (line 89) | func (r *Runner) run(ctx context.Context) { method runJobAsync (line 137) | func (r *Runner) runJobAsync(ctx context.Context, job func(context.Con... method shouldRun (line 148) | func (r *Runner) shouldRun() bool { function RunTasks (line 31) | func RunTasks(ctx context.Context, cmd *cobra.Command, args []string, op... function newRunner (line 72) | func newRunner(config *taskRunConfig) *Runner { function showNotificationsForCommand (line 165) | func showNotificationsForCommand(cmd *cobra.Command, cmdArgs []string) b... function isServiceStopCmd (line 174) | func isServiceStopCmd(cmd *cobra.Command) bool { function isCompletionCmd (line 177) | func isCompletionCmd(cmd *cobra.Command) bool { function IsPluginManagerCmd (line 180) | func IsPluginManagerCmd(cmd *cobra.Command) bool { function isPluginUpdateCmd (line 183) | func isPluginUpdateCmd(cmd *cobra.Command) bool { function IsBatchQueryCmd (line 186) | func IsBatchQueryCmd(cmd *cobra.Command, cmdArgs []string) bool { function isPluginListCmd (line 189) | func isPluginListCmd(cmd *cobra.Command) bool { function IsCheckCmd (line 193) | func IsCheckCmd(cmd *cobra.Command) bool { function IsDashboardCmd (line 197) | func IsDashboardCmd(cmd *cobra.Command) bool { function IsModCmd (line 201) | func IsModCmd(cmd *cobra.Command) bool { FILE: pkg/task/runner_test.go function setupTestEnvironment (line 18) | func setupTestEnvironment(t *testing.T) { function TestRunTasksGoroutineCleanup (line 34) | func TestRunTasksGoroutineCleanup(t *testing.T) { function TestRunTasksChannelClosure (line 118) | func TestRunTasksChannelClosure(t *testing.T) { function TestRunTasksContextRespect (line 152) | func TestRunTasksContextRespect(t *testing.T) { function TestRunnerWaitGroupPropagation (line 195) | func TestRunnerWaitGroupPropagation(t *testing.T) { function TestShouldRunLogic (line 229) | func TestShouldRunLogic(t *testing.T) { function TestCommandClassifiers (line 268) | func TestCommandClassifiers(t *testing.T) { function TestIsBatchQueryCmd (line 325) | func TestIsBatchQueryCmd(t *testing.T) { function TestPreHooksExecution (line 340) | func TestPreHooksExecution(t *testing.T) { function TestPluginVersionCheckWithNilGlobalConfig (line 365) | func TestPluginVersionCheckWithNilGlobalConfig(t *testing.T) { FILE: pkg/task/version_checker.go type CLIVersionCheckResponse (line 16) | type CLIVersionCheckResponse struct type versionChecker (line 25) | type versionChecker struct method doCheckRequest (line 42) | func (c *versionChecker) doCheckRequest(ctx context.Context) error { method decodeResult (line 74) | func (c *versionChecker) decodeResult(body string) *CLIVersionCheckRes... method versionCheckURL (line 83) | func (c *versionChecker) versionCheckURL() url.URL { function fetchAvailableCLIVersion (line 31) | func fetchAvailableCLIVersion(ctx context.Context, installationId string... FILE: pkg/task/version_checker_test.go function TestVersionCheckerTimeout (line 14) | func TestVersionCheckerTimeout(t *testing.T) { function TestVersionCheckerNetworkFailures (line 34) | func TestVersionCheckerNetworkFailures(t *testing.T) { function TestVersionCheckerBrokenBody (line 75) | func TestVersionCheckerBrokenBody(t *testing.T) { function TestDecodeResult (line 107) | func TestDecodeResult(t *testing.T) { function TestVersionCheckerResponseCodes (line 153) | func TestVersionCheckerResponseCodes(t *testing.T) { function TestVersionCheckerBodyReadFailure (line 199) | func TestVersionCheckerBodyReadFailure(t *testing.T) { function TestVersionCheckerStructure (line 220) | func TestVersionCheckerStructure(t *testing.T) { function TestReadAllFailureScenarios (line 233) | func TestReadAllFailureScenarios(t *testing.T) { FILE: pkg/utils/exit.go type ExitCode (line 4) | type ExitCode FILE: pkg/utils/pid_exists.go function PidExists (line 22) | func PidExists(targetPid int) (bool, error) { function FindProcess (line 33) | func FindProcess(targetPid int) (*psutils.Process, error) { FILE: pkg/utils/user_input.go function UserConfirmation (line 11) | func UserConfirmation(ctx context.Context, warningMsg string) (bool, err... FILE: pkg/versionhelpers/constraints.go type Constraints (line 8) | type Constraints struct method Check (line 25) | func (c Constraints) Check(v *semver.Version) bool { method Validate (line 31) | func (c Constraints) Validate(v *semver.Version) (bool, []error) { method Equals (line 35) | func (c Constraints) Equals(other *Constraints) bool { method IsPrerelease (line 40) | func (c Constraints) IsPrerelease() bool { function NewConstraint (line 13) | func NewConstraint(c string) (*Constraints, error) {