filepaths

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 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 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 DefaultVarsFilePath(workspacePath string) string

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 ModFilePath(modFolder string) string

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 RunningInfoFilePath

func RunningInfoFilePath() string

func TempDir

func TempDir() string

TempDir returns the path to the steampipe tmp directory (creates if missing)

func TemplateDir added in v0.12.0

func TemplateDir() string

TemplateDir returns the path to the templates directory (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