- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for IsHugePageMedium (0.15 sec)
-
pkg/apis/core/v1/helper/helpers.go
} return fmt.Sprintf("%d%s", size, hugePageSizeUnitList[idx]), nil } // IsHugePageMedium returns true if the volume medium is in 'HugePages[-size]' format func IsHugePageMedium(medium v1.StorageMedium) bool { if medium == v1.StorageMediumHugePages { return true } return strings.HasPrefix(string(medium), string(v1.StorageMediumHugePagesPrefix))
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 30 23:03:54 UTC 2024 - 11.4K bytes - Viewed (0) -
pkg/volume/emptydir/empty_dir.go
} } } switch { case ed.medium == v1.StorageMediumDefault: err = ed.setupDir(dir) case ed.medium == v1.StorageMediumMemory: err = ed.setupTmpfs(dir) case v1helper.IsHugePageMedium(ed.medium): err = ed.setupHugepages(dir) default: err = fmt.Errorf("unknown storage medium %q", ed.medium) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 21 10:18:16 UTC 2024 - 19K bytes - Viewed (0)