Move policyutil to sdk

This commit is contained in:
Jeff Mitchell 2019-04-12 18:08:46 -04:00
parent 7ca424e8d2
commit 8d6ce1ffb5
37 changed files with 35 additions and 35 deletions

View File

@ -10,7 +10,7 @@ import (
"strings"
"github.com/hashicorp/errwrap"
"github.com/hashicorp/vault/helper/policyutil"
"github.com/hashicorp/vault/sdk/helper/policyutil"
"github.com/hashicorp/vault/sdk/logical"
"github.com/hashicorp/vault/sdk/framework"
)

View File

@ -12,7 +12,7 @@ import (
"github.com/hashicorp/vault/sdk/helper/cidrutil"
"github.com/hashicorp/vault/sdk/helper/consts"
"github.com/hashicorp/vault/sdk/helper/locksutil"
"github.com/hashicorp/vault/helper/policyutil"
"github.com/hashicorp/vault/sdk/helper/policyutil"
"github.com/hashicorp/vault/sdk/helper/strutil"
"github.com/hashicorp/vault/sdk/logical"
"github.com/hashicorp/vault/sdk/framework"

View File

@ -7,7 +7,7 @@ import (
"testing"
"time"
"github.com/hashicorp/vault/helper/policyutil"
"github.com/hashicorp/vault/sdk/helper/policyutil"
"github.com/hashicorp/vault/sdk/logical"
"github.com/mitchellh/mapstructure"
)

View File

@ -14,7 +14,7 @@ import (
"github.com/aws/aws-sdk-go/aws/session"
"github.com/aws/aws-sdk-go/service/sts"
"github.com/hashicorp/vault/helper/policyutil"
"github.com/hashicorp/vault/sdk/helper/policyutil"
"github.com/hashicorp/vault/sdk/logical"
"github.com/hashicorp/vault/sdk/framework"
logicaltest "github.com/hashicorp/vault/helper/testhelpers/logical"

View File

@ -9,7 +9,7 @@ import (
"github.com/hashicorp/errwrap"
uuid "github.com/hashicorp/go-uuid"
"github.com/hashicorp/vault/sdk/helper/consts"
"github.com/hashicorp/vault/helper/policyutil"
"github.com/hashicorp/vault/sdk/helper/policyutil"
"github.com/hashicorp/vault/sdk/logical"
"github.com/hashicorp/vault/sdk/framework"
)

View File

@ -12,7 +12,7 @@ import (
"time"
uuid "github.com/hashicorp/go-uuid"
"github.com/hashicorp/vault/helper/policyutil"
"github.com/hashicorp/vault/sdk/helper/policyutil"
"github.com/hashicorp/vault/sdk/helper/strutil"
"github.com/hashicorp/vault/sdk/logical"
"github.com/hashicorp/vault/sdk/framework"

View File

@ -8,7 +8,7 @@ import (
"time"
"github.com/go-test/deep"
"github.com/hashicorp/vault/helper/policyutil"
"github.com/hashicorp/vault/sdk/helper/policyutil"
"github.com/hashicorp/vault/sdk/helper/strutil"
"github.com/hashicorp/vault/sdk/logical"
)

View File

@ -9,7 +9,7 @@ import (
sockaddr "github.com/hashicorp/go-sockaddr"
"github.com/hashicorp/vault/sdk/helper/parseutil"
"github.com/hashicorp/vault/helper/policyutil"
"github.com/hashicorp/vault/sdk/helper/policyutil"
"github.com/hashicorp/vault/sdk/logical"
"github.com/hashicorp/vault/sdk/framework"
)

View File

@ -13,7 +13,7 @@ import (
"strings"
"github.com/hashicorp/vault/sdk/helper/certutil"
"github.com/hashicorp/vault/helper/policyutil"
"github.com/hashicorp/vault/sdk/helper/policyutil"
"github.com/hashicorp/vault/sdk/logical"
"github.com/hashicorp/vault/sdk/framework"

View File

@ -8,7 +8,7 @@ import (
"github.com/google/go-github/github"
"github.com/hashicorp/errwrap"
"github.com/hashicorp/vault/helper/policyutil"
"github.com/hashicorp/vault/sdk/helper/policyutil"
"github.com/hashicorp/vault/sdk/logical"
"github.com/hashicorp/vault/sdk/framework"
)

View File

@ -11,7 +11,7 @@ import (
"time"
"github.com/hashicorp/vault/helper/namespace"
"github.com/hashicorp/vault/helper/policyutil"
"github.com/hashicorp/vault/sdk/helper/policyutil"
"github.com/hashicorp/vault/sdk/logical"
logicaltest "github.com/hashicorp/vault/helper/testhelpers/logical"
"github.com/mitchellh/mapstructure"

View File

@ -4,7 +4,7 @@ import (
"context"
"strings"
"github.com/hashicorp/vault/helper/policyutil"
"github.com/hashicorp/vault/sdk/helper/policyutil"
"github.com/hashicorp/vault/sdk/logical"
"github.com/hashicorp/vault/sdk/framework"
)

View File

@ -5,7 +5,7 @@ import (
"fmt"
"sort"
"github.com/hashicorp/vault/helper/policyutil"
"github.com/hashicorp/vault/sdk/helper/policyutil"
"github.com/hashicorp/vault/sdk/logical"
"github.com/hashicorp/vault/sdk/framework"
)

View File

@ -4,7 +4,7 @@ import (
"context"
"strings"
"github.com/hashicorp/vault/helper/policyutil"
"github.com/hashicorp/vault/sdk/helper/policyutil"
"github.com/hashicorp/vault/sdk/helper/strutil"
"github.com/hashicorp/vault/sdk/logical"
"github.com/hashicorp/vault/sdk/framework"

View File

@ -9,7 +9,7 @@ import (
log "github.com/hashicorp/go-hclog"
"github.com/hashicorp/vault/sdk/helper/logging"
"github.com/hashicorp/vault/helper/policyutil"
"github.com/hashicorp/vault/sdk/helper/policyutil"
"time"

View File

@ -4,7 +4,7 @@ import (
"context"
"strings"
"github.com/hashicorp/vault/helper/policyutil"
"github.com/hashicorp/vault/sdk/helper/policyutil"
"github.com/hashicorp/vault/sdk/logical"
"github.com/hashicorp/vault/sdk/framework"
)

View File

@ -7,7 +7,7 @@ import (
"strings"
"github.com/go-errors/errors"
"github.com/hashicorp/vault/helper/policyutil"
"github.com/hashicorp/vault/sdk/helper/policyutil"
"github.com/hashicorp/vault/sdk/logical"
"github.com/hashicorp/vault/sdk/framework"
)

View File

@ -11,7 +11,7 @@ import (
"layeh.com/radius"
. "layeh.com/radius/rfc2865"
"github.com/hashicorp/vault/helper/policyutil"
"github.com/hashicorp/vault/sdk/helper/policyutil"
"github.com/hashicorp/vault/sdk/logical"
"github.com/hashicorp/vault/sdk/framework"
)

View File

@ -5,7 +5,7 @@ import (
"fmt"
"strings"
"github.com/hashicorp/vault/helper/policyutil"
"github.com/hashicorp/vault/sdk/helper/policyutil"
"github.com/hashicorp/vault/sdk/logical"
"github.com/hashicorp/vault/sdk/framework"
)

View File

@ -9,7 +9,7 @@ import (
"crypto/tls"
"github.com/hashicorp/vault/helper/policyutil"
"github.com/hashicorp/vault/sdk/helper/policyutil"
"github.com/hashicorp/vault/sdk/logical"
logicaltest "github.com/hashicorp/vault/helper/testhelpers/logical"
"github.com/mitchellh/mapstructure"

View File

@ -7,7 +7,7 @@ import (
"strings"
"github.com/hashicorp/vault/sdk/helper/cidrutil"
"github.com/hashicorp/vault/helper/policyutil"
"github.com/hashicorp/vault/sdk/helper/policyutil"
"github.com/hashicorp/vault/sdk/logical"
"github.com/hashicorp/vault/sdk/framework"
"golang.org/x/crypto/bcrypt"

View File

@ -4,7 +4,7 @@ import (
"context"
"fmt"
"github.com/hashicorp/vault/helper/policyutil"
"github.com/hashicorp/vault/sdk/helper/policyutil"
"github.com/hashicorp/vault/sdk/logical"
"github.com/hashicorp/vault/sdk/framework"
)

View File

@ -8,7 +8,7 @@ import (
sockaddr "github.com/hashicorp/go-sockaddr"
"github.com/hashicorp/vault/sdk/helper/parseutil"
"github.com/hashicorp/vault/helper/policyutil"
"github.com/hashicorp/vault/sdk/helper/policyutil"
"github.com/hashicorp/vault/sdk/logical"
"github.com/hashicorp/vault/sdk/framework"
)

View File

@ -18,7 +18,7 @@ import (
"github.com/hashicorp/vault/helper/identity"
"github.com/hashicorp/vault/sdk/helper/jsonutil"
"github.com/hashicorp/vault/helper/namespace"
"github.com/hashicorp/vault/helper/policyutil"
"github.com/hashicorp/vault/sdk/helper/policyutil"
"github.com/hashicorp/vault/sdk/helper/strutil"
"github.com/hashicorp/vault/sdk/helper/wrapping"
"github.com/hashicorp/vault/sdk/logical"

View File

@ -28,7 +28,7 @@ import (
"github.com/hashicorp/vault/sdk/helper/locksutil"
"github.com/hashicorp/vault/helper/namespace"
"github.com/hashicorp/vault/sdk/helper/parseutil"
"github.com/hashicorp/vault/helper/policyutil"
"github.com/hashicorp/vault/sdk/helper/policyutil"
"github.com/hashicorp/vault/sdk/helper/salt"
"github.com/hashicorp/vault/sdk/helper/strutil"
"github.com/hashicorp/vault/sdk/logical"

View File

@ -479,7 +479,7 @@
"github.com/hashicorp/go-cleanhttp",
"github.com/hashicorp/go-hclog",
"github.com/hashicorp/vault/sdk/helper/pluginutil",
"github.com/hashicorp/vault/helper/policyutil",
"github.com/hashicorp/vault/sdk/helper/policyutil",
"github.com/hashicorp/vault/sdk/logical",
"github.com/hashicorp/vault/sdk/framework",
"github.com/hashicorp/vault/sdk/logical/plugin",

View File

@ -8,7 +8,7 @@ import (
"strings"
"time"
"github.com/hashicorp/vault/helper/policyutil"
"github.com/hashicorp/vault/sdk/helper/policyutil"
"github.com/hashicorp/vault/sdk/logical"
"github.com/hashicorp/vault/sdk/framework"
)

View File

@ -396,7 +396,7 @@
"github.com/hashicorp/vault/api",
"github.com/hashicorp/vault/helper/password",
"github.com/hashicorp/vault/sdk/helper/pluginutil",
"github.com/hashicorp/vault/helper/policyutil",
"github.com/hashicorp/vault/sdk/helper/policyutil",
"github.com/hashicorp/vault/sdk/logical",
"github.com/hashicorp/vault/sdk/framework",
"github.com/hashicorp/vault/sdk/logical/plugin",

View File

@ -5,7 +5,7 @@ import (
"fmt"
"net/url"
"github.com/hashicorp/vault/helper/policyutil"
"github.com/hashicorp/vault/sdk/helper/policyutil"
"github.com/hashicorp/vault/sdk/logical"
"github.com/hashicorp/vault/sdk/framework"
)

View File

@ -10,7 +10,7 @@ import (
"github.com/hashicorp/errwrap"
"github.com/hashicorp/go-gcp-common/gcputil"
"github.com/hashicorp/vault/helper/policyutil"
"github.com/hashicorp/vault/sdk/helper/policyutil"
"github.com/hashicorp/vault/sdk/helper/strutil"
"github.com/hashicorp/vault/sdk/logical"
"github.com/hashicorp/vault/sdk/framework"

View File

@ -9,7 +9,7 @@ import (
"github.com/hashicorp/go-gcp-common/gcputil"
vaultconsts "github.com/hashicorp/vault/sdk/helper/consts"
"github.com/hashicorp/vault/helper/policyutil"
"github.com/hashicorp/vault/sdk/helper/policyutil"
"github.com/hashicorp/vault/sdk/helper/strutil"
"github.com/hashicorp/vault/sdk/logical"
"github.com/hashicorp/vault/sdk/framework"

View File

@ -468,7 +468,7 @@
"github.com/hashicorp/vault/sdk/helper/logging",
"github.com/hashicorp/vault/sdk/helper/parseutil",
"github.com/hashicorp/vault/sdk/helper/pluginutil",
"github.com/hashicorp/vault/helper/policyutil",
"github.com/hashicorp/vault/sdk/helper/policyutil",
"github.com/hashicorp/vault/sdk/helper/strutil",
"github.com/hashicorp/vault/sdk/logical",
"github.com/hashicorp/vault/sdk/framework",

View File

@ -9,7 +9,7 @@ import (
sockaddr "github.com/hashicorp/go-sockaddr"
"github.com/hashicorp/vault/sdk/helper/parseutil"
"github.com/hashicorp/vault/helper/policyutil"
"github.com/hashicorp/vault/sdk/helper/policyutil"
"github.com/hashicorp/vault/sdk/helper/strutil"
"github.com/hashicorp/vault/sdk/logical"
"github.com/hashicorp/vault/sdk/framework"

View File

@ -475,7 +475,7 @@
"github.com/hashicorp/vault/sdk/helper/logging",
"github.com/hashicorp/vault/sdk/helper/parseutil",
"github.com/hashicorp/vault/sdk/helper/pluginutil",
"github.com/hashicorp/vault/helper/policyutil",
"github.com/hashicorp/vault/sdk/helper/policyutil",
"github.com/hashicorp/vault/sdk/helper/strutil",
"github.com/hashicorp/vault/sdk/logical",
"github.com/hashicorp/vault/sdk/framework",

View File

@ -8,7 +8,7 @@ import (
"github.com/hashicorp/go-sockaddr"
"github.com/hashicorp/vault/sdk/helper/parseutil"
"github.com/hashicorp/vault/helper/policyutil"
"github.com/hashicorp/vault/sdk/helper/policyutil"
"github.com/hashicorp/vault/sdk/helper/strutil"
"github.com/hashicorp/vault/sdk/logical"
"github.com/hashicorp/vault/sdk/framework"