syfs

package
v1.3.2 Latest Latest
Warning

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

Go to latest
Published: May 28, 2024 License: BSD-3-Clause Imports: 7 Imported by: 0

Documentation

Overview

Package syfs provides functions to access apptainer's file system layout.

Index

Constants

View Source
const (
	RemoteConfFile = "remote.yaml"
	RemoteCache    = "remote-cache"
	DockerConfFile = "docker-config.json"
)

Configuration files/directories.

Variables

This section is empty.

Functions

func ConfigDir

func ConfigDir() string

ConfigDir returns the directory where the apptainer user configuration and data is located.

func ConfigDirForUsername

func ConfigDirForUsername(username string) (string, error)

ConfigDirForUsername returns the directory where the apptainer configuration and data for the specified username is located.

func DefaultLocalKeyDirPath added in v1.2.0

func DefaultLocalKeyDirPath() string

func DockerConf

func DockerConf() string

func FallbackDockerConf added in v1.3.0

func FallbackDockerConf() string

func LegacyConfigDir added in v1.0.0

func LegacyConfigDir() string

LegacyConfigDir returns where singularity stores user configuration. NOTE: this location should only be used for migration/compatibility and never written to by apptainer.

func LegacyDockerConf added in v1.0.0

func LegacyDockerConf() string

LegacyDockerConf returns where singularity stores user oci registry configuration. NOTE: this location should only be used for migration/compatibility and never written to by apptainer.

func LegacyRemoteConf added in v1.0.0

func LegacyRemoteConf() string

LegacyRemoteConf returns where singularity stores user remote configuration. NOTE: this location should only be used for migration/compatibility and never written to by apptainer.

func RemoteCacheDir

func RemoteCacheDir() string

func RemoteConf

func RemoteConf() string

Types

This section is empty.

Jump to

Keyboard shortcuts

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