Compare commits

..
Author SHA1 Message Date
irenarindos be9a989aaa chore: bump crypto 2026-10-01 15:21:49 -04:00
18 changed files with 35 additions and 51 deletions

No files matched your search

-9
View File
@@ -1,9 +0,0 @@
This repository is a community fork of hashicorp/boundary-plugin-gcp
(https://github.com/hashicorp/boundary-plugin-gcp), maintained for Threshold.
The original work is licensed under the Mozilla Public License 2.0 (see LICENSE).
Original copyright IBM Corp. / HashiCorp, Inc. is retained in all source file
headers and in LICENSE. Modifications are limited to the Go module path and the
import paths of the Boundary SDK/API packages.
This fork is not affiliated with, endorsed by, or supported by HashiCorp or IBM.
-9
View File
@@ -1,12 +1,3 @@
## About this fork
This is a community fork of
[hashicorp/boundary-plugin-gcp](https://github.com/hashicorp/boundary-plugin-gcp)
for use with Threshold. It is licensed under the MPL-2.0 (see `LICENSE`), and
the original copyright notices are retained. It is not affiliated with,
endorsed by, or supported by HashiCorp or IBM. Changes from upstream are limited
to the Go module path and SDK import paths; see `NOTICE`.
# GCP Plugin for HashiCorp Boundary
This repo contains the GCP plugin for [HashiCorp
+2 -2
View File
@@ -1,4 +1,4 @@
module repo.anhonesthost.net/CyberCoveLLC/threshold-plugin-gcp
module github.com/hashicorp/boundary-plugin-gcp
go 1.26.0
@@ -7,7 +7,7 @@ require (
cloud.google.com/go/resourcemanager v1.10.7
github.com/google/go-cmp v0.7.0
github.com/googleapis/gax-go/v2 v2.17.0
repo.anhonesthost.net/CyberCoveLLC/threshold/sdk v0.1.0
github.com/hashicorp/boundary/sdk v0.0.47
github.com/hashicorp/terraform-json v0.23.0
golang.org/x/oauth2 v0.36.0
google.golang.org/api v0.264.0
+2
View File
@@ -64,6 +64,8 @@ github.com/googleapis/enterprise-certificate-proxy v0.3.11 h1:vAe81Msw+8tKUxi2Dq
github.com/googleapis/enterprise-certificate-proxy v0.3.11/go.mod h1:RFV7MUdlb7AgEq2v7FmMCfeSMCllAzWxFgRdusoGks8=
github.com/googleapis/gax-go/v2 v2.17.0 h1:RksgfBpxqff0EZkDWYuz9q/uWsTVz+kf43LsZ1J6SMc=
github.com/googleapis/gax-go/v2 v2.17.0/go.mod h1:mzaqghpQp4JDh3HvADwrat+6M3MOIDp5YKHhb9PAgDY=
github.com/hashicorp/boundary/sdk v0.0.47 h1:h5AXOASS2duHkCYEmNKnI9AR6YBZxD7VbFPV8BoE0z0=
github.com/hashicorp/boundary/sdk v0.0.47/go.mod h1:9iOT7kDM6mYcSkKxNuZlv8rP7U5BG1kXoevjLLL8lNQ=
github.com/hashicorp/errwrap v1.0.0/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4=
github.com/hashicorp/errwrap v1.1.0 h1:OxrOeh75EUXMY8TBjag2fzXGZ40LB6IKw45YeGUDY2I=
github.com/hashicorp/errwrap v1.1.0/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4=
+2 -2
View File
@@ -6,8 +6,8 @@ package credential
import (
"fmt"
"repo.anhonesthost.net/CyberCoveLLC/threshold-plugin-gcp/internal/errors"
"repo.anhonesthost.net/CyberCoveLLC/threshold-plugin-gcp/internal/values"
"github.com/hashicorp/boundary-plugin-gcp/internal/errors"
"github.com/hashicorp/boundary-plugin-gcp/internal/values"
"google.golang.org/protobuf/types/known/structpb"
)
+1 -1
View File
@@ -8,7 +8,7 @@ import (
"fmt"
"time"
"repo.anhonesthost.net/CyberCoveLLC/threshold-plugin-gcp/internal/values"
"github.com/hashicorp/boundary-plugin-gcp/internal/values"
"google.golang.org/api/option"
"google.golang.org/grpc/codes"
"google.golang.org/grpc/status"
+2 -2
View File
@@ -4,8 +4,8 @@
package plugin
import (
"repo.anhonesthost.net/CyberCoveLLC/threshold-plugin-gcp/plugin/service/host"
pb "repo.anhonesthost.net/CyberCoveLLC/threshold/sdk/pbs/plugin"
"github.com/hashicorp/boundary-plugin-gcp/plugin/service/host"
pb "github.com/hashicorp/boundary/sdk/pbs/plugin"
)
// Ensure that HostPlugin implements the following services:
+3 -3
View File
@@ -8,9 +8,9 @@ import (
"strings"
computepb "cloud.google.com/go/compute/apiv1/computepb"
cred "repo.anhonesthost.net/CyberCoveLLC/threshold-plugin-gcp/internal/credential"
"repo.anhonesthost.net/CyberCoveLLC/threshold-plugin-gcp/internal/errors"
"repo.anhonesthost.net/CyberCoveLLC/threshold-plugin-gcp/internal/values"
cred "github.com/hashicorp/boundary-plugin-gcp/internal/credential"
"github.com/hashicorp/boundary-plugin-gcp/internal/errors"
"github.com/hashicorp/boundary-plugin-gcp/internal/values"
"github.com/mitchellh/mapstructure"
"google.golang.org/grpc/codes"
"google.golang.org/grpc/status"
+1 -1
View File
@@ -7,7 +7,7 @@ import (
"testing"
computepb "cloud.google.com/go/compute/apiv1/computepb"
cred "repo.anhonesthost.net/CyberCoveLLC/threshold-plugin-gcp/internal/credential"
cred "github.com/hashicorp/boundary-plugin-gcp/internal/credential"
"github.com/stretchr/testify/require"
"google.golang.org/grpc/codes"
"google.golang.org/grpc/status"
+1 -1
View File
@@ -9,7 +9,7 @@ import (
"strconv"
computepb "cloud.google.com/go/compute/apiv1/computepb"
pb "repo.anhonesthost.net/CyberCoveLLC/threshold/sdk/pbs/plugin"
pb "github.com/hashicorp/boundary/sdk/pbs/plugin"
"google.golang.org/api/iterator"
"google.golang.org/grpc/codes"
"google.golang.org/grpc/status"
+2 -2
View File
@@ -10,8 +10,8 @@ import (
"testing"
"cloud.google.com/go/compute/apiv1/computepb"
"repo.anhonesthost.net/CyberCoveLLC/threshold-plugin-gcp/internal/credential"
pb "repo.anhonesthost.net/CyberCoveLLC/threshold/sdk/pbs/plugin"
"github.com/hashicorp/boundary-plugin-gcp/internal/credential"
pb "github.com/hashicorp/boundary/sdk/pbs/plugin"
"github.com/stretchr/testify/require"
)
+4 -4
View File
@@ -10,10 +10,10 @@ import (
"strings"
computepb "cloud.google.com/go/compute/apiv1/computepb"
"repo.anhonesthost.net/CyberCoveLLC/threshold-plugin-gcp/internal/credential"
errors "repo.anhonesthost.net/CyberCoveLLC/threshold-plugin-gcp/internal/errors"
"repo.anhonesthost.net/CyberCoveLLC/threshold/sdk/pbs/controller/api/resources/hostsets"
pb "repo.anhonesthost.net/CyberCoveLLC/threshold/sdk/pbs/plugin"
"github.com/hashicorp/boundary-plugin-gcp/internal/credential"
errors "github.com/hashicorp/boundary-plugin-gcp/internal/errors"
"github.com/hashicorp/boundary/sdk/pbs/controller/api/resources/hostsets"
pb "github.com/hashicorp/boundary/sdk/pbs/plugin"
"github.com/mitchellh/mapstructure"
"google.golang.org/api/iterator"
"google.golang.org/api/option"
+4 -4
View File
@@ -16,10 +16,10 @@ import (
"cloud.google.com/go/iam/apiv1/iampb"
"cloud.google.com/go/resourcemanager/apiv3/resourcemanagerpb"
"github.com/google/go-cmp/cmp"
cred "repo.anhonesthost.net/CyberCoveLLC/threshold-plugin-gcp/internal/credential"
"repo.anhonesthost.net/CyberCoveLLC/threshold/sdk/pbs/controller/api/resources/hostcatalogs"
"repo.anhonesthost.net/CyberCoveLLC/threshold/sdk/pbs/controller/api/resources/hostsets"
pb "repo.anhonesthost.net/CyberCoveLLC/threshold/sdk/pbs/plugin"
cred "github.com/hashicorp/boundary-plugin-gcp/internal/credential"
"github.com/hashicorp/boundary/sdk/pbs/controller/api/resources/hostcatalogs"
"github.com/hashicorp/boundary/sdk/pbs/controller/api/resources/hostsets"
pb "github.com/hashicorp/boundary/sdk/pbs/plugin"
"github.com/stretchr/testify/require"
"google.golang.org/api/option"
"google.golang.org/grpc"
+2 -2
View File
@@ -11,8 +11,8 @@ import (
compute "cloud.google.com/go/compute/apiv1"
computepb "cloud.google.com/go/compute/apiv1/computepb"
"github.com/googleapis/gax-go/v2"
"repo.anhonesthost.net/CyberCoveLLC/threshold-plugin-gcp/internal/credential"
pb "repo.anhonesthost.net/CyberCoveLLC/threshold/sdk/pbs/plugin"
"github.com/hashicorp/boundary-plugin-gcp/internal/credential"
pb "github.com/hashicorp/boundary/sdk/pbs/plugin"
"google.golang.org/api/iterator"
"google.golang.org/api/option"
"google.golang.org/protobuf/types/known/structpb"
+1 -1
View File
@@ -10,7 +10,7 @@ import (
"time"
computepb "cloud.google.com/go/compute/apiv1/computepb"
"repo.anhonesthost.net/CyberCoveLLC/threshold-plugin-gcp/internal/credential"
"github.com/hashicorp/boundary-plugin-gcp/internal/credential"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
"google.golang.org/api/option"
+1 -1
View File
@@ -13,7 +13,7 @@ import (
compute "cloud.google.com/go/compute/apiv1"
"cloud.google.com/go/compute/apiv1/computepb"
"github.com/googleapis/gax-go/v2"
"repo.anhonesthost.net/CyberCoveLLC/threshold-plugin-gcp/internal/credential"
"github.com/hashicorp/boundary-plugin-gcp/internal/credential"
"google.golang.org/api/option"
)
+5 -5
View File
@@ -11,11 +11,11 @@ import (
"testing"
"time"
"repo.anhonesthost.net/CyberCoveLLC/threshold-plugin-gcp/internal/credential"
"repo.anhonesthost.net/CyberCoveLLC/threshold-plugin-gcp/plugin/service/host"
"repo.anhonesthost.net/CyberCoveLLC/threshold/sdk/pbs/controller/api/resources/hostcatalogs"
"repo.anhonesthost.net/CyberCoveLLC/threshold/sdk/pbs/controller/api/resources/hostsets"
pb "repo.anhonesthost.net/CyberCoveLLC/threshold/sdk/pbs/plugin"
"github.com/hashicorp/boundary-plugin-gcp/internal/credential"
"github.com/hashicorp/boundary-plugin-gcp/plugin/service/host"
"github.com/hashicorp/boundary/sdk/pbs/controller/api/resources/hostcatalogs"
"github.com/hashicorp/boundary/sdk/pbs/controller/api/resources/hostsets"
pb "github.com/hashicorp/boundary/sdk/pbs/plugin"
"github.com/stretchr/testify/require"
"google.golang.org/protobuf/types/known/structpb"
)
+2 -2
View File
@@ -13,8 +13,8 @@ import (
"testing"
"time"
"repo.anhonesthost.net/CyberCoveLLC/threshold-plugin-gcp/internal/credential"
"repo.anhonesthost.net/CyberCoveLLC/threshold-plugin-gcp/internal/values"
"github.com/hashicorp/boundary-plugin-gcp/internal/credential"
"github.com/hashicorp/boundary-plugin-gcp/internal/values"
tfjson "github.com/hashicorp/terraform-json"
"github.com/stretchr/testify/require"
"google.golang.org/api/option"