Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CgroupReader ¶
type CgroupsManager ¶
type ContainerCgroupsManager ¶
type ContainerCgroupsManager struct {
// contains filtered or unexported fields
}
func New ¶
func New(cgroupsPath, containerID string, cgroupReader CgroupReader) *ContainerCgroupsManager
func (*ContainerCgroupsManager) Get ¶
func (m *ContainerCgroupsManager) Get(subsystem, name string) (string, error)
func (*ContainerCgroupsManager) Set ¶
func (m *ContainerCgroupsManager) Set(subsystem, name, value string) error
func (*ContainerCgroupsManager) SubsystemPath ¶
func (m *ContainerCgroupsManager) SubsystemPath(subsystem string) (string, error)
type LinuxCgroupReader ¶
type LinuxCgroupReader struct { Path string // contains filtered or unexported fields }
func (*LinuxCgroupReader) CgroupNode ¶
func (c *LinuxCgroupReader) CgroupNode(subsystem string) (string, error)
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
This file was generated by counterfeiter
|
This file was generated by counterfeiter |
Click to show internal directories.
Click to hide internal directories.