storagepath

package
v0.57.2 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 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 PublishResolvedPaths added in v0.57.0

func PublishResolvedPaths(projectID, stateRoot, socketPath string) error

PublishResolvedPaths publishes the resolved state root and optional explicit socket path to the project's environment variables so bus-hosted components (such as the resource listener) scope their default paths to the invocation's state root instead of the shared process default. socketPath may be empty when no explicit socket path was requested.

func SocketPathEnvVar added in v0.57.0

func SocketPathEnvVar(projectID string) string

SocketPathEnvVar returns the environment variable that overrides the daemon socket path (e.g. "spacewave" -> "SPACEWAVE_SOCKET_PATH").

func StatePathEnvVar added in v0.57.0

func StatePathEnvVar(projectID string) string

StatePathEnvVar returns the environment variable that carries the resolved project state path (e.g. "spacewave" -> "SPACEWAVE_STATE_PATH").

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