capexec

package
v0.0.0-...-3f873ad Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type T

type T struct {
	PGID            *string
	PGCpus          *string
	PGMems          *string
	PGCPUShares     *string
	PGCPUQuota      *string
	PGMemOOMControl *string
	PGMemLimit      *string
	PGVMemLimit     *string
	PGMemSwappiness *string
	PGBlockIOWeight *string
	LimitAS         *string
	LimitCPU        *string
	LimitCore       *string
	LimitData       *string
	LimitFSize      *string
	LimitMemLock    *string
	LimitNoFile     *string
	LimitNProc      *string
	LimitRSS        *string
	LimitStack      *string
	LimitVMem       *string
}

func (T) Argv

func (t T) Argv() []string

func (T) Exec

func (t T) Exec(args []string)

func (*T) FlagSet

func (t *T) FlagSet(flags *pflag.FlagSet)

func (*T) LoadLimit

func (t *T) LoadLimit(g ulimit.Config)

func (*T) LoadPG

func (t *T) LoadPG(g pg.Config)

Jump to

Keyboard shortcuts

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