Documentation ¶
Index ¶
- Constants
- Variables
- func ConnectionStatePath() string
- func DashboardServiceStateFilePath() string
- func DatabaseVersionFilePath() string
- func DefaultVarsFilePath(workspacePath string) string
- func EnsureBackupsDir() string
- func EnsureConfigDir() string
- func EnsureDashboardAssetsDir() string
- func EnsureDatabaseDir() string
- func EnsureInternalDir() string
- func EnsureLogDir() string
- func EnsurePluginDir() string
- func EnsureTemplateDir() string
- func LegacyDashboardAssetsDir() string
- func LegacyStateFilePath() string
- func LegacyVersionFilePath() string
- func ModFilePath(modFolder string) string
- func PluginManagerStateFilePath() string
- func PluginVersionFilePath() string
- func ReportAssetsVersionFilePath() string
- func RunningInfoFilePath() string
- func StateFileName() string
- func StateFilePath() string
- func WorkspaceLockPath(workspacePath string) string
- func WorkspaceModPath(workspacePath string) string
Constants ¶
const ( WorkspaceDataDir = ".steampipe" WorkspaceModDir = "mods" WorkspaceConfigFileName = "workspace.spc" WorkspaceIgnoreFile = ".steampipeignore" ModFileName = "mod.sp" DefaultVarsFileName = "steampipe.spvars" WorkspaceLockFileName = ".mod.cache.json" )
mod related constants
const (
DefaultInstallDir = "~/.steampipe"
)
Constants for Config
Variables ¶
var SteampipeDir string
Functions ¶
func ConnectionStatePath ¶
func ConnectionStatePath() string
ConnectionStatePath returns the path of the connections state file
func DashboardServiceStateFilePath ¶ added in v0.13.0
func DashboardServiceStateFilePath() string
func DatabaseVersionFilePath ¶
func DatabaseVersionFilePath() string
DatabaseVersionFilePath returns the plugin version file path
func DefaultVarsFilePath ¶
func EnsureBackupsDir ¶ added in v0.14.0
func EnsureBackupsDir() string
EnsureBackupsDir returns the path to the backups directory (creates if missing)
func EnsureConfigDir ¶ added in v0.13.0
func EnsureConfigDir() string
EnsureConfigDir returns the path to the config directory (creates if missing)
func EnsureDashboardAssetsDir ¶ added in v0.13.0
func EnsureDashboardAssetsDir() string
func EnsureDatabaseDir ¶ added in v0.13.0
func EnsureDatabaseDir() string
EnsureDatabaseDir returns the path to the db directory (creates if missing)
func EnsureInternalDir ¶ added in v0.13.0
func EnsureInternalDir() string
EnsureInternalDir returns the path to the internal directory (creates if missing)
func EnsureLogDir ¶ added in v0.13.0
func EnsureLogDir() string
EnsureLogDir returns the path to the db log directory (creates if missing)
func EnsurePluginDir ¶ added in v0.13.0
func EnsurePluginDir() string
EnsurePluginDir returns the path to the plugins directory (creates if missing)
func EnsureTemplateDir ¶ added in v0.13.0
func EnsureTemplateDir() string
EnsureTemplateDir returns the path to the templates directory (creates if missing)
func LegacyDashboardAssetsDir ¶ added in v0.14.0
func LegacyDashboardAssetsDir() string
LegacyDashboardAssetsDir returns the path to the legacy report assets folder
func LegacyStateFilePath ¶ added in v0.14.0
func LegacyStateFilePath() string
LegacyStateFilePath returns the path of the legacy update-check.json state file
func LegacyVersionFilePath ¶
func LegacyVersionFilePath() string
LegacyVersionFilePath returns the legacy version file path
func ModFilePath ¶
func PluginManagerStateFilePath ¶
func PluginManagerStateFilePath() string
func PluginVersionFilePath ¶
func PluginVersionFilePath() string
PluginVersionFilePath returns the plugin version file path
func ReportAssetsVersionFilePath ¶ added in v0.13.0
func ReportAssetsVersionFilePath() string
ReportAssetsVersionFilePath returns the report assets version file path
func RunningInfoFilePath ¶
func RunningInfoFilePath() string
func StateFileName ¶ added in v0.14.0
func StateFileName() string
func StateFilePath ¶ added in v0.14.0
func StateFilePath() string
StateFilePath returns the path of the update_check.json state file
func WorkspaceLockPath ¶
func WorkspaceModPath ¶
Types ¶
This section is empty.