Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( CpuPeriod uint64 = 100000 MinCpuQuota uint64 = 1000 )
Functions ¶
Types ¶
type CGroupPath ¶
type CGroupPath struct {
Path string
}
func (CGroupPath) Apply ¶
func (r CGroupPath) Apply(bndl goci.Bndl, spec spec.DesiredContainerSpec) (goci.Bndl, error)
type KernelParameter ¶
type KernelParameter struct {
// contains filtered or unexported fields
}
func NewKernelParameter ¶
func NewKernelParameter(sysctl Sysctl, key string, value uint32) *KernelParameter
func (*KernelParameter) Apply ¶
func (r *KernelParameter) Apply(bndl goci.Bndl, spec spec.DesiredContainerSpec) (goci.Bndl, error)
type MkdirChowner ¶
type MkdirChowner struct { Command func(rootFSPathFile string, uid, gid int, mode os.FileMode, recreate bool, paths ...string) *exec.Cmd CommandRunner commandrunner.CommandRunner }
type Mounts ¶
type Mounts struct {
// contains filtered or unexported fields
}
func NewMounts ¶
func NewMounts(logger lager.Logger, mountOptionsGetter rundmc.MountOptionsGetter) Mounts
type Namespaces ¶
type Namespaces struct{}
func (Namespaces) Apply ¶
func (n Namespaces) Apply(bndl goci.Bndl, spec spec.DesiredContainerSpec) (goci.Bndl, error)
Source Files ¶
Click to show internal directories.
Click to hide internal directories.