Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
SyscallExecRuntime = &syscallExecRuntime{}
)
Functions ¶
This section is empty.
Types ¶
type Interface ¶
type RuntimeArgs ¶
type RuntimeArgs struct {
Command Command
ContainerId string
Options RuntimeOpts
}
func GetRuntimeArgs ¶
func GetRuntimeArgs(args []string) (*RuntimeArgs, error)
GetRuntimeArgs analyze command line arguments passed from OCI to low level container runtime and returns analysis result for later use
type RuntimeOpts ¶
type RuntimeOpts struct {
// global flags
Root string `long:"root"`
Log string `long:"log"`
LogFormat string `long:"log-format"`
// common flags for create/exec
PidFile string `long:"pid-file"`
// flags for create
Bundle string `long:"bundle" short:"b"`
// flags for exec
Process string `long:"process" short:"p"`
}
Click to show internal directories.
Click to hide internal directories.