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 a73e1b0 commit a75b5ebCopy full SHA for a75b5eb
solver/pb/caps.go
@@ -92,6 +92,9 @@ const (
92
CapMultipleExporters apicaps.CapID = "exporter.multiple"
93
94
CapSourcePolicy apicaps.CapID = "source.policy"
95
+
96
+ // GC/Prune controls allow FreeStorage and MaxStorage to be set
97
+ CapGCFreeSpaceFilter apicaps.CapID = "gc.freespacefilter"
98
)
99
100
func init() {
@@ -489,4 +492,10 @@ func init() {
489
492
Enabled: true,
490
493
Status: apicaps.CapStatusExperimental,
491
494
})
495
496
+ Caps.Init(apicaps.Cap{
497
+ ID: CapGCFreeSpaceFilter,
498
+ Enabled: true,
499
+ Status: apicaps.CapStatusExperimental,
500
+ })
501
}
0 commit comments