mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-11-03 20:17:59 +00:00
The big one (#5346)
This commit is contained in:
@@ -7,6 +7,7 @@ import (
|
||||
"strings"
|
||||
|
||||
"github.com/hashicorp/errwrap"
|
||||
"github.com/hashicorp/vault/helper/license"
|
||||
"github.com/hashicorp/vault/logical"
|
||||
)
|
||||
|
||||
@@ -69,6 +70,10 @@ type Path struct {
|
||||
// must have UpdateCapability on the path.
|
||||
ExistenceCheck ExistenceFunc
|
||||
|
||||
// FeatureRequired, if implemented, will validate if the given feature is
|
||||
// enabled for the set of paths
|
||||
FeatureRequired license.Features
|
||||
|
||||
// Help is text describing how to use this path. This will be used
|
||||
// to auto-generate the help operation. The Path will automatically
|
||||
// generate a parameter listing and URL structure based on the
|
||||
|
||||
Reference in New Issue
Block a user