Documentation ¶
Index ¶
- func BinderHandle(hdl uintptr) func(*CmdOpts)
- func LoggerHandle(hdl uintptr) func(*CmdOpts)
- func MakeChroot(targetExec string) (string, error)
- func Pipe(pipe *os.File) func(*CmdOpts)
- func PivotRoot(root string) (err error)
- func Profile(profile bool) func(*CmdOpts)
- func SetJournalFs(targetExec string) error
- type CmdOpts
- type NamespacedCmd
- func (c *NamespacedCmd) AccountingPath(path string) *NamespacedCmd
- func (c *NamespacedCmd) CertFiles(list []string) *NamespacedCmd
- func (c *NamespacedCmd) CertPaths(list []string) *NamespacedCmd
- func (c *NamespacedCmd) ConfPath(path string) *NamespacedCmd
- func (c *NamespacedCmd) Dumpable(dumpable bool) *NamespacedCmd
- func (c *NamespacedCmd) FileDestTemplate(tmpl string) *NamespacedCmd
- func (c *NamespacedCmd) PollDirectories(dirs []string) *NamespacedCmd
- func (c *NamespacedCmd) Start() (err error)
- func (c *NamespacedCmd) StorePath(path string) *NamespacedCmd
- type PluginCmd
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BinderHandle ¶
func LoggerHandle ¶
func MakeChroot ¶
func SetJournalFs ¶
Types ¶
type NamespacedCmd ¶
type NamespacedCmd struct {
// contains filtered or unexported fields
}
func NewNamespacedCmd ¶
func NewNamespacedCmd(cmd *PluginCmd) *NamespacedCmd
func (*NamespacedCmd) AccountingPath ¶
func (c *NamespacedCmd) AccountingPath(path string) *NamespacedCmd
func (*NamespacedCmd) CertFiles ¶
func (c *NamespacedCmd) CertFiles(list []string) *NamespacedCmd
func (*NamespacedCmd) CertPaths ¶
func (c *NamespacedCmd) CertPaths(list []string) *NamespacedCmd
func (*NamespacedCmd) ConfPath ¶
func (c *NamespacedCmd) ConfPath(path string) *NamespacedCmd
func (*NamespacedCmd) Dumpable ¶
func (c *NamespacedCmd) Dumpable(dumpable bool) *NamespacedCmd
func (*NamespacedCmd) FileDestTemplate ¶
func (c *NamespacedCmd) FileDestTemplate(tmpl string) *NamespacedCmd
func (*NamespacedCmd) PollDirectories ¶
func (c *NamespacedCmd) PollDirectories(dirs []string) *NamespacedCmd
func (*NamespacedCmd) Start ¶
func (c *NamespacedCmd) Start() (err error)
func (*NamespacedCmd) StorePath ¶
func (c *NamespacedCmd) StorePath(path string) *NamespacedCmd
type PluginCmd ¶
type PluginCmd struct { Cmd *exec.Cmd Stdin io.WriteCloser Stdout io.ReadCloser }
func (*PluginCmd) Namespaced ¶
func (cmd *PluginCmd) Namespaced() *NamespacedCmd
func (*PluginCmd) SetSysProcAttr ¶
func (cmd *PluginCmd) SetSysProcAttr(attrs *syscall.SysProcAttr)
Click to show internal directories.
Click to hide internal directories.