Migrate sdk/recovery to api/ and sdk/wrapper to internal (#1507)

* `recovery` is only used by the API (and the main module, for decryption)
* `wrapper` is only used by the CLI right now

Moving these brings them closer to the code that uses them, and makes
the SDK package a bit more clear in terms of functionality.
This commit is contained in:
Jeff Mitchell authored and GitHub committed 2021-09-07 22:13:19 -04:00
1 parent 3fc2cf4df5
commit 081de3cf79
16 files changed
+17 -683

No files matched your search

+1 -1
View File
@@ -8,6 +8,7 @@ import (
"strings"
"time"
"github.com/hashicorp/boundary/api/recovery"
"github.com/hashicorp/boundary/globals"
"github.com/hashicorp/boundary/internal/errors"
"github.com/hashicorp/boundary/internal/gen/controller/tokens"
@@ -21,7 +22,6 @@ import (
"github.com/hashicorp/boundary/internal/types/resource"
"github.com/hashicorp/boundary/internal/types/scope"
"github.com/hashicorp/boundary/sdk/pbs/controller/api/resources/scopes"
"github.com/hashicorp/boundary/sdk/recovery"
wrapping "github.com/hashicorp/go-kms-wrapping"
"github.com/mr-tron/base58"
"google.golang.org/protobuf/proto"