Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Apply ¶
func Apply(spec *specs.Spec, opts ...SpecOption)
func DefaultSpec ¶
func DefaultSpec() *specs.Spec
Types ¶
type Runc ¶
type Runc struct {
// contains filtered or unexported fields
}
func (*Runc) Create ¶
stdout,stderr cannot be extracted from execution or the command will hang indefinitely
func (*Runc) DeleteContainer ¶
type SpecOption ¶
type SpecOption func(*specs.Spec)
func AppendMounts ¶
func AppendMounts(mounts []specs.Mount) SpecOption
func PrependMounts ¶
func PrependMounts(mounts []specs.Mount) SpecOption
func RemoveMount ¶
func RemoveMount(mountSrc string) SpecOption
Click to show internal directories.
Click to hide internal directories.