Documentation ¶
Index ¶
- type Methods
- func (t *Methods) Chroot(arguments *args.ChrootArgs, reply *int) error
- func (t *Methods) HasNamespace(arguments *args.HasNamespaceArgs, reply *int) error
- func (t *Methods) LoopDevice(arguments *args.LoopArgs, reply *int) error
- func (t *Methods) Mkdir(arguments *args.MkdirArgs, reply *int) (err error)
- func (t *Methods) Mount(arguments *args.MountArgs, reply *int) (err error)
- func (t *Methods) SetFsID(arguments *args.SetFsIDArgs, reply *int) error
- func (t *Methods) SetHostname(arguments *args.HostnameArgs, reply *int) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Methods ¶
type Methods int
Methods is a receiver type.
func (*Methods) Chroot ¶
func (t *Methods) Chroot(arguments *args.ChrootArgs, reply *int) error
Chroot performs a chroot with the specified arguments.
func (*Methods) HasNamespace ¶
func (t *Methods) HasNamespace(arguments *args.HasNamespaceArgs, reply *int) error
HasNamespace checks if host namespace and container namespace are different and sets reply to 0 or 1.
func (*Methods) LoopDevice ¶
LoopDevice attaches a loop device with the specified arguments.
func (*Methods) SetFsID ¶
func (t *Methods) SetFsID(arguments *args.SetFsIDArgs, reply *int) error
SetFsID sets filesystem uid and gid.
func (*Methods) SetHostname ¶
func (t *Methods) SetHostname(arguments *args.HostnameArgs, reply *int) error
SetHostname sets hostname with the specified arguments.
Click to show internal directories.
Click to hide internal directories.