Documentation ¶
Index ¶
- Constants
- Variables
- func ConfigDir() string
- func ConnectionStatePath() string
- func DatabaseDir() string
- func DatabaseVersionFilePath() string
- func DefaultVarsFilePath(workspacePath string) string
- func InternalDir() string
- func LegacyVersionFilePath() string
- func LogDir() string
- func ModFilePath(modFolder string) string
- func PluginDir() string
- func PluginManagerStateFilePath() string
- func PluginVersionFilePath() string
- func ReportAssetsPath() string
- func ReportAssetsVersionFilePath() string
- func RunningInfoFilePath() string
- func TemplateDir() 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 ConfigDir ¶
func ConfigDir() string
ConfigDir returns the path to the config directory (creates if missing)
func ConnectionStatePath ¶
func ConnectionStatePath() string
ConnectionStatePath returns the path of the connections state file
func DatabaseDir ¶
func DatabaseDir() string
DatabaseDir returns the path to the db directory (creates if missing)
func DatabaseVersionFilePath ¶
func DatabaseVersionFilePath() string
DatabaseVersionFilePath returns the plugin version file path
func DefaultVarsFilePath ¶
func InternalDir ¶
func InternalDir() string
InternalDir returns the path to the internal directory (creates if missing)
func LegacyVersionFilePath ¶
func LegacyVersionFilePath() string
LegacyVersionFilePath returns the legacy version file path
func LogDir ¶
func LogDir() string
LogDir returns the path to the db log directory (creates if missing)
func ModFilePath ¶
func PluginDir ¶
func PluginDir() string
PluginDir returns the path to the plugins directory (creates if missing)
func PluginManagerStateFilePath ¶
func PluginManagerStateFilePath() string
func PluginVersionFilePath ¶
func PluginVersionFilePath() string
PluginVersionFilePath returns the plugin version file path
func ReportAssetsPath ¶
func ReportAssetsPath() string
func ReportAssetsVersionFilePath ¶ added in v0.13.0
func ReportAssetsVersionFilePath() string
ReportAssetsVersionFilePath returns the report assets version file path
func RunningInfoFilePath ¶
func RunningInfoFilePath() string
func TemplateDir ¶ added in v0.12.0
func TemplateDir() string
TemplateDir returns the path to the templates directory (creates if missing)
func WorkspaceLockPath ¶
func WorkspaceModPath ¶
Types ¶
This section is empty.