summaryrefslogtreecommitdiff
path: root/pkg/system/meminfo_deprecated.go
blob: 216519923e00276d6a4eab2faa7a8b3b1c077097 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
package system

import "github.com/docker/docker/pkg/meminfo"

// MemInfo contains memory statistics of the host system.
//
// Deprecated: use [meminfo.Memory].
type MemInfo = meminfo.Memory

// ReadMemInfo retrieves memory statistics of the host system and returns a
// MemInfo type.
//
// Deprecated: use [meminfo.Read].
func ReadMemInfo() (*meminfo.Memory, error) {
	return meminfo.Read()
}