feat(features): Add DeletePlugin feature (#4273)

pull/4278/head
Louis Ruch 2 years ago committed by GitHub
parent 7707524ebf
commit 702a7f9973
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -22,6 +22,7 @@ const (
RequireVersionInWorkerInfo
SshSessionRecording
SupportIdInGrants
PluginDelete
)
var featureMap map[Feature]MetadataConstraint
@ -79,6 +80,11 @@ func init() {
featureMap[SupportIdInGrants] = MetadataConstraint{
Constraints: mustNewConstraints("< 0.15.0"),
}
// PluginDelete supports calling DeleteObjects on the Storage Plugin
featureMap[PluginDelete] = MetadataConstraint{
Constraints: mustNewConstraints(">= 0.15.0"),
}
}
func mustNewConstraints(v string) gvers.Constraints {

@ -13,7 +13,7 @@ var (
// Version is the base version
// Default values - set when building locally (at build time)
Version = "0.14.0"
Version = "0.15.0"
// VersionPrerelease is also set at compile time, similarly to Version.
VersionPrerelease string

Loading…
Cancel
Save