nsenter

package
v0.3.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 7, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Builder

type Builder struct {
	// contains filtered or unexported fields
}

func New

func New() (*Builder, error)

func (*Builder) GetExecCmd

func (b *Builder) GetExecCmd() *exec.Cmd

func (*Builder) SetOptAll

func (b *Builder) SetOptAll() *Builder

func (*Builder) SetOptCgroup

func (b *Builder) SetOptCgroup(file *string) *Builder

func (*Builder) SetOptFollowContext

func (b *Builder) SetOptFollowContext() *Builder

func (*Builder) SetOptGid

func (b *Builder) SetOptGid(gid int) *Builder

func (*Builder) SetOptIPC

func (b *Builder) SetOptIPC(file *string) *Builder

func (*Builder) SetOptMount

func (b *Builder) SetOptMount(file *string) *Builder

func (*Builder) SetOptNetwork

func (b *Builder) SetOptNetwork(file *string) *Builder

func (*Builder) SetOptNoFork

func (b *Builder) SetOptNoFork() *Builder

func (*Builder) SetOptPID

func (b *Builder) SetOptPID(file *string) *Builder

func (*Builder) SetOptPreserveCredentials

func (b *Builder) SetOptPreserveCredentials() *Builder

func (*Builder) SetOptRoot

func (b *Builder) SetOptRoot(path *string) *Builder

func (*Builder) SetOptTarget

func (b *Builder) SetOptTarget(pid uint32) *Builder

func (*Builder) SetOptUTS

func (b *Builder) SetOptUTS(file *string) *Builder

func (*Builder) SetOptUid

func (b *Builder) SetOptUid(uid int) *Builder

func (*Builder) SetOptUser

func (b *Builder) SetOptUser(file *string) *Builder

func (*Builder) SetOptWd

func (b *Builder) SetOptWd(path *string) *Builder

func (*Builder) SetProgram

func (b *Builder) SetProgram(c []string) *Builder

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL