We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent da7fafc commit 8068fccCopy full SHA for 8068fcc
solver/pb/caps.go
@@ -91,6 +91,9 @@ const (
91
CapMultipleExporters apicaps.CapID = "exporter.multiple"
92
93
CapSourcePolicy apicaps.CapID = "source.policy"
94
+
95
+ // GC/Prune controls allow FreeStorage and MaxStorage to be set
96
+ CapGCFreeSpaceFilter apicaps.CapID = "gc.freespacefilter"
97
)
98
99
func init() {
@@ -488,4 +491,10 @@ func init() {
488
491
Enabled: true,
489
492
Status: apicaps.CapStatusExperimental,
490
493
})
494
495
+ Caps.Init(apicaps.Cap{
496
+ ID: CapGCFreeSpaceFilter,
497
+ Enabled: true,
498
+ Status: apicaps.CapStatusExperimental,
499
+ })
500
}
0 commit comments