File tree Expand file tree Collapse file tree 2 files changed +17
-17
lines changed Expand file tree Collapse file tree 2 files changed +17
-17
lines changed Original file line number Diff line number Diff line change @@ -91,23 +91,6 @@ type RealFsInfo struct {
9191 fsUUIDToDeviceName map [string ]string
9292}
9393
94- type Context struct {
95- // docker root directory.
96- Docker DockerContext
97- RktPath string
98- Crio CrioContext
99- }
100-
101- type DockerContext struct {
102- Root string
103- Driver string
104- DriverStatus map [string ]string
105- }
106-
107- type CrioContext struct {
108- Root string
109- }
110-
11194func NewFsInfo (context Context ) (FsInfo , error ) {
11295 mounts , err := mount .GetMounts (nil )
11396 if err != nil {
Original file line number Diff line number Diff line change @@ -18,6 +18,23 @@ import (
1818 "errors"
1919)
2020
21+ type Context struct {
22+ // docker root directory.
23+ Docker DockerContext
24+ RktPath string
25+ Crio CrioContext
26+ }
27+
28+ type DockerContext struct {
29+ Root string
30+ Driver string
31+ DriverStatus map [string ]string
32+ }
33+
34+ type CrioContext struct {
35+ Root string
36+ }
37+
2138type DeviceInfo struct {
2239 Device string
2340 Major uint
You can’t perform that action at this time.
0 commit comments