mirror of
https://github.com/replicatedhq/troubleshoot.git
synced 2026-02-14 18:29:53 +00:00
Linux control groups host collector that detects whether the specified mountPoint is a cgroup filesystem and what version it is. The collector also collects information of the configured cgroup controllers. Signed-off-by: Evans Mungai <evans@replicated.com>
12 lines
209 B
Go
12 lines
209 B
Go
//go:build !linux
|
|
|
|
package collect
|
|
|
|
import (
|
|
"fmt"
|
|
)
|
|
|
|
func discoverConfiguration(_ string) (cgroupsResult, error) {
|
|
return cgroupsResult{}, fmt.Errorf("Discovery of cgroups not inimplemented for this OS")
|
|
}
|