env

package
v5.0.3 Latest Latest
Warning

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

Go to latest
Published: May 10, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConfDirPrefix

func ConfDirPrefix() (string, error)

ConfDirPrefix returns the path prefix for all machine config files

func DataDirPrefix

func DataDirPrefix() (string, error)

DataDirPrefix returns the path prefix for all machine data files

func GetCacheDir

func GetCacheDir(vmType define.VMType) (string, error)

GetCacheDir returns the dir where VM images are downloaded into when pulled

func GetConfDir

func GetConfDir(vmType define.VMType) (string, error)

GetConfigDir returns the filepath to where configuration files for podman-machine should live

func GetDataDir

func GetDataDir(vmType define.VMType) (string, error)

GetDataDir returns the filepath where vm images should live for podman-machine.

func GetGlobalDataDir

func GetGlobalDataDir() (string, error)

GetGlobalDataDir returns the root of all backends for shared machine data.

func GetMachineDirs

func GetMachineDirs(vmType define.VMType) (*define.MachineDirs, error)

func GetSSHIdentityPath

func GetSSHIdentityPath(name string) (string, error)

GetSSHIdentityPath returns the path to the expected SSH private key

func WithPodmanPrefix

func WithPodmanPrefix(name 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