Compare commits
3
Commits
v0.2.2
...
madmin/v0.2.0
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6628c9dbeb | ||
|
|
326c0d977f | ||
|
|
b8e764a368 |
No files matched your search
@@ -20,4 +20,6 @@ jobs:
|
||||
go-version-file: 'go.mod'
|
||||
cache: true
|
||||
- name: Run Tests
|
||||
env:
|
||||
DOCKER_MIRROR: docker.mirror.hashicorp.services
|
||||
run: go test -v ./...
|
||||
@@ -6,3 +6,15 @@ The Boundary MinIO Plugin contains subcomponents of the Minio madmin-go library
|
||||
licensed under the Apache License 2.0.
|
||||
|
||||
See `madmin/LICENSE` for the full license text.
|
||||
|
||||
---
|
||||
|
||||
This repository is a community fork of hashicorp/boundary-plugin-minio
|
||||
(https://github.com/hashicorp/boundary-plugin-minio), 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.
|
||||
@@ -1,3 +1,12 @@
|
||||
## About this fork
|
||||
|
||||
This is a community fork of
|
||||
[hashicorp/boundary-plugin-minio](https://github.com/hashicorp/boundary-plugin-minio)
|
||||
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`.
|
||||
|
||||
# MinIO Plugin for HashiCorp Boundary
|
||||
|
||||
This repo contains the [MinIO](https://min.io) plugin for [HashiCorp
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
module github.com/hashicorp/boundary-plugin-minio
|
||||
module repo.anhonesthost.net/CyberCoveLLC/threshold-plugin-minio
|
||||
|
||||
go 1.25.7
|
||||
|
||||
require (
|
||||
github.com/google/go-cmp v0.7.0
|
||||
github.com/google/uuid v1.6.0
|
||||
github.com/hashicorp/boundary-plugin-minio/madmin v0.1.0
|
||||
github.com/hashicorp/boundary/sdk v0.0.59
|
||||
repo.anhonesthost.net/CyberCoveLLC/threshold-plugin-minio/madmin v0.1.0
|
||||
repo.anhonesthost.net/CyberCoveLLC/threshold/sdk v0.1.0
|
||||
github.com/hashicorp/go-multierror v1.1.1
|
||||
github.com/hashicorp/go-secure-stdlib/parseutil v0.2.0
|
||||
github.com/minio/minio-go/v7 v7.2.0
|
||||
@@ -44,7 +44,7 @@ require (
|
||||
github.com/hashicorp/go-secure-stdlib/strutil v0.1.2 // indirect
|
||||
github.com/hashicorp/go-sockaddr v1.0.7 // indirect
|
||||
github.com/hashicorp/go-uuid v1.0.3 // indirect
|
||||
github.com/klauspost/compress v1.18.6 // indirect
|
||||
github.com/klauspost/compress v1.18.7 // indirect
|
||||
github.com/klauspost/cpuid/v2 v2.2.11 // indirect
|
||||
github.com/klauspost/crc32 v1.3.0 // indirect
|
||||
github.com/minio/crc64nvme v1.1.1 // indirect
|
||||
|
||||
@@ -66,10 +66,6 @@ github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510 h1:El6M4kTTCOh6aBiKaU
|
||||
github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510/go.mod h1:pupxD2MaaD3pAXIBCelhxNneeOaAeabZDe5s4K6zSpQ=
|
||||
github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0=
|
||||
github.com/google/uuid v1.6.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
|
||||
github.com/hashicorp/boundary-plugin-minio/madmin v0.1.0 h1:VH/D4t0L3wmVPn7a1DDqF4nSOTGuWktXLnDny98y63Y=
|
||||
github.com/hashicorp/boundary-plugin-minio/madmin v0.1.0/go.mod h1:y0Q45edl67+Q8CVtnMpDeneusJv8ypMXWrKDyTA82qI=
|
||||
github.com/hashicorp/boundary/sdk v0.0.59 h1:XNniO0rwgihLdF1+4qDHKN3gdta3AU1JteZResCJ8Oc=
|
||||
github.com/hashicorp/boundary/sdk v0.0.59/go.mod h1:VYwVGAEaHTzihRXpzKZL6EhWBhll59Iul3PGLVL63ao=
|
||||
github.com/hashicorp/cli v1.1.7 h1:/fZJ+hNdwfTSfsxMBa9WWMlfjUZbX8/LnUxgAd7lCVU=
|
||||
github.com/hashicorp/cli v1.1.7/go.mod h1:e6Mfpga9OCT1vqzFuoGZiiF/KaG9CbUfO5s3ghU3YgU=
|
||||
github.com/hashicorp/errwrap v1.0.0/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4=
|
||||
@@ -119,8 +115,8 @@ github.com/imdario/mergo v0.3.13 h1:lFzP57bqS/wsqKssCGmtLAb8A0wKjLGrve2q3PPVcBk=
|
||||
github.com/imdario/mergo v0.3.13/go.mod h1:4lJ1jqUDcsbIECGy0RUJAXNIhg+6ocWgb1ALK2O4oXg=
|
||||
github.com/jefferai/isbadcipher v0.0.0-20190226160619-51d2077c035f h1:E87tDTVS5W65euzixn7clSzK66puSt1H4I5SC0EmHH4=
|
||||
github.com/jefferai/isbadcipher v0.0.0-20190226160619-51d2077c035f/go.mod h1:3J2qVK16Lq8V+wfiL2lPeDZ7UWMxk5LemerHa1p6N00=
|
||||
github.com/klauspost/compress v1.18.6 h1:2jupLlAwFm95+YDR+NwD2MEfFO9d4z4Prjl1XXDjuao=
|
||||
github.com/klauspost/compress v1.18.6/go.mod h1:cwPg85FWrGar70rWktvGQj8/hthj3wpl0PGDogxkrSQ=
|
||||
github.com/klauspost/compress v1.18.7 h1:aUyZsS4kH3QTKurYhAOwAHxllVPnOthb3vPfnF1Ehjw=
|
||||
github.com/klauspost/compress v1.18.7/go.mod h1:cwPg85FWrGar70rWktvGQj8/hthj3wpl0PGDogxkrSQ=
|
||||
github.com/klauspost/cpuid/v2 v2.0.1/go.mod h1:FInQzS24/EEf25PyTYn52gqo7WaD8xa0213Md/qVLRg=
|
||||
github.com/klauspost/cpuid/v2 v2.2.11 h1:0OwqZRYI2rFrjS4kvkDnqJkKHdHaRnCm68/DY4OxRzU=
|
||||
github.com/klauspost/cpuid/v2 v2.2.11/go.mod h1:hqwkgyIinND0mEev00jJYCxPNVRVXFQeu1XKlok6oO0=
|
||||
|
||||
@@ -15,7 +15,7 @@ import (
|
||||
"net/http"
|
||||
"net/url"
|
||||
|
||||
"github.com/hashicorp/boundary-plugin-minio/madmin"
|
||||
"repo.anhonesthost.net/CyberCoveLLC/threshold-plugin-minio/madmin"
|
||||
"github.com/minio/minio-go/v7/pkg/signer"
|
||||
)
|
||||
|
||||
|
||||
@@ -7,8 +7,8 @@ import (
|
||||
"context"
|
||||
"testing"
|
||||
|
||||
"github.com/hashicorp/boundary-plugin-minio/internal/client"
|
||||
internaltest "github.com/hashicorp/boundary-plugin-minio/internal/testing"
|
||||
"repo.anhonesthost.net/CyberCoveLLC/threshold-plugin-minio/internal/client"
|
||||
internaltest "repo.anhonesthost.net/CyberCoveLLC/threshold-plugin-minio/internal/testing"
|
||||
"github.com/stretchr/testify/assert"
|
||||
"github.com/stretchr/testify/require"
|
||||
)
|
||||
|
||||
@@ -11,7 +11,7 @@ import (
|
||||
"testing"
|
||||
"time"
|
||||
|
||||
"github.com/hashicorp/boundary-plugin-minio/internal/client"
|
||||
"repo.anhonesthost.net/CyberCoveLLC/threshold-plugin-minio/internal/client"
|
||||
"github.com/minio/minio-go/v7"
|
||||
"github.com/minio/minio-go/v7/pkg/credentials"
|
||||
"github.com/ory/dockertest/v3"
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
module github.com/hashicorp/boundary-plugin-minio/madmin
|
||||
module repo.anhonesthost.net/CyberCoveLLC/threshold-plugin-minio/madmin
|
||||
|
||||
go 1.25.0
|
||||
|
||||
|
||||
+2
-2
@@ -4,8 +4,8 @@
|
||||
package plugin
|
||||
|
||||
import (
|
||||
"github.com/hashicorp/boundary-plugin-minio/plugin/service/storage"
|
||||
pb "github.com/hashicorp/boundary/sdk/pbs/plugin"
|
||||
"repo.anhonesthost.net/CyberCoveLLC/threshold-plugin-minio/plugin/service/storage"
|
||||
pb "repo.anhonesthost.net/CyberCoveLLC/threshold/sdk/pbs/plugin"
|
||||
)
|
||||
|
||||
var (
|
||||
|
||||
@@ -8,8 +8,8 @@ import (
|
||||
"strings"
|
||||
"time"
|
||||
|
||||
"github.com/hashicorp/boundary-plugin-minio/internal/errors"
|
||||
"github.com/hashicorp/boundary-plugin-minio/internal/values"
|
||||
"repo.anhonesthost.net/CyberCoveLLC/threshold-plugin-minio/internal/errors"
|
||||
"repo.anhonesthost.net/CyberCoveLLC/threshold-plugin-minio/internal/values"
|
||||
"google.golang.org/grpc/codes"
|
||||
"google.golang.org/grpc/status"
|
||||
"google.golang.org/protobuf/types/known/structpb"
|
||||
|
||||
@@ -19,9 +19,9 @@ import (
|
||||
"time"
|
||||
|
||||
"github.com/google/uuid"
|
||||
"github.com/hashicorp/boundary-plugin-minio/internal/client"
|
||||
"github.com/hashicorp/boundary/sdk/pbs/controller/api/resources/storagebuckets"
|
||||
pb "github.com/hashicorp/boundary/sdk/pbs/plugin"
|
||||
"repo.anhonesthost.net/CyberCoveLLC/threshold-plugin-minio/internal/client"
|
||||
"repo.anhonesthost.net/CyberCoveLLC/threshold/sdk/pbs/controller/api/resources/storagebuckets"
|
||||
pb "repo.anhonesthost.net/CyberCoveLLC/threshold/sdk/pbs/plugin"
|
||||
"github.com/hashicorp/go-multierror"
|
||||
"github.com/hashicorp/go-secure-stdlib/parseutil"
|
||||
"github.com/minio/minio-go/v7"
|
||||
|
||||
@@ -20,12 +20,12 @@ import (
|
||||
|
||||
"github.com/google/go-cmp/cmp"
|
||||
"github.com/google/uuid"
|
||||
"github.com/hashicorp/boundary-plugin-minio/internal/client"
|
||||
internaltest "github.com/hashicorp/boundary-plugin-minio/internal/testing"
|
||||
"github.com/hashicorp/boundary-plugin-minio/internal/values"
|
||||
"github.com/hashicorp/boundary/sdk/pbs/controller/api/resources/storagebuckets"
|
||||
"github.com/hashicorp/boundary/sdk/pbs/plugin"
|
||||
pb "github.com/hashicorp/boundary/sdk/pbs/plugin"
|
||||
"repo.anhonesthost.net/CyberCoveLLC/threshold-plugin-minio/internal/client"
|
||||
internaltest "repo.anhonesthost.net/CyberCoveLLC/threshold-plugin-minio/internal/testing"
|
||||
"repo.anhonesthost.net/CyberCoveLLC/threshold-plugin-minio/internal/values"
|
||||
"repo.anhonesthost.net/CyberCoveLLC/threshold/sdk/pbs/controller/api/resources/storagebuckets"
|
||||
"repo.anhonesthost.net/CyberCoveLLC/threshold/sdk/pbs/plugin"
|
||||
pb "repo.anhonesthost.net/CyberCoveLLC/threshold/sdk/pbs/plugin"
|
||||
"github.com/minio/minio-go/v7"
|
||||
"github.com/minio/minio-go/v7/pkg/credentials"
|
||||
"github.com/stretchr/testify/assert"
|
||||
|
||||
@@ -10,7 +10,7 @@ import (
|
||||
"sync"
|
||||
"time"
|
||||
|
||||
"github.com/hashicorp/boundary-plugin-minio/internal/client"
|
||||
"repo.anhonesthost.net/CyberCoveLLC/threshold-plugin-minio/internal/client"
|
||||
)
|
||||
|
||||
const (
|
||||
|
||||
@@ -8,8 +8,8 @@ import (
|
||||
"encoding/json"
|
||||
"testing"
|
||||
|
||||
"github.com/hashicorp/boundary-plugin-minio/internal/client"
|
||||
internaltest "github.com/hashicorp/boundary-plugin-minio/internal/testing"
|
||||
"repo.anhonesthost.net/CyberCoveLLC/threshold-plugin-minio/internal/client"
|
||||
internaltest "repo.anhonesthost.net/CyberCoveLLC/threshold-plugin-minio/internal/testing"
|
||||
"github.com/minio/minio-go/v7"
|
||||
"github.com/stretchr/testify/require"
|
||||
)
|
||||
|
||||
+1
-1
@@ -82,7 +82,7 @@ docker run -dt --rm \
|
||||
-e "MINIO_CONSOLE_ADDRESS=:9090" \
|
||||
-e 'MINIO_VOLUMES=/mnt/data' \
|
||||
--name "$container_name" \
|
||||
minio/minio server
|
||||
"${DOCKER_MIRROR:+$DOCKER_MIRROR/}minio/minio" server
|
||||
echo -e 'Done!'
|
||||
|
||||
echo 'Waiting for MinIO instance to be healthy...'
|
||||
|
||||
Reference in new issue
Block a user