|
|
|
|
@ -25,6 +25,7 @@ const (
|
|
|
|
|
PluginDelete
|
|
|
|
|
LocalStorageState
|
|
|
|
|
StorageBucketCredentialState
|
|
|
|
|
RDPSessionProxy
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
var featureMap map[Feature]MetadataConstraint
|
|
|
|
|
@ -97,6 +98,12 @@ func init() {
|
|
|
|
|
featureMap[StorageBucketCredentialState] = MetadataConstraint{
|
|
|
|
|
Constraints: mustNewConstraints(">= 0.17.0"),
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Worker supports RDP session proxy
|
|
|
|
|
// TODO: update this to the release version when RDP goes out
|
|
|
|
|
featureMap[RDPSessionProxy] = MetadataConstraint{
|
|
|
|
|
Constraints: mustNewConstraints(">= 0.19.0"),
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func mustNewConstraints(v string) gvers.Constraints {
|
|
|
|
|
|