container

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Create

func Create(cfg config.Struct, deleteOld bool)

func Enter

func Enter(cfg config.Struct, root bool) error

Runs a shell in the container and creates a pipe for package installations.

func FileExists

func FileExists(path string) bool

Checks if a file/path exists using os.Stat()

func GetFolderFiles

func GetFolderFiles(path string, match string) ([]string, error)

Returns a list of all the files inside a path that match a name

func RunCommandList

func RunCommandList(name string, commands []string, pman *podman.Podman, root bool, attach podman.Attach) error

Loops through the commands list and runs each one separately

Types

This section is empty.

Jump to

Keyboard shortcuts

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