Rename Go module paths to repo.anhonesthost.net/CyberCoveLLC/threshold
Rename root, api and sdk module paths (imports, go.mod, go_package, ldflags, build scripts, buf configs) and regenerate protobuf/gateway code with the project's pinned toolchain. Wire identifiers unchanged. api gets a local replace for sdk; root/api/sdk require v0.1.0. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
443e483a16
commit
962d708fdd
1881 files changed
+7840
-7840
No files matched your search
@@ -6,8 +6,8 @@ package plugin
|
||||
import (
|
||||
"context"
|
||||
|
||||
"github.com/hashicorp/boundary/internal/db"
|
||||
"github.com/hashicorp/boundary/internal/errors"
|
||||
"repo.anhonesthost.net/CyberCoveLLC/threshold/internal/db"
|
||||
"repo.anhonesthost.net/CyberCoveLLC/threshold/internal/errors"
|
||||
)
|
||||
|
||||
// PublicId prefixes for the resources in the plugin package.
|
||||
|
||||
@@ -7,9 +7,9 @@ import (
|
||||
"context"
|
||||
"testing"
|
||||
|
||||
"github.com/hashicorp/boundary/internal/db"
|
||||
"github.com/hashicorp/boundary/internal/db/timestamp"
|
||||
"github.com/hashicorp/boundary/internal/plugin/store"
|
||||
"repo.anhonesthost.net/CyberCoveLLC/threshold/internal/db"
|
||||
"repo.anhonesthost.net/CyberCoveLLC/threshold/internal/db/timestamp"
|
||||
"repo.anhonesthost.net/CyberCoveLLC/threshold/internal/plugin/store"
|
||||
"github.com/stretchr/testify/assert"
|
||||
"github.com/stretchr/testify/require"
|
||||
"google.golang.org/protobuf/proto"
|
||||
|
||||
@@ -6,7 +6,7 @@ package loopback
|
||||
import (
|
||||
"context"
|
||||
|
||||
plgpb "github.com/hashicorp/boundary/sdk/pbs/plugin"
|
||||
plgpb "repo.anhonesthost.net/CyberCoveLLC/threshold/sdk/pbs/plugin"
|
||||
"google.golang.org/grpc"
|
||||
)
|
||||
|
||||
|
||||
@@ -7,8 +7,8 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
|
||||
"github.com/hashicorp/boundary/internal/errors"
|
||||
plgpb "github.com/hashicorp/boundary/sdk/pbs/plugin"
|
||||
"repo.anhonesthost.net/CyberCoveLLC/threshold/internal/errors"
|
||||
plgpb "repo.anhonesthost.net/CyberCoveLLC/threshold/sdk/pbs/plugin"
|
||||
"github.com/mitchellh/mapstructure"
|
||||
)
|
||||
|
||||
|
||||
@@ -7,9 +7,9 @@ import (
|
||||
"context"
|
||||
"testing"
|
||||
|
||||
"github.com/hashicorp/boundary/sdk/pbs/controller/api/resources/hostcatalogs"
|
||||
"github.com/hashicorp/boundary/sdk/pbs/controller/api/resources/hostsets"
|
||||
plgpb "github.com/hashicorp/boundary/sdk/pbs/plugin"
|
||||
"repo.anhonesthost.net/CyberCoveLLC/threshold/sdk/pbs/controller/api/resources/hostcatalogs"
|
||||
"repo.anhonesthost.net/CyberCoveLLC/threshold/sdk/pbs/controller/api/resources/hostsets"
|
||||
plgpb "repo.anhonesthost.net/CyberCoveLLC/threshold/sdk/pbs/plugin"
|
||||
ta "github.com/stretchr/testify/assert"
|
||||
tr "github.com/stretchr/testify/require"
|
||||
"google.golang.org/protobuf/types/known/structpb"
|
||||
|
||||
@@ -6,7 +6,7 @@ package loopback
|
||||
import (
|
||||
"time"
|
||||
|
||||
plgpb "github.com/hashicorp/boundary/sdk/pbs/plugin"
|
||||
plgpb "repo.anhonesthost.net/CyberCoveLLC/threshold/sdk/pbs/plugin"
|
||||
)
|
||||
|
||||
const loopbackPluginHostInfoAttrField = "host_info"
|
||||
|
||||
@@ -6,8 +6,8 @@ package loopback
|
||||
import (
|
||||
"strings"
|
||||
|
||||
"github.com/hashicorp/boundary/sdk/pbs/controller/api/resources/storagebuckets"
|
||||
plgpb "github.com/hashicorp/boundary/sdk/pbs/plugin"
|
||||
"repo.anhonesthost.net/CyberCoveLLC/threshold/sdk/pbs/controller/api/resources/storagebuckets"
|
||||
plgpb "repo.anhonesthost.net/CyberCoveLLC/threshold/sdk/pbs/plugin"
|
||||
"google.golang.org/grpc/codes"
|
||||
)
|
||||
|
||||
|
||||
@@ -6,8 +6,8 @@ package loopback
|
||||
import (
|
||||
"testing"
|
||||
|
||||
"github.com/hashicorp/boundary/sdk/pbs/controller/api/resources/storagebuckets"
|
||||
plgpb "github.com/hashicorp/boundary/sdk/pbs/plugin"
|
||||
"repo.anhonesthost.net/CyberCoveLLC/threshold/sdk/pbs/controller/api/resources/storagebuckets"
|
||||
plgpb "repo.anhonesthost.net/CyberCoveLLC/threshold/sdk/pbs/plugin"
|
||||
"github.com/stretchr/testify/assert"
|
||||
"github.com/stretchr/testify/require"
|
||||
"google.golang.org/grpc/codes"
|
||||
|
||||
@@ -15,8 +15,8 @@ import (
|
||||
"sync"
|
||||
"time"
|
||||
|
||||
"github.com/hashicorp/boundary/sdk/pbs/controller/api/resources/storagebuckets"
|
||||
plgpb "github.com/hashicorp/boundary/sdk/pbs/plugin"
|
||||
"repo.anhonesthost.net/CyberCoveLLC/threshold/sdk/pbs/controller/api/resources/storagebuckets"
|
||||
plgpb "repo.anhonesthost.net/CyberCoveLLC/threshold/sdk/pbs/plugin"
|
||||
"github.com/hashicorp/go-secure-stdlib/parseutil"
|
||||
"google.golang.org/grpc/codes"
|
||||
"google.golang.org/grpc/status"
|
||||
|
||||
@@ -17,8 +17,8 @@ import (
|
||||
"testing"
|
||||
"time"
|
||||
|
||||
"github.com/hashicorp/boundary/sdk/pbs/controller/api/resources/storagebuckets"
|
||||
plgpb "github.com/hashicorp/boundary/sdk/pbs/plugin"
|
||||
"repo.anhonesthost.net/CyberCoveLLC/threshold/sdk/pbs/controller/api/resources/storagebuckets"
|
||||
plgpb "repo.anhonesthost.net/CyberCoveLLC/threshold/sdk/pbs/plugin"
|
||||
ta "github.com/stretchr/testify/assert"
|
||||
tr "github.com/stretchr/testify/require"
|
||||
"google.golang.org/grpc/codes"
|
||||
|
||||
@@ -9,7 +9,7 @@ import (
|
||||
"io"
|
||||
"sync"
|
||||
|
||||
plgpb "github.com/hashicorp/boundary/sdk/pbs/plugin"
|
||||
plgpb "repo.anhonesthost.net/CyberCoveLLC/threshold/sdk/pbs/plugin"
|
||||
"google.golang.org/grpc/metadata"
|
||||
)
|
||||
|
||||
|
||||
@@ -11,7 +11,7 @@ import (
|
||||
"testing"
|
||||
"time"
|
||||
|
||||
plgpb "github.com/hashicorp/boundary/sdk/pbs/plugin"
|
||||
plgpb "repo.anhonesthost.net/CyberCoveLLC/threshold/sdk/pbs/plugin"
|
||||
tr "github.com/stretchr/testify/require"
|
||||
)
|
||||
|
||||
|
||||
@@ -4,9 +4,9 @@
|
||||
package plugin
|
||||
|
||||
import (
|
||||
"github.com/hashicorp/boundary/internal/oplog"
|
||||
"github.com/hashicorp/boundary/internal/plugin/store"
|
||||
"github.com/hashicorp/boundary/internal/types/scope"
|
||||
"repo.anhonesthost.net/CyberCoveLLC/threshold/internal/oplog"
|
||||
"repo.anhonesthost.net/CyberCoveLLC/threshold/internal/plugin/store"
|
||||
"repo.anhonesthost.net/CyberCoveLLC/threshold/internal/types/scope"
|
||||
"google.golang.org/protobuf/proto"
|
||||
)
|
||||
|
||||
|
||||
@@ -7,12 +7,12 @@ import (
|
||||
"context"
|
||||
"testing"
|
||||
|
||||
"github.com/hashicorp/boundary/internal/types/scope"
|
||||
"repo.anhonesthost.net/CyberCoveLLC/threshold/internal/types/scope"
|
||||
"github.com/stretchr/testify/assert"
|
||||
"github.com/stretchr/testify/require"
|
||||
|
||||
"github.com/hashicorp/boundary/internal/db"
|
||||
"github.com/hashicorp/boundary/internal/plugin/store"
|
||||
"repo.anhonesthost.net/CyberCoveLLC/threshold/internal/db"
|
||||
"repo.anhonesthost.net/CyberCoveLLC/threshold/internal/plugin/store"
|
||||
)
|
||||
|
||||
func TestPlugin_Create(t *testing.T) {
|
||||
|
||||
@@ -6,10 +6,10 @@ package plugin
|
||||
import (
|
||||
"context"
|
||||
|
||||
"github.com/hashicorp/boundary/internal/db"
|
||||
"github.com/hashicorp/boundary/internal/errors"
|
||||
"github.com/hashicorp/boundary/internal/kms"
|
||||
"github.com/hashicorp/boundary/internal/util"
|
||||
"repo.anhonesthost.net/CyberCoveLLC/threshold/internal/db"
|
||||
"repo.anhonesthost.net/CyberCoveLLC/threshold/internal/errors"
|
||||
"repo.anhonesthost.net/CyberCoveLLC/threshold/internal/kms"
|
||||
"repo.anhonesthost.net/CyberCoveLLC/threshold/internal/util"
|
||||
)
|
||||
|
||||
// A Repository stores and retrieves the persistent types in the host
|
||||
|
||||
@@ -7,11 +7,11 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
|
||||
"github.com/hashicorp/boundary/internal/db"
|
||||
"github.com/hashicorp/boundary/internal/errors"
|
||||
"github.com/hashicorp/boundary/internal/kms"
|
||||
"github.com/hashicorp/boundary/internal/oplog"
|
||||
"github.com/hashicorp/boundary/internal/types/scope"
|
||||
"repo.anhonesthost.net/CyberCoveLLC/threshold/internal/db"
|
||||
"repo.anhonesthost.net/CyberCoveLLC/threshold/internal/errors"
|
||||
"repo.anhonesthost.net/CyberCoveLLC/threshold/internal/kms"
|
||||
"repo.anhonesthost.net/CyberCoveLLC/threshold/internal/oplog"
|
||||
"repo.anhonesthost.net/CyberCoveLLC/threshold/internal/types/scope"
|
||||
)
|
||||
|
||||
// CreatePlugin inserts p into the repository and returns a new
|
||||
|
||||
@@ -9,12 +9,12 @@ import (
|
||||
"strings"
|
||||
"testing"
|
||||
|
||||
"github.com/hashicorp/boundary/internal/db"
|
||||
"github.com/hashicorp/boundary/internal/errors"
|
||||
"github.com/hashicorp/boundary/internal/iam"
|
||||
"github.com/hashicorp/boundary/internal/kms"
|
||||
"github.com/hashicorp/boundary/internal/plugin/store"
|
||||
"github.com/hashicorp/boundary/internal/types/scope"
|
||||
"repo.anhonesthost.net/CyberCoveLLC/threshold/internal/db"
|
||||
"repo.anhonesthost.net/CyberCoveLLC/threshold/internal/errors"
|
||||
"repo.anhonesthost.net/CyberCoveLLC/threshold/internal/iam"
|
||||
"repo.anhonesthost.net/CyberCoveLLC/threshold/internal/kms"
|
||||
"repo.anhonesthost.net/CyberCoveLLC/threshold/internal/plugin/store"
|
||||
"repo.anhonesthost.net/CyberCoveLLC/threshold/internal/types/scope"
|
||||
"github.com/stretchr/testify/assert"
|
||||
"github.com/stretchr/testify/require"
|
||||
)
|
||||
|
||||
@@ -10,8 +10,8 @@ import (
|
||||
"github.com/stretchr/testify/assert"
|
||||
"github.com/stretchr/testify/require"
|
||||
|
||||
"github.com/hashicorp/boundary/internal/db"
|
||||
"github.com/hashicorp/boundary/internal/kms"
|
||||
"repo.anhonesthost.net/CyberCoveLLC/threshold/internal/db"
|
||||
"repo.anhonesthost.net/CyberCoveLLC/threshold/internal/kms"
|
||||
)
|
||||
|
||||
func TestRepository_New(t *testing.T) {
|
||||
|
||||
@@ -12,11 +12,11 @@
|
||||
package store
|
||||
|
||||
import (
|
||||
timestamp "github.com/hashicorp/boundary/internal/db/timestamp"
|
||||
_ "github.com/hashicorp/boundary/sdk/pbs/controller/protooptions"
|
||||
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
reflect "reflect"
|
||||
timestamp "repo.anhonesthost.net/CyberCoveLLC/threshold/internal/db/timestamp"
|
||||
_ "repo.anhonesthost.net/CyberCoveLLC/threshold/sdk/pbs/controller/protooptions"
|
||||
sync "sync"
|
||||
unsafe "unsafe"
|
||||
)
|
||||
@@ -150,7 +150,7 @@ const file_controller_storage_plugin_store_v1_plugin_proto_rawDesc = "" +
|
||||
"createTime\x12K\n" +
|
||||
"\vupdate_time\x18< \x01(\v2*.controller.storage.timestamp.v1.TimestampR\n" +
|
||||
"updateTime\x12\x18\n" +
|
||||
"\aversion\x18F \x01(\rR\aversionB;Z9github.com/hashicorp/boundary/internal/plugin/store;storeb\x06proto3"
|
||||
"\aversion\x18F \x01(\rR\aversionBJZHrepo.anhonesthost.net/CyberCoveLLC/threshold/internal/plugin/store;storeb\x06proto3"
|
||||
|
||||
var (
|
||||
file_controller_storage_plugin_store_v1_plugin_proto_rawDescOnce sync.Once
|
||||
|
||||
@@ -7,10 +7,10 @@ import (
|
||||
"context"
|
||||
"testing"
|
||||
|
||||
"github.com/hashicorp/boundary/internal/db"
|
||||
"github.com/hashicorp/boundary/internal/kms"
|
||||
"github.com/hashicorp/boundary/internal/plugin/store"
|
||||
"github.com/hashicorp/boundary/internal/types/scope"
|
||||
"repo.anhonesthost.net/CyberCoveLLC/threshold/internal/db"
|
||||
"repo.anhonesthost.net/CyberCoveLLC/threshold/internal/kms"
|
||||
"repo.anhonesthost.net/CyberCoveLLC/threshold/internal/plugin/store"
|
||||
"repo.anhonesthost.net/CyberCoveLLC/threshold/internal/types/scope"
|
||||
"github.com/stretchr/testify/require"
|
||||
)
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ package plugin
|
||||
import (
|
||||
"testing"
|
||||
|
||||
"github.com/hashicorp/boundary/internal/db"
|
||||
"repo.anhonesthost.net/CyberCoveLLC/threshold/internal/db"
|
||||
"github.com/stretchr/testify/assert"
|
||||
"github.com/stretchr/testify/require"
|
||||
)
|
||||
|
||||
Reference in new issue
Block a user