bin

package
v0.15.4 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ScriptName = "script"
)
View Source
const (
	ShimName = "shim"
)

Variables

View Source
var (
	ScriptPath       = filepath.Join(containerfs.WorkingDir, ScriptName)
	ScriptEntrypoint = []string{ScriptPath}
)
View Source
var (
	ShimPath       = filepath.Join(containerfs.WorkingDir, ShimName)
	ShimEntrypoint = []string{ShimPath}
)
View Source
var TarArchiveCompression = gzip.BestCompression

Functions

func HasShebang added in v0.15.0

func HasShebang(script string) bool

func NewScriptTarArchive added in v0.15.0

func NewScriptTarArchive(script string) io.Reader

func NewShimReader

func NewShimReader() io.Reader

func NewShimTarArchive

func NewShimTarArchive() io.Reader

Types

This section is empty.

Jump to

Keyboard shortcuts

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