storagepath

package
v0.52.0 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DetermineConfigDir

func DetermineConfigDir(projectID string) (string, error)

DetermineConfigDir determines the root config and storage dir.

func DetermineStorageRoot

func DetermineStorageRoot(projectID string) (string, error)

DetermineStorageRoot determines the root dir to store data.

func LogLevelEnvVar added in v0.51.2

func LogLevelEnvVar(projectID string) string

LogLevelEnvVar returns the environment variable that overrides the log level for the given project (e.g. "spacewave" -> "SPACEWAVE_LOG_LEVEL").

func LogRetentionDaysEnvVar added in v0.51.2

func LogRetentionDaysEnvVar(projectID string) string

LogRetentionDaysEnvVar returns the environment variable that overrides the on-disk log retention duration (in days) for the given project.

func StorageRootEnvVar

func StorageRootEnvVar(projectID string) string

StorageRootEnvVar returns the environment variable for the storage root.

Types

This section is empty.

Jump to

Keyboard shortcuts

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