Versions in this module Expand all Collapse all v0 v0.9.0-dev.1 Sep 10, 2021 v0.9.0-dev.0 Sep 8, 2021 v0.8.5 Oct 7, 2021 v0.8.4 Sep 29, 2021 v0.8.3 Sep 28, 2021 Changes in this version type LocalClient + func (c *LocalClient) SetEnsureSessionDataFunc(f db_common.EnsureSessionStateCallback) type RunningDBInstanceInfo + func (r *RunningDBInstanceInfo) String() string v0.8.2 Sep 14, 2021 v0.8.1 Sep 12, 2021 v0.8.1-rc.0 Sep 10, 2021 v0.8.0 Sep 9, 2021 Changes in this version + const ServiceExecutableRelativeLocation + func EnsureDBInstalled() (err error) + func EnsureDbAndStartService(invoker constants.Invoker) error + func FindAllSteampipePostgresInstances() ([]*psutils.Process, error) + func GetCountOfConnectedClients() (int, error) + func IsInstalled() bool + func PidExists(targetPid int) (bool, error) — darwin/amd64, linux/amd64 + func PrepareDb(spinner *spinner.Spinner) error + func RefreshConnectionAndSearchPaths(invoker constants.Invoker) error + func ShutdownService(invoker constants.Invoker) + func SslMode() string + func SslStatus() string + func TrimLogs() + type LocalClient struct + func NewLocalClient(invoker constants.Invoker) (*LocalClient, error) + func (c *LocalClient) CacheClear() error + func (c *LocalClient) CacheOff() error + func (c *LocalClient) CacheOn() error + func (c *LocalClient) Close() error + func (c *LocalClient) ConnectionMap() *steampipeconfig.ConnectionMap + func (c *LocalClient) Execute(ctx context.Context, query string, disableSpinner bool) (res *queryresult.Result, err error) + func (c *LocalClient) ExecuteSync(ctx context.Context, query string, disableSpinner bool) (*queryresult.SyncQueryResult, error) + func (c *LocalClient) GetCurrentSearchPath() ([]string, error) + func (c *LocalClient) LoadSchema() + func (c *LocalClient) RefreshConnectionAndSearchPaths() *db_common.RefreshConnectionResult + func (c *LocalClient) RefreshConnections() *db_common.RefreshConnectionResult + func (c *LocalClient) SchemaMetadata() *schema.Metadata + func (c *LocalClient) SetClientSearchPath() error + func (c *LocalClient) SetServiceSearchPath() error + type NamedQueryProvider interface + GetNamedQuery func(queryName string) (*modconfig.Query, bool) + GetNamedQueryMap func() map[string]*modconfig.Query + type Passwords struct + Root string + Steampipe string + type RunningDBInstanceInfo struct + Database string + Invoker constants.Invoker + Listen []string + ListenType StartListenType + Password string + Pid int + Port int + User string + func GetStatus() (*RunningDBInstanceInfo, error) + func (r *RunningDBInstanceInfo) Save() error + type StartListenType string + const ListenTypeLocal + const ListenTypeNetwork + func (slt StartListenType) IsValid() error + type StartResult int + const ServiceAlreadyRunning + const ServiceFailedToStart + const ServiceStarted + func StartDB(port int, listen StartListenType, invoker constants.Invoker) (startResult StartResult, err error) + type StopStatus int + const ServiceNotRunning + const ServiceStopFailed + const ServiceStopTimedOut + const ServiceStopped + func StopDB(force bool, invoker constants.Invoker, spinner *spinner.Spinner) (StopStatus, error) v0.8.0-rc.2 Sep 8, 2021 v0.8.0-rc.1 Sep 7, 2021 v0.8.0-rc.0 Sep 3, 2021