MCPcopy Index your code
hub / github.com/coder/coder / mockStatter

Struct mockStatter

agent/proto/resourcesmonitor/fetcher_test.go:14–19  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12)
13
14type mockStatter struct {
15 isContainerized bool
16 containerMemory clistat.Result
17 hostMemory clistat.Result
18 disk map[string]clistat.Result
19}
20
21func (s *mockStatter) IsContainerized() (bool, error) {
22 return s.isContainerized, nil

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected