Documentation ¶
Index ¶
- Constants
- func CreateLoop(file *os.File, offset, size uint64) (string, io.Closer, error)
- func CreateOverlay(bundlePath string) error
- func DeleteBundle(bundlePath string) error
- func DeleteOverlay(bundlePath string) error
- func GenerateBundleConfig(bundlePath string, config *specs.Spec) (*generate.Generator, error)
- func SaveBundleConfig(bundlePath string, g *generate.Generator) error
- type Config
- type RootFs
- type Volumes
Constants ¶
View Source
const RunScript = "/.singularity.d/actions/run"
RunScript is the default process argument
Variables ¶
This section is empty.
Functions ¶
func CreateLoop ¶
CreateLoop associates a file to loop device and returns path of loop device used and a closer to close the loop device
func CreateOverlay ¶
CreateOverlay creates a writable overlay
func DeleteBundle ¶
DeleteBundle deletes bundle directory
func GenerateBundleConfig ¶
GenerateBundleConfig generates a minimal OCI bundle directory with the provided OCI configuration or a default one if there is no configuration
Types ¶
Click to show internal directories.
Click to hide internal directories.