filepaths

package
v0.13.0-alpha.16 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2022 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	WorkspaceDataDir        = ".steampipe"
	WorkspaceModDir         = "mods"
	WorkspaceConfigFileName = "workspace.spc"
	WorkspaceIgnoreFile     = ".steampipeignore"
	ModFileName             = "mod.sp"
	DefaultVarsFileName     = "steampipe.spvars"
	WorkspaceLockFileName   = ".mod.cache.json"
)

mod related constants

View Source
const (
	DefaultInstallDir = "~/.steampipe"
)

Constants for Config

Variables

View Source
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 DefaultVarsFilePath(workspacePath string) string

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 EnsureTmpDir

func EnsureTmpDir() string

EnsureTmpDir returns the path to the tmp directory in STEAMPIPE_HOME (creates if missing)

func LegacyVersionFilePath

func LegacyVersionFilePath() string

LegacyVersionFilePath returns the legacy version file path

func ModFilePath

func ModFilePath(modFolder string) string

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 TmpDir

func TmpDir() string

TmpDir returns the path to the tmp directory in STEAMPIPE_HOME (creates if missing)

func WorkspaceLockPath

func WorkspaceLockPath(workspacePath string) string

func WorkspaceModPath

func WorkspaceModPath(workspacePath string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL