Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
// Chroot tells if chroot should be used instead of pivoting
Chroot bool
// Mounts is the list of bindings to apply inside container
Mounts []Mount
}
Config stores configuration of executor
type Copy ¶
type Copy struct {
// Src points to source location
Src string
// Dst points to destination location
Dst string
}
Copy copies rsc to dst
type Execute ¶
type Execute struct {
// Command is a command to execute
Command string
}
Execute is sent to execute a shell command
type InitFromDocker ¶
type InitFromDocker struct {
// Image is the name of the image
Image string
// Tag is the tag of the image
Tag string
}
InitFromDocker initializes filesystem by downloading and integrating docker image
type Log ¶
type Log struct {
// Stream is the type of stream where log was produced
Stream Stream
// Text is text printed by command
Text string
}
Log is the log message printed by executed command
type Mount ¶
type Mount struct {
// Location on Host
Host string
// Mountpoint inside container
Container string
// Writable makes mount writable inside container
Writable bool
}
Mount defines directories to mount inside container
Click to show internal directories.
Click to hide internal directories.