cgroup

package
v0.0.0-...-0262e0e Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

SPDX-FileCopyrightText: Copyright (c) 2023, CIQ, Inc. All rights reserved SPDX-License-Identifier: Apache-2.0

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CGroup

type CGroup struct {
	cgroups.Manager
}

func NewCGroup

func NewCGroup(path string) (*CGroup, error)

func (*CGroup) CreateStats

func (c *CGroup) CreateStats() ([]parser.StatFunc, error)

func (*CGroup) HasProcess

func (c *CGroup) HasProcess() (bool, error)

func (*CGroup) Marshal

func (c *CGroup) Marshal(buffer *bytes.Buffer) (*bytes.Buffer, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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