diff --git a/.github/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE.md index aaed1a0..8f7d216 100644 --- a/.github/ISSUE_TEMPLATE.md +++ b/.github/ISSUE_TEMPLATE.md @@ -24,7 +24,7 @@ assignees: '' ## Steps to Reproduce (for bugs) - + 1. 2. @@ -41,6 +41,6 @@ assignees: '' ## Your Environment -* Version used (`minio --version`): +* Version used (`bind-store --version`): * Server setup and configuration: * Operating System and version (`uname -a`): diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md index aaed1a0..8f7d216 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -24,7 +24,7 @@ assignees: '' ## Steps to Reproduce (for bugs) - + 1. 2. @@ -41,6 +41,6 @@ assignees: '' ## Your Environment -* Version used (`minio --version`): +* Version used (`bind-store --version`): * Server setup and configuration: * Operating System and version (`uname -a`): diff --git a/.github/workflows/go-lint.yml b/.github/workflows/go-lint.yml index 527839c..0c9ae69 100644 --- a/.github/workflows/go-lint.yml +++ b/.github/workflows/go-lint.yml @@ -55,5 +55,5 @@ jobs: CGO_ENABLED: 0 GO111MODULE: on run: | - go build -ldflags="-s -w" -o "$env:GOPATH\bin\minio.exe" . + go build -ldflags="-s -w" -o "$env:GOPATH\bin\bind-store.exe" . go test -v -timeout 50m ./... diff --git a/.goreleaser.yml b/.goreleaser.yml index 583b33c..27f217b 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -1,11 +1,11 @@ -project_name: minio +project_name: bind-store release: - name_template: "Version {{.MinIO.Version}}" + name_template: "Version {{.Version}}" disable: true github: - owner: minio - name: minio + owner: bindoffice + name: bind-store env: - CGO_ENABLED=0 @@ -67,7 +67,7 @@ builds: - -trimpath ldflags: - - "-s -w -X github.com/bindoffice/minio/cmd.Version={{.Version}} -X github.com/bindoffice/minio/cmd.ReleaseTag={{.Tag}} -X github.com/bindoffice/minio/cmd.CommitID={{.FullCommit}} -X github.com/bindoffice/minio/cmd.ShortCommitID={{.ShortCommit}}" + - "-s -w -X github.com/bindoffice/bind-store/cmd.Version={{.Version}} -X github.com/bindoffice/bind-store/cmd.ReleaseTag={{.Tag}} -X github.com/bindoffice/bind-store/cmd.CommitID={{.FullCommit}} -X github.com/bindoffice/bind-store/cmd.ShortCommitID={{.ShortCommit}}" archives: - @@ -76,12 +76,12 @@ archives: nfpms: - - id: minio - package_name: minio - vendor: MinIO, Inc. - homepage: https://min.io/ - maintainer: dev@min.io - description: MinIO is a High Performance Object Storage released under Apache License v2.0. It is API compatible with Amazon S3 cloud storage service. Use MinIO to build high performance infrastructure for machine learning, analytics and application data workloads. + id: bind-store + package_name: bind-store + vendor: BindOffice + homepage: https://github.com/bindoffice/bind-store + maintainer: dev@bindoffice.com + description: bind-store is a High Performance Object Storage released under Apache License v2.0. It is API compatible with Amazon S3 cloud storage service. license: Apache 2.0 bindir: /usr/bin formats: @@ -93,10 +93,10 @@ nfpms: replacements: arm: armv7 files: - "NOTICE": "/usr/share/minio/NOTICE" - "CREDITS": "/usr/share/minio/CREDITS" - "LICENSE": "/usr/share/minio/LICENSE" - "README.md": "/usr/share/minio/README.md" + "NOTICE": "/usr/share/bind-store/NOTICE" + "CREDITS": "/usr/share/bind-store/CREDITS" + "LICENSE": "/usr/share/bind-store/LICENSE" + "README.md": "/usr/share/bind-store/README.md" rpm: file_name_template: "{{ .Binary }}-release/rpms/{{ .ProjectName }}-{{ .Version }}.{{ .Arch }}" replacements: @@ -104,10 +104,10 @@ nfpms: arm64: aarch64 arm: armv7 files: - "NOTICE": "/usr/share/minio/NOTICE" - "CREDITS": "/usr/share/minio/CREDITS" - "LICENSE": "/usr/share/minio/LICENSE" - "README.md": "/usr/share/minio/README.md" + "NOTICE": "/usr/share/bind-store/NOTICE" + "CREDITS": "/usr/share/bind-store/CREDITS" + "LICENSE": "/usr/share/bind-store/LICENSE" + "README.md": "/usr/share/bind-store/README.md" checksum: algorithm: sha256 @@ -118,7 +118,7 @@ signs: cmd: "sh" args: - '-c' - - 'minisign -s /media/${USER}/minio/minisign.key -qQSm ${artifact} < /media/${USER}/minio/minisign-passphrase' + - 'minisign -s /media/${USER}/bind-store/minisign.key -qQSm ${artifact} < /media/${USER}/bind-store/minisign-passphrase' artifacts: all changelog: @@ -133,22 +133,22 @@ dockers: goarch: amd64 dockerfile: Dockerfile.release image_templates: - - minio/minio:{{ .Tag }} - - minio/minio:latest + - bindoffice/bind-store:{{ .Tag }} + - bindoffice/bind-store:latest - goos: linux goarch: ppc64le dockerfile: Dockerfile.ppc64le.release image_templates: - - minio/minio:{{ .Tag }}-ppc64le + - bindoffice/bind-store:{{ .Tag }}-ppc64le - goos: linux goarch: s390x dockerfile: Dockerfile.s390x.release image_templates: - - minio/minio:{{ .Tag }}-s390x + - bindoffice/bind-store:{{ .Tag }}-s390x - goos: linux @@ -156,7 +156,7 @@ dockers: goarm: '' dockerfile: Dockerfile.arm64.release image_templates: - - minio/minio:{{ .Tag }}-arm64 + - bindoffice/bind-store:{{ .Tag }}-arm64 - goos: linux @@ -164,4 +164,4 @@ dockers: goarm: '7' dockerfile: Dockerfile.arm.release image_templates: - - minio/minio:{{ .Tag }}-arm + - bindoffice/bind-store:{{ .Tag }}-arm diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 1af8985..31e9f33 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -7,18 +7,18 @@ Start by forking the MinIO GitHub repository, make changes in a branch and then send a pull request. We encourage pull requests to discuss code changes. Here are the steps in details: ### Setup your MinIO GitHub Repository -Fork [MinIO upstream](https://github.com/bindoffice/minio/fork) source repository to your own personal repository. Copy the URL of your MinIO fork (you will need it for the `git clone` command below). +Fork [MinIO upstream](https://github.com/bindoffice/bind-store/fork) source repository to your own personal repository. Copy the URL of your MinIO fork (you will need it for the `git clone` command below). ```sh -$ git clone https://github.com/bindoffice/minio +$ git clone https://github.com/bindoffice/bind-store $ go install -v -$ ls /go/bin/minio +$ ls $(go env GOPATH)/bin/bind-store ``` ### Set up git remote as ``upstream`` ```sh -$ cd minio -$ git remote add upstream https://github.com/bindoffice/minio +$ cd bind-store +$ git remote add upstream https://github.com/bindoffice/bind-store $ git fetch upstream $ git merge upstream/master ... diff --git a/Dockerfile b/Dockerfile index 3d664bc..b37cf6a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,7 +8,7 @@ ENV GO111MODULE on RUN \ apk add --no-cache git && \ - git clone https://github.com/bindoffice/minio && cd minio && \ + git clone https://github.com/bindoffice/bind-store bind-store && cd bind-store && \ git checkout master && go install -v -ldflags "$(go run buildscripts/gen-ldflags.go)" FROM registry.access.redhat.com/ubi8/ubi-minimal:8.3 @@ -23,10 +23,10 @@ ENV MINIO_ACCESS_KEY_FILE=access_key \ EXPOSE 9000 -COPY --from=builder /go/bin/minio /usr/bin/minio -COPY --from=builder /go/minio/CREDITS /licenses/CREDITS -COPY --from=builder /go/minio/LICENSE /licenses/LICENSE -COPY --from=builder /go/minio/dockerscripts/docker-entrypoint.sh /usr/bin/ +COPY --from=builder /go/bin/bind-store /usr/bin/bind-store +COPY --from=builder /go/bind-store/CREDITS /licenses/CREDITS +COPY --from=builder /go/bind-store/LICENSE /licenses/LICENSE +COPY --from=builder /go/bind-store/dockerscripts/docker-entrypoint.sh /usr/bin/ RUN \ microdnf update --nodocs && \ @@ -38,4 +38,4 @@ ENTRYPOINT ["/usr/bin/docker-entrypoint.sh"] VOLUME ["/data"] -CMD ["minio"] +CMD ["bind-store"] diff --git a/Dockerfile.cicd b/Dockerfile.cicd index fccd442..c9579f2 100644 --- a/Dockerfile.cicd +++ b/Dockerfile.cicd @@ -8,7 +8,7 @@ ENV GO111MODULE on RUN \ apk add --no-cache git && \ - git clone https://github.com/bindoffice/minio && cd minio && \ + git clone https://github.com/bindoffice/bind-store bind-store && cd bind-store && \ git checkout master && go install -v -ldflags "$(go run buildscripts/gen-ldflags.go)" FROM registry.access.redhat.com/ubi8/ubi-minimal:8.3 @@ -25,10 +25,10 @@ ENV MINIO_ACCESS_KEY_FILE=access_key \ EXPOSE 9000 -COPY --from=builder /go/bin/minio /usr/bin/minio -COPY --from=builder /go/minio/CREDITS /licenses/CREDITS -COPY --from=builder /go/minio/LICENSE /licenses/LICENSE -COPY --from=builder /go/minio/dockerscripts/docker-entrypoint.sh /usr/bin/ +COPY --from=builder /go/bin/bind-store /usr/bin/bind-store +COPY --from=builder /go/bind-store/CREDITS /licenses/CREDITS +COPY --from=builder /go/bind-store/LICENSE /licenses/LICENSE +COPY --from=builder /go/bind-store/dockerscripts/docker-entrypoint.sh /usr/bin/ RUN \ microdnf update --nodocs && \ @@ -39,4 +39,4 @@ ENTRYPOINT ["/usr/bin/docker-entrypoint.sh"] VOLUME ["/data"] -CMD ["minio", "server", "/data"] +CMD ["bind-store", "server", "/data"] diff --git a/Dockerfile.dev b/Dockerfile.dev index 1ec4fe5..90c6ab0 100644 --- a/Dockerfile.dev +++ b/Dockerfile.dev @@ -5,7 +5,7 @@ ARG TARGETARCH LABEL maintainer="MinIO Inc " COPY dockerscripts/docker-entrypoint.sh /usr/bin/ -COPY minio /usr/bin/ +COPY bind-store /usr/bin/bind-store ENV MINIO_UPDATE=off \ MINIO_ACCESS_KEY_FILE=access_key \ @@ -18,7 +18,7 @@ ENV MINIO_UPDATE=off \ RUN microdnf update --nodocs RUN microdnf install curl ca-certificates shadow-utils util-linux --nodocs RUN microdnf clean all && \ - chmod +x /usr/bin/minio && \ + chmod +x /usr/bin/bind-store && \ chmod +x /usr/bin/docker-entrypoint.sh EXPOSE 9000 @@ -27,4 +27,4 @@ ENTRYPOINT ["/usr/bin/docker-entrypoint.sh"] VOLUME ["/data"] -CMD ["minio"] +CMD ["bind-store"] diff --git a/Dockerfile.release b/Dockerfile.release index 4ef41b7..aad48b2 100644 --- a/Dockerfile.release +++ b/Dockerfile.release @@ -20,7 +20,7 @@ ENV MINIO_ACCESS_KEY_FILE=access_key \ MINIO_SSE_MASTER_KEY_FILE=sse_master_key \ MINIO_UPDATE_MINISIGN_PUBKEY="RWTx5Zr1tiHQLwG9keckT0c45M3AGeHD6IvimQHpyRywVWGbP1aVSGav" -COPY dockerscripts/verify-minio.sh /usr/bin/verify-minio.sh +COPY dockerscripts/verify-bind-store.sh /usr/bin/verify-bind-store.sh COPY dockerscripts/docker-entrypoint.sh /usr/bin/docker-entrypoint.sh COPY CREDITS /licenses/CREDITS COPY LICENSE /licenses/LICENSE @@ -30,14 +30,14 @@ RUN \ microdnf install curl ca-certificates shadow-utils util-linux --nodocs && \ rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm && \ microdnf install minisign --nodocs && \ - curl -s -q https://dl.min.io/server/minio/release/linux-${TARGETARCH}/archive/minio.${RELEASE} -o /usr/bin/minio && \ - curl -s -q https://dl.min.io/server/minio/release/linux-${TARGETARCH}/archive/minio.${RELEASE}.sha256sum -o /usr/bin/minio.sha256sum && \ - curl -s -q https://dl.min.io/server/minio/release/linux-${TARGETARCH}/archive/minio.${RELEASE}.minisig -o /usr/bin/minio.minisig && \ + curl -s -q https://dl.min.io/server/minio/release/linux-${TARGETARCH}/archive/minio.${RELEASE} -o /usr/bin/bind-store && \ + curl -s -q https://dl.min.io/server/minio/release/linux-${TARGETARCH}/archive/minio.${RELEASE}.sha256sum -o /usr/bin/bind-store.sha256sum && \ + curl -s -q https://dl.min.io/server/minio/release/linux-${TARGETARCH}/archive/minio.${RELEASE}.minisig -o /usr/bin/bind-store.minisig && \ microdnf clean all && \ - chmod +x /usr/bin/minio && \ + chmod +x /usr/bin/bind-store && \ chmod +x /usr/bin/docker-entrypoint.sh && \ - chmod +x /usr/bin/verify-minio.sh && \ - /usr/bin/verify-minio.sh + chmod +x /usr/bin/verify-bind-store.sh && \ + /usr/bin/verify-bind-store.sh EXPOSE 9000 @@ -45,4 +45,4 @@ ENTRYPOINT ["/usr/bin/docker-entrypoint.sh"] VOLUME ["/data"] -CMD ["minio"] +CMD ["bind-store"] diff --git a/Makefile b/Makefile index d4e49ca..183b1a2 100644 --- a/Makefile +++ b/Makefile @@ -10,7 +10,7 @@ GOLANGCI_VERSION ?= v2.4.0 GOLANGCI_LINT := $(GOPATH)/bin/golangci-lint VERSION ?= $(shell git describe --tags) -TAG ?= "minio/minio:$(VERSION)" +TAG ?= "bindoffice/bind-store:$(VERSION)" all: build @@ -41,7 +41,7 @@ lint: @GO111MODULE=on $(GOLANGCI_LINT) cache clean @GO111MODULE=on $(GOLANGCI_LINT) run --config ./.golangci.yml -# Builds minio, runs the verifiers then runs the tests. +# Builds bind-store, runs the verifiers then runs the tests. check: test test: verifiers build @echo "Running unit tests" @@ -51,48 +51,48 @@ test-race: verifiers build @echo "Running unit tests under -race" @(env bash $(PWD)/buildscripts/race.sh) -# Verify minio binary +# Verify bind-store binary verify: @echo "Verifying build with race" - @GO111MODULE=on CGO_ENABLED=1 go build -tags kqueue -trimpath --ldflags "$(LDFLAGS)" -o $(PWD)/minio 1>/dev/null + @GO111MODULE=on CGO_ENABLED=1 go build -tags kqueue -trimpath --ldflags "$(LDFLAGS)" -o $(PWD)/bind-store 1>/dev/null @(env bash $(PWD)/buildscripts/verify-build.sh) -# Verify healing of disks with minio binary +# Verify healing of disks with bind-store binary verify-healing: @echo "Verify healing build with race" - @GO111MODULE=on CGO_ENABLED=1 go build -race -tags kqueue -trimpath --ldflags "$(LDFLAGS)" -o $(PWD)/minio 1>/dev/null + @GO111MODULE=on CGO_ENABLED=1 go build -race -tags kqueue -trimpath --ldflags "$(LDFLAGS)" -o $(PWD)/bind-store 1>/dev/null @(env bash $(PWD)/buildscripts/verify-healing.sh) -# Builds minio locally. +# Builds bind-store locally. build: checks - @echo "Building minio binary to './minio'" - @GO111MODULE=on CGO_ENABLED=0 go build -tags kqueue -trimpath --ldflags "$(LDFLAGS)" -o $(PWD)/minio 1>/dev/null + @echo "Building bind-store binary to './bind-store'" + @GO111MODULE=on CGO_ENABLED=0 go build -tags kqueue -trimpath --ldflags "$(LDFLAGS)" -o $(PWD)/bind-store 1>/dev/null hotfix-vars: $(eval LDFLAGS := $(shell MINIO_RELEASE="RELEASE" MINIO_HOTFIX="hotfix.$(shell git rev-parse --short HEAD)" go run buildscripts/gen-ldflags.go $(shell git describe --tags --abbrev=0 | \ sed 's#RELEASE\.\([0-9]\+\)-\([0-9]\+\)-\([0-9]\+\)T\([0-9]\+\)-\([0-9]\+\)-\([0-9]\+\)Z#\1-\2-\3T\4:\5:\6Z#'))) - $(eval TAG := "minio/minio:$(shell git describe --tags --abbrev=0).hotfix.$(shell git rev-parse --short HEAD)") + $(eval TAG := "bindoffice/bind-store:$(shell git describe --tags --abbrev=0).hotfix.$(shell git rev-parse --short HEAD)") hotfix: hotfix-vars install docker-hotfix: hotfix checks - @echo "Building minio docker image '$(TAG)'" + @echo "Building bind-store docker image '$(TAG)'" @docker build -t $(TAG) . -f Dockerfile.dev docker: build checks - @echo "Building minio docker image '$(TAG)'" + @echo "Building bind-store docker image '$(TAG)'" @docker build -t $(TAG) . -f Dockerfile.dev -# Builds minio and installs it to $GOPATH/bin. +# Builds bind-store and installs it to $GOPATH/bin. install: build - @echo "Installing minio binary to '$(GOPATH)/bin/minio'" - @mkdir -p $(GOPATH)/bin && cp -f $(PWD)/minio $(GOPATH)/bin/minio - @echo "Installation successful. To learn more, try \"minio --help\"." + @echo "Installing bind-store binary to '$(GOPATH)/bin/bind-store'" + @mkdir -p $(GOPATH)/bin && cp -f $(PWD)/bind-store $(GOPATH)/bin/bind-store + @echo "Installation successful. To learn more, try \"bind-store --help\"." clean: @echo "Cleaning up all the generated files" @find . -name '*.test' | xargs rm -fv @find . -name '*~' | xargs rm -fv - @rm -rvf minio + @rm -rvf bind-store @rm -rvf build @rm -rvf release @rm -rvf .verify* diff --git a/README.md b/README.md index 0937c06..45ee1ea 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # MinIO Quickstart Guide [![Slack](https://slack.min.io/slack?type=svg)](https://slack.min.io) [![Docker Pulls](https://img.shields.io/docker/pulls/minio/minio.svg?maxAge=604800)](https://hub.docker.com/r/minio/minio/) -[![MinIO](https://raw.githubusercontent.com/bindoffice/minio/master/.github/logo.svg?sanitize=true)](https://min.io) +[![bind-store](https://raw.githubusercontent.com/bindoffice/bind-store/master/.github/logo.svg?sanitize=true)](https://github.com/bindoffice/bind-store) MinIO is a High Performance Object Storage released under Apache License v2.0. It is API compatible with Amazon S3 cloud storage service. Use MinIO to build high performance infrastructure for machine learning, analytics and application data workloads. @@ -187,7 +187,7 @@ service minio start Use the following commands to compile and run a standalone MinIO server from source. Source installation is only intended for developers and advanced users. If you do not have a working Golang environment, please follow [How to install Golang](https://golang.org/doc/install). Minimum version required is [go1.16](https://golang.org/dl/#stable) ```sh -GO111MODULE=on go get github.com/bindoffice/minio +GO111MODULE=on go get github.com/bindoffice/bind-store ``` The MinIO deployment starts using default root credentials `minioadmin:minioadmin`. You can test the deployment using the MinIO Browser, an embedded @@ -273,7 +273,7 @@ The above statement is also valid for all gateway backends. ## Test using MinIO Browser MinIO Server comes with an embedded web based object browser. Point your web browser to http://127.0.0.1:9000 to ensure your server has started successfully. -![Screenshot](https://github.com/bindoffice/minio/blob/master/docs/screenshots/minio-browser.png?raw=true) +![Screenshot](https://github.com/bindoffice/bind-store/blob/master/docs/screenshots/minio-browser.png?raw=true) ## Test using MinIO Client `mc` `mc` provides a modern alternative to UNIX commands like ls, cat, cp, mirror, diff etc. It supports filesystems and Amazon S3 compatible cloud storage services. Follow the MinIO Client [Quickstart Guide](https://docs.min.io/docs/minio-client-quickstart-guide) for further instructions. @@ -306,7 +306,7 @@ mc admin update - [The MinIO documentation website](https://docs.min.io) # Contribute to MinIO Project -Please follow MinIO [Contributor's Guide](https://github.com/bindoffice/minio/blob/master/CONTRIBUTING.md) +Please follow MinIO [Contributor's Guide](https://github.com/bindoffice/bind-store/blob/master/CONTRIBUTING.md) # License -Use of MinIO is governed by the Apache 2.0 License found at [LICENSE](https://github.com/bindoffice/minio/blob/master/LICENSE). +Use of MinIO is governed by the Apache 2.0 License found at [LICENSE](https://github.com/bindoffice/bind-store/blob/master/LICENSE). diff --git a/README_zh_CN.md b/README_zh_CN.md index 7df0a7c..2ea93e1 100644 --- a/README_zh_CN.md +++ b/README_zh_CN.md @@ -92,7 +92,7 @@ service minio start 采用源码安装仅供开发人员和高级用户使用,如果你还没有Golang环境, 请参考 [How to install Golang](https://golang.org/doc/install)。最低需要Golang版本为 [go1.16](https://golang.org/dl/#stable) ```sh -GO111MODULE=on go get github.com/bindoffice/minio +GO111MODULE=on go get github.com/bindoffice/bind-store ``` ## 为防火墙设置允许访问的端口 @@ -152,7 +152,7 @@ service iptables restart ## 使用MinIO浏览器进行验证 MinIO Server带有一个嵌入的Web对象浏览器,安装后使用浏览器访问[http://127.0.0.1:9000](http://127.0.0.1:9000),如果可以访问,则表示minio已经安装成功。 -![Screenshot](https://github.com/bindoffice/minio/blob/master/docs/screenshots/minio-browser.png?raw=true) +![Screenshot](https://github.com/bindoffice/bind-store/blob/master/docs/screenshots/minio-browser.png?raw=true) ## 使用MinIO客户端 `mc`进行验证 `mc` 提供了一些UNIX常用命令的替代品,像ls, cat, cp, mirror, diff这些。 它支持文件系统和亚马逊S3云存储服务。 更多信息请参考 [mc快速入门](https://docs.min.io/docs/minio-client-quickstart-guide) 。 @@ -190,7 +190,7 @@ mc admin update - [MinIO文档](https://docs.min.io) ## 如何参与到MinIO项目 -请参考 [贡献者指南](https://github.com/bindoffice/minio/blob/master/CONTRIBUTING.md)。欢迎各位中国程序员加入到MinIO项目中。 +请参考 [贡献者指南](https://github.com/bindoffice/bind-store/blob/master/CONTRIBUTING.md)。欢迎各位中国程序员加入到MinIO项目中。 ## 授权许可 MinIO的使用受 Apache 2.0 License 约束,你可以在 [LICENSE](./LICENSE) 查看许可。 diff --git a/SECURITY.md b/SECURITY.md index 2a6b621..b80a10c 100644 --- a/SECURITY.md +++ b/SECURITY.md @@ -2,12 +2,12 @@ ## Supported Versions -We always provide security updates for the [latest release](https://github.com/bindoffice/minio/releases/latest). +We always provide security updates for the [latest release](https://github.com/bindoffice/bind-store/releases/latest). Whenever there is a security update you just need to upgrade to the latest version. ## Reporting a Vulnerability -All security bugs in [bindoffice/minio](https://github.com/bindoffice/minio) (or other minio/* repositories) +All security bugs in [bindoffice/bind-store](https://github.com/bindoffice/bind-store) (or other minio/* repositories) should be reported by email to security@min.io. Your email will be acknowledged within 48 hours, and you'll receive a more detailed response to your email within 72 hours indicating the next steps in handling your report. diff --git a/minio.spec b/bind-store.spec similarity index 55% rename from minio.spec rename to bind-store.spec index 9afc97b..062fe34 100644 --- a/minio.spec +++ b/bind-store.spec @@ -1,18 +1,18 @@ %define tag RELEASE.2020-11-25T22-36-25Z %define subver %(echo %{tag} | sed -e 's/[^0-9]//g') -# git fetch https://github.com/bindoffice/minio.git refs/tags/RELEASE.2020-11-25T22-36-25Z +# git fetch https://github.com/bindoffice/bind-store.git refs/tags/RELEASE.2020-11-25T22-36-25Z # git rev-list -n 1 FETCH_HEAD %define commitid 91130e884b5df59d66a45a0aad4f48db88f5ca63 Summary: High Performance, Kubernetes Native Object Storage. -Name: minio +Name: bind-store Version: 0.0.%{subver} Release: 1 -Vendor: MinIO, Inc. +Vendor: BindOffice License: Apache v2.0 Group: Applications/File -Source0: https://dl.minio.io/server/minio/release/linux-amd64/archive/minio.%{tag} +Source0: https://github.com/bindoffice/bind-store/releases/download/%{tag}/bind-store.%{tag} Source1: https://raw.githubusercontent.com/minio/minio-service/master/linux-systemd/distributed/minio.service -URL: https://www.min.io/ +URL: https://github.com/bindoffice/bind-store Requires(pre): /usr/sbin/useradd, /usr/bin/getent Requires(postun): /usr/sbin/userdel BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) @@ -21,24 +21,22 @@ BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %define debug_package %{nil} %description -MinIO is a High Performance Object Storage released under Apache License v2.0. -It is API compatible with Amazon S3 cloud storage service. Use MinIO to build -high performance infrastructure for machine learning, analytics and application -data workloads. +bind-store is a High Performance Object Storage released under Apache License v2.0. +It is API compatible with Amazon S3 cloud storage service. %pre -/usr/bin/getent group minio-user || /usr/sbin/groupadd -r minio-user -/usr/bin/getent passwd minio-user || /usr/sbin/useradd -r -d /etc/minio -s /sbin/nologin minio-user +/usr/bin/getent group bind-store-user || /usr/sbin/groupadd -r bind-store-user +/usr/bin/getent passwd bind-store-user || /usr/sbin/useradd -r -d /etc/bind-store -s /sbin/nologin bind-store-user %install rm -rf $RPM_BUILD_ROOT -install -d $RPM_BUILD_ROOT/etc/minio/certs +install -d $RPM_BUILD_ROOT/etc/bind-store/certs install -d $RPM_BUILD_ROOT/etc/systemd/system install -d $RPM_BUILD_ROOT/etc/default install -d $RPM_BUILD_ROOT/usr/local/bin -cat <> $RPM_BUILD_ROOT/etc/default/minio -# Remote volumes to be used for MinIO server. +cat <> $RPM_BUILD_ROOT/etc/default/bind-store +# Remote volumes to be used for bind-store server. # Uncomment line before starting the server. # MINIO_VOLUMES=http://node{1...6}/export{1...32} @@ -47,18 +45,18 @@ cat <> $RPM_BUILD_ROOT/etc/default/minio # MINIO_ROOT_USER=Server-Root-User # MINIO_ROOT_PASSWORD=Server-Root-Password -MINIO_OPTS="--certs-dir /etc/minio/certs" +MINIO_OPTS="--certs-dir /etc/bind-store/certs" EOF -install %{_sourcedir}/minio.service $RPM_BUILD_ROOT/etc/systemd/system/minio.service -install -p %{_sourcedir}/%{name}.%{tag} $RPM_BUILD_ROOT/usr/local/bin/minio +install %{_sourcedir}/minio.service $RPM_BUILD_ROOT/etc/systemd/system/bind-store.service +install -p %{_sourcedir}/%{name}.%{tag} $RPM_BUILD_ROOT/usr/local/bin/bind-store %clean rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) -%attr(644,root,root) /etc/default/minio -%attr(644,root,root) /etc/systemd/system/minio.service -%attr(644,minio-user,minio-user) /etc/minio -%attr(755,minio-user,minio-user) /usr/local/bin/minio +%attr(644,root,root) /etc/default/bind-store +%attr(644,root,root) /etc/systemd/system/bind-store.service +%attr(644,bind-store-user,bind-store-user) /etc/bind-store +%attr(755,bind-store-user,bind-store-user) /usr/local/bin/bind-store diff --git a/buildscripts/gen-ldflags.go b/buildscripts/gen-ldflags.go index 1c92aed..48ff014 100644 --- a/buildscripts/gen-ldflags.go +++ b/buildscripts/gen-ldflags.go @@ -28,12 +28,12 @@ import ( func genLDFlags(version string) string { ldflagsStr := "-s -w" - ldflagsStr += " -X github.com/bindoffice/minio/cmd.Version=" + version - ldflagsStr += " -X github.com/bindoffice/minio/cmd.ReleaseTag=" + releaseTag(version) - ldflagsStr += " -X github.com/bindoffice/minio/cmd.CommitID=" + commitID() - ldflagsStr += " -X github.com/bindoffice/minio/cmd.ShortCommitID=" + commitID()[:12] - ldflagsStr += " -X github.com/bindoffice/minio/cmd.GOPATH=" + os.Getenv("GOPATH") - ldflagsStr += " -X github.com/bindoffice/minio/cmd.GOROOT=" + os.Getenv("GOROOT") + ldflagsStr += " -X github.com/bindoffice/bind-store/cmd.Version=" + version + ldflagsStr += " -X github.com/bindoffice/bind-store/cmd.ReleaseTag=" + releaseTag(version) + ldflagsStr += " -X github.com/bindoffice/bind-store/cmd.CommitID=" + commitID() + ldflagsStr += " -X github.com/bindoffice/bind-store/cmd.ShortCommitID=" + commitID()[:12] + ldflagsStr += " -X github.com/bindoffice/bind-store/cmd.GOPATH=" + os.Getenv("GOPATH") + ldflagsStr += " -X github.com/bindoffice/bind-store/cmd.GOROOT=" + os.Getenv("GOROOT") return ldflagsStr } diff --git a/buildscripts/verify-build.sh b/buildscripts/verify-build.sh index 5b1de23..6d79899 100755 --- a/buildscripts/verify-build.sh +++ b/buildscripts/verify-build.sh @@ -19,8 +19,8 @@ set -e set -E set -o pipefail -if [ ! -x "$PWD/minio" ]; then - echo "minio executable binary not found in current directory" +if [ ! -x "$PWD/bind-store" ]; then + echo "bind-store executable binary not found in current directory" exit 1 fi @@ -41,7 +41,7 @@ export MC_HOST_verify="http://${ACCESS_KEY}:${SECRET_KEY}@${SERVER_ENDPOINT}/" export MC_HOST_verify_ipv6="http://${ACCESS_KEY}:${SECRET_KEY}@[::1]:9000/" MINIO_CONFIG_DIR="$WORK_DIR/.minio" -MINIO=( "$PWD/minio" --config-dir "$MINIO_CONFIG_DIR" ) +MINIO=( "$PWD/bind-store" --config-dir "$MINIO_CONFIG_DIR" ) FILE_1_MB="$MINT_DATA_DIR/datafile-1-MB" FILE_65_MB="$MINT_DATA_DIR/datafile-65-MB" @@ -176,7 +176,7 @@ function run_test_fs() (cd "$WORK_DIR" && "$FUNCTIONAL_TESTS") | tee "$WORK_DIR/functional-tests.log" rv=${PIPESTATUS[0]} - pkill minio || true + pkill bind-store || true sleep 3 if [ "$rv" -ne 0 ]; then @@ -197,7 +197,7 @@ function run_test_erasure_sets() (cd "$WORK_DIR" && "$FUNCTIONAL_TESTS") | tee "$WORK_DIR/functional-tests.log" rv=${PIPESTATUS[0]} - pkill minio || true + pkill bind-store || true sleep 3 if [ "$rv" -ne 0 ]; then @@ -218,7 +218,7 @@ function run_test_pool_erasure_sets() (cd "$WORK_DIR" && "$FUNCTIONAL_TESTS") | tee "$WORK_DIR/functional-tests.log" rv=${PIPESTATUS[0]} - pkill minio || true + pkill bind-store || true sleep 3 if [ "$rv" -ne 0 ]; then @@ -249,7 +249,7 @@ function run_test_pool_erasure_sets_ipv6() export SERVER_ENDPOINT="127.0.0.1:9000" - pkill minio || true + pkill bind-store || true sleep 3 if [ "$rv" -ne 0 ]; then @@ -276,7 +276,7 @@ function run_test_erasure() (cd "$WORK_DIR" && "$FUNCTIONAL_TESTS") | tee "$WORK_DIR/functional-tests.log" rv=${PIPESTATUS[0]} - pkill minio || true + pkill bind-store || true sleep 3 if [ "$rv" -ne 0 ]; then @@ -297,7 +297,7 @@ function run_test_dist_erasure() (cd "$WORK_DIR" && "$FUNCTIONAL_TESTS") | tee "$WORK_DIR/functional-tests.log" rv=${PIPESTATUS[0]} - pkill minio || true + pkill bind-store || true sleep 3 if [ "$rv" -ne 0 ]; then diff --git a/buildscripts/verify-healing.sh b/buildscripts/verify-healing.sh index c8eb2f0..2b59d7a 100755 --- a/buildscripts/verify-healing.sh +++ b/buildscripts/verify-healing.sh @@ -19,14 +19,14 @@ set -e set -E set -o pipefail -if [ ! -x "$PWD/minio" ]; then - echo "minio executable binary not found in current directory" +if [ ! -x "$PWD/bind-store" ]; then + echo "bind-store executable binary not found in current directory" exit 1 fi WORK_DIR="$PWD/.verify-$RANDOM" MINIO_CONFIG_DIR="$WORK_DIR/.minio" -MINIO=( "$PWD/minio" --config-dir "$MINIO_CONFIG_DIR" server ) +MINIO=( "$PWD/bind-store" --config-dir "$MINIO_CONFIG_DIR" server ) export GOGC=25 export MINIO_CI_CD=1 @@ -55,7 +55,7 @@ function start_minio_3_node() { disown $! sleep "$1" - if [ "$(pgrep -c minio)" -ne 3 ]; then + if [ "$(pgrep -c bind-store)" -ne 3 ]; then for i in $(seq 1 3); do echo "server$i log:" cat "${WORK_DIR}/dist-minio-server$i.log" @@ -64,7 +64,7 @@ function start_minio_3_node() { purge "$WORK_DIR" exit 1 fi - if ! pkill minio; then + if ! pkill bind-store; then for i in $(seq 1 3); do echo "server$i log:" cat "${WORK_DIR}/dist-minio-server$i.log" @@ -75,9 +75,9 @@ function start_minio_3_node() { fi sleep 1; - if pgrep minio; then + if pgrep bind-store; then # forcibly killing, to proceed further properly. - if ! pkill -9 minio; then + if ! pkill -9 bind-store; then echo "no minio process running anymore, proceed." fi fi @@ -117,7 +117,7 @@ function perform_test() { rv=$(check_online) if [ "$rv" == "1" ]; then - pkill -9 minio + pkill -9 bind-store for i in $(seq 1 3); do echo "server$i log:" cat "${WORK_DIR}/dist-minio-server$i.log" diff --git a/cmd/acl-handlers.go b/cmd/acl-handlers.go index a7ccf4c..140925f 100644 --- a/cmd/acl-handlers.go +++ b/cmd/acl-handlers.go @@ -22,9 +22,9 @@ import ( "net/http" "github.com/gorilla/mux" - xhttp "github.com/bindoffice/minio/cmd/http" - "github.com/bindoffice/minio/cmd/logger" - "github.com/bindoffice/minio/pkg/bucket/policy" + xhttp "github.com/bindoffice/bind-store/cmd/http" + "github.com/bindoffice/bind-store/cmd/logger" + "github.com/bindoffice/bind-store/pkg/bucket/policy" ) // Data types used for returning dummy access control diff --git a/cmd/admin-bucket-handlers.go b/cmd/admin-bucket-handlers.go index c4a2e03..ed18923 100644 --- a/cmd/admin-bucket-handlers.go +++ b/cmd/admin-bucket-handlers.go @@ -23,9 +23,9 @@ import ( "net/http" "github.com/gorilla/mux" - "github.com/bindoffice/minio/cmd/logger" - iampolicy "github.com/bindoffice/minio/pkg/iam/policy" - "github.com/bindoffice/minio/pkg/madmin" + "github.com/bindoffice/bind-store/cmd/logger" + iampolicy "github.com/bindoffice/bind-store/pkg/iam/policy" + "github.com/bindoffice/bind-store/pkg/madmin" ) const ( diff --git a/cmd/admin-handlers-config-kv.go b/cmd/admin-handlers-config-kv.go index bc00b3b..b6a4316 100644 --- a/cmd/admin-handlers-config-kv.go +++ b/cmd/admin-handlers-config-kv.go @@ -26,18 +26,18 @@ import ( "strings" "github.com/gorilla/mux" - "github.com/bindoffice/minio/cmd/config" - "github.com/bindoffice/minio/cmd/config/cache" - "github.com/bindoffice/minio/cmd/config/etcd" - xldap "github.com/bindoffice/minio/cmd/config/identity/ldap" - "github.com/bindoffice/minio/cmd/config/identity/openid" - "github.com/bindoffice/minio/cmd/config/policy/opa" - "github.com/bindoffice/minio/cmd/config/storageclass" - "github.com/bindoffice/minio/cmd/crypto" - "github.com/bindoffice/minio/cmd/logger" - "github.com/bindoffice/minio/pkg/auth" - iampolicy "github.com/bindoffice/minio/pkg/iam/policy" - "github.com/bindoffice/minio/pkg/madmin" + "github.com/bindoffice/bind-store/cmd/config" + "github.com/bindoffice/bind-store/cmd/config/cache" + "github.com/bindoffice/bind-store/cmd/config/etcd" + xldap "github.com/bindoffice/bind-store/cmd/config/identity/ldap" + "github.com/bindoffice/bind-store/cmd/config/identity/openid" + "github.com/bindoffice/bind-store/cmd/config/policy/opa" + "github.com/bindoffice/bind-store/cmd/config/storageclass" + "github.com/bindoffice/bind-store/cmd/crypto" + "github.com/bindoffice/bind-store/cmd/logger" + "github.com/bindoffice/bind-store/pkg/auth" + iampolicy "github.com/bindoffice/bind-store/pkg/iam/policy" + "github.com/bindoffice/bind-store/pkg/madmin" ) func validateAdminReqConfigKV(ctx context.Context, w http.ResponseWriter, r *http.Request) (auth.Credentials, ObjectLayer) { diff --git a/cmd/admin-handlers-users.go b/cmd/admin-handlers-users.go index a3ac783..b88b0fa 100644 --- a/cmd/admin-handlers-users.go +++ b/cmd/admin-handlers-users.go @@ -26,11 +26,11 @@ import ( "sort" "github.com/gorilla/mux" - "github.com/bindoffice/minio/cmd/config/dns" - "github.com/bindoffice/minio/cmd/logger" - "github.com/bindoffice/minio/pkg/auth" - iampolicy "github.com/bindoffice/minio/pkg/iam/policy" - "github.com/bindoffice/minio/pkg/madmin" + "github.com/bindoffice/bind-store/cmd/config/dns" + "github.com/bindoffice/bind-store/cmd/logger" + "github.com/bindoffice/bind-store/pkg/auth" + iampolicy "github.com/bindoffice/bind-store/pkg/iam/policy" + "github.com/bindoffice/bind-store/pkg/madmin" ) func validateAdminUsersReq(ctx context.Context, w http.ResponseWriter, r *http.Request, action iampolicy.AdminAction) (ObjectLayer, auth.Credentials) { diff --git a/cmd/admin-handlers.go b/cmd/admin-handlers.go index da826ec..28ba166 100644 --- a/cmd/admin-handlers.go +++ b/cmd/admin-handlers.go @@ -36,20 +36,20 @@ import ( "time" "github.com/gorilla/mux" - "github.com/bindoffice/minio/cmd/config" - "github.com/bindoffice/minio/cmd/crypto" - xhttp "github.com/bindoffice/minio/cmd/http" - "github.com/bindoffice/minio/cmd/logger" - "github.com/bindoffice/minio/cmd/logger/message/log" - "github.com/bindoffice/minio/pkg/auth" - "github.com/bindoffice/minio/pkg/bandwidth" - "github.com/bindoffice/minio/pkg/dsync" - "github.com/bindoffice/minio/pkg/handlers" - iampolicy "github.com/bindoffice/minio/pkg/iam/policy" - "github.com/bindoffice/minio/pkg/kms" - "github.com/bindoffice/minio/pkg/madmin" - xnet "github.com/bindoffice/minio/pkg/net" - trace "github.com/bindoffice/minio/pkg/trace" + "github.com/bindoffice/bind-store/cmd/config" + "github.com/bindoffice/bind-store/cmd/crypto" + xhttp "github.com/bindoffice/bind-store/cmd/http" + "github.com/bindoffice/bind-store/cmd/logger" + "github.com/bindoffice/bind-store/cmd/logger/message/log" + "github.com/bindoffice/bind-store/pkg/auth" + "github.com/bindoffice/bind-store/pkg/bandwidth" + "github.com/bindoffice/bind-store/pkg/dsync" + "github.com/bindoffice/bind-store/pkg/handlers" + iampolicy "github.com/bindoffice/bind-store/pkg/iam/policy" + "github.com/bindoffice/bind-store/pkg/kms" + "github.com/bindoffice/bind-store/pkg/madmin" + xnet "github.com/bindoffice/bind-store/pkg/net" + trace "github.com/bindoffice/bind-store/pkg/trace" ) const ( diff --git a/cmd/admin-handlers_test.go b/cmd/admin-handlers_test.go index f316e79..94f8e84 100644 --- a/cmd/admin-handlers_test.go +++ b/cmd/admin-handlers_test.go @@ -29,8 +29,8 @@ import ( "testing" "github.com/gorilla/mux" - "github.com/bindoffice/minio/pkg/auth" - "github.com/bindoffice/minio/pkg/madmin" + "github.com/bindoffice/bind-store/pkg/auth" + "github.com/bindoffice/bind-store/pkg/madmin" ) // adminErasureTestBed - encapsulates subsystems that need to be setup for diff --git a/cmd/admin-heal-ops.go b/cmd/admin-heal-ops.go index 43b4d6f..b257889 100644 --- a/cmd/admin-heal-ops.go +++ b/cmd/admin-heal-ops.go @@ -25,8 +25,8 @@ import ( "sync" "time" - "github.com/bindoffice/minio/cmd/logger" - "github.com/bindoffice/minio/pkg/madmin" + "github.com/bindoffice/bind-store/cmd/logger" + "github.com/bindoffice/bind-store/pkg/madmin" ) // healStatusSummary - overall short summary of a healing sequence diff --git a/cmd/admin-router.go b/cmd/admin-router.go index b5379ee..111c237 100644 --- a/cmd/admin-router.go +++ b/cmd/admin-router.go @@ -20,7 +20,7 @@ import ( "net/http" "github.com/gorilla/mux" - "github.com/bindoffice/minio/pkg/madmin" + "github.com/bindoffice/bind-store/pkg/madmin" ) const ( diff --git a/cmd/admin-server-info.go b/cmd/admin-server-info.go index 8ff5161..6614b3b 100644 --- a/cmd/admin-server-info.go +++ b/cmd/admin-server-info.go @@ -22,8 +22,8 @@ import ( "runtime" "time" - "github.com/bindoffice/minio/cmd/logger" - "github.com/bindoffice/minio/pkg/madmin" + "github.com/bindoffice/bind-store/cmd/logger" + "github.com/bindoffice/bind-store/pkg/madmin" ) // getLocalServerProperty - returns madmin.ServerProperties for only the diff --git a/cmd/api-errors.go b/cmd/api-errors.go index 1a2786e..4d4503d 100644 --- a/cmd/api-errors.go +++ b/cmd/api-errors.go @@ -29,18 +29,18 @@ import ( minio "github.com/minio/minio-go/v7" "github.com/minio/minio-go/v7/pkg/tags" - "github.com/bindoffice/minio/cmd/config/dns" - "github.com/bindoffice/minio/cmd/crypto" - "github.com/bindoffice/minio/cmd/logger" - "github.com/bindoffice/minio/pkg/auth" - "github.com/bindoffice/minio/pkg/bucket/lifecycle" - "github.com/bindoffice/minio/pkg/bucket/replication" + "github.com/bindoffice/bind-store/cmd/config/dns" + "github.com/bindoffice/bind-store/cmd/crypto" + "github.com/bindoffice/bind-store/cmd/logger" + "github.com/bindoffice/bind-store/pkg/auth" + "github.com/bindoffice/bind-store/pkg/bucket/lifecycle" + "github.com/bindoffice/bind-store/pkg/bucket/replication" - objectlock "github.com/bindoffice/minio/pkg/bucket/object/lock" - "github.com/bindoffice/minio/pkg/bucket/policy" - "github.com/bindoffice/minio/pkg/bucket/versioning" - "github.com/bindoffice/minio/pkg/event" - "github.com/bindoffice/minio/pkg/hash" + objectlock "github.com/bindoffice/bind-store/pkg/bucket/object/lock" + "github.com/bindoffice/bind-store/pkg/bucket/policy" + "github.com/bindoffice/bind-store/pkg/bucket/versioning" + "github.com/bindoffice/bind-store/pkg/event" + "github.com/bindoffice/bind-store/pkg/hash" ) // APIError structure @@ -245,7 +245,7 @@ const ( ErrInvalidStorageClass ErrBackendDown // Add new extended error codes here. - // Please open a https://github.com/bindoffice/minio/issues before adding + // Please open a https://github.com/bindoffice/bind-store/issues before adding // new error codes here. ErrMalformedJSON diff --git a/cmd/api-errors_test.go b/cmd/api-errors_test.go index 076e4da..e67e709 100644 --- a/cmd/api-errors_test.go +++ b/cmd/api-errors_test.go @@ -23,8 +23,8 @@ import ( "path/filepath" "testing" - "github.com/bindoffice/minio/cmd/crypto" - "github.com/bindoffice/minio/pkg/hash" + "github.com/bindoffice/bind-store/cmd/crypto" + "github.com/bindoffice/bind-store/pkg/hash" ) var toAPIErrorTests = []struct { diff --git a/cmd/api-headers.go b/cmd/api-headers.go index 5bb48d8..cd56f5e 100644 --- a/cmd/api-headers.go +++ b/cmd/api-headers.go @@ -27,9 +27,9 @@ import ( "strings" "time" - "github.com/bindoffice/minio/cmd/crypto" - xhttp "github.com/bindoffice/minio/cmd/http" - "github.com/bindoffice/minio/pkg/bucket/lifecycle" + "github.com/bindoffice/bind-store/cmd/crypto" + xhttp "github.com/bindoffice/bind-store/cmd/http" + "github.com/bindoffice/bind-store/pkg/bucket/lifecycle" ) // Returns a hexadecimal representation of time at the diff --git a/cmd/api-response.go b/cmd/api-response.go index 8e08a07..6038663 100644 --- a/cmd/api-response.go +++ b/cmd/api-response.go @@ -28,9 +28,9 @@ import ( "strings" "time" - xhttp "github.com/bindoffice/minio/cmd/http" - "github.com/bindoffice/minio/cmd/logger" - "github.com/bindoffice/minio/pkg/handlers" + xhttp "github.com/bindoffice/bind-store/cmd/http" + "github.com/bindoffice/bind-store/cmd/logger" + "github.com/bindoffice/bind-store/pkg/handlers" ) const ( diff --git a/cmd/api-router.go b/cmd/api-router.go index 9060685..b0e42cd 100644 --- a/cmd/api-router.go +++ b/cmd/api-router.go @@ -21,8 +21,8 @@ import ( "net/http" "github.com/gorilla/mux" - xhttp "github.com/bindoffice/minio/cmd/http" - "github.com/bindoffice/minio/pkg/wildcard" + xhttp "github.com/bindoffice/bind-store/cmd/http" + "github.com/bindoffice/bind-store/pkg/wildcard" "github.com/rs/cors" ) diff --git a/cmd/auth-handler.go b/cmd/auth-handler.go index 6be5183..d0c5d26 100644 --- a/cmd/auth-handler.go +++ b/cmd/auth-handler.go @@ -32,15 +32,15 @@ import ( "sync/atomic" "time" - xhttp "github.com/bindoffice/minio/cmd/http" - xjwt "github.com/bindoffice/minio/cmd/jwt" - "github.com/bindoffice/minio/cmd/logger" - "github.com/bindoffice/minio/pkg/auth" - objectlock "github.com/bindoffice/minio/pkg/bucket/object/lock" - "github.com/bindoffice/minio/pkg/bucket/policy" - "github.com/bindoffice/minio/pkg/etag" - "github.com/bindoffice/minio/pkg/hash" - iampolicy "github.com/bindoffice/minio/pkg/iam/policy" + xhttp "github.com/bindoffice/bind-store/cmd/http" + xjwt "github.com/bindoffice/bind-store/cmd/jwt" + "github.com/bindoffice/bind-store/cmd/logger" + "github.com/bindoffice/bind-store/pkg/auth" + objectlock "github.com/bindoffice/bind-store/pkg/bucket/object/lock" + "github.com/bindoffice/bind-store/pkg/bucket/policy" + "github.com/bindoffice/bind-store/pkg/etag" + "github.com/bindoffice/bind-store/pkg/hash" + iampolicy "github.com/bindoffice/bind-store/pkg/iam/policy" ) // Verify if request has JWT. diff --git a/cmd/auth-handler_test.go b/cmd/auth-handler_test.go index 7cdf306..df2f91f 100644 --- a/cmd/auth-handler_test.go +++ b/cmd/auth-handler_test.go @@ -27,8 +27,8 @@ import ( "testing" "time" - "github.com/bindoffice/minio/pkg/auth" - iampolicy "github.com/bindoffice/minio/pkg/iam/policy" + "github.com/bindoffice/bind-store/pkg/auth" + iampolicy "github.com/bindoffice/bind-store/pkg/iam/policy" ) // Test get request auth type. diff --git a/cmd/background-heal-ops.go b/cmd/background-heal-ops.go index 19024db..516f8f7 100644 --- a/cmd/background-heal-ops.go +++ b/cmd/background-heal-ops.go @@ -20,8 +20,8 @@ import ( "context" "time" - "github.com/bindoffice/minio/cmd/logger" - "github.com/bindoffice/minio/pkg/madmin" + "github.com/bindoffice/bind-store/cmd/logger" + "github.com/bindoffice/bind-store/pkg/madmin" ) // healTask represents what to heal along with options diff --git a/cmd/background-newdisks-heal-ops.go b/cmd/background-newdisks-heal-ops.go index 729c6ea..e30b077 100644 --- a/cmd/background-newdisks-heal-ops.go +++ b/cmd/background-newdisks-heal-ops.go @@ -30,10 +30,10 @@ import ( "github.com/dustin/go-humanize" "github.com/minio/minio-go/v7/pkg/set" - "github.com/bindoffice/minio/cmd/logger" - "github.com/bindoffice/minio/pkg/color" - "github.com/bindoffice/minio/pkg/console" - "github.com/bindoffice/minio/pkg/madmin" + "github.com/bindoffice/bind-store/cmd/logger" + "github.com/bindoffice/bind-store/pkg/color" + "github.com/bindoffice/bind-store/pkg/console" + "github.com/bindoffice/bind-store/pkg/madmin" ) const ( diff --git a/cmd/bitrot-streaming.go b/cmd/bitrot-streaming.go index 361d289..a659c98 100644 --- a/cmd/bitrot-streaming.go +++ b/cmd/bitrot-streaming.go @@ -24,8 +24,8 @@ import ( "hash" "io" - "github.com/bindoffice/minio/cmd/logger" - "github.com/bindoffice/minio/pkg/ioutil" + "github.com/bindoffice/bind-store/cmd/logger" + "github.com/bindoffice/bind-store/pkg/ioutil" ) type errHashMismatch struct { diff --git a/cmd/bitrot-whole.go b/cmd/bitrot-whole.go index 33c467f..65c5805 100644 --- a/cmd/bitrot-whole.go +++ b/cmd/bitrot-whole.go @@ -22,7 +22,7 @@ import ( "hash" "io" - "github.com/bindoffice/minio/cmd/logger" + "github.com/bindoffice/bind-store/cmd/logger" ) // Implementation to calculate bitrot for the whole file. diff --git a/cmd/bitrot.go b/cmd/bitrot.go index 5093b83..117b5e3 100644 --- a/cmd/bitrot.go +++ b/cmd/bitrot.go @@ -26,7 +26,7 @@ import ( "io" "github.com/minio/highwayhash" - "github.com/bindoffice/minio/cmd/logger" + "github.com/bindoffice/bind-store/cmd/logger" "golang.org/x/crypto/blake2b" ) diff --git a/cmd/bootstrap-peer-server.go b/cmd/bootstrap-peer-server.go index 4f74666..c1e7e35 100644 --- a/cmd/bootstrap-peer-server.go +++ b/cmd/bootstrap-peer-server.go @@ -28,9 +28,9 @@ import ( "github.com/gorilla/mux" "github.com/minio/minio-go/v7/pkg/set" - xhttp "github.com/bindoffice/minio/cmd/http" - "github.com/bindoffice/minio/cmd/logger" - "github.com/bindoffice/minio/cmd/rest" + xhttp "github.com/bindoffice/bind-store/cmd/http" + "github.com/bindoffice/bind-store/cmd/logger" + "github.com/bindoffice/bind-store/cmd/rest" ) const ( diff --git a/cmd/bucket-encryption-handlers.go b/cmd/bucket-encryption-handlers.go index 21be41c..daee7a4 100644 --- a/cmd/bucket-encryption-handlers.go +++ b/cmd/bucket-encryption-handlers.go @@ -23,8 +23,8 @@ import ( "net/http" "github.com/gorilla/mux" - "github.com/bindoffice/minio/cmd/logger" - "github.com/bindoffice/minio/pkg/bucket/policy" + "github.com/bindoffice/bind-store/cmd/logger" + "github.com/bindoffice/bind-store/pkg/bucket/policy" ) const ( diff --git a/cmd/bucket-encryption.go b/cmd/bucket-encryption.go index e670a66..95c0562 100644 --- a/cmd/bucket-encryption.go +++ b/cmd/bucket-encryption.go @@ -20,7 +20,7 @@ import ( "errors" "io" - bucketsse "github.com/bindoffice/minio/pkg/bucket/encryption" + bucketsse "github.com/bindoffice/bind-store/pkg/bucket/encryption" ) // BucketSSEConfigSys - in-memory cache of bucket encryption config diff --git a/cmd/bucket-handlers.go b/cmd/bucket-handlers.go index ce2d633..5d8b455 100644 --- a/cmd/bucket-handlers.go +++ b/cmd/bucket-handlers.go @@ -38,19 +38,19 @@ import ( "github.com/minio/minio-go/v7/pkg/set" "github.com/minio/minio-go/v7/pkg/tags" - "github.com/bindoffice/minio/cmd/config/dns" - "github.com/bindoffice/minio/cmd/crypto" - xhttp "github.com/bindoffice/minio/cmd/http" - "github.com/bindoffice/minio/cmd/logger" - "github.com/bindoffice/minio/pkg/bucket/lifecycle" - objectlock "github.com/bindoffice/minio/pkg/bucket/object/lock" - "github.com/bindoffice/minio/pkg/bucket/policy" - "github.com/bindoffice/minio/pkg/bucket/replication" - "github.com/bindoffice/minio/pkg/event" - "github.com/bindoffice/minio/pkg/handlers" - "github.com/bindoffice/minio/pkg/hash" - iampolicy "github.com/bindoffice/minio/pkg/iam/policy" - "github.com/bindoffice/minio/pkg/sync/errgroup" + "github.com/bindoffice/bind-store/cmd/config/dns" + "github.com/bindoffice/bind-store/cmd/crypto" + xhttp "github.com/bindoffice/bind-store/cmd/http" + "github.com/bindoffice/bind-store/cmd/logger" + "github.com/bindoffice/bind-store/pkg/bucket/lifecycle" + objectlock "github.com/bindoffice/bind-store/pkg/bucket/object/lock" + "github.com/bindoffice/bind-store/pkg/bucket/policy" + "github.com/bindoffice/bind-store/pkg/bucket/replication" + "github.com/bindoffice/bind-store/pkg/event" + "github.com/bindoffice/bind-store/pkg/handlers" + "github.com/bindoffice/bind-store/pkg/hash" + iampolicy "github.com/bindoffice/bind-store/pkg/iam/policy" + "github.com/bindoffice/bind-store/pkg/sync/errgroup" ) const ( diff --git a/cmd/bucket-handlers_test.go b/cmd/bucket-handlers_test.go index 7ffb737..a3300ce 100644 --- a/cmd/bucket-handlers_test.go +++ b/cmd/bucket-handlers_test.go @@ -25,7 +25,7 @@ import ( "strconv" "testing" - "github.com/bindoffice/minio/pkg/auth" + "github.com/bindoffice/bind-store/pkg/auth" ) // Wrapper for calling RemoveBucket HTTP handler tests for both Erasure multiple disks and single node setup. diff --git a/cmd/bucket-lifecycle-handlers.go b/cmd/bucket-lifecycle-handlers.go index 6d5c82a..1a6af19 100644 --- a/cmd/bucket-lifecycle-handlers.go +++ b/cmd/bucket-lifecycle-handlers.go @@ -22,10 +22,10 @@ import ( "net/http" "github.com/gorilla/mux" - xhttp "github.com/bindoffice/minio/cmd/http" - "github.com/bindoffice/minio/cmd/logger" - "github.com/bindoffice/minio/pkg/bucket/lifecycle" - "github.com/bindoffice/minio/pkg/bucket/policy" + xhttp "github.com/bindoffice/bind-store/cmd/http" + "github.com/bindoffice/bind-store/cmd/logger" + "github.com/bindoffice/bind-store/pkg/bucket/lifecycle" + "github.com/bindoffice/bind-store/pkg/bucket/policy" ) const ( diff --git a/cmd/bucket-lifecycle-handlers_test.go b/cmd/bucket-lifecycle-handlers_test.go index e42d01f..51364aa 100644 --- a/cmd/bucket-lifecycle-handlers_test.go +++ b/cmd/bucket-lifecycle-handlers_test.go @@ -23,7 +23,7 @@ import ( "net/http/httptest" "testing" - "github.com/bindoffice/minio/pkg/auth" + "github.com/bindoffice/bind-store/pkg/auth" ) // Test S3 Bucket lifecycle APIs with wrong credentials diff --git a/cmd/bucket-lifecycle.go b/cmd/bucket-lifecycle.go index b9f5f0a..20dff36 100644 --- a/cmd/bucket-lifecycle.go +++ b/cmd/bucket-lifecycle.go @@ -29,14 +29,14 @@ import ( miniogo "github.com/minio/minio-go/v7" "github.com/minio/minio-go/v7/pkg/tags" - xhttp "github.com/bindoffice/minio/cmd/http" - "github.com/bindoffice/minio/cmd/logger" - sse "github.com/bindoffice/minio/pkg/bucket/encryption" - "github.com/bindoffice/minio/pkg/bucket/lifecycle" - "github.com/bindoffice/minio/pkg/event" - "github.com/bindoffice/minio/pkg/hash" - "github.com/bindoffice/minio/pkg/madmin" - "github.com/bindoffice/minio/pkg/s3select" + xhttp "github.com/bindoffice/bind-store/cmd/http" + "github.com/bindoffice/bind-store/cmd/logger" + sse "github.com/bindoffice/bind-store/pkg/bucket/encryption" + "github.com/bindoffice/bind-store/pkg/bucket/lifecycle" + "github.com/bindoffice/bind-store/pkg/event" + "github.com/bindoffice/bind-store/pkg/hash" + "github.com/bindoffice/bind-store/pkg/madmin" + "github.com/bindoffice/bind-store/pkg/s3select" ) const ( diff --git a/cmd/bucket-listobjects-handlers.go b/cmd/bucket-listobjects-handlers.go index 0388b77..da6d8f4 100644 --- a/cmd/bucket-listobjects-handlers.go +++ b/cmd/bucket-listobjects-handlers.go @@ -23,10 +23,10 @@ import ( "strings" "github.com/gorilla/mux" - "github.com/bindoffice/minio/cmd/logger" + "github.com/bindoffice/bind-store/cmd/logger" - "github.com/bindoffice/minio/pkg/bucket/policy" - "github.com/bindoffice/minio/pkg/sync/errgroup" + "github.com/bindoffice/bind-store/pkg/bucket/policy" + "github.com/bindoffice/bind-store/pkg/sync/errgroup" ) func concurrentDecryptETag(ctx context.Context, objects []ObjectInfo) { diff --git a/cmd/bucket-metadata-sys.go b/cmd/bucket-metadata-sys.go index c948509..f4086b0 100644 --- a/cmd/bucket-metadata-sys.go +++ b/cmd/bucket-metadata-sys.go @@ -24,17 +24,17 @@ import ( "sync" "github.com/minio/minio-go/v7/pkg/tags" - "github.com/bindoffice/minio/cmd/crypto" - "github.com/bindoffice/minio/cmd/logger" - bucketsse "github.com/bindoffice/minio/pkg/bucket/encryption" - "github.com/bindoffice/minio/pkg/bucket/lifecycle" - objectlock "github.com/bindoffice/minio/pkg/bucket/object/lock" - "github.com/bindoffice/minio/pkg/bucket/policy" - "github.com/bindoffice/minio/pkg/bucket/replication" - "github.com/bindoffice/minio/pkg/bucket/versioning" - "github.com/bindoffice/minio/pkg/event" - "github.com/bindoffice/minio/pkg/madmin" - "github.com/bindoffice/minio/pkg/sync/errgroup" + "github.com/bindoffice/bind-store/cmd/crypto" + "github.com/bindoffice/bind-store/cmd/logger" + bucketsse "github.com/bindoffice/bind-store/pkg/bucket/encryption" + "github.com/bindoffice/bind-store/pkg/bucket/lifecycle" + objectlock "github.com/bindoffice/bind-store/pkg/bucket/object/lock" + "github.com/bindoffice/bind-store/pkg/bucket/policy" + "github.com/bindoffice/bind-store/pkg/bucket/replication" + "github.com/bindoffice/bind-store/pkg/bucket/versioning" + "github.com/bindoffice/bind-store/pkg/event" + "github.com/bindoffice/bind-store/pkg/madmin" + "github.com/bindoffice/bind-store/pkg/sync/errgroup" ) // BucketMetadataSys captures all bucket metadata for a given cluster. diff --git a/cmd/bucket-metadata.go b/cmd/bucket-metadata.go index 384496a..6b9a059 100644 --- a/cmd/bucket-metadata.go +++ b/cmd/bucket-metadata.go @@ -29,18 +29,18 @@ import ( "time" "github.com/minio/minio-go/v7/pkg/tags" - "github.com/bindoffice/minio/cmd/crypto" - "github.com/bindoffice/minio/cmd/logger" - bucketsse "github.com/bindoffice/minio/pkg/bucket/encryption" - "github.com/bindoffice/minio/pkg/bucket/lifecycle" - objectlock "github.com/bindoffice/minio/pkg/bucket/object/lock" - "github.com/bindoffice/minio/pkg/bucket/policy" - "github.com/bindoffice/minio/pkg/bucket/replication" - "github.com/bindoffice/minio/pkg/bucket/versioning" - "github.com/bindoffice/minio/pkg/event" - "github.com/bindoffice/minio/pkg/fips" - "github.com/bindoffice/minio/pkg/kms" - "github.com/bindoffice/minio/pkg/madmin" + "github.com/bindoffice/bind-store/cmd/crypto" + "github.com/bindoffice/bind-store/cmd/logger" + bucketsse "github.com/bindoffice/bind-store/pkg/bucket/encryption" + "github.com/bindoffice/bind-store/pkg/bucket/lifecycle" + objectlock "github.com/bindoffice/bind-store/pkg/bucket/object/lock" + "github.com/bindoffice/bind-store/pkg/bucket/policy" + "github.com/bindoffice/bind-store/pkg/bucket/replication" + "github.com/bindoffice/bind-store/pkg/bucket/versioning" + "github.com/bindoffice/bind-store/pkg/event" + "github.com/bindoffice/bind-store/pkg/fips" + "github.com/bindoffice/bind-store/pkg/kms" + "github.com/bindoffice/bind-store/pkg/madmin" "github.com/minio/sio" ) diff --git a/cmd/bucket-notification-handlers.go b/cmd/bucket-notification-handlers.go index da1d70c..c5b326a 100644 --- a/cmd/bucket-notification-handlers.go +++ b/cmd/bucket-notification-handlers.go @@ -23,9 +23,9 @@ import ( "reflect" "github.com/gorilla/mux" - "github.com/bindoffice/minio/cmd/logger" - "github.com/bindoffice/minio/pkg/bucket/policy" - "github.com/bindoffice/minio/pkg/event" + "github.com/bindoffice/bind-store/cmd/logger" + "github.com/bindoffice/bind-store/pkg/bucket/policy" + "github.com/bindoffice/bind-store/pkg/event" ) const ( diff --git a/cmd/bucket-object-lock.go b/cmd/bucket-object-lock.go index fc003b2..09973c9 100644 --- a/cmd/bucket-object-lock.go +++ b/cmd/bucket-object-lock.go @@ -21,12 +21,12 @@ import ( "math" "net/http" - xhttp "github.com/bindoffice/minio/cmd/http" - "github.com/bindoffice/minio/cmd/logger" - "github.com/bindoffice/minio/pkg/auth" - objectlock "github.com/bindoffice/minio/pkg/bucket/object/lock" - "github.com/bindoffice/minio/pkg/bucket/policy" - "github.com/bindoffice/minio/pkg/bucket/replication" + xhttp "github.com/bindoffice/bind-store/cmd/http" + "github.com/bindoffice/bind-store/cmd/logger" + "github.com/bindoffice/bind-store/pkg/auth" + objectlock "github.com/bindoffice/bind-store/pkg/bucket/object/lock" + "github.com/bindoffice/bind-store/pkg/bucket/policy" + "github.com/bindoffice/bind-store/pkg/bucket/replication" ) // BucketObjectLockSys - map of bucket and retention configuration. diff --git a/cmd/bucket-policy-handlers.go b/cmd/bucket-policy-handlers.go index d0aaedf..f999a41 100644 --- a/cmd/bucket-policy-handlers.go +++ b/cmd/bucket-policy-handlers.go @@ -23,8 +23,8 @@ import ( humanize "github.com/dustin/go-humanize" "github.com/gorilla/mux" - "github.com/bindoffice/minio/cmd/logger" - "github.com/bindoffice/minio/pkg/bucket/policy" + "github.com/bindoffice/bind-store/cmd/logger" + "github.com/bindoffice/bind-store/pkg/bucket/policy" ) const ( diff --git a/cmd/bucket-policy-handlers_test.go b/cmd/bucket-policy-handlers_test.go index e419e6c..204b760 100644 --- a/cmd/bucket-policy-handlers_test.go +++ b/cmd/bucket-policy-handlers_test.go @@ -27,9 +27,9 @@ import ( "strings" "testing" - "github.com/bindoffice/minio/pkg/auth" - "github.com/bindoffice/minio/pkg/bucket/policy" - "github.com/bindoffice/minio/pkg/bucket/policy/condition" + "github.com/bindoffice/bind-store/pkg/auth" + "github.com/bindoffice/bind-store/pkg/bucket/policy" + "github.com/bindoffice/bind-store/pkg/bucket/policy/condition" ) func getAnonReadOnlyBucketPolicy(bucketName string) *policy.Policy { diff --git a/cmd/bucket-policy.go b/cmd/bucket-policy.go index 4822d95..61f433a 100644 --- a/cmd/bucket-policy.go +++ b/cmd/bucket-policy.go @@ -26,10 +26,10 @@ import ( jsoniter "github.com/json-iterator/go" miniogopolicy "github.com/minio/minio-go/v7/pkg/policy" - xhttp "github.com/bindoffice/minio/cmd/http" - "github.com/bindoffice/minio/cmd/logger" - "github.com/bindoffice/minio/pkg/bucket/policy" - "github.com/bindoffice/minio/pkg/handlers" + xhttp "github.com/bindoffice/bind-store/cmd/http" + "github.com/bindoffice/bind-store/cmd/logger" + "github.com/bindoffice/bind-store/pkg/bucket/policy" + "github.com/bindoffice/bind-store/pkg/handlers" ) // PolicySys - policy subsystem. diff --git a/cmd/bucket-quota.go b/cmd/bucket-quota.go index c57ee5c..02dfab0 100644 --- a/cmd/bucket-quota.go +++ b/cmd/bucket-quota.go @@ -22,9 +22,9 @@ import ( "fmt" "time" - "github.com/bindoffice/minio/cmd/logger" - "github.com/bindoffice/minio/pkg/event" - "github.com/bindoffice/minio/pkg/madmin" + "github.com/bindoffice/bind-store/cmd/logger" + "github.com/bindoffice/bind-store/pkg/event" + "github.com/bindoffice/bind-store/pkg/madmin" ) // BucketQuotaSys - map of bucket and quota configuration. diff --git a/cmd/bucket-replication-stats.go b/cmd/bucket-replication-stats.go index daae79b..c902290 100644 --- a/cmd/bucket-replication-stats.go +++ b/cmd/bucket-replication-stats.go @@ -21,7 +21,7 @@ import ( "sync" "sync/atomic" - "github.com/bindoffice/minio/pkg/bucket/replication" + "github.com/bindoffice/bind-store/pkg/bucket/replication" ) func (b *BucketReplicationStats) hasReplicationUsage() bool { diff --git a/cmd/bucket-replication.go b/cmd/bucket-replication.go index 531c158..dcf0beb 100644 --- a/cmd/bucket-replication.go +++ b/cmd/bucket-replication.go @@ -29,14 +29,14 @@ import ( miniogo "github.com/minio/minio-go/v7" "github.com/minio/minio-go/v7/pkg/encrypt" "github.com/minio/minio-go/v7/pkg/tags" - "github.com/bindoffice/minio/cmd/crypto" - xhttp "github.com/bindoffice/minio/cmd/http" - "github.com/bindoffice/minio/cmd/logger" - "github.com/bindoffice/minio/pkg/bucket/bandwidth" - "github.com/bindoffice/minio/pkg/bucket/replication" - "github.com/bindoffice/minio/pkg/event" - iampolicy "github.com/bindoffice/minio/pkg/iam/policy" - "github.com/bindoffice/minio/pkg/madmin" + "github.com/bindoffice/bind-store/cmd/crypto" + xhttp "github.com/bindoffice/bind-store/cmd/http" + "github.com/bindoffice/bind-store/cmd/logger" + "github.com/bindoffice/bind-store/pkg/bucket/bandwidth" + "github.com/bindoffice/bind-store/pkg/bucket/replication" + "github.com/bindoffice/bind-store/pkg/event" + iampolicy "github.com/bindoffice/bind-store/pkg/iam/policy" + "github.com/bindoffice/bind-store/pkg/madmin" ) // gets replication config associated to a given bucket name. diff --git a/cmd/bucket-targets.go b/cmd/bucket-targets.go index f3bf3cc..fdbdeb2 100644 --- a/cmd/bucket-targets.go +++ b/cmd/bucket-targets.go @@ -30,10 +30,10 @@ import ( minio "github.com/minio/minio-go/v7" miniogo "github.com/minio/minio-go/v7" "github.com/minio/minio-go/v7/pkg/credentials" - "github.com/bindoffice/minio/cmd/crypto" - "github.com/bindoffice/minio/cmd/logger" - "github.com/bindoffice/minio/pkg/bucket/versioning" - "github.com/bindoffice/minio/pkg/madmin" + "github.com/bindoffice/bind-store/cmd/crypto" + "github.com/bindoffice/bind-store/cmd/logger" + "github.com/bindoffice/bind-store/pkg/bucket/versioning" + "github.com/bindoffice/bind-store/pkg/madmin" ) const ( diff --git a/cmd/bucket-versioning-handler.go b/cmd/bucket-versioning-handler.go index fbdbf33..582c76d 100644 --- a/cmd/bucket-versioning-handler.go +++ b/cmd/bucket-versioning-handler.go @@ -23,9 +23,9 @@ import ( humanize "github.com/dustin/go-humanize" "github.com/gorilla/mux" - "github.com/bindoffice/minio/cmd/logger" - "github.com/bindoffice/minio/pkg/bucket/policy" - "github.com/bindoffice/minio/pkg/bucket/versioning" + "github.com/bindoffice/bind-store/cmd/logger" + "github.com/bindoffice/bind-store/pkg/bucket/policy" + "github.com/bindoffice/bind-store/pkg/bucket/versioning" ) const ( diff --git a/cmd/bucket-versioning.go b/cmd/bucket-versioning.go index 6a40e65..9d0733a 100644 --- a/cmd/bucket-versioning.go +++ b/cmd/bucket-versioning.go @@ -16,7 +16,7 @@ package cmd -import "github.com/bindoffice/minio/pkg/bucket/versioning" +import "github.com/bindoffice/bind-store/pkg/bucket/versioning" // BucketVersioningSys - policy subsystem. type BucketVersioningSys struct{} diff --git a/cmd/common-main.go b/cmd/common-main.go index e45a305..ea8bc7b 100644 --- a/cmd/common-main.go +++ b/cmd/common-main.go @@ -36,14 +36,14 @@ import ( dns2 "github.com/miekg/dns" "github.com/minio/cli" "github.com/minio/minio-go/v7/pkg/set" - "github.com/bindoffice/minio/cmd/config" - xhttp "github.com/bindoffice/minio/cmd/http" - "github.com/bindoffice/minio/cmd/logger" - "github.com/bindoffice/minio/pkg/auth" - "github.com/bindoffice/minio/pkg/certs" - "github.com/bindoffice/minio/pkg/console" - "github.com/bindoffice/minio/pkg/env" - "github.com/bindoffice/minio/pkg/handlers" + "github.com/bindoffice/bind-store/cmd/config" + xhttp "github.com/bindoffice/bind-store/cmd/http" + "github.com/bindoffice/bind-store/cmd/logger" + "github.com/bindoffice/bind-store/pkg/auth" + "github.com/bindoffice/bind-store/pkg/certs" + "github.com/bindoffice/bind-store/pkg/console" + "github.com/bindoffice/bind-store/pkg/env" + "github.com/bindoffice/bind-store/pkg/handlers" ) // serverDebugLog will enable debug printing @@ -244,7 +244,7 @@ func handleCommonEnvVars() { logger.Fatal(config.ErrInvalidWormValue(err), "Invalid worm configuration") } if wormEnabled { - logger.Fatal(errors.New("WORM is deprecated"), "global MINIO_WORM support is removed, please downgrade your server or migrate to https://github.com/bindoffice/minio/tree/master/docs/retention") + logger.Fatal(errors.New("WORM is deprecated"), "global MINIO_WORM support is removed, please downgrade your server or migrate to https://github.com/bindoffice/bind-store/tree/master/docs/retention") } globalBrowserEnabled, err = config.ParseBool(env.Get(config.EnvBrowser, config.EnableOn)) diff --git a/cmd/config-common.go b/cmd/config-common.go index 79c946a..95055cb 100644 --- a/cmd/config-common.go +++ b/cmd/config-common.go @@ -23,7 +23,7 @@ import ( "io/ioutil" "net/http" - "github.com/bindoffice/minio/pkg/hash" + "github.com/bindoffice/bind-store/pkg/hash" ) var errConfigNotFound = errors.New("config file not found") diff --git a/cmd/config-current.go b/cmd/config-current.go index 150414b..dbcc7e5 100644 --- a/cmd/config-current.go +++ b/cmd/config-current.go @@ -23,25 +23,25 @@ import ( "strings" "sync" - "github.com/bindoffice/minio/cmd/config" - "github.com/bindoffice/minio/cmd/config/api" - "github.com/bindoffice/minio/cmd/config/cache" - "github.com/bindoffice/minio/cmd/config/compress" - "github.com/bindoffice/minio/cmd/config/dns" - "github.com/bindoffice/minio/cmd/config/etcd" - "github.com/bindoffice/minio/cmd/config/heal" - xldap "github.com/bindoffice/minio/cmd/config/identity/ldap" - "github.com/bindoffice/minio/cmd/config/identity/openid" - "github.com/bindoffice/minio/cmd/config/notify" - "github.com/bindoffice/minio/cmd/config/policy/opa" - "github.com/bindoffice/minio/cmd/config/scanner" - "github.com/bindoffice/minio/cmd/config/storageclass" - "github.com/bindoffice/minio/cmd/crypto" - xhttp "github.com/bindoffice/minio/cmd/http" - "github.com/bindoffice/minio/cmd/logger" - "github.com/bindoffice/minio/cmd/logger/target/http" - "github.com/bindoffice/minio/pkg/env" - "github.com/bindoffice/minio/pkg/madmin" + "github.com/bindoffice/bind-store/cmd/config" + "github.com/bindoffice/bind-store/cmd/config/api" + "github.com/bindoffice/bind-store/cmd/config/cache" + "github.com/bindoffice/bind-store/cmd/config/compress" + "github.com/bindoffice/bind-store/cmd/config/dns" + "github.com/bindoffice/bind-store/cmd/config/etcd" + "github.com/bindoffice/bind-store/cmd/config/heal" + xldap "github.com/bindoffice/bind-store/cmd/config/identity/ldap" + "github.com/bindoffice/bind-store/cmd/config/identity/openid" + "github.com/bindoffice/bind-store/cmd/config/notify" + "github.com/bindoffice/bind-store/cmd/config/policy/opa" + "github.com/bindoffice/bind-store/cmd/config/scanner" + "github.com/bindoffice/bind-store/cmd/config/storageclass" + "github.com/bindoffice/bind-store/cmd/crypto" + xhttp "github.com/bindoffice/bind-store/cmd/http" + "github.com/bindoffice/bind-store/cmd/logger" + "github.com/bindoffice/bind-store/cmd/logger/target/http" + "github.com/bindoffice/bind-store/pkg/env" + "github.com/bindoffice/bind-store/pkg/madmin" ) func initHelp() { diff --git a/cmd/config-current_test.go b/cmd/config-current_test.go index 9cb85e7..1d4901e 100644 --- a/cmd/config-current_test.go +++ b/cmd/config-current_test.go @@ -21,7 +21,7 @@ import ( "os" "testing" - "github.com/bindoffice/minio/cmd/config" + "github.com/bindoffice/bind-store/cmd/config" ) func TestServerConfig(t *testing.T) { diff --git a/cmd/config-encrypted.go b/cmd/config-encrypted.go index 16c8fe1..22d7f5e 100644 --- a/cmd/config-encrypted.go +++ b/cmd/config-encrypted.go @@ -23,10 +23,10 @@ import ( "time" "unicode/utf8" - "github.com/bindoffice/minio/cmd/config" - "github.com/bindoffice/minio/cmd/logger" - "github.com/bindoffice/minio/pkg/auth" - "github.com/bindoffice/minio/pkg/madmin" + "github.com/bindoffice/bind-store/cmd/config" + "github.com/bindoffice/bind-store/cmd/logger" + "github.com/bindoffice/bind-store/pkg/auth" + "github.com/bindoffice/bind-store/pkg/madmin" etcd "go.etcd.io/etcd/client/v3" ) diff --git a/cmd/config-encrypted_test.go b/cmd/config-encrypted_test.go index a6163cf..9ff6dbf 100644 --- a/cmd/config-encrypted_test.go +++ b/cmd/config-encrypted_test.go @@ -20,8 +20,8 @@ import ( "bytes" "testing" - "github.com/bindoffice/minio/pkg/auth" - "github.com/bindoffice/minio/pkg/madmin" + "github.com/bindoffice/bind-store/pkg/auth" + "github.com/bindoffice/bind-store/pkg/madmin" ) func TestDecryptData(t *testing.T) { diff --git a/cmd/config-migrate.go b/cmd/config-migrate.go index 6f19bf3..3295286 100644 --- a/cmd/config-migrate.go +++ b/cmd/config-migrate.go @@ -26,22 +26,22 @@ import ( "strings" "unicode/utf8" - "github.com/bindoffice/minio/cmd/config" - "github.com/bindoffice/minio/cmd/config/cache" - "github.com/bindoffice/minio/cmd/config/compress" - xldap "github.com/bindoffice/minio/cmd/config/identity/ldap" - "github.com/bindoffice/minio/cmd/config/identity/openid" - "github.com/bindoffice/minio/cmd/config/notify" - "github.com/bindoffice/minio/cmd/config/policy/opa" - "github.com/bindoffice/minio/cmd/config/storageclass" - "github.com/bindoffice/minio/cmd/crypto" - "github.com/bindoffice/minio/cmd/logger" - "github.com/bindoffice/minio/pkg/auth" - "github.com/bindoffice/minio/pkg/event" - "github.com/bindoffice/minio/pkg/event/target" - "github.com/bindoffice/minio/pkg/madmin" - xnet "github.com/bindoffice/minio/pkg/net" - "github.com/bindoffice/minio/pkg/quick" + "github.com/bindoffice/bind-store/cmd/config" + "github.com/bindoffice/bind-store/cmd/config/cache" + "github.com/bindoffice/bind-store/cmd/config/compress" + xldap "github.com/bindoffice/bind-store/cmd/config/identity/ldap" + "github.com/bindoffice/bind-store/cmd/config/identity/openid" + "github.com/bindoffice/bind-store/cmd/config/notify" + "github.com/bindoffice/bind-store/cmd/config/policy/opa" + "github.com/bindoffice/bind-store/cmd/config/storageclass" + "github.com/bindoffice/bind-store/cmd/crypto" + "github.com/bindoffice/bind-store/cmd/logger" + "github.com/bindoffice/bind-store/pkg/auth" + "github.com/bindoffice/bind-store/pkg/event" + "github.com/bindoffice/bind-store/pkg/event/target" + "github.com/bindoffice/bind-store/pkg/madmin" + xnet "github.com/bindoffice/bind-store/pkg/net" + "github.com/bindoffice/bind-store/pkg/quick" ) // DO NOT EDIT following message template, please open a github issue to discuss instead. diff --git a/cmd/config-migrate_test.go b/cmd/config-migrate_test.go index 47f5626..693a63e 100644 --- a/cmd/config-migrate_test.go +++ b/cmd/config-migrate_test.go @@ -22,7 +22,7 @@ import ( "os" "testing" - "github.com/bindoffice/minio/cmd/config" + "github.com/bindoffice/bind-store/cmd/config" ) // Test if config v1 is purged diff --git a/cmd/config-versions.go b/cmd/config-versions.go index 6b0f52b..a843928 100644 --- a/cmd/config-versions.go +++ b/cmd/config-versions.go @@ -19,19 +19,19 @@ package cmd import ( "sync" - "github.com/bindoffice/minio/cmd/config" - "github.com/bindoffice/minio/cmd/config/cache" - "github.com/bindoffice/minio/cmd/config/compress" - xldap "github.com/bindoffice/minio/cmd/config/identity/ldap" - "github.com/bindoffice/minio/cmd/config/identity/openid" - "github.com/bindoffice/minio/cmd/config/notify" - "github.com/bindoffice/minio/cmd/config/policy/opa" - "github.com/bindoffice/minio/cmd/config/storageclass" - "github.com/bindoffice/minio/cmd/crypto" - "github.com/bindoffice/minio/cmd/logger" - "github.com/bindoffice/minio/pkg/auth" - "github.com/bindoffice/minio/pkg/event/target" - "github.com/bindoffice/minio/pkg/quick" + "github.com/bindoffice/bind-store/cmd/config" + "github.com/bindoffice/bind-store/cmd/config/cache" + "github.com/bindoffice/bind-store/cmd/config/compress" + xldap "github.com/bindoffice/bind-store/cmd/config/identity/ldap" + "github.com/bindoffice/bind-store/cmd/config/identity/openid" + "github.com/bindoffice/bind-store/cmd/config/notify" + "github.com/bindoffice/bind-store/cmd/config/policy/opa" + "github.com/bindoffice/bind-store/cmd/config/storageclass" + "github.com/bindoffice/bind-store/cmd/crypto" + "github.com/bindoffice/bind-store/cmd/logger" + "github.com/bindoffice/bind-store/pkg/auth" + "github.com/bindoffice/bind-store/pkg/event/target" + "github.com/bindoffice/bind-store/pkg/quick" ) /////////////////// Config V1 /////////////////// diff --git a/cmd/config.go b/cmd/config.go index f3378b0..7fefb6b 100644 --- a/cmd/config.go +++ b/cmd/config.go @@ -26,8 +26,8 @@ import ( "unicode/utf8" jsoniter "github.com/json-iterator/go" - "github.com/bindoffice/minio/cmd/config" - "github.com/bindoffice/minio/pkg/madmin" + "github.com/bindoffice/bind-store/cmd/config" + "github.com/bindoffice/bind-store/pkg/madmin" ) const ( diff --git a/cmd/config/api/api.go b/cmd/config/api/api.go index bc09007..991f9dc 100644 --- a/cmd/config/api/api.go +++ b/cmd/config/api/api.go @@ -23,8 +23,8 @@ import ( "strings" "time" - "github.com/bindoffice/minio/cmd/config" - "github.com/bindoffice/minio/pkg/env" + "github.com/bindoffice/bind-store/cmd/config" + "github.com/bindoffice/bind-store/pkg/env" ) // API sub-system constants diff --git a/cmd/config/api/help.go b/cmd/config/api/help.go index e155977..be532e6 100644 --- a/cmd/config/api/help.go +++ b/cmd/config/api/help.go @@ -16,7 +16,7 @@ package api -import "github.com/bindoffice/minio/cmd/config" +import "github.com/bindoffice/bind-store/cmd/config" // Help template for storageclass feature. var ( diff --git a/cmd/config/cache/config.go b/cmd/config/cache/config.go index 71cd84c..e8bbde5 100644 --- a/cmd/config/cache/config.go +++ b/cmd/config/cache/config.go @@ -22,8 +22,8 @@ import ( "path/filepath" "strings" - "github.com/bindoffice/minio/cmd/config" - "github.com/bindoffice/minio/pkg/ellipses" + "github.com/bindoffice/bind-store/cmd/config" + "github.com/bindoffice/bind-store/pkg/ellipses" ) // Config represents cache config settings diff --git a/cmd/config/cache/help.go b/cmd/config/cache/help.go index e66417f..82a926d 100644 --- a/cmd/config/cache/help.go +++ b/cmd/config/cache/help.go @@ -16,7 +16,7 @@ package cache -import "github.com/bindoffice/minio/cmd/config" +import "github.com/bindoffice/bind-store/cmd/config" // Help template for caching feature. var ( diff --git a/cmd/config/cache/legacy.go b/cmd/config/cache/legacy.go index 63dea10..bf1c308 100644 --- a/cmd/config/cache/legacy.go +++ b/cmd/config/cache/legacy.go @@ -20,7 +20,7 @@ import ( "fmt" "strings" - "github.com/bindoffice/minio/cmd/config" + "github.com/bindoffice/bind-store/cmd/config" ) const ( diff --git a/cmd/config/cache/lookup.go b/cmd/config/cache/lookup.go index bc3546e..5d39b80 100644 --- a/cmd/config/cache/lookup.go +++ b/cmd/config/cache/lookup.go @@ -20,8 +20,8 @@ import ( "errors" "strconv" - "github.com/bindoffice/minio/cmd/config" - "github.com/bindoffice/minio/pkg/env" + "github.com/bindoffice/bind-store/cmd/config" + "github.com/bindoffice/bind-store/pkg/env" ) // Cache ENVs diff --git a/cmd/config/certs.go b/cmd/config/certs.go index 3026802..48e82a8 100644 --- a/cmd/config/certs.go +++ b/cmd/config/certs.go @@ -26,7 +26,7 @@ import ( "errors" "io/ioutil" - "github.com/bindoffice/minio/pkg/env" + "github.com/bindoffice/bind-store/pkg/env" ) // EnvCertPassword is the environment variable which contains the password used diff --git a/cmd/config/certsinfo.go b/cmd/config/certsinfo.go index 0e9b80a..83fff73 100644 --- a/cmd/config/certsinfo.go +++ b/cmd/config/certsinfo.go @@ -23,7 +23,7 @@ import ( "net/http" "strings" - color "github.com/bindoffice/minio/pkg/color" + color "github.com/bindoffice/bind-store/pkg/color" ) // Extra ASN1 OIDs that we may need to handle diff --git a/cmd/config/compress/compress.go b/cmd/config/compress/compress.go index 98796b2..c42b355 100644 --- a/cmd/config/compress/compress.go +++ b/cmd/config/compress/compress.go @@ -20,8 +20,8 @@ import ( "fmt" "strings" - "github.com/bindoffice/minio/cmd/config" - "github.com/bindoffice/minio/pkg/env" + "github.com/bindoffice/bind-store/cmd/config" + "github.com/bindoffice/bind-store/pkg/env" ) // Config represents the compression settings. diff --git a/cmd/config/compress/help.go b/cmd/config/compress/help.go index 67100b0..8f5ee26 100644 --- a/cmd/config/compress/help.go +++ b/cmd/config/compress/help.go @@ -16,7 +16,7 @@ package compress -import "github.com/bindoffice/minio/cmd/config" +import "github.com/bindoffice/bind-store/cmd/config" // Help template for compress feature. var ( diff --git a/cmd/config/compress/legacy.go b/cmd/config/compress/legacy.go index c642701..ce793c8 100644 --- a/cmd/config/compress/legacy.go +++ b/cmd/config/compress/legacy.go @@ -19,7 +19,7 @@ package compress import ( "strings" - "github.com/bindoffice/minio/cmd/config" + "github.com/bindoffice/bind-store/cmd/config" ) // Legacy envs. diff --git a/cmd/config/config.go b/cmd/config/config.go index 1755895..e339804 100644 --- a/cmd/config/config.go +++ b/cmd/config/config.go @@ -25,9 +25,9 @@ import ( "strings" "github.com/minio/minio-go/v7/pkg/set" - "github.com/bindoffice/minio/pkg/auth" - "github.com/bindoffice/minio/pkg/env" - "github.com/bindoffice/minio/pkg/madmin" + "github.com/bindoffice/bind-store/pkg/auth" + "github.com/bindoffice/bind-store/pkg/env" + "github.com/bindoffice/bind-store/pkg/madmin" ) // Error config error type diff --git a/cmd/config/config_test.go b/cmd/config/config_test.go index c9d74dc..afd67b4 100644 --- a/cmd/config/config_test.go +++ b/cmd/config/config_test.go @@ -20,7 +20,7 @@ package config import ( "testing" - "github.com/bindoffice/minio/pkg/madmin" + "github.com/bindoffice/bind-store/pkg/madmin" ) func TestKVFields(t *testing.T) { diff --git a/cmd/config/crypto.go b/cmd/config/crypto.go index a7189d8..8becdf4 100644 --- a/cmd/config/crypto.go +++ b/cmd/config/crypto.go @@ -23,7 +23,7 @@ import ( "fmt" "io" - "github.com/bindoffice/minio/pkg/kms" + "github.com/bindoffice/bind-store/pkg/kms" "github.com/secure-io/sio-go" "github.com/secure-io/sio-go/sioutil" ) diff --git a/cmd/config/crypto_test.go b/cmd/config/crypto_test.go index 6195628..097e4ec 100644 --- a/cmd/config/crypto_test.go +++ b/cmd/config/crypto_test.go @@ -21,7 +21,7 @@ import ( "io/ioutil" "testing" - "github.com/bindoffice/minio/pkg/kms" + "github.com/bindoffice/bind-store/pkg/kms" ) var encryptDecryptTests = []struct { diff --git a/cmd/config/dns/operator_dns.go b/cmd/config/dns/operator_dns.go index 4bdd6b0..df7f551 100644 --- a/cmd/config/dns/operator_dns.go +++ b/cmd/config/dns/operator_dns.go @@ -31,8 +31,8 @@ import ( "time" "github.com/golang-jwt/jwt/v4" - "github.com/bindoffice/minio/cmd/config" - xhttp "github.com/bindoffice/minio/cmd/http" + "github.com/bindoffice/bind-store/cmd/config" + xhttp "github.com/bindoffice/bind-store/cmd/http" ) var ( diff --git a/cmd/config/errors-utils.go b/cmd/config/errors-utils.go index da9efdd..4916632 100644 --- a/cmd/config/errors-utils.go +++ b/cmd/config/errors-utils.go @@ -22,7 +22,7 @@ import ( "net" "syscall" - "github.com/bindoffice/minio/pkg/color" + "github.com/bindoffice/bind-store/pkg/color" ) // Err is a structure which contains all information diff --git a/cmd/config/errors.go b/cmd/config/errors.go index 5d46672..be34a3b 100644 --- a/cmd/config/errors.go +++ b/cmd/config/errors.go @@ -187,7 +187,7 @@ When running in a container with restricted network access, set MINIO_ALLOW_PUBL "Please check the value", `MINIO_STORAGE_CLASS_STANDARD: Format "EC:" (e.g. "EC:3"). This sets the number of parity disks for MinIO server in Standard mode. Objects are stored in Standard mode, if storage class is not defined in Put request MINIO_STORAGE_CLASS_RRS: Format "EC:" (e.g. "EC:3"). This sets the number of parity disks for MinIO server in Reduced Redundancy mode. Objects are stored in Reduced Redundancy mode, if Put request specifies RRS storage class -Refer to the link https://github.com/bindoffice/minio/tree/master/docs/erasure/storage-class for more information`, +Refer to the link https://github.com/bindoffice/bind-store/tree/master/docs/erasure/storage-class for more information`, ) ErrUnexpectedBackendVersion = newErrFn( diff --git a/cmd/config/etcd/etcd.go b/cmd/config/etcd/etcd.go index e0b433a..7f4bef4 100644 --- a/cmd/config/etcd/etcd.go +++ b/cmd/config/etcd/etcd.go @@ -22,9 +22,9 @@ import ( "strings" "time" - "github.com/bindoffice/minio/cmd/config" - "github.com/bindoffice/minio/pkg/env" - xnet "github.com/bindoffice/minio/pkg/net" + "github.com/bindoffice/bind-store/cmd/config" + "github.com/bindoffice/bind-store/pkg/env" + xnet "github.com/bindoffice/bind-store/pkg/net" "go.etcd.io/etcd/client/v3" "go.etcd.io/etcd/client/v3/namespace" "go.uber.org/zap" diff --git a/cmd/config/etcd/help.go b/cmd/config/etcd/help.go index 00c3065..2467831 100644 --- a/cmd/config/etcd/help.go +++ b/cmd/config/etcd/help.go @@ -16,7 +16,7 @@ package etcd -import "github.com/bindoffice/minio/cmd/config" +import "github.com/bindoffice/bind-store/cmd/config" // etcd config documented in default config var ( diff --git a/cmd/config/heal/heal.go b/cmd/config/heal/heal.go index 8d00a59..180f24b 100644 --- a/cmd/config/heal/heal.go +++ b/cmd/config/heal/heal.go @@ -21,8 +21,8 @@ import ( "strconv" "time" - "github.com/bindoffice/minio/cmd/config" - "github.com/bindoffice/minio/pkg/env" + "github.com/bindoffice/bind-store/cmd/config" + "github.com/bindoffice/bind-store/pkg/env" ) // Compression environment variables diff --git a/cmd/config/identity/ldap/config.go b/cmd/config/identity/ldap/config.go index 2243dae..a645244 100644 --- a/cmd/config/identity/ldap/config.go +++ b/cmd/config/identity/ldap/config.go @@ -27,8 +27,8 @@ import ( "time" ldap "github.com/go-ldap/ldap/v3" - "github.com/bindoffice/minio/cmd/config" - "github.com/bindoffice/minio/pkg/env" + "github.com/bindoffice/bind-store/cmd/config" + "github.com/bindoffice/bind-store/pkg/env" ) const ( diff --git a/cmd/config/identity/ldap/help.go b/cmd/config/identity/ldap/help.go index 38c3a3c..6bff54d 100644 --- a/cmd/config/identity/ldap/help.go +++ b/cmd/config/identity/ldap/help.go @@ -16,7 +16,7 @@ package ldap -import "github.com/bindoffice/minio/cmd/config" +import "github.com/bindoffice/bind-store/cmd/config" // Help template for LDAP identity feature. var ( diff --git a/cmd/config/identity/ldap/legacy.go b/cmd/config/identity/ldap/legacy.go index 2426d2e..96ff0e4 100644 --- a/cmd/config/identity/ldap/legacy.go +++ b/cmd/config/identity/ldap/legacy.go @@ -16,7 +16,7 @@ package ldap -import "github.com/bindoffice/minio/cmd/config" +import "github.com/bindoffice/bind-store/cmd/config" // SetIdentityLDAP - One time migration code needed, for migrating from older config to new for LDAPConfig. func SetIdentityLDAP(s config.Config, ldapArgs Config) { diff --git a/cmd/config/identity/openid/help.go b/cmd/config/identity/openid/help.go index 8a48ef3..07470ce 100644 --- a/cmd/config/identity/openid/help.go +++ b/cmd/config/identity/openid/help.go @@ -16,7 +16,7 @@ package openid -import "github.com/bindoffice/minio/cmd/config" +import "github.com/bindoffice/bind-store/cmd/config" // Help template for OpenID identity feature. var ( diff --git a/cmd/config/identity/openid/jwt.go b/cmd/config/identity/openid/jwt.go index 6bcde7f..8398592 100644 --- a/cmd/config/identity/openid/jwt.go +++ b/cmd/config/identity/openid/jwt.go @@ -29,11 +29,11 @@ import ( "time" jwtgo "github.com/golang-jwt/jwt/v4" - "github.com/bindoffice/minio/cmd/config" - "github.com/bindoffice/minio/pkg/auth" - "github.com/bindoffice/minio/pkg/env" - iampolicy "github.com/bindoffice/minio/pkg/iam/policy" - xnet "github.com/bindoffice/minio/pkg/net" + "github.com/bindoffice/bind-store/cmd/config" + "github.com/bindoffice/bind-store/pkg/auth" + "github.com/bindoffice/bind-store/pkg/env" + iampolicy "github.com/bindoffice/bind-store/pkg/iam/policy" + xnet "github.com/bindoffice/bind-store/pkg/net" ) // Config - OpenID Config diff --git a/cmd/config/identity/openid/jwt_test.go b/cmd/config/identity/openid/jwt_test.go index 82bf33f..4311cf2 100644 --- a/cmd/config/identity/openid/jwt_test.go +++ b/cmd/config/identity/openid/jwt_test.go @@ -24,7 +24,7 @@ import ( "testing" "time" - xnet "github.com/bindoffice/minio/pkg/net" + xnet "github.com/bindoffice/bind-store/pkg/net" ) func TestUpdateClaimsExpiry(t *testing.T) { diff --git a/cmd/config/identity/openid/legacy.go b/cmd/config/identity/openid/legacy.go index 051918d..c7588f0 100644 --- a/cmd/config/identity/openid/legacy.go +++ b/cmd/config/identity/openid/legacy.go @@ -16,7 +16,7 @@ package openid -import "github.com/bindoffice/minio/cmd/config" +import "github.com/bindoffice/bind-store/cmd/config" // Legacy envs const ( diff --git a/cmd/config/identity/openid/validators_test.go b/cmd/config/identity/openid/validators_test.go index 90ffca7..6e52ee4 100644 --- a/cmd/config/identity/openid/validators_test.go +++ b/cmd/config/identity/openid/validators_test.go @@ -21,7 +21,7 @@ import ( "net/http/httptest" "testing" - xnet "github.com/bindoffice/minio/pkg/net" + xnet "github.com/bindoffice/bind-store/pkg/net" ) type errorValidator struct{} diff --git a/cmd/config/legacy.go b/cmd/config/legacy.go index a3ee538..47eb145 100644 --- a/cmd/config/legacy.go +++ b/cmd/config/legacy.go @@ -17,7 +17,7 @@ package config -import "github.com/bindoffice/minio/pkg/auth" +import "github.com/bindoffice/bind-store/pkg/auth" //// One time migration code section diff --git a/cmd/config/notify/config.go b/cmd/config/notify/config.go index e94720e..455b21e 100644 --- a/cmd/config/notify/config.go +++ b/cmd/config/notify/config.go @@ -17,7 +17,7 @@ package notify import ( - "github.com/bindoffice/minio/pkg/event/target" + "github.com/bindoffice/bind-store/pkg/event/target" ) // Config - notification target configuration structure, holds diff --git a/cmd/config/notify/help.go b/cmd/config/notify/help.go index d9d3276..1c4fa6d 100644 --- a/cmd/config/notify/help.go +++ b/cmd/config/notify/help.go @@ -17,8 +17,8 @@ package notify import ( - "github.com/bindoffice/minio/cmd/config" - "github.com/bindoffice/minio/pkg/event/target" + "github.com/bindoffice/bind-store/cmd/config" + "github.com/bindoffice/bind-store/pkg/event/target" ) const ( diff --git a/cmd/config/notify/legacy.go b/cmd/config/notify/legacy.go index 46c142d..1e3cf15 100644 --- a/cmd/config/notify/legacy.go +++ b/cmd/config/notify/legacy.go @@ -21,8 +21,8 @@ import ( "strconv" "strings" - "github.com/bindoffice/minio/cmd/config" - "github.com/bindoffice/minio/pkg/event/target" + "github.com/bindoffice/bind-store/cmd/config" + "github.com/bindoffice/bind-store/pkg/event/target" ) // SetNotifyKafka - helper for config migration from older config. diff --git a/cmd/config/notify/parse.go b/cmd/config/notify/parse.go index b386195..b28bd5b 100644 --- a/cmd/config/notify/parse.go +++ b/cmd/config/notify/parse.go @@ -26,12 +26,12 @@ import ( "strings" "time" - "github.com/bindoffice/minio/cmd/config" - "github.com/bindoffice/minio/cmd/logger" - "github.com/bindoffice/minio/pkg/env" - "github.com/bindoffice/minio/pkg/event" - "github.com/bindoffice/minio/pkg/event/target" - xnet "github.com/bindoffice/minio/pkg/net" + "github.com/bindoffice/bind-store/cmd/config" + "github.com/bindoffice/bind-store/cmd/logger" + "github.com/bindoffice/bind-store/pkg/env" + "github.com/bindoffice/bind-store/pkg/event" + "github.com/bindoffice/bind-store/pkg/event/target" + xnet "github.com/bindoffice/bind-store/pkg/net" ) const ( diff --git a/cmd/config/policy/opa/config.go b/cmd/config/policy/opa/config.go index 5ed69ce..cb625bb 100644 --- a/cmd/config/policy/opa/config.go +++ b/cmd/config/policy/opa/config.go @@ -23,10 +23,10 @@ import ( "io/ioutil" "net/http" - "github.com/bindoffice/minio/cmd/config" - "github.com/bindoffice/minio/pkg/env" - iampolicy "github.com/bindoffice/minio/pkg/iam/policy" - xnet "github.com/bindoffice/minio/pkg/net" + "github.com/bindoffice/bind-store/cmd/config" + "github.com/bindoffice/bind-store/pkg/env" + iampolicy "github.com/bindoffice/bind-store/pkg/iam/policy" + xnet "github.com/bindoffice/bind-store/pkg/net" ) // Env IAM OPA URL diff --git a/cmd/config/policy/opa/help.go b/cmd/config/policy/opa/help.go index 71d3e40..8e77f8f 100644 --- a/cmd/config/policy/opa/help.go +++ b/cmd/config/policy/opa/help.go @@ -16,7 +16,7 @@ package opa -import "github.com/bindoffice/minio/cmd/config" +import "github.com/bindoffice/bind-store/cmd/config" // Help template for OPA policy feature. var ( diff --git a/cmd/config/policy/opa/legacy.go b/cmd/config/policy/opa/legacy.go index 9da4cb7..4983df8 100644 --- a/cmd/config/policy/opa/legacy.go +++ b/cmd/config/policy/opa/legacy.go @@ -17,7 +17,7 @@ package opa import ( - "github.com/bindoffice/minio/cmd/config" + "github.com/bindoffice/bind-store/cmd/config" ) // Legacy OPA envs diff --git a/cmd/config/scanner/scanner.go b/cmd/config/scanner/scanner.go index 6108975..494befb 100644 --- a/cmd/config/scanner/scanner.go +++ b/cmd/config/scanner/scanner.go @@ -20,8 +20,8 @@ import ( "strconv" "time" - "github.com/bindoffice/minio/cmd/config" - "github.com/bindoffice/minio/pkg/env" + "github.com/bindoffice/bind-store/cmd/config" + "github.com/bindoffice/bind-store/pkg/env" ) // Compression environment variables diff --git a/cmd/config/storageclass/help.go b/cmd/config/storageclass/help.go index e1b50f0..dbc1f79 100644 --- a/cmd/config/storageclass/help.go +++ b/cmd/config/storageclass/help.go @@ -16,7 +16,7 @@ package storageclass -import "github.com/bindoffice/minio/cmd/config" +import "github.com/bindoffice/bind-store/cmd/config" // Help template for storageclass feature. var ( diff --git a/cmd/config/storageclass/legacy.go b/cmd/config/storageclass/legacy.go index 88e935d..30f5bbd 100644 --- a/cmd/config/storageclass/legacy.go +++ b/cmd/config/storageclass/legacy.go @@ -17,7 +17,7 @@ package storageclass import ( - "github.com/bindoffice/minio/cmd/config" + "github.com/bindoffice/bind-store/cmd/config" ) // SetStorageClass - One time migration code needed, for migrating from older config to new for StorageClass. diff --git a/cmd/config/storageclass/storage-class.go b/cmd/config/storageclass/storage-class.go index 68aa526..75d5988 100644 --- a/cmd/config/storageclass/storage-class.go +++ b/cmd/config/storageclass/storage-class.go @@ -24,8 +24,8 @@ import ( "strings" "sync" - "github.com/bindoffice/minio/cmd/config" - "github.com/bindoffice/minio/pkg/env" + "github.com/bindoffice/bind-store/cmd/config" + "github.com/bindoffice/bind-store/pkg/env" ) // Standard constants for all storage class diff --git a/cmd/consolelogger.go b/cmd/consolelogger.go index 681e0da..5e1e727 100644 --- a/cmd/consolelogger.go +++ b/cmd/consolelogger.go @@ -21,11 +21,11 @@ import ( "context" "sync" - "github.com/bindoffice/minio/cmd/logger" - "github.com/bindoffice/minio/cmd/logger/message/log" - "github.com/bindoffice/minio/cmd/logger/target/console" - xnet "github.com/bindoffice/minio/pkg/net" - "github.com/bindoffice/minio/pkg/pubsub" + "github.com/bindoffice/bind-store/cmd/logger" + "github.com/bindoffice/bind-store/cmd/logger/message/log" + "github.com/bindoffice/bind-store/cmd/logger/target/console" + xnet "github.com/bindoffice/bind-store/pkg/net" + "github.com/bindoffice/bind-store/pkg/pubsub" ) // number of log messages to buffer diff --git a/cmd/crypto/config.go b/cmd/crypto/config.go index f546d0d..84ee0f0 100644 --- a/cmd/crypto/config.go +++ b/cmd/crypto/config.go @@ -23,10 +23,10 @@ import ( "strconv" "strings" - "github.com/bindoffice/minio/cmd/config" - "github.com/bindoffice/minio/pkg/ellipses" - "github.com/bindoffice/minio/pkg/env" - xnet "github.com/bindoffice/minio/pkg/net" + "github.com/bindoffice/bind-store/cmd/config" + "github.com/bindoffice/bind-store/pkg/ellipses" + "github.com/bindoffice/bind-store/pkg/env" + xnet "github.com/bindoffice/bind-store/pkg/net" ) // KMSConfig has the KMS config for hashicorp vault diff --git a/cmd/crypto/header.go b/cmd/crypto/header.go index 3d99177..6e7451d 100644 --- a/cmd/crypto/header.go +++ b/cmd/crypto/header.go @@ -20,7 +20,7 @@ import ( "encoding/base64" "net/http" - xhttp "github.com/bindoffice/minio/cmd/http" + xhttp "github.com/bindoffice/bind-store/cmd/http" ) // RemoveSensitiveHeaders removes confidential encryption diff --git a/cmd/crypto/header_test.go b/cmd/crypto/header_test.go index dafa509..6954aaf 100644 --- a/cmd/crypto/header_test.go +++ b/cmd/crypto/header_test.go @@ -19,7 +19,7 @@ import ( "sort" "testing" - xhttp "github.com/bindoffice/minio/cmd/http" + xhttp "github.com/bindoffice/bind-store/cmd/http" ) func TestIsRequested(t *testing.T) { diff --git a/cmd/crypto/help.go b/cmd/crypto/help.go index 03a2fac..9aacb98 100644 --- a/cmd/crypto/help.go +++ b/cmd/crypto/help.go @@ -16,7 +16,7 @@ package crypto -import "github.com/bindoffice/minio/cmd/config" +import "github.com/bindoffice/bind-store/cmd/config" // Help template for KMS vault var ( diff --git a/cmd/crypto/kes.go b/cmd/crypto/kes.go index 8836bf8..7ea7179 100644 --- a/cmd/crypto/kes.go +++ b/cmd/crypto/kes.go @@ -31,9 +31,9 @@ import ( "time" jsoniter "github.com/json-iterator/go" - xhttp "github.com/bindoffice/minio/cmd/http" - "github.com/bindoffice/minio/pkg/kms" - xnet "github.com/bindoffice/minio/pkg/net" + xhttp "github.com/bindoffice/bind-store/cmd/http" + "github.com/bindoffice/bind-store/pkg/kms" + xnet "github.com/bindoffice/bind-store/pkg/net" ) var json = jsoniter.ConfigCompatibleWithStandardLibrary diff --git a/cmd/crypto/key.go b/cmd/crypto/key.go index f7052dd..c2994b8 100644 --- a/cmd/crypto/key.go +++ b/cmd/crypto/key.go @@ -25,8 +25,8 @@ import ( "io" "path" - "github.com/bindoffice/minio/cmd/logger" - "github.com/bindoffice/minio/pkg/fips" + "github.com/bindoffice/bind-store/cmd/logger" + "github.com/bindoffice/bind-store/pkg/fips" "github.com/minio/sio" ) diff --git a/cmd/crypto/key_test.go b/cmd/crypto/key_test.go index 4caf72a..75dc39b 100644 --- a/cmd/crypto/key_test.go +++ b/cmd/crypto/key_test.go @@ -21,7 +21,7 @@ import ( "io" "testing" - "github.com/bindoffice/minio/cmd/logger" + "github.com/bindoffice/bind-store/cmd/logger" ) var shortRandom = func(limit int64) io.Reader { return io.LimitReader(rand.Reader, limit) } diff --git a/cmd/crypto/kms.go b/cmd/crypto/kms.go index 6a09f4e..ce2b5b1 100644 --- a/cmd/crypto/kms.go +++ b/cmd/crypto/kms.go @@ -23,8 +23,8 @@ import ( "errors" "io" - "github.com/bindoffice/minio/cmd/logger" - "github.com/bindoffice/minio/pkg/kms" + "github.com/bindoffice/bind-store/cmd/logger" + "github.com/bindoffice/bind-store/pkg/kms" "github.com/minio/sio" ) diff --git a/cmd/crypto/legacy.go b/cmd/crypto/legacy.go index 0524328..21eb139 100644 --- a/cmd/crypto/legacy.go +++ b/cmd/crypto/legacy.go @@ -20,9 +20,9 @@ import ( "reflect" "strconv" - "github.com/bindoffice/minio/cmd/config" - "github.com/bindoffice/minio/pkg/env" - xnet "github.com/bindoffice/minio/pkg/net" + "github.com/bindoffice/bind-store/cmd/config" + "github.com/bindoffice/bind-store/pkg/env" + xnet "github.com/bindoffice/bind-store/pkg/net" ) const ( diff --git a/cmd/crypto/metadata.go b/cmd/crypto/metadata.go index 38afd6a..c1b5229 100644 --- a/cmd/crypto/metadata.go +++ b/cmd/crypto/metadata.go @@ -15,7 +15,7 @@ package crypto import ( - xhttp "github.com/bindoffice/minio/cmd/http" + xhttp "github.com/bindoffice/bind-store/cmd/http" ) const ( diff --git a/cmd/crypto/metadata_test.go b/cmd/crypto/metadata_test.go index 9ff23f6..f5ddbce 100644 --- a/cmd/crypto/metadata_test.go +++ b/cmd/crypto/metadata_test.go @@ -20,7 +20,7 @@ import ( "encoding/hex" "testing" - "github.com/bindoffice/minio/cmd/logger" + "github.com/bindoffice/bind-store/cmd/logger" ) var isMultipartTests = []struct { diff --git a/cmd/crypto/sse-c.go b/cmd/crypto/sse-c.go index f9c7b72..15ef3e1 100644 --- a/cmd/crypto/sse-c.go +++ b/cmd/crypto/sse-c.go @@ -23,8 +23,8 @@ import ( "encoding/base64" "net/http" - xhttp "github.com/bindoffice/minio/cmd/http" - "github.com/bindoffice/minio/cmd/logger" + xhttp "github.com/bindoffice/bind-store/cmd/http" + "github.com/bindoffice/bind-store/cmd/logger" ) type ssec struct{} diff --git a/cmd/crypto/sse-kms.go b/cmd/crypto/sse-kms.go index ac68e2c..9612d2a 100644 --- a/cmd/crypto/sse-kms.go +++ b/cmd/crypto/sse-kms.go @@ -25,8 +25,8 @@ import ( "strings" jsoniter "github.com/json-iterator/go" - xhttp "github.com/bindoffice/minio/cmd/http" - "github.com/bindoffice/minio/cmd/logger" + xhttp "github.com/bindoffice/bind-store/cmd/http" + "github.com/bindoffice/bind-store/cmd/logger" ) type ssekms struct{} diff --git a/cmd/crypto/sse-s3.go b/cmd/crypto/sse-s3.go index cde5751..c530eed 100644 --- a/cmd/crypto/sse-s3.go +++ b/cmd/crypto/sse-s3.go @@ -24,8 +24,8 @@ import ( "path" "strings" - xhttp "github.com/bindoffice/minio/cmd/http" - "github.com/bindoffice/minio/cmd/logger" + xhttp "github.com/bindoffice/bind-store/cmd/http" + "github.com/bindoffice/bind-store/cmd/logger" ) type sses3 struct{} diff --git a/cmd/crypto/sse.go b/cmd/crypto/sse.go index ff9a4b2..9e61eef 100644 --- a/cmd/crypto/sse.go +++ b/cmd/crypto/sse.go @@ -21,9 +21,9 @@ import ( "io" "net/http" - "github.com/bindoffice/minio/cmd/logger" - "github.com/bindoffice/minio/pkg/fips" - "github.com/bindoffice/minio/pkg/ioutil" + "github.com/bindoffice/bind-store/cmd/logger" + "github.com/bindoffice/bind-store/pkg/fips" + "github.com/bindoffice/bind-store/pkg/ioutil" "github.com/minio/sio" ) @@ -35,7 +35,7 @@ const ( // InsecureSealAlgorithm is the legacy encryption/sealing algorithm used // to derive & seal the key-encryption-key and to en/decrypt the object data. // This algorithm should not be used for new objects because its key derivation - // is not optimal. See: https://github.com/bindoffice/minio/pull/6121 + // is not optimal. See: https://github.com/bindoffice/bind-store/pull/6121 InsecureSealAlgorithm = "DARE-SHA256" ) diff --git a/cmd/crypto/vault.go b/cmd/crypto/vault.go index ae2ff33..20d47a8 100644 --- a/cmd/crypto/vault.go +++ b/cmd/crypto/vault.go @@ -22,7 +22,7 @@ import ( "time" vault "github.com/hashicorp/vault/api" - "github.com/bindoffice/minio/pkg/kms" + "github.com/bindoffice/bind-store/pkg/kms" ) var ( diff --git a/cmd/data-scanner.go b/cmd/data-scanner.go index bc06b93..49bb355 100644 --- a/cmd/data-scanner.go +++ b/cmd/data-scanner.go @@ -30,15 +30,15 @@ import ( "sync" "time" - "github.com/bindoffice/minio/cmd/config/heal" - "github.com/bindoffice/minio/cmd/logger" - "github.com/bindoffice/minio/pkg/bucket/lifecycle" - "github.com/bindoffice/minio/pkg/bucket/replication" - "github.com/bindoffice/minio/pkg/color" - "github.com/bindoffice/minio/pkg/console" - "github.com/bindoffice/minio/pkg/event" - "github.com/bindoffice/minio/pkg/hash" - "github.com/bindoffice/minio/pkg/madmin" + "github.com/bindoffice/bind-store/cmd/config/heal" + "github.com/bindoffice/bind-store/cmd/logger" + "github.com/bindoffice/bind-store/pkg/bucket/lifecycle" + "github.com/bindoffice/bind-store/pkg/bucket/replication" + "github.com/bindoffice/bind-store/pkg/color" + "github.com/bindoffice/bind-store/pkg/console" + "github.com/bindoffice/bind-store/pkg/event" + "github.com/bindoffice/bind-store/pkg/hash" + "github.com/bindoffice/bind-store/pkg/madmin" "github.com/willf/bloom" ) diff --git a/cmd/data-update-tracker.go b/cmd/data-update-tracker.go index 96efebe..b27d3aa 100644 --- a/cmd/data-update-tracker.go +++ b/cmd/data-update-tracker.go @@ -31,9 +31,9 @@ import ( "sync" "time" - "github.com/bindoffice/minio/cmd/logger" - "github.com/bindoffice/minio/pkg/color" - "github.com/bindoffice/minio/pkg/console" + "github.com/bindoffice/bind-store/cmd/logger" + "github.com/bindoffice/bind-store/pkg/color" + "github.com/bindoffice/bind-store/pkg/console" "github.com/willf/bloom" ) diff --git a/cmd/data-update-tracker_test.go b/cmd/data-update-tracker_test.go index e6607a7..f8396f7 100644 --- a/cmd/data-update-tracker_test.go +++ b/cmd/data-update-tracker_test.go @@ -28,8 +28,8 @@ import ( "sync" "testing" - "github.com/bindoffice/minio/cmd/logger" - "github.com/bindoffice/minio/cmd/logger/message/log" + "github.com/bindoffice/bind-store/cmd/logger" + "github.com/bindoffice/bind-store/cmd/logger/message/log" ) type testLoggerI interface { diff --git a/cmd/data-usage-cache.go b/cmd/data-usage-cache.go index 81505fe..fdd1ddb 100644 --- a/cmd/data-usage-cache.go +++ b/cmd/data-usage-cache.go @@ -29,10 +29,10 @@ import ( "github.com/cespare/xxhash/v2" "github.com/klauspost/compress/zstd" - "github.com/bindoffice/minio/cmd/logger" - "github.com/bindoffice/minio/pkg/bucket/lifecycle" - "github.com/bindoffice/minio/pkg/hash" - "github.com/bindoffice/minio/pkg/madmin" + "github.com/bindoffice/bind-store/cmd/logger" + "github.com/bindoffice/bind-store/pkg/bucket/lifecycle" + "github.com/bindoffice/bind-store/pkg/hash" + "github.com/bindoffice/bind-store/pkg/madmin" "github.com/tinylib/msgp/msgp" ) diff --git a/cmd/data-usage.go b/cmd/data-usage.go index f6d71b8..c8014aa 100644 --- a/cmd/data-usage.go +++ b/cmd/data-usage.go @@ -23,9 +23,9 @@ import ( "net/http" jsoniter "github.com/json-iterator/go" - "github.com/bindoffice/minio/cmd/logger" - "github.com/bindoffice/minio/pkg/hash" - "github.com/bindoffice/minio/pkg/madmin" + "github.com/bindoffice/bind-store/cmd/logger" + "github.com/bindoffice/bind-store/pkg/hash" + "github.com/bindoffice/bind-store/pkg/madmin" ) const ( diff --git a/cmd/disk-cache-backend.go b/cmd/disk-cache-backend.go index b360ccd..aa821fa 100644 --- a/cmd/disk-cache-backend.go +++ b/cmd/disk-cache-backend.go @@ -34,13 +34,13 @@ import ( "time" "github.com/djherbis/atime" - "github.com/bindoffice/minio/cmd/config/cache" - "github.com/bindoffice/minio/cmd/crypto" - xhttp "github.com/bindoffice/minio/cmd/http" - "github.com/bindoffice/minio/cmd/logger" - "github.com/bindoffice/minio/pkg/disk" - "github.com/bindoffice/minio/pkg/fips" - "github.com/bindoffice/minio/pkg/kms" + "github.com/bindoffice/bind-store/cmd/config/cache" + "github.com/bindoffice/bind-store/cmd/crypto" + xhttp "github.com/bindoffice/bind-store/cmd/http" + "github.com/bindoffice/bind-store/cmd/logger" + "github.com/bindoffice/bind-store/pkg/disk" + "github.com/bindoffice/bind-store/pkg/fips" + "github.com/bindoffice/bind-store/pkg/kms" "github.com/minio/sio" ) diff --git a/cmd/disk-cache-utils.go b/cmd/disk-cache-utils.go index 59cb79f..21d84e4 100644 --- a/cmd/disk-cache-utils.go +++ b/cmd/disk-cache-utils.go @@ -29,7 +29,7 @@ import ( "strings" "time" - "github.com/bindoffice/minio/cmd/crypto" + "github.com/bindoffice/bind-store/cmd/crypto" ) // CacheStatusType - whether the request was served from cache. diff --git a/cmd/disk-cache.go b/cmd/disk-cache.go index 1fea742..e94e267 100644 --- a/cmd/disk-cache.go +++ b/cmd/disk-cache.go @@ -28,14 +28,14 @@ import ( "sync/atomic" "time" - "github.com/bindoffice/minio/cmd/config/cache" - xhttp "github.com/bindoffice/minio/cmd/http" - "github.com/bindoffice/minio/cmd/logger" - objectlock "github.com/bindoffice/minio/pkg/bucket/object/lock" - "github.com/bindoffice/minio/pkg/color" - "github.com/bindoffice/minio/pkg/hash" - "github.com/bindoffice/minio/pkg/sync/errgroup" - "github.com/bindoffice/minio/pkg/wildcard" + "github.com/bindoffice/bind-store/cmd/config/cache" + xhttp "github.com/bindoffice/bind-store/cmd/http" + "github.com/bindoffice/bind-store/cmd/logger" + objectlock "github.com/bindoffice/bind-store/pkg/bucket/object/lock" + "github.com/bindoffice/bind-store/pkg/color" + "github.com/bindoffice/bind-store/pkg/hash" + "github.com/bindoffice/bind-store/pkg/sync/errgroup" + "github.com/bindoffice/bind-store/pkg/wildcard" ) const ( diff --git a/cmd/dummy-handlers.go b/cmd/dummy-handlers.go index 90d2332..17b9802 100644 --- a/cmd/dummy-handlers.go +++ b/cmd/dummy-handlers.go @@ -20,8 +20,8 @@ import ( "net/http" "github.com/gorilla/mux" - "github.com/bindoffice/minio/cmd/logger" - "github.com/bindoffice/minio/pkg/bucket/policy" + "github.com/bindoffice/bind-store/cmd/logger" + "github.com/bindoffice/bind-store/pkg/bucket/policy" ) // Data types used for returning dummy tagging XML. diff --git a/cmd/encryption-v1.go b/cmd/encryption-v1.go index 43e75af..f8cf188 100644 --- a/cmd/encryption-v1.go +++ b/cmd/encryption-v1.go @@ -31,10 +31,10 @@ import ( "strconv" "strings" - "github.com/bindoffice/minio/cmd/crypto" - xhttp "github.com/bindoffice/minio/cmd/http" - "github.com/bindoffice/minio/cmd/logger" - "github.com/bindoffice/minio/pkg/fips" + "github.com/bindoffice/bind-store/cmd/crypto" + xhttp "github.com/bindoffice/bind-store/cmd/http" + "github.com/bindoffice/bind-store/cmd/logger" + "github.com/bindoffice/bind-store/pkg/fips" "github.com/minio/sio" ) diff --git a/cmd/encryption-v1_test.go b/cmd/encryption-v1_test.go index 786cee1..c902f83 100644 --- a/cmd/encryption-v1_test.go +++ b/cmd/encryption-v1_test.go @@ -28,8 +28,8 @@ import ( humanize "github.com/dustin/go-humanize" "github.com/klauspost/compress/zstd" "github.com/minio/minio-go/v7/pkg/encrypt" - "github.com/bindoffice/minio/cmd/crypto" - xhttp "github.com/bindoffice/minio/cmd/http" + "github.com/bindoffice/bind-store/cmd/crypto" + xhttp "github.com/bindoffice/bind-store/cmd/http" "github.com/minio/sio" ) diff --git a/cmd/endpoint-ellipses.go b/cmd/endpoint-ellipses.go index bf63c30..4cc49e0 100644 --- a/cmd/endpoint-ellipses.go +++ b/cmd/endpoint-ellipses.go @@ -23,9 +23,9 @@ import ( "strings" "github.com/minio/minio-go/v7/pkg/set" - "github.com/bindoffice/minio/cmd/config" - "github.com/bindoffice/minio/pkg/ellipses" - "github.com/bindoffice/minio/pkg/env" + "github.com/bindoffice/bind-store/cmd/config" + "github.com/bindoffice/bind-store/pkg/ellipses" + "github.com/bindoffice/bind-store/pkg/env" ) // This file implements and supports ellipses pattern for diff --git a/cmd/endpoint-ellipses_test.go b/cmd/endpoint-ellipses_test.go index 5226b1d..54ac514 100644 --- a/cmd/endpoint-ellipses_test.go +++ b/cmd/endpoint-ellipses_test.go @@ -21,7 +21,7 @@ import ( "reflect" "testing" - "github.com/bindoffice/minio/pkg/ellipses" + "github.com/bindoffice/bind-store/pkg/ellipses" ) // Tests create endpoints with ellipses and without. diff --git a/cmd/endpoint.go b/cmd/endpoint.go index fd09e5a..bf57ab4 100644 --- a/cmd/endpoint.go +++ b/cmd/endpoint.go @@ -34,12 +34,12 @@ import ( "github.com/dustin/go-humanize" "github.com/minio/minio-go/v7/pkg/set" - "github.com/bindoffice/minio/cmd/config" - xhttp "github.com/bindoffice/minio/cmd/http" - "github.com/bindoffice/minio/cmd/logger" - "github.com/bindoffice/minio/pkg/env" - "github.com/bindoffice/minio/pkg/mountinfo" - xnet "github.com/bindoffice/minio/pkg/net" + "github.com/bindoffice/bind-store/cmd/config" + xhttp "github.com/bindoffice/bind-store/cmd/http" + "github.com/bindoffice/bind-store/cmd/logger" + "github.com/bindoffice/bind-store/pkg/env" + "github.com/bindoffice/bind-store/pkg/mountinfo" + xnet "github.com/bindoffice/bind-store/pkg/net" ) // EndpointType - enum for endpoint type. diff --git a/cmd/erasure-bucket.go b/cmd/erasure-bucket.go index 70ca298..42bdf84 100644 --- a/cmd/erasure-bucket.go +++ b/cmd/erasure-bucket.go @@ -21,8 +21,8 @@ import ( "errors" "github.com/minio/minio-go/v7/pkg/s3utils" - "github.com/bindoffice/minio/cmd/logger" - "github.com/bindoffice/minio/pkg/sync/errgroup" + "github.com/bindoffice/bind-store/cmd/logger" + "github.com/bindoffice/bind-store/pkg/sync/errgroup" ) // list all errors that can be ignore in a bucket operation. diff --git a/cmd/erasure-coding.go b/cmd/erasure-coding.go index 3f1ca2d..e44c0b4 100644 --- a/cmd/erasure-coding.go +++ b/cmd/erasure-coding.go @@ -27,7 +27,7 @@ import ( "github.com/cespare/xxhash/v2" "github.com/klauspost/reedsolomon" - "github.com/bindoffice/minio/cmd/logger" + "github.com/bindoffice/bind-store/cmd/logger" ) // Erasure - erasure encoding details. diff --git a/cmd/erasure-common.go b/cmd/erasure-common.go index c9b72ee..d9e82df 100644 --- a/cmd/erasure-common.go +++ b/cmd/erasure-common.go @@ -20,7 +20,7 @@ import ( "context" "sync" - "github.com/bindoffice/minio/pkg/sync/errgroup" + "github.com/bindoffice/bind-store/pkg/sync/errgroup" ) func (er erasureObjects) getLocalDisks() (localDisks []StorageAPI) { diff --git a/cmd/erasure-decode.go b/cmd/erasure-decode.go index c4dab8f..237da5b 100644 --- a/cmd/erasure-decode.go +++ b/cmd/erasure-decode.go @@ -23,7 +23,7 @@ import ( "sync" "sync/atomic" - "github.com/bindoffice/minio/cmd/logger" + "github.com/bindoffice/bind-store/cmd/logger" ) // Reads in parallel from readers. diff --git a/cmd/erasure-encode.go b/cmd/erasure-encode.go index 919aae3..d1e0e9e 100644 --- a/cmd/erasure-encode.go +++ b/cmd/erasure-encode.go @@ -22,7 +22,7 @@ import ( "sync" - "github.com/bindoffice/minio/cmd/logger" + "github.com/bindoffice/bind-store/cmd/logger" ) // Writes in parallel to writers diff --git a/cmd/erasure-healing-common.go b/cmd/erasure-healing-common.go index 530d608..49607cf 100644 --- a/cmd/erasure-healing-common.go +++ b/cmd/erasure-healing-common.go @@ -21,7 +21,7 @@ import ( "context" "time" - "github.com/bindoffice/minio/pkg/madmin" + "github.com/bindoffice/bind-store/pkg/madmin" ) // commonTime returns a maximally occurring time from a list of time. @@ -222,7 +222,7 @@ func disksWithAllParts(ctx context.Context, onlineDisks []StorageAPI, partsMetad erasureDistributionReliable := true if inconsistent > len(partsMetadata)/2 { // If there are too many inconsistent files, then we can't trust erasure.Distribution (most likely - // because of bugs found in CopyObject/PutObjectTags) https://github.com/bindoffice/minio/pull/10772 + // because of bugs found in CopyObject/PutObjectTags) https://github.com/bindoffice/bind-store/pull/10772 erasureDistributionReliable = false } diff --git a/cmd/erasure-healing-common_test.go b/cmd/erasure-healing-common_test.go index a12eeef..fa3bc5f 100644 --- a/cmd/erasure-healing-common_test.go +++ b/cmd/erasure-healing-common_test.go @@ -25,7 +25,7 @@ import ( "testing" "time" - "github.com/bindoffice/minio/pkg/madmin" + "github.com/bindoffice/bind-store/pkg/madmin" ) // validates functionality provided to find most common diff --git a/cmd/erasure-healing.go b/cmd/erasure-healing.go index 8a10ab9..a25af10 100644 --- a/cmd/erasure-healing.go +++ b/cmd/erasure-healing.go @@ -25,10 +25,10 @@ import ( "sync" "time" - "github.com/bindoffice/minio/cmd/logger" - "github.com/bindoffice/minio/pkg/bucket/lifecycle" - "github.com/bindoffice/minio/pkg/madmin" - "github.com/bindoffice/minio/pkg/sync/errgroup" + "github.com/bindoffice/bind-store/cmd/logger" + "github.com/bindoffice/bind-store/pkg/bucket/lifecycle" + "github.com/bindoffice/bind-store/pkg/madmin" + "github.com/bindoffice/bind-store/pkg/sync/errgroup" ) // Heals a bucket if it doesn't exist on one of the disks, additionally diff --git a/cmd/erasure-healing_test.go b/cmd/erasure-healing_test.go index b8a8e2b..787ad31 100644 --- a/cmd/erasure-healing_test.go +++ b/cmd/erasure-healing_test.go @@ -27,7 +27,7 @@ import ( "time" "github.com/dustin/go-humanize" - "github.com/bindoffice/minio/pkg/madmin" + "github.com/bindoffice/bind-store/pkg/madmin" ) // Tests both object and bucket healing. diff --git a/cmd/erasure-lowlevel-heal.go b/cmd/erasure-lowlevel-heal.go index 54cb09a..8024a8d 100644 --- a/cmd/erasure-lowlevel-heal.go +++ b/cmd/erasure-lowlevel-heal.go @@ -20,7 +20,7 @@ import ( "context" "io" - "github.com/bindoffice/minio/cmd/logger" + "github.com/bindoffice/bind-store/cmd/logger" ) // Heal heals the shard files on non-nil writers. Note that the quorum passed is 1 diff --git a/cmd/erasure-metadata-utils.go b/cmd/erasure-metadata-utils.go index af9ad22..592e85e 100644 --- a/cmd/erasure-metadata-utils.go +++ b/cmd/erasure-metadata-utils.go @@ -22,8 +22,8 @@ import ( "fmt" "hash/crc32" - "github.com/bindoffice/minio/cmd/logger" - "github.com/bindoffice/minio/pkg/sync/errgroup" + "github.com/bindoffice/bind-store/cmd/logger" + "github.com/bindoffice/bind-store/pkg/sync/errgroup" ) // Returns number of errors that occurred the most (incl. nil) and the diff --git a/cmd/erasure-metadata.go b/cmd/erasure-metadata.go index b789771..42682c7 100644 --- a/cmd/erasure-metadata.go +++ b/cmd/erasure-metadata.go @@ -25,10 +25,10 @@ import ( "sort" "time" - xhttp "github.com/bindoffice/minio/cmd/http" - "github.com/bindoffice/minio/cmd/logger" - "github.com/bindoffice/minio/pkg/bucket/replication" - "github.com/bindoffice/minio/pkg/sync/errgroup" + xhttp "github.com/bindoffice/bind-store/cmd/http" + "github.com/bindoffice/bind-store/cmd/logger" + "github.com/bindoffice/bind-store/pkg/bucket/replication" + "github.com/bindoffice/bind-store/pkg/sync/errgroup" ) const erasureAlgorithm = "rs-vandermonde" diff --git a/cmd/erasure-multipart.go b/cmd/erasure-multipart.go index 583283e..01f7111 100644 --- a/cmd/erasure-multipart.go +++ b/cmd/erasure-multipart.go @@ -29,10 +29,10 @@ import ( "time" "github.com/minio/minio-go/v7/pkg/set" - xhttp "github.com/bindoffice/minio/cmd/http" - "github.com/bindoffice/minio/cmd/logger" - "github.com/bindoffice/minio/pkg/mimedb" - "github.com/bindoffice/minio/pkg/sync/errgroup" + xhttp "github.com/bindoffice/bind-store/cmd/http" + "github.com/bindoffice/bind-store/cmd/logger" + "github.com/bindoffice/bind-store/pkg/mimedb" + "github.com/bindoffice/bind-store/pkg/sync/errgroup" ) func (er erasureObjects) getUploadIDDir(bucket, object, uploadID string) string { diff --git a/cmd/erasure-object.go b/cmd/erasure-object.go index 57f9c7a..e31c315 100644 --- a/cmd/erasure-object.go +++ b/cmd/erasure-object.go @@ -29,13 +29,13 @@ import ( "time" "github.com/minio/minio-go/v7/pkg/tags" - xhttp "github.com/bindoffice/minio/cmd/http" - "github.com/bindoffice/minio/cmd/logger" - "github.com/bindoffice/minio/pkg/bucket/lifecycle" - "github.com/bindoffice/minio/pkg/bucket/replication" - "github.com/bindoffice/minio/pkg/madmin" - "github.com/bindoffice/minio/pkg/mimedb" - "github.com/bindoffice/minio/pkg/sync/errgroup" + xhttp "github.com/bindoffice/bind-store/cmd/http" + "github.com/bindoffice/bind-store/cmd/logger" + "github.com/bindoffice/bind-store/pkg/bucket/lifecycle" + "github.com/bindoffice/bind-store/pkg/bucket/replication" + "github.com/bindoffice/bind-store/pkg/madmin" + "github.com/bindoffice/bind-store/pkg/mimedb" + "github.com/bindoffice/bind-store/pkg/sync/errgroup" ) // list all errors which can be ignored in object operations. diff --git a/cmd/erasure-object_test.go b/cmd/erasure-object_test.go index 197234d..887b63b 100644 --- a/cmd/erasure-object_test.go +++ b/cmd/erasure-object_test.go @@ -28,7 +28,7 @@ import ( "testing" humanize "github.com/dustin/go-humanize" - "github.com/bindoffice/minio/cmd/config/storageclass" + "github.com/bindoffice/bind-store/cmd/config/storageclass" ) func TestRepeatPutObjectPart(t *testing.T) { @@ -64,7 +64,7 @@ func TestRepeatPutObjectPart(t *testing.T) { if err != nil { t.Fatal(err) } - // PutObjectPart should succeed even if part already exists. ref: https://github.com/bindoffice/minio/issues/1930 + // PutObjectPart should succeed even if part already exists. ref: https://github.com/bindoffice/bind-store/issues/1930 _, err = objLayer.PutObjectPart(ctx, "bucket1", "mpartObj1", uploadID, 1, mustGetPutObjReader(t, bytes.NewReader(fiveMBBytes), 5*humanize.MiByte, md5Hex, ""), opts) if err != nil { t.Fatal(err) diff --git a/cmd/erasure-server-pool.go b/cmd/erasure-server-pool.go index bd30194..c1b3337 100644 --- a/cmd/erasure-server-pool.go +++ b/cmd/erasure-server-pool.go @@ -31,11 +31,11 @@ import ( "github.com/minio/minio-go/v7/pkg/set" "github.com/minio/minio-go/v7/pkg/tags" - "github.com/bindoffice/minio/cmd/config/storageclass" - "github.com/bindoffice/minio/cmd/logger" - "github.com/bindoffice/minio/pkg/madmin" - "github.com/bindoffice/minio/pkg/sync/errgroup" - "github.com/bindoffice/minio/pkg/wildcard" + "github.com/bindoffice/bind-store/cmd/config/storageclass" + "github.com/bindoffice/bind-store/cmd/logger" + "github.com/bindoffice/bind-store/pkg/madmin" + "github.com/bindoffice/bind-store/pkg/sync/errgroup" + "github.com/bindoffice/bind-store/pkg/wildcard" ) type erasureServerPools struct { diff --git a/cmd/erasure-sets.go b/cmd/erasure-sets.go index 39cde8c..95475eb 100644 --- a/cmd/erasure-sets.go +++ b/cmd/erasure-sets.go @@ -33,13 +33,13 @@ import ( "github.com/google/uuid" "github.com/minio/minio-go/v7/pkg/set" "github.com/minio/minio-go/v7/pkg/tags" - "github.com/bindoffice/minio/cmd/logger" - "github.com/bindoffice/minio/pkg/bpool" - "github.com/bindoffice/minio/pkg/console" - "github.com/bindoffice/minio/pkg/dsync" - "github.com/bindoffice/minio/pkg/env" - "github.com/bindoffice/minio/pkg/madmin" - "github.com/bindoffice/minio/pkg/sync/errgroup" + "github.com/bindoffice/bind-store/cmd/logger" + "github.com/bindoffice/bind-store/pkg/bpool" + "github.com/bindoffice/bind-store/pkg/console" + "github.com/bindoffice/bind-store/pkg/dsync" + "github.com/bindoffice/bind-store/pkg/env" + "github.com/bindoffice/bind-store/pkg/madmin" + "github.com/bindoffice/bind-store/pkg/sync/errgroup" ) // setsDsyncLockers is encapsulated type for Close() diff --git a/cmd/erasure-utils.go b/cmd/erasure-utils.go index 989e242..e18f783 100644 --- a/cmd/erasure-utils.go +++ b/cmd/erasure-utils.go @@ -23,7 +23,7 @@ import ( "io" "github.com/klauspost/reedsolomon" - "github.com/bindoffice/minio/cmd/logger" + "github.com/bindoffice/bind-store/cmd/logger" ) // getDataBlockLen - get length of data blocks from encoded blocks. diff --git a/cmd/erasure.go b/cmd/erasure.go index b114d2b..b35e2b8 100644 --- a/cmd/erasure.go +++ b/cmd/erasure.go @@ -26,12 +26,12 @@ import ( "sync" "time" - "github.com/bindoffice/minio/cmd/logger" - "github.com/bindoffice/minio/pkg/bpool" - "github.com/bindoffice/minio/pkg/color" - "github.com/bindoffice/minio/pkg/dsync" - "github.com/bindoffice/minio/pkg/madmin" - "github.com/bindoffice/minio/pkg/sync/errgroup" + "github.com/bindoffice/bind-store/cmd/logger" + "github.com/bindoffice/bind-store/pkg/bpool" + "github.com/bindoffice/bind-store/pkg/color" + "github.com/bindoffice/bind-store/pkg/dsync" + "github.com/bindoffice/bind-store/pkg/madmin" + "github.com/bindoffice/bind-store/pkg/sync/errgroup" ) // OfflineDisk represents an unavailable disk. diff --git a/cmd/format-disk-cache.go b/cmd/format-disk-cache.go index bae72b3..b92f6d3 100644 --- a/cmd/format-disk-cache.go +++ b/cmd/format-disk-cache.go @@ -29,7 +29,7 @@ import ( "strings" jsoniter "github.com/json-iterator/go" - "github.com/bindoffice/minio/cmd/logger" + "github.com/bindoffice/bind-store/cmd/logger" "github.com/minio/sio" ) diff --git a/cmd/format-erasure.go b/cmd/format-erasure.go index 542281a..86bcf42 100644 --- a/cmd/format-erasure.go +++ b/cmd/format-erasure.go @@ -28,12 +28,12 @@ import ( "sync" humanize "github.com/dustin/go-humanize" - "github.com/bindoffice/minio/cmd/config" - "github.com/bindoffice/minio/cmd/config/storageclass" - "github.com/bindoffice/minio/cmd/logger" - "github.com/bindoffice/minio/pkg/color" - xioutil "github.com/bindoffice/minio/pkg/ioutil" - "github.com/bindoffice/minio/pkg/sync/errgroup" + "github.com/bindoffice/bind-store/cmd/config" + "github.com/bindoffice/bind-store/cmd/config/storageclass" + "github.com/bindoffice/bind-store/cmd/logger" + "github.com/bindoffice/bind-store/pkg/color" + xioutil "github.com/bindoffice/bind-store/pkg/ioutil" + "github.com/bindoffice/bind-store/pkg/sync/errgroup" ) const ( diff --git a/cmd/format-fs.go b/cmd/format-fs.go index 86c986e..9c348c5 100644 --- a/cmd/format-fs.go +++ b/cmd/format-fs.go @@ -25,9 +25,9 @@ import ( "path" "time" - "github.com/bindoffice/minio/cmd/config" - "github.com/bindoffice/minio/cmd/logger" - "github.com/bindoffice/minio/pkg/lock" + "github.com/bindoffice/bind-store/cmd/config" + "github.com/bindoffice/bind-store/cmd/logger" + "github.com/bindoffice/bind-store/pkg/lock" ) // FS format version strings. diff --git a/cmd/fs-v1-helpers.go b/cmd/fs-v1-helpers.go index 6e7ca32..736f7ff 100644 --- a/cmd/fs-v1-helpers.go +++ b/cmd/fs-v1-helpers.go @@ -24,8 +24,8 @@ import ( "runtime" "strings" - "github.com/bindoffice/minio/cmd/logger" - "github.com/bindoffice/minio/pkg/lock" + "github.com/bindoffice/bind-store/cmd/logger" + "github.com/bindoffice/bind-store/pkg/lock" ) // Removes only the file at given path does not remove @@ -339,7 +339,7 @@ func fsFAllocate(fd int, offset int64, len int64) (err error) { // Ignore errors when Fallocate is not supported in the current system case isSysErrInvalidArg(e): // Workaround for Windows Docker Engine 19.03.8. - // See https://github.com/bindoffice/minio/issues/9726 + // See https://github.com/bindoffice/bind-store/issues/9726 case isSysErrIO(e): err = e default: diff --git a/cmd/fs-v1-helpers_test.go b/cmd/fs-v1-helpers_test.go index 4bd61bb..6770440 100644 --- a/cmd/fs-v1-helpers_test.go +++ b/cmd/fs-v1-helpers_test.go @@ -24,7 +24,7 @@ import ( "path" "testing" - "github.com/bindoffice/minio/pkg/lock" + "github.com/bindoffice/bind-store/pkg/lock" ) func TestFSRenameFile(t *testing.T) { diff --git a/cmd/fs-v1-metadata.go b/cmd/fs-v1-metadata.go index 5ac8c77..09e245b 100644 --- a/cmd/fs-v1-metadata.go +++ b/cmd/fs-v1-metadata.go @@ -28,10 +28,10 @@ import ( "time" jsoniter "github.com/json-iterator/go" - xhttp "github.com/bindoffice/minio/cmd/http" - "github.com/bindoffice/minio/cmd/logger" - "github.com/bindoffice/minio/pkg/lock" - "github.com/bindoffice/minio/pkg/mimedb" + xhttp "github.com/bindoffice/bind-store/cmd/http" + "github.com/bindoffice/bind-store/cmd/logger" + "github.com/bindoffice/bind-store/pkg/lock" + "github.com/bindoffice/bind-store/pkg/mimedb" ) // FS format, and object metadata. diff --git a/cmd/fs-v1-multipart.go b/cmd/fs-v1-multipart.go index 864deeb..2d4b582 100644 --- a/cmd/fs-v1-multipart.go +++ b/cmd/fs-v1-multipart.go @@ -30,9 +30,9 @@ import ( "time" jsoniter "github.com/json-iterator/go" - "github.com/bindoffice/minio/cmd/logger" - xioutil "github.com/bindoffice/minio/pkg/ioutil" - "github.com/bindoffice/minio/pkg/trie" + "github.com/bindoffice/bind-store/cmd/logger" + xioutil "github.com/bindoffice/bind-store/pkg/ioutil" + "github.com/bindoffice/bind-store/pkg/trie" ) // Returns EXPORT/.minio.sys/multipart/SHA256/UPLOADID diff --git a/cmd/fs-v1-rwpool.go b/cmd/fs-v1-rwpool.go index 7d67edf..640d645 100644 --- a/cmd/fs-v1-rwpool.go +++ b/cmd/fs-v1-rwpool.go @@ -21,8 +21,8 @@ import ( pathutil "path" "sync" - "github.com/bindoffice/minio/cmd/logger" - "github.com/bindoffice/minio/pkg/lock" + "github.com/bindoffice/bind-store/cmd/logger" + "github.com/bindoffice/bind-store/pkg/lock" ) // fsIOPool represents a protected list to keep track of all diff --git a/cmd/fs-v1-rwpool_test.go b/cmd/fs-v1-rwpool_test.go index 5eb7dd5..39987ca 100644 --- a/cmd/fs-v1-rwpool_test.go +++ b/cmd/fs-v1-rwpool_test.go @@ -21,7 +21,7 @@ import ( "runtime" "testing" - "github.com/bindoffice/minio/pkg/lock" + "github.com/bindoffice/bind-store/pkg/lock" ) // Tests long path calls. diff --git a/cmd/fs-v1.go b/cmd/fs-v1.go index 9ca3540..3a8032a 100644 --- a/cmd/fs-v1.go +++ b/cmd/fs-v1.go @@ -35,16 +35,16 @@ import ( jsoniter "github.com/json-iterator/go" "github.com/minio/minio-go/v7/pkg/s3utils" "github.com/minio/minio-go/v7/pkg/tags" - "github.com/bindoffice/minio/cmd/config" - xhttp "github.com/bindoffice/minio/cmd/http" - "github.com/bindoffice/minio/cmd/logger" - "github.com/bindoffice/minio/pkg/bucket/policy" - "github.com/bindoffice/minio/pkg/color" - xioutil "github.com/bindoffice/minio/pkg/ioutil" - "github.com/bindoffice/minio/pkg/lock" - "github.com/bindoffice/minio/pkg/madmin" - "github.com/bindoffice/minio/pkg/mimedb" - "github.com/bindoffice/minio/pkg/mountinfo" + "github.com/bindoffice/bind-store/cmd/config" + xhttp "github.com/bindoffice/bind-store/cmd/http" + "github.com/bindoffice/bind-store/cmd/logger" + "github.com/bindoffice/bind-store/pkg/bucket/policy" + "github.com/bindoffice/bind-store/pkg/color" + xioutil "github.com/bindoffice/bind-store/pkg/ioutil" + "github.com/bindoffice/bind-store/pkg/lock" + "github.com/bindoffice/bind-store/pkg/madmin" + "github.com/bindoffice/bind-store/pkg/mimedb" + "github.com/bindoffice/bind-store/pkg/mountinfo" ) // Default etag is used for pre-existing objects. diff --git a/cmd/fs-v1_test.go b/cmd/fs-v1_test.go index ad8ddcd..985d66e 100644 --- a/cmd/fs-v1_test.go +++ b/cmd/fs-v1_test.go @@ -22,7 +22,7 @@ import ( "path/filepath" "testing" - "github.com/bindoffice/minio/pkg/madmin" + "github.com/bindoffice/bind-store/pkg/madmin" ) // Tests for if parent directory is object diff --git a/cmd/gateway-common.go b/cmd/gateway-common.go index 7f7bbfb..9bf0f1c 100644 --- a/cmd/gateway-common.go +++ b/cmd/gateway-common.go @@ -23,12 +23,12 @@ import ( "strings" "time" - "github.com/bindoffice/minio/cmd/config" - xhttp "github.com/bindoffice/minio/cmd/http" - "github.com/bindoffice/minio/cmd/logger" - "github.com/bindoffice/minio/pkg/env" - "github.com/bindoffice/minio/pkg/hash" - xnet "github.com/bindoffice/minio/pkg/net" + "github.com/bindoffice/bind-store/cmd/config" + xhttp "github.com/bindoffice/bind-store/cmd/http" + "github.com/bindoffice/bind-store/cmd/logger" + "github.com/bindoffice/bind-store/pkg/env" + "github.com/bindoffice/bind-store/pkg/hash" + xnet "github.com/bindoffice/bind-store/pkg/net" minio "github.com/minio/minio-go/v7" ) diff --git a/cmd/gateway-interface.go b/cmd/gateway-interface.go index 4681c52..63f93ce 100644 --- a/cmd/gateway-interface.go +++ b/cmd/gateway-interface.go @@ -17,7 +17,7 @@ package cmd import ( - "github.com/bindoffice/minio/pkg/auth" + "github.com/bindoffice/bind-store/pkg/auth" ) // GatewayMinioSysTmp prefix is used in Azure/GCS gateway for save metadata sent by Initialize Multipart Upload API. diff --git a/cmd/gateway-main.go b/cmd/gateway-main.go index ba7c5b4..056c5f5 100644 --- a/cmd/gateway-main.go +++ b/cmd/gateway-main.go @@ -28,11 +28,11 @@ import ( "github.com/gorilla/mux" "github.com/minio/cli" - xhttp "github.com/bindoffice/minio/cmd/http" - "github.com/bindoffice/minio/cmd/logger" - "github.com/bindoffice/minio/pkg/certs" - "github.com/bindoffice/minio/pkg/color" - "github.com/bindoffice/minio/pkg/env" + xhttp "github.com/bindoffice/bind-store/cmd/http" + "github.com/bindoffice/bind-store/cmd/logger" + "github.com/bindoffice/bind-store/pkg/certs" + "github.com/bindoffice/bind-store/pkg/color" + "github.com/bindoffice/bind-store/pkg/env" ) var ( diff --git a/cmd/gateway-startup-msg.go b/cmd/gateway-startup-msg.go index 58b81d6..50bbecc 100644 --- a/cmd/gateway-startup-msg.go +++ b/cmd/gateway-startup-msg.go @@ -20,7 +20,7 @@ import ( "fmt" "strings" - "github.com/bindoffice/minio/pkg/color" + "github.com/bindoffice/bind-store/pkg/color" ) // Prints the formatted startup message. diff --git a/cmd/gateway-unsupported.go b/cmd/gateway-unsupported.go index 74a06e9..4c371bc 100644 --- a/cmd/gateway-unsupported.go +++ b/cmd/gateway-unsupported.go @@ -20,15 +20,15 @@ import ( "context" "errors" - "github.com/bindoffice/minio/cmd/logger" + "github.com/bindoffice/bind-store/cmd/logger" "github.com/minio/minio-go/v7/pkg/tags" - bucketsse "github.com/bindoffice/minio/pkg/bucket/encryption" - "github.com/bindoffice/minio/pkg/bucket/lifecycle" - "github.com/bindoffice/minio/pkg/bucket/policy" - "github.com/bindoffice/minio/pkg/bucket/versioning" + bucketsse "github.com/bindoffice/bind-store/pkg/bucket/encryption" + "github.com/bindoffice/bind-store/pkg/bucket/lifecycle" + "github.com/bindoffice/bind-store/pkg/bucket/policy" + "github.com/bindoffice/bind-store/pkg/bucket/versioning" - "github.com/bindoffice/minio/pkg/madmin" + "github.com/bindoffice/bind-store/pkg/madmin" ) // GatewayUnsupported list of unsupported call stubs for gateway. diff --git a/cmd/gateway/azure/gateway-azure.go b/cmd/gateway/azure/gateway-azure.go index b31a06d..c619642 100644 --- a/cmd/gateway/azure/gateway-azure.go +++ b/cmd/gateway/azure/gateway-azure.go @@ -41,13 +41,13 @@ import ( humanize "github.com/dustin/go-humanize" "github.com/minio/cli" miniogopolicy "github.com/minio/minio-go/v7/pkg/policy" - minio "github.com/bindoffice/minio/cmd" - "github.com/bindoffice/minio/cmd/logger" - "github.com/bindoffice/minio/pkg/auth" - "github.com/bindoffice/minio/pkg/bucket/policy" - "github.com/bindoffice/minio/pkg/bucket/policy/condition" - "github.com/bindoffice/minio/pkg/env" - "github.com/bindoffice/minio/pkg/madmin" + minio "github.com/bindoffice/bind-store/cmd" + "github.com/bindoffice/bind-store/cmd/logger" + "github.com/bindoffice/bind-store/pkg/auth" + "github.com/bindoffice/bind-store/pkg/bucket/policy" + "github.com/bindoffice/bind-store/pkg/bucket/policy/condition" + "github.com/bindoffice/bind-store/pkg/env" + "github.com/bindoffice/bind-store/pkg/madmin" ) const ( @@ -701,7 +701,7 @@ func (a *azureObjects) ListObjects(ctx context.Context, bucket, prefix, marker, // or through the AWS Management Console, and are encrypted by SSE-S3 // or plaintext, have ETags that are an MD5 digest of their object data. // - // Some applications depend on this behavior refer https://github.com/bindoffice/minio/issues/6550 + // Some applications depend on this behavior refer https://github.com/bindoffice/bind-store/issues/6550 // So we handle it here and make this consistent. etag := minio.ToS3ETag(string(blob.Properties.Etag)) switch { @@ -857,7 +857,7 @@ func (a *azureObjects) GetObjectInfo(ctx context.Context, bucket, object string, // or through the AWS Management Console, and are encrypted by SSE-S3 // or plaintext, have ETags that are an MD5 digest of their object data. // - // Some applications depend on this behavior refer https://github.com/bindoffice/minio/issues/6550 + // Some applications depend on this behavior refer https://github.com/bindoffice/bind-store/issues/6550 // So we handle it here and make this consistent. etag := minio.ToS3ETag(realETag) metadata := blob.NewMetadata() diff --git a/cmd/gateway/azure/gateway-azure_test.go b/cmd/gateway/azure/gateway-azure_test.go index ccef5e7..63574ce 100644 --- a/cmd/gateway/azure/gateway-azure_test.go +++ b/cmd/gateway/azure/gateway-azure_test.go @@ -24,7 +24,7 @@ import ( "testing" "github.com/Azure/azure-storage-blob-go/azblob" - minio "github.com/bindoffice/minio/cmd" + minio "github.com/bindoffice/bind-store/cmd" ) func TestParseStorageEndpoint(t *testing.T) { diff --git a/cmd/gateway/gateway.go b/cmd/gateway/gateway.go index fe4e015..2ac5ea6 100644 --- a/cmd/gateway/gateway.go +++ b/cmd/gateway/gateway.go @@ -20,19 +20,19 @@ import ( // Import all gateways please keep the order // NAS - _ "github.com/bindoffice/minio/cmd/gateway/nas" + _ "github.com/bindoffice/bind-store/cmd/gateway/nas" // Azure - _ "github.com/bindoffice/minio/cmd/gateway/azure" + _ "github.com/bindoffice/bind-store/cmd/gateway/azure" // S3 - _ "github.com/bindoffice/minio/cmd/gateway/s3" + _ "github.com/bindoffice/bind-store/cmd/gateway/s3" // HDFS - _ "github.com/bindoffice/minio/cmd/gateway/hdfs" + _ "github.com/bindoffice/bind-store/cmd/gateway/hdfs" // GCS (use only if you must, GCS already supports S3 API) - _ "github.com/bindoffice/minio/cmd/gateway/gcs" + _ "github.com/bindoffice/bind-store/cmd/gateway/gcs" // gateway functionality is frozen, no new gateways are being implemented // or considered for upstream inclusion at this point in time. if needed // please keep a fork of the project. diff --git a/cmd/gateway/gcs/gateway-gcs.go b/cmd/gateway/gcs/gateway-gcs.go index f23f02b..0e01306 100644 --- a/cmd/gateway/gcs/gateway-gcs.go +++ b/cmd/gateway/gcs/gateway-gcs.go @@ -38,13 +38,13 @@ import ( humanize "github.com/dustin/go-humanize" "github.com/minio/cli" miniogopolicy "github.com/minio/minio-go/v7/pkg/policy" - minio "github.com/bindoffice/minio/cmd" - "github.com/bindoffice/minio/cmd/logger" - "github.com/bindoffice/minio/pkg/auth" - "github.com/bindoffice/minio/pkg/bucket/policy" - "github.com/bindoffice/minio/pkg/bucket/policy/condition" - "github.com/bindoffice/minio/pkg/env" - "github.com/bindoffice/minio/pkg/madmin" + minio "github.com/bindoffice/bind-store/cmd" + "github.com/bindoffice/bind-store/cmd/logger" + "github.com/bindoffice/bind-store/pkg/auth" + "github.com/bindoffice/bind-store/pkg/bucket/policy" + "github.com/bindoffice/bind-store/pkg/bucket/policy/condition" + "github.com/bindoffice/bind-store/pkg/env" + "github.com/bindoffice/bind-store/pkg/madmin" "google.golang.org/api/googleapi" "google.golang.org/api/iterator" "google.golang.org/api/option" diff --git a/cmd/gateway/gcs/gateway-gcs_test.go b/cmd/gateway/gcs/gateway-gcs_test.go index 1847633..91614e5 100644 --- a/cmd/gateway/gcs/gateway-gcs_test.go +++ b/cmd/gateway/gcs/gateway-gcs_test.go @@ -29,7 +29,7 @@ import ( "google.golang.org/api/googleapi" miniogo "github.com/minio/minio-go/v7" - minio "github.com/bindoffice/minio/cmd" + minio "github.com/bindoffice/bind-store/cmd" ) func TestToGCSPageToken(t *testing.T) { diff --git a/cmd/gateway/hdfs/gateway-hdfs-utils.go b/cmd/gateway/hdfs/gateway-hdfs-utils.go index 739d608..68adb1e 100644 --- a/cmd/gateway/hdfs/gateway-hdfs-utils.go +++ b/cmd/gateway/hdfs/gateway-hdfs-utils.go @@ -20,7 +20,7 @@ import ( "strings" "github.com/minio/minio-go/v7/pkg/s3utils" - minio "github.com/bindoffice/minio/cmd" + minio "github.com/bindoffice/bind-store/cmd" ) const ( diff --git a/cmd/gateway/hdfs/gateway-hdfs.go b/cmd/gateway/hdfs/gateway-hdfs.go index 2fbe388..6ae66d7 100644 --- a/cmd/gateway/hdfs/gateway-hdfs.go +++ b/cmd/gateway/hdfs/gateway-hdfs.go @@ -39,12 +39,12 @@ import ( "github.com/jcmturner/gokrb5/v8/keytab" "github.com/minio/cli" "github.com/minio/minio-go/v7/pkg/s3utils" - minio "github.com/bindoffice/minio/cmd" - "github.com/bindoffice/minio/cmd/logger" - "github.com/bindoffice/minio/pkg/auth" - "github.com/bindoffice/minio/pkg/env" - "github.com/bindoffice/minio/pkg/madmin" - xnet "github.com/bindoffice/minio/pkg/net" + minio "github.com/bindoffice/bind-store/cmd" + "github.com/bindoffice/bind-store/cmd/logger" + "github.com/bindoffice/bind-store/pkg/auth" + "github.com/bindoffice/bind-store/pkg/env" + "github.com/bindoffice/bind-store/pkg/madmin" + xnet "github.com/bindoffice/bind-store/pkg/net" ) const ( diff --git a/cmd/gateway/nas/gateway-nas.go b/cmd/gateway/nas/gateway-nas.go index da2b59b..b3a587f 100644 --- a/cmd/gateway/nas/gateway-nas.go +++ b/cmd/gateway/nas/gateway-nas.go @@ -20,9 +20,9 @@ import ( "context" "github.com/minio/cli" - minio "github.com/bindoffice/minio/cmd" - "github.com/bindoffice/minio/pkg/auth" - "github.com/bindoffice/minio/pkg/madmin" + minio "github.com/bindoffice/bind-store/cmd" + "github.com/bindoffice/bind-store/pkg/auth" + "github.com/bindoffice/bind-store/pkg/madmin" ) func init() { diff --git a/cmd/gateway/s3/gateway-s3-metadata.go b/cmd/gateway/s3/gateway-s3-metadata.go index f0a4953..d46e9ad 100644 --- a/cmd/gateway/s3/gateway-s3-metadata.go +++ b/cmd/gateway/s3/gateway-s3-metadata.go @@ -25,9 +25,9 @@ import ( "time" jsoniter "github.com/json-iterator/go" - minio "github.com/bindoffice/minio/cmd" - "github.com/bindoffice/minio/cmd/logger" - "github.com/bindoffice/minio/pkg/hash" + minio "github.com/bindoffice/bind-store/cmd" + "github.com/bindoffice/bind-store/cmd/logger" + "github.com/bindoffice/bind-store/pkg/hash" ) var ( diff --git a/cmd/gateway/s3/gateway-s3-metadata_test.go b/cmd/gateway/s3/gateway-s3-metadata_test.go index 35d7209..2a8c0f0 100644 --- a/cmd/gateway/s3/gateway-s3-metadata_test.go +++ b/cmd/gateway/s3/gateway-s3-metadata_test.go @@ -20,7 +20,7 @@ import ( "bytes" "testing" - minio "github.com/bindoffice/minio/cmd" + minio "github.com/bindoffice/bind-store/cmd" ) // Tests for GW metadata format validity. diff --git a/cmd/gateway/s3/gateway-s3-sse.go b/cmd/gateway/s3/gateway-s3-sse.go index 7295476..2d1af04 100644 --- a/cmd/gateway/s3/gateway-s3-sse.go +++ b/cmd/gateway/s3/gateway-s3-sse.go @@ -27,9 +27,9 @@ import ( "time" "github.com/minio/minio-go/v7/pkg/encrypt" - minio "github.com/bindoffice/minio/cmd" + minio "github.com/bindoffice/bind-store/cmd" - "github.com/bindoffice/minio/cmd/logger" + "github.com/bindoffice/bind-store/cmd/logger" ) const ( diff --git a/cmd/gateway/s3/gateway-s3-utils.go b/cmd/gateway/s3/gateway-s3-utils.go index 4a48dda..ba1e364 100644 --- a/cmd/gateway/s3/gateway-s3-utils.go +++ b/cmd/gateway/s3/gateway-s3-utils.go @@ -17,7 +17,7 @@ package s3 import ( - minio "github.com/bindoffice/minio/cmd" + minio "github.com/bindoffice/bind-store/cmd" ) // List of header keys to be filtered, usually diff --git a/cmd/gateway/s3/gateway-s3.go b/cmd/gateway/s3/gateway-s3.go index 87cd135..4b510b8 100644 --- a/cmd/gateway/s3/gateway-s3.go +++ b/cmd/gateway/s3/gateway-s3.go @@ -32,12 +32,12 @@ import ( "github.com/minio/minio-go/v7/pkg/encrypt" "github.com/minio/minio-go/v7/pkg/s3utils" "github.com/minio/minio-go/v7/pkg/tags" - minio "github.com/bindoffice/minio/cmd" - xhttp "github.com/bindoffice/minio/cmd/http" - "github.com/bindoffice/minio/cmd/logger" - "github.com/bindoffice/minio/pkg/auth" - "github.com/bindoffice/minio/pkg/bucket/policy" - "github.com/bindoffice/minio/pkg/madmin" + minio "github.com/bindoffice/bind-store/cmd" + xhttp "github.com/bindoffice/bind-store/cmd/http" + "github.com/bindoffice/bind-store/cmd/logger" + "github.com/bindoffice/bind-store/pkg/auth" + "github.com/bindoffice/bind-store/pkg/bucket/policy" + "github.com/bindoffice/bind-store/pkg/madmin" ) func init() { diff --git a/cmd/gateway/s3/gateway-s3_test.go b/cmd/gateway/s3/gateway-s3_test.go index 2457858..612c56c 100644 --- a/cmd/gateway/s3/gateway-s3_test.go +++ b/cmd/gateway/s3/gateway-s3_test.go @@ -21,9 +21,9 @@ import ( "testing" miniogo "github.com/minio/minio-go/v7" - "github.com/bindoffice/minio/pkg/hash" + "github.com/bindoffice/bind-store/pkg/hash" - minio "github.com/bindoffice/minio/cmd" + minio "github.com/bindoffice/bind-store/cmd" ) func errResponse(code string) miniogo.ErrorResponse { diff --git a/cmd/generic-handlers.go b/cmd/generic-handlers.go index 5934368..4945149 100644 --- a/cmd/generic-handlers.go +++ b/cmd/generic-handlers.go @@ -26,11 +26,11 @@ import ( "github.com/minio/minio-go/v7/pkg/set" humanize "github.com/dustin/go-humanize" - "github.com/bindoffice/minio/cmd/config/dns" - "github.com/bindoffice/minio/cmd/crypto" - xhttp "github.com/bindoffice/minio/cmd/http" - "github.com/bindoffice/minio/cmd/http/stats" - "github.com/bindoffice/minio/cmd/logger" + "github.com/bindoffice/bind-store/cmd/config/dns" + "github.com/bindoffice/bind-store/cmd/crypto" + xhttp "github.com/bindoffice/bind-store/cmd/http" + "github.com/bindoffice/bind-store/cmd/http/stats" + "github.com/bindoffice/bind-store/cmd/logger" ) // Adds limiting body size middleware diff --git a/cmd/generic-handlers_test.go b/cmd/generic-handlers_test.go index 624eef6..ed4745f 100644 --- a/cmd/generic-handlers_test.go +++ b/cmd/generic-handlers_test.go @@ -23,8 +23,8 @@ import ( "strconv" "testing" - "github.com/bindoffice/minio/cmd/crypto" - xhttp "github.com/bindoffice/minio/cmd/http" + "github.com/bindoffice/bind-store/cmd/crypto" + xhttp "github.com/bindoffice/bind-store/cmd/http" ) // Tests getRedirectLocation function for all its criteria. diff --git a/cmd/global-heal.go b/cmd/global-heal.go index ba4b1f9..7d8ab7b 100644 --- a/cmd/global-heal.go +++ b/cmd/global-heal.go @@ -23,11 +23,11 @@ import ( "sort" "time" - "github.com/bindoffice/minio/cmd/logger" - "github.com/bindoffice/minio/pkg/color" - "github.com/bindoffice/minio/pkg/console" - "github.com/bindoffice/minio/pkg/madmin" - "github.com/bindoffice/minio/pkg/wildcard" + "github.com/bindoffice/bind-store/cmd/logger" + "github.com/bindoffice/bind-store/pkg/color" + "github.com/bindoffice/bind-store/pkg/console" + "github.com/bindoffice/bind-store/pkg/madmin" + "github.com/bindoffice/bind-store/pkg/wildcard" ) const ( diff --git a/cmd/globals.go b/cmd/globals.go index bcc9d58..dfc1b64 100644 --- a/cmd/globals.go +++ b/cmd/globals.go @@ -25,25 +25,25 @@ import ( "time" "github.com/minio/minio-go/v7/pkg/set" - "github.com/bindoffice/minio/pkg/bucket/bandwidth" - "github.com/bindoffice/minio/pkg/handlers" - "github.com/bindoffice/minio/pkg/kms" + "github.com/bindoffice/bind-store/pkg/bucket/bandwidth" + "github.com/bindoffice/bind-store/pkg/handlers" + "github.com/bindoffice/bind-store/pkg/kms" "github.com/dustin/go-humanize" - "github.com/bindoffice/minio/cmd/config/cache" - "github.com/bindoffice/minio/cmd/config/compress" - "github.com/bindoffice/minio/cmd/config/dns" - xldap "github.com/bindoffice/minio/cmd/config/identity/ldap" - "github.com/bindoffice/minio/cmd/config/identity/openid" - "github.com/bindoffice/minio/cmd/config/policy/opa" - "github.com/bindoffice/minio/cmd/config/storageclass" - xhttp "github.com/bindoffice/minio/cmd/http" - "github.com/bindoffice/minio/pkg/auth" + "github.com/bindoffice/bind-store/cmd/config/cache" + "github.com/bindoffice/bind-store/cmd/config/compress" + "github.com/bindoffice/bind-store/cmd/config/dns" + xldap "github.com/bindoffice/bind-store/cmd/config/identity/ldap" + "github.com/bindoffice/bind-store/cmd/config/identity/openid" + "github.com/bindoffice/bind-store/cmd/config/policy/opa" + "github.com/bindoffice/bind-store/cmd/config/storageclass" + xhttp "github.com/bindoffice/bind-store/cmd/http" + "github.com/bindoffice/bind-store/pkg/auth" etcd "go.etcd.io/etcd/client/v3" - "github.com/bindoffice/minio/pkg/certs" - "github.com/bindoffice/minio/pkg/event" - "github.com/bindoffice/minio/pkg/pubsub" + "github.com/bindoffice/bind-store/pkg/certs" + "github.com/bindoffice/bind-store/pkg/event" + "github.com/bindoffice/bind-store/pkg/pubsub" ) // minio configuration related constants. diff --git a/cmd/handler-api.go b/cmd/handler-api.go index 544bf6d..d1a2f68 100644 --- a/cmd/handler-api.go +++ b/cmd/handler-api.go @@ -21,9 +21,9 @@ import ( "sync" "time" - "github.com/bindoffice/minio/cmd/config/api" - "github.com/bindoffice/minio/cmd/logger" - "github.com/bindoffice/minio/pkg/sys" + "github.com/bindoffice/bind-store/cmd/config/api" + "github.com/bindoffice/bind-store/cmd/logger" + "github.com/bindoffice/bind-store/pkg/sys" ) type apiConfig struct { diff --git a/cmd/handler-utils.go b/cmd/handler-utils.go index 09047d2..2731b26 100644 --- a/cmd/handler-utils.go +++ b/cmd/handler-utils.go @@ -31,11 +31,11 @@ import ( "regexp" "strings" - xhttp "github.com/bindoffice/minio/cmd/http" - "github.com/bindoffice/minio/cmd/logger" - "github.com/bindoffice/minio/pkg/auth" - "github.com/bindoffice/minio/pkg/handlers" - "github.com/bindoffice/minio/pkg/madmin" + xhttp "github.com/bindoffice/bind-store/cmd/http" + "github.com/bindoffice/bind-store/cmd/logger" + "github.com/bindoffice/bind-store/pkg/auth" + "github.com/bindoffice/bind-store/pkg/handlers" + "github.com/bindoffice/bind-store/pkg/madmin" ) const ( diff --git a/cmd/handler-utils_test.go b/cmd/handler-utils_test.go index f9033e9..83d6936 100644 --- a/cmd/handler-utils_test.go +++ b/cmd/handler-utils_test.go @@ -28,7 +28,7 @@ import ( "strings" "testing" - "github.com/bindoffice/minio/cmd/config" + "github.com/bindoffice/bind-store/cmd/config" ) // Tests validate bucket LocationConstraint. diff --git a/cmd/healthcheck-handler.go b/cmd/healthcheck-handler.go index d40d78d..bd2a0dc 100644 --- a/cmd/healthcheck-handler.go +++ b/cmd/healthcheck-handler.go @@ -21,7 +21,7 @@ import ( "net/http" "strconv" - xhttp "github.com/bindoffice/minio/cmd/http" + xhttp "github.com/bindoffice/bind-store/cmd/http" ) const unavailable = "offline" diff --git a/cmd/healthinfo.go b/cmd/healthinfo.go index bf44df1..7c68a07 100644 --- a/cmd/healthinfo.go +++ b/cmd/healthinfo.go @@ -25,8 +25,8 @@ import ( "sync" "syscall" - "github.com/bindoffice/minio/pkg/disk" - "github.com/bindoffice/minio/pkg/madmin" + "github.com/bindoffice/bind-store/pkg/disk" + "github.com/bindoffice/bind-store/pkg/madmin" cpuhw "github.com/shirou/gopsutil/v3/cpu" memhw "github.com/shirou/gopsutil/v3/mem" "github.com/shirou/gopsutil/v3/process" diff --git a/cmd/healthinfo_linux.go b/cmd/healthinfo_linux.go index 529ec5e..7564c3b 100644 --- a/cmd/healthinfo_linux.go +++ b/cmd/healthinfo_linux.go @@ -25,8 +25,8 @@ import ( "net/http" "strings" - "github.com/bindoffice/minio/pkg/madmin" - "github.com/bindoffice/minio/pkg/smart" + "github.com/bindoffice/bind-store/pkg/madmin" + "github.com/bindoffice/bind-store/pkg/smart" diskhw "github.com/shirou/gopsutil/v3/disk" "github.com/shirou/gopsutil/v3/host" ) diff --git a/cmd/healthinfo_nonlinux.go b/cmd/healthinfo_nonlinux.go index 415b362..2b86365 100644 --- a/cmd/healthinfo_nonlinux.go +++ b/cmd/healthinfo_nonlinux.go @@ -24,7 +24,7 @@ import ( "net/http" "runtime" - "github.com/bindoffice/minio/pkg/madmin" + "github.com/bindoffice/bind-store/pkg/madmin" ) func getLocalDiskHwInfo(ctx context.Context, r *http.Request) madmin.ServerDiskHwInfo { diff --git a/cmd/http-stats.go b/cmd/http-stats.go index 3a08b6b..f361154 100644 --- a/cmd/http-stats.go +++ b/cmd/http-stats.go @@ -22,7 +22,7 @@ import ( "sync" "sync/atomic" - "github.com/bindoffice/minio/cmd/logger" + "github.com/bindoffice/bind-store/cmd/logger" "github.com/prometheus/client_golang/prometheus" ) diff --git a/cmd/http-tracer.go b/cmd/http-tracer.go index 0c8ebae..42cc40f 100644 --- a/cmd/http-tracer.go +++ b/cmd/http-tracer.go @@ -30,10 +30,10 @@ import ( "time" "github.com/gorilla/mux" - "github.com/bindoffice/minio/cmd/logger" - "github.com/bindoffice/minio/pkg/handlers" - jsonrpc "github.com/bindoffice/minio/pkg/rpc" - trace "github.com/bindoffice/minio/pkg/trace" + "github.com/bindoffice/bind-store/cmd/logger" + "github.com/bindoffice/bind-store/pkg/handlers" + jsonrpc "github.com/bindoffice/bind-store/pkg/rpc" + trace "github.com/bindoffice/bind-store/pkg/trace" ) // recordRequest - records the first recLen bytes @@ -94,7 +94,7 @@ func redactLDAPPwd(s string) string { // getOpName sanitizes the operation name for mc func getOpName(name string) (op string) { - op = strings.TrimPrefix(name, "github.com/bindoffice/minio/cmd.") + op = strings.TrimPrefix(name, "github.com/bindoffice/bind-store/cmd.") op = strings.TrimSuffix(op, "Handler-fm") op = strings.Replace(op, "objectAPIHandlers", "s3", 1) op = strings.Replace(op, "adminAPIHandlers", "admin", 1) diff --git a/cmd/http/server.go b/cmd/http/server.go index 3ff4f29..d97f0f3 100644 --- a/cmd/http/server.go +++ b/cmd/http/server.go @@ -29,11 +29,11 @@ import ( humanize "github.com/dustin/go-humanize" "github.com/minio/minio-go/v7/pkg/set" - "github.com/bindoffice/minio/cmd/config" - "github.com/bindoffice/minio/cmd/config/api" - "github.com/bindoffice/minio/pkg/certs" - "github.com/bindoffice/minio/pkg/env" - "github.com/bindoffice/minio/pkg/fips" + "github.com/bindoffice/bind-store/cmd/config" + "github.com/bindoffice/bind-store/cmd/config/api" + "github.com/bindoffice/bind-store/pkg/certs" + "github.com/bindoffice/bind-store/pkg/env" + "github.com/bindoffice/bind-store/pkg/fips" ) const ( diff --git a/cmd/http/server_test.go b/cmd/http/server_test.go index 5b90ef5..f7de2a5 100644 --- a/cmd/http/server_test.go +++ b/cmd/http/server_test.go @@ -22,7 +22,7 @@ import ( "reflect" "testing" - "github.com/bindoffice/minio/pkg/certs" + "github.com/bindoffice/bind-store/pkg/certs" ) func TestNewServer(t *testing.T) { diff --git a/cmd/iam-etcd-store.go b/cmd/iam-etcd-store.go index 997249c..3d61c48 100644 --- a/cmd/iam-etcd-store.go +++ b/cmd/iam-etcd-store.go @@ -29,10 +29,10 @@ import ( jwtgo "github.com/golang-jwt/jwt/v4" "github.com/minio/minio-go/v7/pkg/set" - "github.com/bindoffice/minio/cmd/logger" - "github.com/bindoffice/minio/pkg/auth" - iampolicy "github.com/bindoffice/minio/pkg/iam/policy" - "github.com/bindoffice/minio/pkg/madmin" + "github.com/bindoffice/bind-store/cmd/logger" + "github.com/bindoffice/bind-store/pkg/auth" + iampolicy "github.com/bindoffice/bind-store/pkg/iam/policy" + "github.com/bindoffice/bind-store/pkg/madmin" etcd "go.etcd.io/etcd/client/v3" "go.etcd.io/etcd/api/v3/mvccpb" ) diff --git a/cmd/iam-object-store.go b/cmd/iam-object-store.go index 9ca0883..fe5c290 100644 --- a/cmd/iam-object-store.go +++ b/cmd/iam-object-store.go @@ -29,10 +29,10 @@ import ( jwtgo "github.com/golang-jwt/jwt/v4" - "github.com/bindoffice/minio/cmd/logger" - "github.com/bindoffice/minio/pkg/auth" - iampolicy "github.com/bindoffice/minio/pkg/iam/policy" - "github.com/bindoffice/minio/pkg/madmin" + "github.com/bindoffice/bind-store/cmd/logger" + "github.com/bindoffice/bind-store/pkg/auth" + iampolicy "github.com/bindoffice/bind-store/pkg/iam/policy" + "github.com/bindoffice/bind-store/pkg/madmin" ) // IAMObjectStore implements IAMStorageAPI diff --git a/cmd/iam.go b/cmd/iam.go index 1f71f47..70728d0 100644 --- a/cmd/iam.go +++ b/cmd/iam.go @@ -30,10 +30,10 @@ import ( humanize "github.com/dustin/go-humanize" "github.com/minio/minio-go/v7/pkg/set" - "github.com/bindoffice/minio/cmd/logger" - "github.com/bindoffice/minio/pkg/auth" - iampolicy "github.com/bindoffice/minio/pkg/iam/policy" - "github.com/bindoffice/minio/pkg/madmin" + "github.com/bindoffice/bind-store/cmd/logger" + "github.com/bindoffice/bind-store/pkg/auth" + iampolicy "github.com/bindoffice/bind-store/pkg/iam/policy" + "github.com/bindoffice/bind-store/pkg/madmin" ) // UsersSysType - defines the type of users and groups system that is @@ -503,7 +503,7 @@ func (sys *IAMSys) Load(ctx context.Context, store IAMStorageAPI) error { } // Merge the new reloaded entries into global map. - // See issue https://github.com/bindoffice/minio/issues/9651 + // See issue https://github.com/bindoffice/bind-store/issues/9651 // where the present list of entries on disk are not yet // latest, there is a small window where this can make // valid users invalid. diff --git a/cmd/jwt.go b/cmd/jwt.go index 9900301..97d5e33 100644 --- a/cmd/jwt.go +++ b/cmd/jwt.go @@ -23,9 +23,9 @@ import ( jwtgo "github.com/golang-jwt/jwt/v4" jwtreq "github.com/golang-jwt/jwt/v4/request" - xjwt "github.com/bindoffice/minio/cmd/jwt" - "github.com/bindoffice/minio/cmd/logger" - "github.com/bindoffice/minio/pkg/auth" + xjwt "github.com/bindoffice/bind-store/cmd/jwt" + "github.com/bindoffice/bind-store/cmd/logger" + "github.com/bindoffice/bind-store/pkg/auth" ) const ( diff --git a/cmd/jwt_test.go b/cmd/jwt_test.go index 3f69761..40c16ac 100644 --- a/cmd/jwt_test.go +++ b/cmd/jwt_test.go @@ -21,8 +21,8 @@ import ( "os" "testing" - xjwt "github.com/bindoffice/minio/cmd/jwt" - "github.com/bindoffice/minio/pkg/auth" + xjwt "github.com/bindoffice/bind-store/cmd/jwt" + "github.com/bindoffice/bind-store/pkg/auth" ) func testAuthenticate(authType string, t *testing.T) { diff --git a/cmd/listen-notification-handlers.go b/cmd/listen-notification-handlers.go index 88a0d28..0c02ed0 100644 --- a/cmd/listen-notification-handlers.go +++ b/cmd/listen-notification-handlers.go @@ -22,9 +22,9 @@ import ( "time" "github.com/gorilla/mux" - "github.com/bindoffice/minio/cmd/logger" - policy "github.com/bindoffice/minio/pkg/bucket/policy" - "github.com/bindoffice/minio/pkg/event" + "github.com/bindoffice/bind-store/cmd/logger" + policy "github.com/bindoffice/bind-store/pkg/bucket/policy" + "github.com/bindoffice/bind-store/pkg/event" ) func (api objectAPIHandlers) ListenNotificationHandler(w http.ResponseWriter, r *http.Request) { diff --git a/cmd/local-locker.go b/cmd/local-locker.go index ab13102..c1a234b 100644 --- a/cmd/local-locker.go +++ b/cmd/local-locker.go @@ -22,7 +22,7 @@ import ( "sync" "time" - "github.com/bindoffice/minio/pkg/dsync" + "github.com/bindoffice/bind-store/pkg/dsync" ) // lockRequesterInfo stores various info from the client for each lock that is requested. diff --git a/cmd/lock-rest-client.go b/cmd/lock-rest-client.go index 9aa2cfe..ab87897 100644 --- a/cmd/lock-rest-client.go +++ b/cmd/lock-rest-client.go @@ -23,10 +23,10 @@ import ( "net/url" "strconv" - "github.com/bindoffice/minio/cmd/http" - xhttp "github.com/bindoffice/minio/cmd/http" - "github.com/bindoffice/minio/cmd/rest" - "github.com/bindoffice/minio/pkg/dsync" + "github.com/bindoffice/bind-store/cmd/http" + xhttp "github.com/bindoffice/bind-store/cmd/http" + "github.com/bindoffice/bind-store/cmd/rest" + "github.com/bindoffice/bind-store/pkg/dsync" ) // lockRESTClient is authenticable lock REST client diff --git a/cmd/lock-rest-client_test.go b/cmd/lock-rest-client_test.go index 007839c..85abbfd 100644 --- a/cmd/lock-rest-client_test.go +++ b/cmd/lock-rest-client_test.go @@ -20,7 +20,7 @@ import ( "context" "testing" - "github.com/bindoffice/minio/pkg/dsync" + "github.com/bindoffice/bind-store/pkg/dsync" ) // Tests lock rpc client. diff --git a/cmd/lock-rest-server-common_test.go b/cmd/lock-rest-server-common_test.go index fcb1c24..053d1d8 100644 --- a/cmd/lock-rest-server-common_test.go +++ b/cmd/lock-rest-server-common_test.go @@ -22,7 +22,7 @@ import ( "sync" "testing" - "github.com/bindoffice/minio/pkg/dsync" + "github.com/bindoffice/bind-store/pkg/dsync" ) // Helper function to create a lock server for testing diff --git a/cmd/lock-rest-server.go b/cmd/lock-rest-server.go index be36c0d..d0def36 100644 --- a/cmd/lock-rest-server.go +++ b/cmd/lock-rest-server.go @@ -26,7 +26,7 @@ import ( "time" "github.com/gorilla/mux" - "github.com/bindoffice/minio/pkg/dsync" + "github.com/bindoffice/bind-store/pkg/dsync" ) const ( diff --git a/cmd/logger/audit.go b/cmd/logger/audit.go index 35bfd6d..a41c09a 100644 --- a/cmd/logger/audit.go +++ b/cmd/logger/audit.go @@ -25,7 +25,7 @@ import ( "strconv" "time" - "github.com/bindoffice/minio/cmd/logger/message/audit" + "github.com/bindoffice/bind-store/cmd/logger/message/audit" ) // ResponseWriter - is a wrapper to trap the http response status code. diff --git a/cmd/logger/config.go b/cmd/logger/config.go index 712cb52..46f63ed 100644 --- a/cmd/logger/config.go +++ b/cmd/logger/config.go @@ -19,8 +19,8 @@ package logger import ( "strings" - "github.com/bindoffice/minio/cmd/config" - "github.com/bindoffice/minio/pkg/env" + "github.com/bindoffice/bind-store/cmd/config" + "github.com/bindoffice/bind-store/pkg/env" ) // Console logger target diff --git a/cmd/logger/console.go b/cmd/logger/console.go index e7320b6..be4c8af 100644 --- a/cmd/logger/console.go +++ b/cmd/logger/console.go @@ -23,9 +23,9 @@ import ( "strings" "time" - "github.com/bindoffice/minio/cmd/logger/message/log" - "github.com/bindoffice/minio/pkg/color" - c "github.com/bindoffice/minio/pkg/console" + "github.com/bindoffice/bind-store/cmd/logger/message/log" + "github.com/bindoffice/bind-store/pkg/color" + c "github.com/bindoffice/bind-store/pkg/console" ) // Logger interface describes the methods that need to be implemented to satisfy the interface requirements. diff --git a/cmd/logger/help.go b/cmd/logger/help.go index ce91ed9..78cf518 100644 --- a/cmd/logger/help.go +++ b/cmd/logger/help.go @@ -17,7 +17,7 @@ package logger import ( - "github.com/bindoffice/minio/cmd/config" + "github.com/bindoffice/bind-store/cmd/config" ) // Help template for logger http and audit diff --git a/cmd/logger/legacy.go b/cmd/logger/legacy.go index 5821f9f..09af22f 100644 --- a/cmd/logger/legacy.go +++ b/cmd/logger/legacy.go @@ -16,7 +16,7 @@ package logger -import "github.com/bindoffice/minio/cmd/config" +import "github.com/bindoffice/bind-store/cmd/config" // Legacy envs const ( diff --git a/cmd/logger/logger.go b/cmd/logger/logger.go index e93f297..945b6e4 100644 --- a/cmd/logger/logger.go +++ b/cmd/logger/logger.go @@ -32,7 +32,7 @@ import ( "github.com/minio/highwayhash" "github.com/minio/minio-go/v7/pkg/set" - "github.com/bindoffice/minio/cmd/logger/message/log" + "github.com/bindoffice/bind-store/cmd/logger/message/log" ) var ( @@ -202,9 +202,9 @@ func Init(goPath string, goRoot string) { // Remove duplicate entries. trimStrings = uniqueEntries(trimStrings) - // Add "github.com/bindoffice/minio" as the last to cover - // paths like "{GOROOT}/src/github.com/bindoffice/minio" - // and "{GOPATH}/src/github.com/bindoffice/minio" + // Add "github.com/bindoffice/bind-store" as the last to cover + // paths like "{GOROOT}/src/github.com/bindoffice/bind-store" + // and "{GOPATH}/src/github.com/bindoffice/bind-store" trimStrings = append(trimStrings, filepath.Join("github.com", "minio", "minio")+string(filepath.Separator)) loggerHighwayHasher, _ = highwayhash.New(magicHighwayHash256Key) // New will never return error since key is 256 bit diff --git a/cmd/logger/message/audit/entry.go b/cmd/logger/message/audit/entry.go index 754d117..dbda372 100644 --- a/cmd/logger/message/audit/entry.go +++ b/cmd/logger/message/audit/entry.go @@ -21,8 +21,8 @@ import ( "strings" "time" - xhttp "github.com/bindoffice/minio/cmd/http" - "github.com/bindoffice/minio/pkg/handlers" + xhttp "github.com/bindoffice/bind-store/cmd/http" + "github.com/bindoffice/bind-store/pkg/handlers" ) // Version - represents the current version of audit log structure. diff --git a/cmd/logger/target/console/console.go b/cmd/logger/target/console/console.go index 2890589..58a7d41 100644 --- a/cmd/logger/target/console/console.go +++ b/cmd/logger/target/console/console.go @@ -22,10 +22,10 @@ import ( "strings" "time" - "github.com/bindoffice/minio/cmd/logger" - "github.com/bindoffice/minio/cmd/logger/message/log" - "github.com/bindoffice/minio/pkg/color" - "github.com/bindoffice/minio/pkg/console" + "github.com/bindoffice/bind-store/cmd/logger" + "github.com/bindoffice/bind-store/cmd/logger/message/log" + "github.com/bindoffice/bind-store/pkg/color" + "github.com/bindoffice/bind-store/pkg/console" ) // Target implements loggerTarget to send log diff --git a/cmd/logger/target/http/http.go b/cmd/logger/target/http/http.go index 0d0d38d..540b27f 100644 --- a/cmd/logger/target/http/http.go +++ b/cmd/logger/target/http/http.go @@ -26,8 +26,8 @@ import ( "strings" "time" - xhttp "github.com/bindoffice/minio/cmd/http" - "github.com/bindoffice/minio/cmd/logger" + xhttp "github.com/bindoffice/bind-store/cmd/http" + "github.com/bindoffice/bind-store/cmd/logger" ) // Target implements logger.Target and sends the json diff --git a/cmd/logger/utils.go b/cmd/logger/utils.go index 8e37374..ff3d30f 100644 --- a/cmd/logger/utils.go +++ b/cmd/logger/utils.go @@ -21,7 +21,7 @@ import ( "regexp" "runtime" - "github.com/bindoffice/minio/pkg/color" + "github.com/bindoffice/bind-store/pkg/color" ) var ansiRE = regexp.MustCompile("(\x1b[^m]*m)") diff --git a/cmd/main.go b/cmd/main.go index 0913146..341e00e 100644 --- a/cmd/main.go +++ b/cmd/main.go @@ -22,9 +22,9 @@ import ( "sort" "github.com/minio/cli" - "github.com/bindoffice/minio/pkg/console" - "github.com/bindoffice/minio/pkg/trie" - "github.com/bindoffice/minio/pkg/words" + "github.com/bindoffice/bind-store/pkg/console" + "github.com/bindoffice/bind-store/pkg/trie" + "github.com/bindoffice/bind-store/pkg/words" ) // GlobalFlags - global flags for minio. @@ -138,11 +138,11 @@ func newApp(name string) *cli.App { app.Usage = "High Performance Object Storage" app.Description = `Build high performance data infrastructure for machine learning, analytics and application data workloads with MinIO` app.Flags = GlobalFlags - app.HideHelpCommand = true // Hide `help, h` command, we already have `minio --help`. + app.HideHelpCommand = true // Hide `help, h` command, we already have `bind-store --help`. app.Commands = commands app.CustomAppHelpTemplate = minioHelpTemplate app.CommandNotFound = func(ctx *cli.Context, command string) { - console.Printf("‘%s’ is not a minio sub-command. See ‘minio --help’.\n", command) + console.Printf("‘%s’ is not a bind-store sub-command. See ‘bind-store --help’.\n", command) closestCommands := findClosestCommands(command) if len(closestCommands) > 0 { console.Println() diff --git a/cmd/metacache-bucket.go b/cmd/metacache-bucket.go index 728935a..9fa5286 100644 --- a/cmd/metacache-bucket.go +++ b/cmd/metacache-bucket.go @@ -30,9 +30,9 @@ import ( "time" "github.com/klauspost/compress/s2" - "github.com/bindoffice/minio/cmd/logger" - "github.com/bindoffice/minio/pkg/console" - "github.com/bindoffice/minio/pkg/hash" + "github.com/bindoffice/bind-store/cmd/logger" + "github.com/bindoffice/bind-store/pkg/console" + "github.com/bindoffice/bind-store/pkg/hash" "github.com/tinylib/msgp/msgp" ) diff --git a/cmd/metacache-manager.go b/cmd/metacache-manager.go index 92313fb..893012a 100644 --- a/cmd/metacache-manager.go +++ b/cmd/metacache-manager.go @@ -23,7 +23,7 @@ import ( "sync" "time" - "github.com/bindoffice/minio/cmd/logger" + "github.com/bindoffice/bind-store/cmd/logger" ) // localMetacacheMgr is the *local* manager for this peer. diff --git a/cmd/metacache-marker.go b/cmd/metacache-marker.go index db73055..e5c9ca2 100644 --- a/cmd/metacache-marker.go +++ b/cmd/metacache-marker.go @@ -21,7 +21,7 @@ import ( "fmt" "strings" - "github.com/bindoffice/minio/cmd/logger" + "github.com/bindoffice/bind-store/cmd/logger" ) // markerTagVersion is the marker version. diff --git a/cmd/metacache-server-pool.go b/cmd/metacache-server-pool.go index eaf3413..105ac60 100644 --- a/cmd/metacache-server-pool.go +++ b/cmd/metacache-server-pool.go @@ -28,7 +28,7 @@ import ( "sync" "time" - "github.com/bindoffice/minio/cmd/logger" + "github.com/bindoffice/bind-store/cmd/logger" ) func renameAllBucketMetacache(epPath string) error { diff --git a/cmd/metacache-set.go b/cmd/metacache-set.go index 516d612..939d22a 100644 --- a/cmd/metacache-set.go +++ b/cmd/metacache-set.go @@ -30,10 +30,10 @@ import ( "time" jsoniter "github.com/json-iterator/go" - "github.com/bindoffice/minio/cmd/logger" - "github.com/bindoffice/minio/pkg/color" - "github.com/bindoffice/minio/pkg/console" - "github.com/bindoffice/minio/pkg/hash" + "github.com/bindoffice/bind-store/cmd/logger" + "github.com/bindoffice/bind-store/pkg/color" + "github.com/bindoffice/bind-store/pkg/console" + "github.com/bindoffice/bind-store/pkg/hash" ) type listPathOptions struct { diff --git a/cmd/metacache-stream.go b/cmd/metacache-stream.go index 26faf2a..359e407 100644 --- a/cmd/metacache-stream.go +++ b/cmd/metacache-stream.go @@ -27,7 +27,7 @@ import ( jsoniter "github.com/json-iterator/go" "github.com/klauspost/compress/s2" - "github.com/bindoffice/minio/cmd/logger" + "github.com/bindoffice/bind-store/cmd/logger" "github.com/tinylib/msgp/msgp" ) diff --git a/cmd/metacache-walk.go b/cmd/metacache-walk.go index 2f1b5a9..96bf67e 100644 --- a/cmd/metacache-walk.go +++ b/cmd/metacache-walk.go @@ -27,8 +27,8 @@ import ( "strings" "github.com/gorilla/mux" - "github.com/bindoffice/minio/cmd/logger" - xioutil "github.com/bindoffice/minio/pkg/ioutil" + "github.com/bindoffice/bind-store/cmd/logger" + xioutil "github.com/bindoffice/bind-store/pkg/ioutil" ) // WalkDirOptions provides options for WalkDir operations. diff --git a/cmd/metacache.go b/cmd/metacache.go index fe380e1..57c40b1 100644 --- a/cmd/metacache.go +++ b/cmd/metacache.go @@ -24,7 +24,7 @@ import ( "strings" "time" - "github.com/bindoffice/minio/cmd/logger" + "github.com/bindoffice/bind-store/cmd/logger" ) type scanStatus uint8 diff --git a/cmd/metrics-v2.go b/cmd/metrics-v2.go index c029a27..c58e9e7 100644 --- a/cmd/metrics-v2.go +++ b/cmd/metrics-v2.go @@ -25,7 +25,7 @@ import ( "sync" "time" - "github.com/bindoffice/minio/cmd/logger" + "github.com/bindoffice/bind-store/cmd/logger" "github.com/prometheus/client_golang/prometheus" "github.com/prometheus/client_golang/prometheus/promhttp" dto "github.com/prometheus/client_model/go" diff --git a/cmd/metrics.go b/cmd/metrics.go index 9888f5d..669f642 100644 --- a/cmd/metrics.go +++ b/cmd/metrics.go @@ -22,8 +22,8 @@ import ( "sync/atomic" "time" - "github.com/bindoffice/minio/cmd/logger" - "github.com/bindoffice/minio/pkg/madmin" + "github.com/bindoffice/bind-store/cmd/logger" + "github.com/bindoffice/bind-store/pkg/madmin" "github.com/prometheus/client_golang/prometheus" "github.com/prometheus/client_golang/prometheus/promhttp" ) diff --git a/cmd/minio-amd64 b/cmd/minio-amd64 new file mode 100644 index 0000000..ecf2520 Binary files /dev/null and b/cmd/minio-amd64 differ diff --git a/cmd/minio-arm64 b/cmd/minio-arm64 new file mode 100644 index 0000000..8a4709d Binary files /dev/null and b/cmd/minio-arm64 differ diff --git a/cmd/namespace-lock.go b/cmd/namespace-lock.go index 85d97ba..48d7d9f 100644 --- a/cmd/namespace-lock.go +++ b/cmd/namespace-lock.go @@ -28,9 +28,9 @@ import ( "fmt" "time" - "github.com/bindoffice/minio/cmd/logger" - "github.com/bindoffice/minio/pkg/dsync" - "github.com/bindoffice/minio/pkg/lsync" + "github.com/bindoffice/bind-store/cmd/logger" + "github.com/bindoffice/bind-store/pkg/dsync" + "github.com/bindoffice/bind-store/pkg/lsync" ) // local lock servers @@ -272,7 +272,7 @@ func getSource(n int) string { if ok { filename = pathutil.Base(filename) funcName = strings.TrimPrefix(runtime.FuncForPC(pc).Name(), - "github.com/bindoffice/minio/cmd.") + "github.com/bindoffice/bind-store/cmd.") } else { filename = "" lineNum = 0 diff --git a/cmd/net.go b/cmd/net.go index 379c831..9088ed7 100644 --- a/cmd/net.go +++ b/cmd/net.go @@ -25,9 +25,9 @@ import ( "strings" "github.com/minio/minio-go/v7/pkg/set" - "github.com/bindoffice/minio/cmd/config" - "github.com/bindoffice/minio/cmd/logger" - xnet "github.com/bindoffice/minio/pkg/net" + "github.com/bindoffice/bind-store/cmd/config" + "github.com/bindoffice/bind-store/cmd/logger" + xnet "github.com/bindoffice/bind-store/pkg/net" ) // IPv4 addresses of local host. diff --git a/cmd/notification-summary.go b/cmd/notification-summary.go index 1b92c68..97ff541 100644 --- a/cmd/notification-summary.go +++ b/cmd/notification-summary.go @@ -18,7 +18,7 @@ package cmd import ( - "github.com/bindoffice/minio/pkg/madmin" + "github.com/bindoffice/bind-store/pkg/madmin" ) // GetTotalCapacity gets the total capacity in the cluster. diff --git a/cmd/notification.go b/cmd/notification.go index aafb15e..8139564 100644 --- a/cmd/notification.go +++ b/cmd/notification.go @@ -33,16 +33,16 @@ import ( "github.com/cespare/xxhash/v2" "github.com/klauspost/compress/zip" "github.com/minio/minio-go/v7/pkg/set" - "github.com/bindoffice/minio/cmd/crypto" - xhttp "github.com/bindoffice/minio/cmd/http" - "github.com/bindoffice/minio/cmd/logger" - bandwidth "github.com/bindoffice/minio/pkg/bandwidth" - bucketBandwidth "github.com/bindoffice/minio/pkg/bucket/bandwidth" - "github.com/bindoffice/minio/pkg/bucket/policy" - "github.com/bindoffice/minio/pkg/event" - "github.com/bindoffice/minio/pkg/madmin" - xnet "github.com/bindoffice/minio/pkg/net" - "github.com/bindoffice/minio/pkg/sync/errgroup" + "github.com/bindoffice/bind-store/cmd/crypto" + xhttp "github.com/bindoffice/bind-store/cmd/http" + "github.com/bindoffice/bind-store/cmd/logger" + bandwidth "github.com/bindoffice/bind-store/pkg/bandwidth" + bucketBandwidth "github.com/bindoffice/bind-store/pkg/bucket/bandwidth" + "github.com/bindoffice/bind-store/pkg/bucket/policy" + "github.com/bindoffice/bind-store/pkg/event" + "github.com/bindoffice/bind-store/pkg/madmin" + xnet "github.com/bindoffice/bind-store/pkg/net" + "github.com/bindoffice/bind-store/pkg/sync/errgroup" "github.com/willf/bloom" ) diff --git a/cmd/object-api-common.go b/cmd/object-api-common.go index 8228910..ecfb937 100644 --- a/cmd/object-api-common.go +++ b/cmd/object-api-common.go @@ -22,7 +22,7 @@ import ( "sync" humanize "github.com/dustin/go-humanize" - "github.com/bindoffice/minio/pkg/sync/errgroup" + "github.com/bindoffice/bind-store/pkg/sync/errgroup" ) const ( diff --git a/cmd/object-api-datatypes.go b/cmd/object-api-datatypes.go index fef8970..68f0dd7 100644 --- a/cmd/object-api-datatypes.go +++ b/cmd/object-api-datatypes.go @@ -22,9 +22,9 @@ import ( "time" humanize "github.com/dustin/go-humanize" - "github.com/bindoffice/minio/pkg/bucket/replication" - "github.com/bindoffice/minio/pkg/hash" - "github.com/bindoffice/minio/pkg/madmin" + "github.com/bindoffice/bind-store/pkg/bucket/replication" + "github.com/bindoffice/bind-store/pkg/hash" + "github.com/bindoffice/bind-store/pkg/madmin" ) // BackendType - represents different backend types. diff --git a/cmd/object-api-input-checks.go b/cmd/object-api-input-checks.go index 8e9b188..6b7e8d0 100644 --- a/cmd/object-api-input-checks.go +++ b/cmd/object-api-input-checks.go @@ -23,7 +23,7 @@ import ( "github.com/google/uuid" "github.com/minio/minio-go/v7/pkg/s3utils" - "github.com/bindoffice/minio/cmd/logger" + "github.com/bindoffice/bind-store/cmd/logger" ) // Checks on GetObject arguments, bucket and object. diff --git a/cmd/object-api-interface.go b/cmd/object-api-interface.go index 3d35f32..a22e0c3 100644 --- a/cmd/object-api-interface.go +++ b/cmd/object-api-interface.go @@ -24,8 +24,8 @@ import ( "github.com/minio/minio-go/v7/pkg/encrypt" "github.com/minio/minio-go/v7/pkg/tags" - "github.com/bindoffice/minio/pkg/bucket/policy" - "github.com/bindoffice/minio/pkg/madmin" + "github.com/bindoffice/bind-store/pkg/bucket/policy" + "github.com/bindoffice/bind-store/pkg/madmin" ) // CheckPreconditionFn returns true if precondition check failed. diff --git a/cmd/object-api-multipart_test.go b/cmd/object-api-multipart_test.go index 2b648e0..9dd6070 100644 --- a/cmd/object-api-multipart_test.go +++ b/cmd/object-api-multipart_test.go @@ -25,7 +25,7 @@ import ( "testing" humanize "github.com/dustin/go-humanize" - "github.com/bindoffice/minio/pkg/hash" + "github.com/bindoffice/bind-store/pkg/hash" ) // Wrapper for calling NewMultipartUpload tests for both Erasure multiple disks and single node setup. diff --git a/cmd/object-api-options.go b/cmd/object-api-options.go index b792214..67e541f 100644 --- a/cmd/object-api-options.go +++ b/cmd/object-api-options.go @@ -26,9 +26,9 @@ import ( "github.com/google/uuid" "github.com/minio/minio-go/v7/pkg/encrypt" - "github.com/bindoffice/minio/cmd/crypto" - xhttp "github.com/bindoffice/minio/cmd/http" - "github.com/bindoffice/minio/cmd/logger" + "github.com/bindoffice/bind-store/cmd/crypto" + xhttp "github.com/bindoffice/bind-store/cmd/http" + "github.com/bindoffice/bind-store/cmd/logger" ) // set encryption options for pass through to backend in the case of gateway and UserDefined metadata diff --git a/cmd/object-api-putobject_test.go b/cmd/object-api-putobject_test.go index 1788e08..2cc137d 100644 --- a/cmd/object-api-putobject_test.go +++ b/cmd/object-api-putobject_test.go @@ -28,7 +28,7 @@ import ( "testing" humanize "github.com/dustin/go-humanize" - "github.com/bindoffice/minio/pkg/hash" + "github.com/bindoffice/bind-store/pkg/hash" ) func md5Header(data []byte) map[string]string { diff --git a/cmd/object-api-utils.go b/cmd/object-api-utils.go index ba628da..021bb00 100644 --- a/cmd/object-api-utils.go +++ b/cmd/object-api-utils.go @@ -38,17 +38,17 @@ import ( "github.com/klauspost/compress/s2" "github.com/klauspost/readahead" "github.com/minio/minio-go/v7/pkg/s3utils" - "github.com/bindoffice/minio/cmd/config/compress" - "github.com/bindoffice/minio/cmd/config/dns" - "github.com/bindoffice/minio/cmd/config/storageclass" - "github.com/bindoffice/minio/cmd/crypto" - xhttp "github.com/bindoffice/minio/cmd/http" - "github.com/bindoffice/minio/cmd/logger" - "github.com/bindoffice/minio/pkg/bucket/lifecycle" - "github.com/bindoffice/minio/pkg/hash" - "github.com/bindoffice/minio/pkg/ioutil" - "github.com/bindoffice/minio/pkg/trie" - "github.com/bindoffice/minio/pkg/wildcard" + "github.com/bindoffice/bind-store/cmd/config/compress" + "github.com/bindoffice/bind-store/cmd/config/dns" + "github.com/bindoffice/bind-store/cmd/config/storageclass" + "github.com/bindoffice/bind-store/cmd/crypto" + xhttp "github.com/bindoffice/bind-store/cmd/http" + "github.com/bindoffice/bind-store/cmd/logger" + "github.com/bindoffice/bind-store/pkg/bucket/lifecycle" + "github.com/bindoffice/bind-store/pkg/hash" + "github.com/bindoffice/bind-store/pkg/ioutil" + "github.com/bindoffice/bind-store/pkg/trie" + "github.com/bindoffice/bind-store/pkg/wildcard" ) const ( diff --git a/cmd/object-api-utils_test.go b/cmd/object-api-utils_test.go index 28f151a..80b627c 100644 --- a/cmd/object-api-utils_test.go +++ b/cmd/object-api-utils_test.go @@ -26,9 +26,9 @@ import ( "testing" "github.com/klauspost/compress/s2" - "github.com/bindoffice/minio/cmd/config/compress" - "github.com/bindoffice/minio/cmd/crypto" - "github.com/bindoffice/minio/pkg/trie" + "github.com/bindoffice/bind-store/cmd/config/compress" + "github.com/bindoffice/bind-store/cmd/crypto" + "github.com/bindoffice/bind-store/pkg/trie" ) // Tests validate bucket name. diff --git a/cmd/object-handlers-common.go b/cmd/object-handlers-common.go index bcc0493..c8aeba7 100644 --- a/cmd/object-handlers-common.go +++ b/cmd/object-handlers-common.go @@ -24,8 +24,8 @@ import ( "strconv" "time" - xhttp "github.com/bindoffice/minio/cmd/http" - "github.com/bindoffice/minio/pkg/bucket/lifecycle" + xhttp "github.com/bindoffice/bind-store/cmd/http" + "github.com/bindoffice/bind-store/pkg/bucket/lifecycle" ) var ( diff --git a/cmd/object-handlers.go b/cmd/object-handlers.go index df7f905..fc47442 100644 --- a/cmd/object-handlers.go +++ b/cmd/object-handlers.go @@ -39,24 +39,24 @@ import ( "github.com/minio/minio-go/v7/pkg/credentials" "github.com/minio/minio-go/v7/pkg/encrypt" "github.com/minio/minio-go/v7/pkg/tags" - "github.com/bindoffice/minio/cmd/config/dns" - "github.com/bindoffice/minio/cmd/config/storageclass" - "github.com/bindoffice/minio/cmd/crypto" - xhttp "github.com/bindoffice/minio/cmd/http" - "github.com/bindoffice/minio/cmd/logger" - "github.com/bindoffice/minio/pkg/bucket/lifecycle" - objectlock "github.com/bindoffice/minio/pkg/bucket/object/lock" - "github.com/bindoffice/minio/pkg/bucket/policy" - "github.com/bindoffice/minio/pkg/bucket/replication" - "github.com/bindoffice/minio/pkg/etag" - "github.com/bindoffice/minio/pkg/event" - "github.com/bindoffice/minio/pkg/fips" - "github.com/bindoffice/minio/pkg/handlers" - "github.com/bindoffice/minio/pkg/hash" - iampolicy "github.com/bindoffice/minio/pkg/iam/policy" - "github.com/bindoffice/minio/pkg/ioutil" - xnet "github.com/bindoffice/minio/pkg/net" - "github.com/bindoffice/minio/pkg/s3select" + "github.com/bindoffice/bind-store/cmd/config/dns" + "github.com/bindoffice/bind-store/cmd/config/storageclass" + "github.com/bindoffice/bind-store/cmd/crypto" + xhttp "github.com/bindoffice/bind-store/cmd/http" + "github.com/bindoffice/bind-store/cmd/logger" + "github.com/bindoffice/bind-store/pkg/bucket/lifecycle" + objectlock "github.com/bindoffice/bind-store/pkg/bucket/object/lock" + "github.com/bindoffice/bind-store/pkg/bucket/policy" + "github.com/bindoffice/bind-store/pkg/bucket/replication" + "github.com/bindoffice/bind-store/pkg/etag" + "github.com/bindoffice/bind-store/pkg/event" + "github.com/bindoffice/bind-store/pkg/fips" + "github.com/bindoffice/bind-store/pkg/handlers" + "github.com/bindoffice/bind-store/pkg/hash" + iampolicy "github.com/bindoffice/bind-store/pkg/iam/policy" + "github.com/bindoffice/bind-store/pkg/ioutil" + xnet "github.com/bindoffice/bind-store/pkg/net" + "github.com/bindoffice/bind-store/pkg/s3select" "github.com/minio/sio" ) diff --git a/cmd/object-handlers_test.go b/cmd/object-handlers_test.go index f855441..addafcd 100644 --- a/cmd/object-handlers_test.go +++ b/cmd/object-handlers_test.go @@ -37,9 +37,9 @@ import ( "testing" humanize "github.com/dustin/go-humanize" - xhttp "github.com/bindoffice/minio/cmd/http" - "github.com/bindoffice/minio/pkg/auth" - ioutilx "github.com/bindoffice/minio/pkg/ioutil" + xhttp "github.com/bindoffice/bind-store/cmd/http" + "github.com/bindoffice/bind-store/pkg/auth" + ioutilx "github.com/bindoffice/bind-store/pkg/ioutil" ) // Type to capture different modifications to API request to simulate failure cases. diff --git a/cmd/object_api_suite_test.go b/cmd/object_api_suite_test.go index 3277d86..31565af 100644 --- a/cmd/object_api_suite_test.go +++ b/cmd/object_api_suite_test.go @@ -26,7 +26,7 @@ import ( "testing" "github.com/dustin/go-humanize" - "github.com/bindoffice/minio/cmd/crypto" + "github.com/bindoffice/bind-store/cmd/crypto" ) // Return pointer to testOneByteReadEOF{} diff --git a/cmd/os-instrumented.go b/cmd/os-instrumented.go index 16ab724..5d1a2df 100644 --- a/cmd/os-instrumented.go +++ b/cmd/os-instrumented.go @@ -21,8 +21,8 @@ import ( "strings" "time" - "github.com/bindoffice/minio/pkg/disk" - trace "github.com/bindoffice/minio/pkg/trace" + "github.com/bindoffice/bind-store/pkg/disk" + trace "github.com/bindoffice/bind-store/pkg/trace" ) //go:generate stringer -type=osMetric -trimprefix=osMetric $GOFILE diff --git a/cmd/peer-rest-client.go b/cmd/peer-rest-client.go index 60c733e..dcc863c 100644 --- a/cmd/peer-rest-client.go +++ b/cmd/peer-rest-client.go @@ -32,15 +32,15 @@ import ( "time" "github.com/dustin/go-humanize" - "github.com/bindoffice/minio/cmd/http" - xhttp "github.com/bindoffice/minio/cmd/http" - "github.com/bindoffice/minio/cmd/logger" - "github.com/bindoffice/minio/cmd/rest" - "github.com/bindoffice/minio/pkg/bandwidth" - "github.com/bindoffice/minio/pkg/event" - "github.com/bindoffice/minio/pkg/madmin" - xnet "github.com/bindoffice/minio/pkg/net" - "github.com/bindoffice/minio/pkg/trace" + "github.com/bindoffice/bind-store/cmd/http" + xhttp "github.com/bindoffice/bind-store/cmd/http" + "github.com/bindoffice/bind-store/cmd/logger" + "github.com/bindoffice/bind-store/cmd/rest" + "github.com/bindoffice/bind-store/pkg/bandwidth" + "github.com/bindoffice/bind-store/pkg/event" + "github.com/bindoffice/bind-store/pkg/madmin" + xnet "github.com/bindoffice/bind-store/pkg/net" + "github.com/bindoffice/bind-store/pkg/trace" "github.com/tinylib/msgp/msgp" ) diff --git a/cmd/peer-rest-server.go b/cmd/peer-rest-server.go index 4852ca1..b1933db 100644 --- a/cmd/peer-rest-server.go +++ b/cmd/peer-rest-server.go @@ -29,11 +29,11 @@ import ( "time" "github.com/gorilla/mux" - "github.com/bindoffice/minio/cmd/logger" - b "github.com/bindoffice/minio/pkg/bucket/bandwidth" - "github.com/bindoffice/minio/pkg/event" - "github.com/bindoffice/minio/pkg/madmin" - trace "github.com/bindoffice/minio/pkg/trace" + "github.com/bindoffice/bind-store/cmd/logger" + b "github.com/bindoffice/bind-store/pkg/bucket/bandwidth" + "github.com/bindoffice/bind-store/pkg/event" + "github.com/bindoffice/bind-store/pkg/madmin" + trace "github.com/bindoffice/bind-store/pkg/trace" "github.com/tinylib/msgp/msgp" ) diff --git a/cmd/policy_test.go b/cmd/policy_test.go index 647fbee..cf24fda 100644 --- a/cmd/policy_test.go +++ b/cmd/policy_test.go @@ -22,8 +22,8 @@ import ( miniogopolicy "github.com/minio/minio-go/v7/pkg/policy" "github.com/minio/minio-go/v7/pkg/set" - "github.com/bindoffice/minio/pkg/bucket/policy" - "github.com/bindoffice/minio/pkg/bucket/policy/condition" + "github.com/bindoffice/bind-store/pkg/bucket/policy" + "github.com/bindoffice/bind-store/pkg/bucket/policy/condition" ) func TestPolicySysIsAllowed(t *testing.T) { diff --git a/cmd/prepare-storage.go b/cmd/prepare-storage.go index e7068e4..7ccbe4e 100644 --- a/cmd/prepare-storage.go +++ b/cmd/prepare-storage.go @@ -28,9 +28,9 @@ import ( "time" "github.com/dustin/go-humanize" - xhttp "github.com/bindoffice/minio/cmd/http" - "github.com/bindoffice/minio/cmd/logger" - "github.com/bindoffice/minio/pkg/sync/errgroup" + xhttp "github.com/bindoffice/bind-store/cmd/http" + "github.com/bindoffice/bind-store/cmd/logger" + "github.com/bindoffice/bind-store/pkg/sync/errgroup" ) var printEndpointError = func() func(Endpoint, error, bool) { @@ -152,7 +152,7 @@ func formatErasureCleanupTmpLocalEndpoints(endpoints Endpoints) error { // migration failed to capture '.This' field properly which indicates // the disk UUID association. Below error message is returned when // we see this situation in format.json, for more info refer -// https://github.com/bindoffice/minio/issues/5667 +// https://github.com/bindoffice/bind-store/issues/5667 var errErasureV3ThisEmpty = fmt.Errorf("Erasure format version 3 has This field empty") // isServerResolvable - checks if the endpoint is resolvable @@ -289,7 +289,7 @@ func connectLoadInitFormats(retryCount int, firstDisk bool, endpoints Endpoints, // in release RELEASE.2018-03-16T22-52-12Z after migrating v1 to v2 to v3. // This migration failed to capture '.This' field properly which indicates // the disk UUID association. Below function is called to handle and fix - // this regression, for more info refer https://github.com/bindoffice/minio/issues/5667 + // this regression, for more info refer https://github.com/bindoffice/bind-store/issues/5667 if err = fixFormatErasureV3(storageDisks, endpoints, formatConfigs); err != nil { return nil, nil, err } diff --git a/cmd/production-security.go b/cmd/production-security.go index eb5a393..05aba5d 100644 --- a/cmd/production-security.go +++ b/cmd/production-security.go @@ -19,11 +19,11 @@ package cmd import ( "net" - "github.com/bindoffice/minio/cmd/config" - "github.com/bindoffice/minio/cmd/logger" - "github.com/bindoffice/minio/pkg/auth" - "github.com/bindoffice/minio/pkg/env" - xnet "github.com/bindoffice/minio/pkg/net" + "github.com/bindoffice/bind-store/cmd/config" + "github.com/bindoffice/bind-store/cmd/logger" + "github.com/bindoffice/bind-store/pkg/auth" + "github.com/bindoffice/bind-store/pkg/env" + xnet "github.com/bindoffice/bind-store/pkg/net" ) // isWildcardListenAddr reports whether serverAddr listens on every local interface diff --git a/cmd/production-security_test.go b/cmd/production-security_test.go index 0048433..76b14fe 100644 --- a/cmd/production-security_test.go +++ b/cmd/production-security_test.go @@ -19,8 +19,8 @@ package cmd import ( "testing" - "github.com/bindoffice/minio/cmd/config" - "github.com/bindoffice/minio/pkg/auth" + "github.com/bindoffice/bind-store/cmd/config" + "github.com/bindoffice/bind-store/pkg/auth" ) func TestIsWildcardListenAddr(t *testing.T) { diff --git a/cmd/rest/client.go b/cmd/rest/client.go index 52b9f32..a6df700 100644 --- a/cmd/rest/client.go +++ b/cmd/rest/client.go @@ -28,9 +28,9 @@ import ( "sync/atomic" "time" - xhttp "github.com/bindoffice/minio/cmd/http" - "github.com/bindoffice/minio/cmd/logger" - xnet "github.com/bindoffice/minio/pkg/net" + xhttp "github.com/bindoffice/bind-store/cmd/http" + "github.com/bindoffice/bind-store/cmd/logger" + xnet "github.com/bindoffice/bind-store/pkg/net" ) // DefaultTimeout - default REST timeout is 10 seconds. diff --git a/cmd/server-main.go b/cmd/server-main.go index 04369a0..17334ef 100644 --- a/cmd/server-main.go +++ b/cmd/server-main.go @@ -31,16 +31,16 @@ import ( "time" "github.com/minio/cli" - "github.com/bindoffice/minio/cmd/config" - xhttp "github.com/bindoffice/minio/cmd/http" - "github.com/bindoffice/minio/cmd/logger" - "github.com/bindoffice/minio/cmd/rest" - "github.com/bindoffice/minio/pkg/bucket/bandwidth" - "github.com/bindoffice/minio/pkg/certs" - "github.com/bindoffice/minio/pkg/env" - "github.com/bindoffice/minio/pkg/fips" - "github.com/bindoffice/minio/pkg/madmin" - "github.com/bindoffice/minio/pkg/sync/errgroup" + "github.com/bindoffice/bind-store/cmd/config" + xhttp "github.com/bindoffice/bind-store/cmd/http" + "github.com/bindoffice/bind-store/cmd/logger" + "github.com/bindoffice/bind-store/cmd/rest" + "github.com/bindoffice/bind-store/pkg/bucket/bandwidth" + "github.com/bindoffice/bind-store/pkg/certs" + "github.com/bindoffice/bind-store/pkg/env" + "github.com/bindoffice/bind-store/pkg/fips" + "github.com/bindoffice/bind-store/pkg/madmin" + "github.com/bindoffice/bind-store/pkg/sync/errgroup" ) // ServerFlags - server command specific flags diff --git a/cmd/server-rlimit.go b/cmd/server-rlimit.go index 44ae745..aaec78d 100644 --- a/cmd/server-rlimit.go +++ b/cmd/server-rlimit.go @@ -19,7 +19,7 @@ package cmd import ( "runtime/debug" - "github.com/bindoffice/minio/pkg/sys" + "github.com/bindoffice/bind-store/pkg/sys" ) func setMaxResources() (err error) { diff --git a/cmd/server-startup-msg.go b/cmd/server-startup-msg.go index fa6c5cf..f40a970 100644 --- a/cmd/server-startup-msg.go +++ b/cmd/server-startup-msg.go @@ -24,11 +24,11 @@ import ( "strings" humanize "github.com/dustin/go-humanize" - "github.com/bindoffice/minio/cmd/config" - "github.com/bindoffice/minio/cmd/logger" - color "github.com/bindoffice/minio/pkg/color" - "github.com/bindoffice/minio/pkg/madmin" - xnet "github.com/bindoffice/minio/pkg/net" + "github.com/bindoffice/bind-store/cmd/config" + "github.com/bindoffice/bind-store/cmd/logger" + color "github.com/bindoffice/bind-store/pkg/color" + "github.com/bindoffice/bind-store/pkg/madmin" + xnet "github.com/bindoffice/bind-store/pkg/net" ) // Documentation links, these are part of message printing code. diff --git a/cmd/server-startup-msg_test.go b/cmd/server-startup-msg_test.go index bc18a63..9cb0578 100644 --- a/cmd/server-startup-msg_test.go +++ b/cmd/server-startup-msg_test.go @@ -22,7 +22,7 @@ import ( "strings" "testing" - "github.com/bindoffice/minio/pkg/madmin" + "github.com/bindoffice/bind-store/pkg/madmin" ) // Tests if we generate storage info. diff --git a/cmd/server_test.go b/cmd/server_test.go index f92cddf..e69c130 100644 --- a/cmd/server_test.go +++ b/cmd/server_test.go @@ -33,8 +33,8 @@ import ( humanize "github.com/dustin/go-humanize" "github.com/minio/minio-go/v7/pkg/set" - xhttp "github.com/bindoffice/minio/cmd/http" - "github.com/bindoffice/minio/pkg/bucket/policy" + xhttp "github.com/bindoffice/bind-store/cmd/http" + "github.com/bindoffice/bind-store/pkg/bucket/policy" ) // API suite container common to both FS and Erasure. diff --git a/cmd/signals.go b/cmd/signals.go index 87629c1..1ad9d37 100644 --- a/cmd/signals.go +++ b/cmd/signals.go @@ -23,7 +23,7 @@ import ( "os" "strings" - "github.com/bindoffice/minio/cmd/logger" + "github.com/bindoffice/bind-store/cmd/logger" ) func handleSignals() { diff --git a/cmd/signature-v2.go b/cmd/signature-v2.go index 2422487..b818bd7 100644 --- a/cmd/signature-v2.go +++ b/cmd/signature-v2.go @@ -28,9 +28,9 @@ import ( "strconv" "strings" - xhttp "github.com/bindoffice/minio/cmd/http" + xhttp "github.com/bindoffice/bind-store/cmd/http" - "github.com/bindoffice/minio/pkg/auth" + "github.com/bindoffice/bind-store/pkg/auth" ) // Whitelist resource list that will be used in query string for signature-V2 calculation. diff --git a/cmd/signature-v4-parser.go b/cmd/signature-v4-parser.go index d8bb406..57d46d3 100644 --- a/cmd/signature-v4-parser.go +++ b/cmd/signature-v4-parser.go @@ -22,8 +22,8 @@ import ( "strings" "time" - xhttp "github.com/bindoffice/minio/cmd/http" - "github.com/bindoffice/minio/pkg/auth" + xhttp "github.com/bindoffice/bind-store/cmd/http" + "github.com/bindoffice/bind-store/pkg/auth" ) // credentialHeader data type represents structured form of Credential diff --git a/cmd/signature-v4-utils.go b/cmd/signature-v4-utils.go index 93089f4..bf5f824 100644 --- a/cmd/signature-v4-utils.go +++ b/cmd/signature-v4-utils.go @@ -27,9 +27,9 @@ import ( "strconv" "strings" - xhttp "github.com/bindoffice/minio/cmd/http" - "github.com/bindoffice/minio/cmd/logger" - "github.com/bindoffice/minio/pkg/auth" + xhttp "github.com/bindoffice/bind-store/cmd/http" + "github.com/bindoffice/bind-store/cmd/logger" + "github.com/bindoffice/bind-store/pkg/auth" ) // http Header "x-amz-content-sha256" == "UNSIGNED-PAYLOAD" indicates that the diff --git a/cmd/signature-v4-utils_test.go b/cmd/signature-v4-utils_test.go index 289157a..e602fac 100644 --- a/cmd/signature-v4-utils_test.go +++ b/cmd/signature-v4-utils_test.go @@ -20,7 +20,7 @@ import ( "net/http" "testing" - xhttp "github.com/bindoffice/minio/cmd/http" + xhttp "github.com/bindoffice/bind-store/cmd/http" ) // TestSkipContentSha256Cksum - Test validate the logic which decides whether diff --git a/cmd/signature-v4.go b/cmd/signature-v4.go index e5335b2..4888c70 100644 --- a/cmd/signature-v4.go +++ b/cmd/signature-v4.go @@ -38,8 +38,8 @@ import ( "github.com/minio/minio-go/v7/pkg/s3utils" "github.com/minio/minio-go/v7/pkg/set" - xhttp "github.com/bindoffice/minio/cmd/http" - "github.com/bindoffice/minio/pkg/auth" + xhttp "github.com/bindoffice/bind-store/cmd/http" + "github.com/bindoffice/bind-store/pkg/auth" ) // AWS Signature Version '4' constants. diff --git a/cmd/storage-errors.go b/cmd/storage-errors.go index c30ebd4..b9959fa 100644 --- a/cmd/storage-errors.go +++ b/cmd/storage-errors.go @@ -19,7 +19,7 @@ package cmd import "errors" // errUnexpected - unexpected error, requires manual intervention. -var errUnexpected = StorageErr("unexpected error, please report this issue at https://github.com/bindoffice/minio/issues") +var errUnexpected = StorageErr("unexpected error, please report this issue at https://github.com/bindoffice/bind-store/issues") // errCorruptedFormat - corrupted backend format. var errCorruptedFormat = StorageErr("corrupted backend format, specified disk mount has unexpected previous content") diff --git a/cmd/storage-rest-client.go b/cmd/storage-rest-client.go index dae2d40..691d5be 100644 --- a/cmd/storage-rest-client.go +++ b/cmd/storage-rest-client.go @@ -31,11 +31,11 @@ import ( "sync" "time" - "github.com/bindoffice/minio/cmd/http" - xhttp "github.com/bindoffice/minio/cmd/http" - "github.com/bindoffice/minio/cmd/logger" - "github.com/bindoffice/minio/cmd/rest" - xnet "github.com/bindoffice/minio/pkg/net" + "github.com/bindoffice/bind-store/cmd/http" + xhttp "github.com/bindoffice/bind-store/cmd/http" + "github.com/bindoffice/bind-store/cmd/logger" + "github.com/bindoffice/bind-store/cmd/rest" + xnet "github.com/bindoffice/bind-store/pkg/net" xbufio "github.com/philhofer/fwd" "github.com/tinylib/msgp/msgp" ) diff --git a/cmd/storage-rest-server.go b/cmd/storage-rest-server.go index 5f44320..865540e 100644 --- a/cmd/storage-rest-server.go +++ b/cmd/storage-rest-server.go @@ -36,11 +36,11 @@ import ( jwtreq "github.com/golang-jwt/jwt/v4/request" "github.com/gorilla/mux" - "github.com/bindoffice/minio/cmd/config" - xhttp "github.com/bindoffice/minio/cmd/http" - xjwt "github.com/bindoffice/minio/cmd/jwt" - "github.com/bindoffice/minio/cmd/logger" - xnet "github.com/bindoffice/minio/pkg/net" + "github.com/bindoffice/bind-store/cmd/config" + xhttp "github.com/bindoffice/bind-store/cmd/http" + xjwt "github.com/bindoffice/bind-store/cmd/jwt" + "github.com/bindoffice/bind-store/cmd/logger" + xnet "github.com/bindoffice/bind-store/pkg/net" ) var errDiskStale = errors.New("disk stale") diff --git a/cmd/storage-rest_test.go b/cmd/storage-rest_test.go index e69ed22..84c5292 100644 --- a/cmd/storage-rest_test.go +++ b/cmd/storage-rest_test.go @@ -25,8 +25,8 @@ import ( "testing" "github.com/gorilla/mux" - "github.com/bindoffice/minio/cmd/config" - xnet "github.com/bindoffice/minio/pkg/net" + "github.com/bindoffice/bind-store/cmd/config" + xnet "github.com/bindoffice/bind-store/pkg/net" ) /////////////////////////////////////////////////////////////////////////////// diff --git a/cmd/streaming-signature-v4.go b/cmd/streaming-signature-v4.go index bdaaec8..e39139e 100644 --- a/cmd/streaming-signature-v4.go +++ b/cmd/streaming-signature-v4.go @@ -30,8 +30,8 @@ import ( "time" humanize "github.com/dustin/go-humanize" - xhttp "github.com/bindoffice/minio/cmd/http" - "github.com/bindoffice/minio/pkg/auth" + xhttp "github.com/bindoffice/bind-store/cmd/http" + "github.com/bindoffice/bind-store/pkg/auth" ) // Streaming AWS Signature Version '4' constants. diff --git a/cmd/sts-datatypes.go b/cmd/sts-datatypes.go index 9d0ba02..9f12c63 100644 --- a/cmd/sts-datatypes.go +++ b/cmd/sts-datatypes.go @@ -19,7 +19,7 @@ package cmd import ( "encoding/xml" - "github.com/bindoffice/minio/pkg/auth" + "github.com/bindoffice/bind-store/pkg/auth" ) // AssumedRoleUser - The identifiers for the temporary security credentials that diff --git a/cmd/sts-errors.go b/cmd/sts-errors.go index 4707777..0637fb5 100644 --- a/cmd/sts-errors.go +++ b/cmd/sts-errors.go @@ -21,8 +21,8 @@ import ( "encoding/xml" "net/http" - xhttp "github.com/bindoffice/minio/cmd/http" - "github.com/bindoffice/minio/cmd/logger" + xhttp "github.com/bindoffice/bind-store/cmd/http" + "github.com/bindoffice/bind-store/cmd/logger" ) // writeSTSErrorRespone writes error headers diff --git a/cmd/sts-handlers.go b/cmd/sts-handlers.go index 98e3da8..399ec3a 100644 --- a/cmd/sts-handlers.go +++ b/cmd/sts-handlers.go @@ -25,12 +25,12 @@ import ( "strings" "github.com/gorilla/mux" - "github.com/bindoffice/minio/cmd/config/identity/openid" - xhttp "github.com/bindoffice/minio/cmd/http" - "github.com/bindoffice/minio/cmd/logger" - "github.com/bindoffice/minio/pkg/auth" - iampolicy "github.com/bindoffice/minio/pkg/iam/policy" - "github.com/bindoffice/minio/pkg/wildcard" + "github.com/bindoffice/bind-store/cmd/config/identity/openid" + xhttp "github.com/bindoffice/bind-store/cmd/http" + "github.com/bindoffice/bind-store/cmd/logger" + "github.com/bindoffice/bind-store/pkg/auth" + iampolicy "github.com/bindoffice/bind-store/pkg/iam/policy" + "github.com/bindoffice/bind-store/pkg/wildcard" ) const ( diff --git a/cmd/test-utils_test.go b/cmd/test-utils_test.go index 96521a6..cf79a4a 100644 --- a/cmd/test-utils_test.go +++ b/cmd/test-utils_test.go @@ -58,14 +58,14 @@ import ( "github.com/gorilla/mux" "github.com/minio/minio-go/v7/pkg/s3utils" "github.com/minio/minio-go/v7/pkg/signer" - "github.com/bindoffice/minio/cmd/config" - "github.com/bindoffice/minio/cmd/crypto" - xhttp "github.com/bindoffice/minio/cmd/http" - "github.com/bindoffice/minio/cmd/logger" - "github.com/bindoffice/minio/cmd/rest" - "github.com/bindoffice/minio/pkg/auth" - "github.com/bindoffice/minio/pkg/bucket/policy" - "github.com/bindoffice/minio/pkg/hash" + "github.com/bindoffice/bind-store/cmd/config" + "github.com/bindoffice/bind-store/cmd/crypto" + xhttp "github.com/bindoffice/bind-store/cmd/http" + "github.com/bindoffice/bind-store/cmd/logger" + "github.com/bindoffice/bind-store/cmd/rest" + "github.com/bindoffice/bind-store/pkg/auth" + "github.com/bindoffice/bind-store/pkg/bucket/policy" + "github.com/bindoffice/bind-store/pkg/hash" ) // TestMain to set up global env. @@ -691,7 +691,7 @@ func newTestStreamingRequest(method, urlStr string, dataLength, chunkSize int64, if body == nil { // this is added to avoid panic during ioutil.ReadAll(req.Body). - // th stack trace can be found here https://github.com/bindoffice/minio/pull/2074 . + // th stack trace can be found here https://github.com/bindoffice/bind-store/pull/2074 . // This is very similar to https://github.com/golang/go/issues/7527. req.Body = ioutil.NopCloser(bytes.NewReader([]byte(""))) } @@ -1190,7 +1190,7 @@ func newWebRPCRequest(methodRPC, authorization string, body io.ReadSeeker) (*htt req.Body = ioutil.NopCloser(body) } else { // this is added to avoid panic during ioutil.ReadAll(req.Body). - // th stack trace can be found here https://github.com/bindoffice/minio/pull/2074 . + // th stack trace can be found here https://github.com/bindoffice/bind-store/pull/2074 . // This is very similar to https://github.com/golang/go/issues/7527. req.Body = ioutil.NopCloser(bytes.NewReader([]byte(""))) } diff --git a/cmd/update-notifier.go b/cmd/update-notifier.go index e48c071..15e3ce8 100644 --- a/cmd/update-notifier.go +++ b/cmd/update-notifier.go @@ -25,7 +25,7 @@ import ( "github.com/cheggaaa/pb" humanize "github.com/dustin/go-humanize" - "github.com/bindoffice/minio/pkg/color" + "github.com/bindoffice/bind-store/pkg/color" ) // prepareUpdateMessage - prepares the update message, only if a diff --git a/cmd/update-notifier_test.go b/cmd/update-notifier_test.go index 08004b2..378e547 100644 --- a/cmd/update-notifier_test.go +++ b/cmd/update-notifier_test.go @@ -22,7 +22,7 @@ import ( "testing" "time" - "github.com/bindoffice/minio/pkg/color" + "github.com/bindoffice/bind-store/pkg/color" ) // Tests update notifier string builder. diff --git a/cmd/update.go b/cmd/update.go index 97c66d7..23db175 100644 --- a/cmd/update.go +++ b/cmd/update.go @@ -34,10 +34,10 @@ import ( "strings" "time" - xhttp "github.com/bindoffice/minio/cmd/http" - "github.com/bindoffice/minio/cmd/logger" - "github.com/bindoffice/minio/pkg/env" - xnet "github.com/bindoffice/minio/pkg/net" + xhttp "github.com/bindoffice/bind-store/cmd/http" + "github.com/bindoffice/bind-store/cmd/logger" + "github.com/bindoffice/bind-store/pkg/env" + xnet "github.com/bindoffice/bind-store/pkg/net" "github.com/minio/selfupdate" ) @@ -227,7 +227,7 @@ func IsPCFTile() bool { // MinIO (; [; ][; dcos][; kubernetes][; docker][; source]) MinIO/ MinIO/ MinIO/ [MinIO/universe-] [MinIO/helm-] // // Any change here should be discussed by opening an issue at -// https://github.com/bindoffice/minio/issues. +// https://github.com/bindoffice/bind-store/issues. func getUserAgent(mode string) string { userAgentParts := []string{} diff --git a/cmd/utils.go b/cmd/utils.go index b1b1b6b..d821ba6 100644 --- a/cmd/utils.go +++ b/cmd/utils.go @@ -42,12 +42,12 @@ import ( humanize "github.com/dustin/go-humanize" "github.com/gorilla/mux" - xhttp "github.com/bindoffice/minio/cmd/http" - "github.com/bindoffice/minio/cmd/logger" - "github.com/bindoffice/minio/cmd/rest" - "github.com/bindoffice/minio/pkg/certs" - "github.com/bindoffice/minio/pkg/handlers" - "github.com/bindoffice/minio/pkg/madmin" + xhttp "github.com/bindoffice/bind-store/cmd/http" + "github.com/bindoffice/bind-store/cmd/logger" + "github.com/bindoffice/bind-store/cmd/rest" + "github.com/bindoffice/bind-store/pkg/certs" + "github.com/bindoffice/bind-store/pkg/handlers" + "github.com/bindoffice/bind-store/pkg/madmin" "golang.org/x/net/http2" ) diff --git a/cmd/web-handler-context.go b/cmd/web-handler-context.go index ecd3c86..f3d58f1 100644 --- a/cmd/web-handler-context.go +++ b/cmd/web-handler-context.go @@ -22,8 +22,8 @@ import ( "fmt" "net/http" - "github.com/bindoffice/minio/cmd/logger" - "github.com/bindoffice/minio/pkg/handlers" + "github.com/bindoffice/bind-store/cmd/logger" + "github.com/bindoffice/bind-store/pkg/handlers" ) const ( diff --git a/cmd/web-handler-context_test.go b/cmd/web-handler-context_test.go index 16aa035..4f5b85c 100644 --- a/cmd/web-handler-context_test.go +++ b/cmd/web-handler-context_test.go @@ -21,7 +21,7 @@ import ( "net/http" "testing" - "github.com/bindoffice/minio/cmd/logger" + "github.com/bindoffice/bind-store/cmd/logger" ) func TestKeyValueMap(t *testing.T) { diff --git a/cmd/web-handlers.go b/cmd/web-handlers.go index 7af644f..e20b741 100644 --- a/cmd/web-handlers.go +++ b/cmd/web-handlers.go @@ -40,23 +40,23 @@ import ( miniogopolicy "github.com/minio/minio-go/v7/pkg/policy" "github.com/minio/minio-go/v7/pkg/s3utils" - "github.com/bindoffice/minio/cmd/config/dns" - "github.com/bindoffice/minio/cmd/config/identity/openid" - "github.com/bindoffice/minio/cmd/crypto" - xhttp "github.com/bindoffice/minio/cmd/http" - "github.com/bindoffice/minio/cmd/logger" - "github.com/bindoffice/minio/pkg/auth" - "github.com/bindoffice/minio/pkg/bucket/lifecycle" - objectlock "github.com/bindoffice/minio/pkg/bucket/object/lock" - "github.com/bindoffice/minio/pkg/bucket/policy" - "github.com/bindoffice/minio/pkg/bucket/replication" - "github.com/bindoffice/minio/pkg/etag" - "github.com/bindoffice/minio/pkg/event" - "github.com/bindoffice/minio/pkg/handlers" - "github.com/bindoffice/minio/pkg/hash" - iampolicy "github.com/bindoffice/minio/pkg/iam/policy" - "github.com/bindoffice/minio/pkg/ioutil" - "github.com/bindoffice/minio/pkg/rpc/json2" + "github.com/bindoffice/bind-store/cmd/config/dns" + "github.com/bindoffice/bind-store/cmd/config/identity/openid" + "github.com/bindoffice/bind-store/cmd/crypto" + xhttp "github.com/bindoffice/bind-store/cmd/http" + "github.com/bindoffice/bind-store/cmd/logger" + "github.com/bindoffice/bind-store/pkg/auth" + "github.com/bindoffice/bind-store/pkg/bucket/lifecycle" + objectlock "github.com/bindoffice/bind-store/pkg/bucket/object/lock" + "github.com/bindoffice/bind-store/pkg/bucket/policy" + "github.com/bindoffice/bind-store/pkg/bucket/replication" + "github.com/bindoffice/bind-store/pkg/etag" + "github.com/bindoffice/bind-store/pkg/event" + "github.com/bindoffice/bind-store/pkg/handlers" + "github.com/bindoffice/bind-store/pkg/hash" + iampolicy "github.com/bindoffice/bind-store/pkg/iam/policy" + "github.com/bindoffice/bind-store/pkg/ioutil" + "github.com/bindoffice/bind-store/pkg/rpc/json2" ) func extractBucketObject(args reflect.Value) (bucketName, objectName string) { diff --git a/cmd/web-handlers_test.go b/cmd/web-handlers_test.go index 7d12572..c0bf0c1 100644 --- a/cmd/web-handlers_test.go +++ b/cmd/web-handlers_test.go @@ -35,8 +35,8 @@ import ( jwtgo "github.com/golang-jwt/jwt/v4" humanize "github.com/dustin/go-humanize" - xjwt "github.com/bindoffice/minio/cmd/jwt" - "github.com/bindoffice/minio/pkg/hash" + xjwt "github.com/bindoffice/bind-store/cmd/jwt" + "github.com/bindoffice/bind-store/pkg/hash" ) // Implement a dummy flush writer. diff --git a/cmd/web-router.go b/cmd/web-router.go index cd7e807..1e3360f 100644 --- a/cmd/web-router.go +++ b/cmd/web-router.go @@ -24,10 +24,10 @@ import ( "github.com/gorilla/handlers" "github.com/gorilla/mux" - "github.com/bindoffice/minio/browser" - "github.com/bindoffice/minio/cmd/logger" - jsonrpc "github.com/bindoffice/minio/pkg/rpc" - "github.com/bindoffice/minio/pkg/rpc/json2" + "github.com/bindoffice/bind-store/browser" + "github.com/bindoffice/bind-store/cmd/logger" + jsonrpc "github.com/bindoffice/bind-store/pkg/rpc" + "github.com/bindoffice/bind-store/pkg/rpc/json2" ) // webAPI container for Web API. diff --git a/cmd/xl-storage-disk-id-check.go b/cmd/xl-storage-disk-id-check.go index 5c775a1..b3b14f7 100644 --- a/cmd/xl-storage-disk-id-check.go +++ b/cmd/xl-storage-disk-id-check.go @@ -25,7 +25,7 @@ import ( "time" ewma "github.com/VividCortex/ewma" - trace "github.com/bindoffice/minio/pkg/trace" + trace "github.com/bindoffice/bind-store/pkg/trace" ) //go:generate stringer -type=storageMetric -trimprefix=storageMetric $GOFILE diff --git a/cmd/xl-storage-format-v1.go b/cmd/xl-storage-format-v1.go index f9b8a7b..43ced3a 100644 --- a/cmd/xl-storage-format-v1.go +++ b/cmd/xl-storage-format-v1.go @@ -23,7 +23,7 @@ import ( "time" jsoniter "github.com/json-iterator/go" - "github.com/bindoffice/minio/cmd/logger" + "github.com/bindoffice/bind-store/cmd/logger" ) // XL constants. diff --git a/cmd/xl-storage-format-v2.go b/cmd/xl-storage-format-v2.go index 640dbec..4f19271 100644 --- a/cmd/xl-storage-format-v2.go +++ b/cmd/xl-storage-format-v2.go @@ -27,8 +27,8 @@ import ( "github.com/cespare/xxhash/v2" "github.com/google/uuid" - xhttp "github.com/bindoffice/minio/cmd/http" - "github.com/bindoffice/minio/cmd/logger" + xhttp "github.com/bindoffice/bind-store/cmd/http" + "github.com/bindoffice/bind-store/cmd/logger" "github.com/tinylib/msgp/msgp" ) diff --git a/cmd/xl-storage.go b/cmd/xl-storage.go index cf7ac52..207680a 100644 --- a/cmd/xl-storage.go +++ b/cmd/xl-storage.go @@ -39,15 +39,15 @@ import ( "github.com/google/uuid" jsoniter "github.com/json-iterator/go" "github.com/klauspost/readahead" - "github.com/bindoffice/minio/cmd/config" - "github.com/bindoffice/minio/cmd/config/storageclass" - "github.com/bindoffice/minio/cmd/logger" - "github.com/bindoffice/minio/pkg/bucket/lifecycle" - "github.com/bindoffice/minio/pkg/color" - "github.com/bindoffice/minio/pkg/console" - "github.com/bindoffice/minio/pkg/disk" - "github.com/bindoffice/minio/pkg/env" - xioutil "github.com/bindoffice/minio/pkg/ioutil" + "github.com/bindoffice/bind-store/cmd/config" + "github.com/bindoffice/bind-store/cmd/config/storageclass" + "github.com/bindoffice/bind-store/cmd/logger" + "github.com/bindoffice/bind-store/pkg/bucket/lifecycle" + "github.com/bindoffice/bind-store/pkg/color" + "github.com/bindoffice/bind-store/pkg/console" + "github.com/bindoffice/bind-store/pkg/disk" + "github.com/bindoffice/bind-store/pkg/env" + xioutil "github.com/bindoffice/bind-store/pkg/ioutil" ) const ( diff --git a/cmd/xl-storage_test.go b/cmd/xl-storage_test.go index c8e8358..6f44973 100644 --- a/cmd/xl-storage_test.go +++ b/cmd/xl-storage_test.go @@ -30,7 +30,7 @@ import ( "syscall" "testing" - "github.com/bindoffice/minio/cmd/config/storageclass" + "github.com/bindoffice/bind-store/cmd/config/storageclass" ) func TestCheckPathLength(t *testing.T) { diff --git a/docker-buildx.sh b/docker-buildx.sh index c942c5b..fea0840 100755 --- a/docker-buildx.sh +++ b/docker-buildx.sh @@ -5,14 +5,14 @@ sudo sysctl net.ipv6.conf.wlp59s0.disable_ipv6=1 release=$(git describe --abbrev=0 --tags) docker buildx build --push --no-cache \ - --build-arg RELEASE="${release}" -t "minio/minio:latest" \ + --build-arg RELEASE="${release}" -t "bindoffice/bind-store:latest" \ --platform=linux/arm64,linux/amd64,linux/ppc64le,linux/s390x \ -f Dockerfile.release . docker buildx prune -f docker buildx build --push --no-cache \ - --build-arg RELEASE="${release}" -t "minio/minio:${release}" \ + --build-arg RELEASE="${release}" -t "bindoffice/bind-store:${release}" \ --platform=linux/arm64,linux/amd64,linux/ppc64le,linux/s390x \ -f Dockerfile.release . diff --git a/dockerscripts/docker-entrypoint.sh b/dockerscripts/docker-entrypoint.sh index 29a54e5..8e2df74 100755 --- a/dockerscripts/docker-entrypoint.sh +++ b/dockerscripts/docker-entrypoint.sh @@ -15,10 +15,10 @@ # limitations under the License. # -# If command starts with an option, prepend minio. -if [ "${1}" != "minio" ]; then +# If command starts with an option, prepend bind-store. +if [ "${1}" != "bind-store" ]; then if [ -n "${1}" ]; then - set -- minio "$@" + set -- bind-store "$@" fi fi diff --git a/dockerscripts/verify-minio.sh b/dockerscripts/verify-bind-store.sh similarity index 75% rename from dockerscripts/verify-minio.sh rename to dockerscripts/verify-bind-store.sh index 17b2bbf..c77f3ba 100755 --- a/dockerscripts/verify-minio.sh +++ b/dockerscripts/verify-bind-store.sh @@ -17,14 +17,14 @@ set -e -if [ ! -x "/usr/bin/minio" ]; then - echo "minio executable binary not found refusing to proceed" +if [ ! -x "/usr/bin/bind-store" ]; then + echo "bind-store executable binary not found, refusing to proceed" exit 1 fi verify_sha256sum() { echo "verifying binary checksum" - echo "$(awk '{print $1}' /usr/bin/minio.sha256sum) /usr/bin/minio" | sha256sum -c + echo "$(awk '{print $1}' /usr/bin/bind-store.sha256sum) /usr/bin/bind-store" | sha256sum -c } verify_signature() { @@ -33,7 +33,7 @@ verify_signature() { return fi echo "verifying binary signature" - minisign -VQm /usr/bin/minio -P RWTx5Zr1tiHQLwG9keckT0c45M3AGeHD6IvimQHpyRywVWGbP1aVSGav + minisign -VQm /usr/bin/bind-store -P RWTx5Zr1tiHQLwG9keckT0c45M3AGeHD6IvimQHpyRywVWGbP1aVSGav } main() { diff --git a/docs/bigdata/README.md b/docs/bigdata/README.md index 6c09763..30b289d 100644 --- a/docs/bigdata/README.md +++ b/docs/bigdata/README.md @@ -2,7 +2,7 @@ ## **1. Cloud-native Architecture** -![cloud-native](https://github.com/bindoffice/minio/blob/master/docs/bigdata/images/image1.png?raw=true "cloud native architecture") +![cloud-native](https://github.com/bindoffice/bind-store/blob/master/docs/bigdata/images/image1.png?raw=true "cloud native architecture") Kubernetes manages stateless Spark and Hive containers elastically on the compute nodes. Spark has native scheduler integration with Kubernetes. Hive, for legacy reasons, uses YARN scheduler on top of Kubernetes. @@ -23,17 +23,17 @@ MinIO also supports multi-cluster, multi-site federation similar to AWS regions After successful installation navigate to the Ambari UI `http://:8080/` and login using the default credentials: [**_username: admin, password: admin_**] -![ambari-login](https://github.com/bindoffice/minio/blob/master/docs/bigdata/images/image3.png?raw=true "ambari login") +![ambari-login](https://github.com/bindoffice/bind-store/blob/master/docs/bigdata/images/image3.png?raw=true "ambari login") ### **3.1 Configure Hadoop** Navigate to **Services** -> **HDFS** -> **CONFIGS** -> **ADVANCED** as shown below -![hdfs-configs](https://github.com/bindoffice/minio/blob/master/docs/bigdata/images/image2.png?raw=true "hdfs advanced configs") +![hdfs-configs](https://github.com/bindoffice/bind-store/blob/master/docs/bigdata/images/image2.png?raw=true "hdfs advanced configs") Navigate to **Custom core-site** to configure MinIO parameters for `_s3a_` connector -![s3a-config](https://github.com/bindoffice/minio/blob/master/docs/bigdata/images/image5.png?raw=true "custom core-site") +![s3a-config](https://github.com/bindoffice/bind-store/blob/master/docs/bigdata/images/image5.png?raw=true "custom core-site") ``` sudo pip install yq @@ -100,17 +100,17 @@ The rest of the other optimization options are discussed in the links below Once the config changes are applied, proceed to restart **Hadoop** services. -![hdfs-services](https://github.com/bindoffice/minio/blob/master/docs/bigdata/images/image7.png?raw=true "hdfs restart services") +![hdfs-services](https://github.com/bindoffice/bind-store/blob/master/docs/bigdata/images/image7.png?raw=true "hdfs restart services") ### **3.2 Configure Spark2** Navigate to **Services** -> **Spark2** -> **CONFIGS** as shown below -![spark-config](https://github.com/bindoffice/minio/blob/master/docs/bigdata/images/image6.png?raw=true "spark config") +![spark-config](https://github.com/bindoffice/bind-store/blob/master/docs/bigdata/images/image6.png?raw=true "spark config") Navigate to “**Custom spark-defaults**” to configure MinIO parameters for `_s3a_` connector -![spark-config](https://github.com/bindoffice/minio/blob/master/docs/bigdata/images/image9.png?raw=true "spark defaults") +![spark-config](https://github.com/bindoffice/bind-store/blob/master/docs/bigdata/images/image9.png?raw=true "spark defaults") Add the following optimal entries for _spark-defaults.conf_ to configure Spark with **MinIO**. @@ -146,17 +146,17 @@ spark.hadoop.fs.s3a.threads.max 2048 # maximum number of threads for S3A Once the config changes are applied, proceed to restart **Spark** services. -![spark-config](https://github.com/bindoffice/minio/blob/master/docs/bigdata/images/image12.png?raw=true "spark restart services") +![spark-config](https://github.com/bindoffice/bind-store/blob/master/docs/bigdata/images/image12.png?raw=true "spark restart services") ### **3.3 Configure Hive** Navigate to **Services** -> **Hive** -> **CONFIGS**-> **ADVANCED** as shown below -![hive-config](https://github.com/bindoffice/minio/blob/master/docs/bigdata/images/image10.png?raw=true "hive advanced config") +![hive-config](https://github.com/bindoffice/bind-store/blob/master/docs/bigdata/images/image10.png?raw=true "hive advanced config") Navigate to “**Custom hive-site**” to configure MinIO parameters for `_s3a_` connector -![hive-config](https://github.com/bindoffice/minio/blob/master/docs/bigdata/images/image11.png?raw=true "hive advanced config") +![hive-config](https://github.com/bindoffice/bind-store/blob/master/docs/bigdata/images/image11.png?raw=true "hive advanced config") Add the following optimal entries for `hive-site.xml` to configure Hive with **MinIO**. @@ -171,11 +171,11 @@ mapreduce.input.fileinputformat.list-status.num-threads=50 For more information about these options please visit [https://www.cloudera.com/documentation/enterprise/5-11-x/topics/admin_hive_on_s3_tuning.html](https://www.cloudera.com/documentation/enterprise/5-11-x/topics/admin_hive_on_s3_tuning.html) -![hive-config](https://github.com/bindoffice/minio/blob/master/docs/bigdata/images/image13.png?raw=true "hive advanced custom config") +![hive-config](https://github.com/bindoffice/bind-store/blob/master/docs/bigdata/images/image13.png?raw=true "hive advanced custom config") Once the config changes are applied, proceed to restart all Hive services. -![hive-config](https://github.com/bindoffice/minio/blob/master/docs/bigdata/images/image14.png?raw=true "restart hive services") +![hive-config](https://github.com/bindoffice/bind-store/blob/master/docs/bigdata/images/image14.png?raw=true "restart hive services") ## **4. Run Sample Applications** diff --git a/docs/bucket/quota/README.md b/docs/bucket/quota/README.md index 9acb678..7dbe161 100644 --- a/docs/bucket/quota/README.md +++ b/docs/bucket/quota/README.md @@ -1,6 +1,6 @@ # Bucket Quota Configuration Quickstart Guide [![Slack](https://slack.min.io/slack?type=svg)](https://slack.min.io) [![Docker Pulls](https://img.shields.io/docker/pulls/minio/minio.svg?maxAge=604800)](https://hub.docker.com/r/minio/minio/) -![quota](https://raw.githubusercontent.com/bindoffice/minio/master/docs/bucket/quota/bucketquota.png) +![quota](https://raw.githubusercontent.com/bindoffice/bind-store/master/docs/bucket/quota/bucketquota.png) Buckets can be configured to have one of two types of quota configuration - FIFO and Hard quota. diff --git a/docs/bucket/replication/DESIGN.md b/docs/bucket/replication/DESIGN.md index 27bf960..7e65543 100644 --- a/docs/bucket/replication/DESIGN.md +++ b/docs/bucket/replication/DESIGN.md @@ -1,6 +1,6 @@ # Bucket Replication Design [![slack](https://slack.min.io/slack?type=svg)](https://slack.min.io) [![Docker Pulls](https://img.shields.io/docker/pulls/minio/minio.svg?maxAge=604800)](https://hub.docker.com/r/minio/minio/) -This document explains the design approach of server side bucket replication. If you're looking to get started with replication, we suggest you go through the [Bucket replication guide](https://github.com/bindoffice/minio/blob/master/docs/bucket/replication/README.md) first. +This document explains the design approach of server side bucket replication. If you're looking to get started with replication, we suggest you go through the [Bucket replication guide](https://github.com/bindoffice/bind-store/blob/master/docs/bucket/replication/README.md) first. ## Overview Replication relies on immutability provided by versioning to sync objects between the configured source and replication target. @@ -37,7 +37,7 @@ Existing object replication, replica modification sync for 2-way replication and ### Internal metadata for replication -`xl.meta` that is in use for [versioning](https://raw.githubusercontent.com/bindoffice/minio/master/docs/bucket/versioning/DESIGN.md) has additional metadata for replication of objects,delete markers and versioned deletes. +`xl.meta` that is in use for [versioning](https://raw.githubusercontent.com/bindoffice/bind-store/master/docs/bucket/versioning/DESIGN.md) has additional metadata for replication of objects,delete markers and versioned deletes. ### Metadata for object replication diff --git a/docs/bucket/replication/README.md b/docs/bucket/replication/README.md index 7d0cd95..7bddcc6 100644 --- a/docs/bucket/replication/README.md +++ b/docs/bucket/replication/README.md @@ -95,7 +95,7 @@ The access key provided for the replication *target* cluster should have these m ] } ``` -Please note that the permissions required by the admin user on the target cluster can be more fine grained to exclude permissions like "s3:ReplicateDelete", "s3:GetBucketObjectLockConfiguration" etc depending on whether delete replication rules are set up or if object locking is disabled on `destbucket`. The above policies assume that replication of objects, tags and delete marker replication are all enabled on object lock enabled buckets. A sample script to setup replication is provided [here](https://github.com/bindoffice/minio/blob/master/docs/bucket/replication/setup_replication.sh) +Please note that the permissions required by the admin user on the target cluster can be more fine grained to exclude permissions like "s3:ReplicateDelete", "s3:GetBucketObjectLockConfiguration" etc depending on whether delete replication rules are set up or if object locking is disabled on `destbucket`. The above policies assume that replication of objects, tags and delete marker replication are all enabled on object lock enabled buckets. A sample script to setup replication is provided [here](https://github.com/bindoffice/bind-store/blob/master/docs/bucket/replication/setup_replication.sh) Once successfully created and authorized, the `mc admin bucket remote add` command generates a replication target ARN. This command lists all the currently authorized replication targets: ``` @@ -146,9 +146,9 @@ Replication status can be seen in the metadata on the source and destination obj To perform bi-directional replication, repeat the above process on the target site - this time setting the source bucket as the replication target. It is recommended that replication be run in a system with atleast two CPU's available to the process, so that replication can run in its own thread. -![put](https://raw.githubusercontent.com/bindoffice/minio/master/docs/bucket/replication/PUT_bucket_replication.png) +![put](https://raw.githubusercontent.com/bindoffice/bind-store/master/docs/bucket/replication/PUT_bucket_replication.png) -![head](https://raw.githubusercontent.com/bindoffice/minio/master/docs/bucket/replication/HEAD_bucket_replication.png) +![head](https://raw.githubusercontent.com/bindoffice/bind-store/master/docs/bucket/replication/HEAD_bucket_replication.png) ## MinIO Extension ### Replicating Deletes @@ -171,11 +171,11 @@ Replication configuration applied successfully to myminio/srcbucket. Status of delete marker replication can be viewed by doing a GET/HEAD on the object version - it will return a `X-Minio-Replication-DeleteMarker-Status` header and http response code of `405`. In the case of permanent deletes, if the delete replication is pending or failed to propagate to the target cluster, GET/HEAD will return additional `X-Minio-Replication-Delete-Status` header and a http response code of `405`. -![delete](https://raw.githubusercontent.com/bindoffice/minio/master/docs/bucket/replication/DELETE_bucket_replication.png) +![delete](https://raw.githubusercontent.com/bindoffice/bind-store/master/docs/bucket/replication/DELETE_bucket_replication.png) The status of replication can be monitored by configuring event notifications on the source and target buckets using `mc event add`.On the source side, the `s3:PutObject`, `s3:Replication:OperationCompletedReplication` and `s3:Replication:OperationFailedReplication` events show the status of replication in the `X-Amz-Replication-Status` metadata. -On the target bucket, `s3:PutObject` event shows `X-Amz-Replication-Status` status of `REPLICA` in the metadata. Additional metrics to monitor backlog state for the purpose of bandwidth management and resource allocation are exposed via Prometheus - see https://github.com/bindoffice/minio/blob/master/docs/metrics/prometheus/list.md for more details. +On the target bucket, `s3:PutObject` event shows `X-Amz-Replication-Status` status of `REPLICA` in the metadata. Additional metrics to monitor backlog state for the purpose of bandwidth management and resource allocation are exposed via Prometheus - see https://github.com/bindoffice/bind-store/blob/master/docs/metrics/prometheus/list.md for more details. ### Sync/Async Replication By default, replication is completed asynchronously. If synchronous replication is desired, set the --sync flag while adding a @@ -185,6 +185,6 @@ remote replication target using the `mc admin bucket remote add` command ``` ## Explore Further -- [MinIO Bucket Replication Design](https://raw.githubusercontent.com/bindoffice/minio/master/docs/bucket/replication/DESIGN.md) +- [MinIO Bucket Replication Design](https://raw.githubusercontent.com/bindoffice/bind-store/master/docs/bucket/replication/DESIGN.md) - [MinIO Bucket Versioning Implementation](https://docs.minio.io/docs/minio-bucket-versioning-guide.html) - [MinIO Client Quickstart Guide](https://docs.minio.io/docs/minio-client-quickstart-guide.html) diff --git a/docs/bucket/versioning/DESIGN.md b/docs/bucket/versioning/DESIGN.md index 839e016..9669c31 100644 --- a/docs/bucket/versioning/DESIGN.md +++ b/docs/bucket/versioning/DESIGN.md @@ -26,7 +26,7 @@ Once the header is validated, we proceed to the actual data structure of the `xl - LegacyObjectType (preserves existing deployments and older xl.json format) - DeleteMarker (a versionId to capture the DELETE sequences implemented primarily for AWS spec compatibility) -A sample msgpack-JSON `xl.meta`, you can debug the content inside `xl.meta` using [xl-meta.go](https://github.com/bindoffice/minio/blob/master/docs/bucket/versioning/xl-meta.go) program. +A sample msgpack-JSON `xl.meta`, you can debug the content inside `xl.meta` using [xl-meta.go](https://github.com/bindoffice/bind-store/blob/master/docs/bucket/versioning/xl-meta.go) program. ```json { "Versions": [ diff --git a/docs/bucket/versioning/README.md b/docs/bucket/versioning/README.md index 897da2e..d9d2c64 100644 --- a/docs/bucket/versioning/README.md +++ b/docs/bucket/versioning/README.md @@ -10,25 +10,25 @@ Only MinIO generates version IDs, and they can't be edited. Version IDs are simp When you PUT an object in a versioning-enabled bucket, the noncurrent version is not overwritten. The following figure shows that when a new version of `spark.csv` is PUT into a bucket that already contains an object with the same name, the original object (ID = `ede336f2`) remains in the bucket, MinIO generates a new version (ID = `fae684da`), and adds the newer version to the bucket. -![put](https://raw.githubusercontent.com/bindoffice/minio/master/docs/bucket/versioning/versioning_PUT_versionEnabled.png) +![put](https://raw.githubusercontent.com/bindoffice/bind-store/master/docs/bucket/versioning/versioning_PUT_versionEnabled.png) This means accidental overwrites or deletes of objects are protected, allows previous version of on object to be retrieved. When you DELETE an object, all versions remain in the bucket and MinIO adds a delete marker, as shown below: -![delete](https://raw.githubusercontent.com/bindoffice/minio/master/docs/bucket/versioning/versioning_DELETE_versionEnabled.png) +![delete](https://raw.githubusercontent.com/bindoffice/bind-store/master/docs/bucket/versioning/versioning_DELETE_versionEnabled.png) Now the delete marker becomes the current version of the object. GET requests by default always retrieve the latest stored version. So performing a simple GET object request when the current version is a delete marker would return `404` `The specified key does not exist` as shown below: -![get](https://raw.githubusercontent.com/bindoffice/minio/master/docs/bucket/versioning/versioning_GET_versionEnabled.png) +![get](https://raw.githubusercontent.com/bindoffice/bind-store/master/docs/bucket/versioning/versioning_GET_versionEnabled.png) GET requests by specifying a version ID as shown below, you can retrieve the specific object version `fae684da`. -![get_version_id](https://raw.githubusercontent.com/bindoffice/minio/master/docs/bucket/versioning/versioning_GET_versionEnabled_id.png) +![get_version_id](https://raw.githubusercontent.com/bindoffice/bind-store/master/docs/bucket/versioning/versioning_GET_versionEnabled_id.png) To permanently delete an object you need to specify the version you want to delete, only the user with appropriate permissions can permanently delete a version. As shown below DELETE request called with a specific version id permanently deletes an object from a bucket. Delete marker is not added for DELETE requests with version id. -![delete_version_id](https://raw.githubusercontent.com/bindoffice/minio/master/docs/bucket/versioning/versioning_DELETE_versionEnabled_id.png) +![delete_version_id](https://raw.githubusercontent.com/bindoffice/bind-store/master/docs/bucket/versioning/versioning_DELETE_versionEnabled_id.png) ## Concepts - All Buckets on MinIO are always in one of the following states: unversioned (the default) and all other existing deployments, versioning-enabled, or versioning-suspended. diff --git a/docs/config/README.md b/docs/config/README.md index dc3e09d..4231c7c 100644 --- a/docs/config/README.md +++ b/docs/config/README.md @@ -86,7 +86,7 @@ minio server /data ``` ### Storage Class -By default, parity for objects with standard storage class is set to `N/2`, and parity for objects with reduced redundancy storage class objects is set to `2`. Read more about storage class support in MinIO server [here](https://github.com/bindoffice/minio/blob/master/docs/erasure/storage-class/README.md). +By default, parity for objects with standard storage class is set to `N/2`, and parity for objects with reduced redundancy storage class objects is set to `2`. Read more about storage class support in MinIO server [here](https://github.com/bindoffice/bind-store/blob/master/docs/erasure/storage-class/README.md). ``` KEY: @@ -172,7 +172,7 @@ MINIO_ETCD_COMMENT (sentence) optionally add a comment to this setting ``` ### API -By default, there is no limitation on the number of concurrent requests that a server/cluster processes at the same time. However, it is possible to impose such limitation using the API subsystem. Read more about throttling limitation in MinIO server [here](https://github.com/bindoffice/minio/blob/master/docs/throttle/README.md). +By default, there is no limitation on the number of concurrent requests that a server/cluster processes at the same time. However, it is possible to impose such limitation using the API subsystem. Read more about throttling limitation in MinIO server [here](https://github.com/bindoffice/bind-store/blob/master/docs/throttle/README.md). ``` KEY: diff --git a/docs/deployment/kernel-tuning/README.md b/docs/deployment/kernel-tuning/README.md index b80d03e..57510e7 100644 --- a/docs/deployment/kernel-tuning/README.md +++ b/docs/deployment/kernel-tuning/README.md @@ -1,6 +1,6 @@ # Kernel Tuning for MinIO Production Deployment on Linux Servers [![Slack](https://slack.min.io/slack?type=svg)](https://slack.min.io) [![Docker Pulls](https://img.shields.io/docker/pulls/minio/minio.svg?maxAge=604800)](https://hub.docker.com/r/minio/minio/) -List of kernel tuning recommendations for MinIO server deployments, a copy of this [script](https://github.com/bindoffice/minio/blob/master/docs/deployment/kernel-tuning/sysctl.sh) is available here that can be applied on the servers. +List of kernel tuning recommendations for MinIO server deployments, a copy of this [script](https://github.com/bindoffice/bind-store/blob/master/docs/deployment/kernel-tuning/sysctl.sh) is available here that can be applied on the servers. > NOTE: These are common recommendations on any Linux servers, users must be careful on any premature optimization. > These settings are not mandatory, these settings do not fix any hardware issues and should not be considered as an diff --git a/docs/disk-caching/DESIGN.md b/docs/disk-caching/DESIGN.md index be6c44d..d339914 100644 --- a/docs/disk-caching/DESIGN.md +++ b/docs/disk-caching/DESIGN.md @@ -1,6 +1,6 @@ # Disk Caching Design [![Slack](https://slack.min.io/slack?type=svg)](https://slack.min.io) -This document explains some basic assumptions and design approach, limits of the disk caching feature. If you're looking to get started with disk cache, we suggest you go through the [getting started document](https://github.com/bindoffice/minio/blob/master/docs/disk-caching/README.md) first. +This document explains some basic assumptions and design approach, limits of the disk caching feature. If you're looking to get started with disk cache, we suggest you go through the [getting started document](https://github.com/bindoffice/bind-store/blob/master/docs/disk-caching/README.md) first. ## Command-line diff --git a/docs/disk-caching/README.md b/docs/disk-caching/README.md index 413083f..dfd8d2b 100644 --- a/docs/disk-caching/README.md +++ b/docs/disk-caching/README.md @@ -39,7 +39,7 @@ To test this setup, access the MinIO gateway via browser or [`mc`](https://docs. # Explore Further -- [Disk cache design](https://github.com/bindoffice/minio/blob/master/docs/disk-caching/DESIGN.md) +- [Disk cache design](https://github.com/bindoffice/bind-store/blob/master/docs/disk-caching/DESIGN.md) - [Use `mc` with MinIO Server](https://docs.min.io/docs/minio-client-quickstart-guide) - [Use `aws-cli` with MinIO Server](https://docs.min.io/docs/aws-cli-with-minio) - [Use `s3cmd` with MinIO Server](https://docs.min.io/docs/s3cmd-with-minio) diff --git a/docs/distributed/DESIGN.md b/docs/distributed/DESIGN.md index 273de78..72ee979 100644 --- a/docs/distributed/DESIGN.md +++ b/docs/distributed/DESIGN.md @@ -109,7 +109,7 @@ In above example there are two server pools > Notice the requirement of common SLA here original cluster had 1024 drives with 16 drives per erasure set with default parity of '4', second pool is expected to have a minimum of 8 drives per erasure set to match the original cluster SLA (parity count) of '4'. '12' drives stripe per erasure set in the second pool satisfies the original pool's parity count. -Refer to the sizing guide with details on the default parity count chosen for different erasure stripe sizes [here](https://github.com/bindoffice/minio/blob/master/docs/distributed/SIZING.md) +Refer to the sizing guide with details on the default parity count chosen for different erasure stripe sizes [here](https://github.com/bindoffice/bind-store/blob/master/docs/distributed/SIZING.md) MinIO places new objects in server pools based on proportionate free space, per pool. Following pseudo code demonstrates this behavior. ```go diff --git a/docs/distributed/README.md b/docs/distributed/README.md index 552317b..1074fa2 100644 --- a/docs/distributed/README.md +++ b/docs/distributed/README.md @@ -8,7 +8,7 @@ MinIO in distributed mode can help you setup a highly-available storage system w ### Data protection -Distributed MinIO provides protection against multiple node/drive failures and [bit rot](https://github.com/bindoffice/minio/blob/master/docs/erasure/README.md#what-is-bit-rot-protection) using [erasure code](https://docs.min.io/docs/minio-erasure-code-quickstart-guide). As the minimum disks required for distributed MinIO is 4 (same as minimum disks required for erasure coding), erasure code automatically kicks in as you launch distributed MinIO. +Distributed MinIO provides protection against multiple node/drive failures and [bit rot](https://github.com/bindoffice/bind-store/blob/master/docs/erasure/README.md#what-is-bit-rot-protection) using [erasure code](https://docs.min.io/docs/minio-erasure-code-quickstart-guide). As the minimum disks required for distributed MinIO is 4 (same as minimum disks required for erasure coding), erasure code automatically kicks in as you launch distributed MinIO. ### High availability @@ -16,7 +16,7 @@ A stand-alone MinIO server would go down if the server hosting the disks goes of For example, an 16-server distributed setup with 200 disks per node would continue serving files, up to 4 servers can be offline in default configuration i.e around 800 disks down MinIO would continue to read and write objects. -Refer to sizing guide for more understanding on default values chosen depending on your erasure stripe size [here](https://github.com/bindoffice/minio/blob/master/docs/distributed/SIZING.md). Parity settings can be changed using [storage classes](https://github.com/bindoffice/minio/tree/master/docs/erasure/storage-class). +Refer to sizing guide for more understanding on default values chosen depending on your erasure stripe size [here](https://github.com/bindoffice/bind-store/blob/master/docs/distributed/SIZING.md). Parity settings can be changed using [storage classes](https://github.com/bindoffice/bind-store/tree/master/docs/erasure/storage-class). ### Consistency Guarantees @@ -49,7 +49,7 @@ __NOTE:__ Example 1: Start distributed MinIO instance on n nodes with m drives each mounted at `/export1` to `/exportm` (pictured below), by running this command on all the n nodes: -![Distributed MinIO, n nodes with m drives each](https://github.com/bindoffice/minio/blob/master/docs/screenshots/Architecture-diagram_distributed_nm.png?raw=true) +![Distributed MinIO, n nodes with m drives each](https://github.com/bindoffice/bind-store/blob/master/docs/screenshots/Architecture-diagram_distributed_nm.png?raw=true) #### GNU/Linux and macOS diff --git a/docs/erasure/README.md b/docs/erasure/README.md index e86b103..f1cd88d 100644 --- a/docs/erasure/README.md +++ b/docs/erasure/README.md @@ -6,7 +6,7 @@ MinIO protects data against hardware failures and silent data corruption using e Erasure code is a mathematical algorithm to reconstruct missing or corrupted data. MinIO uses Reed-Solomon code to shard objects into variable data and parity blocks. For example, in a 12 drive setup, an object can be sharded to a variable number of data and parity blocks across all the drives - ranging from six data and six parity blocks to ten data and two parity blocks. -By default, MinIO shards the objects across N/2 data and N/2 parity drives. Though, you can use [storage classes](https://github.com/bindoffice/minio/tree/master/docs/erasure/storage-class) to use a custom configuration. We recommend N/2 data and parity blocks, as it ensures the best protection from drive failures. +By default, MinIO shards the objects across N/2 data and N/2 parity drives. Though, you can use [storage classes](https://github.com/bindoffice/bind-store/tree/master/docs/erasure/storage-class) to use a custom configuration. We recommend N/2 data and parity blocks, as it ensures the best protection from drive failures. In 12 drive example above, with MinIO server running in the default configuration, you can lose any of the six drives and still reconstruct the data reliably from the remaining drives. @@ -14,7 +14,7 @@ In 12 drive example above, with MinIO server running in the default configuratio Erasure code protects data from multiple drives failure, unlike RAID or replication. For example, RAID6 can protect against two drive failure whereas in MinIO erasure code you can lose as many as half of drives and still the data remains safe. Further, MinIO's erasure code is at the object level and can heal one object at a time. For RAID, healing can be done only at the volume level which translates into high downtime. As MinIO encodes each object individually, it can heal objects incrementally. Storage servers once deployed should not require drive replacement or healing for the lifetime of the server. MinIO's erasure coded backend is designed for operational efficiency and takes full advantage of hardware acceleration whenever available. -![Erasure](https://github.com/bindoffice/minio/blob/master/docs/screenshots/erasure-code.jpg?raw=true) +![Erasure](https://github.com/bindoffice/bind-store/blob/master/docs/screenshots/erasure-code.jpg?raw=true) ## What is Bit Rot protection? diff --git a/docs/erasure/storage-class/README.md b/docs/erasure/storage-class/README.md index b0234e4..904f1fe 100644 --- a/docs/erasure/storage-class/README.md +++ b/docs/erasure/storage-class/README.md @@ -83,7 +83,7 @@ export MINIO_STORAGE_CLASS_STANDARD=EC:3 export MINIO_STORAGE_CLASS_RRS=EC:2 ``` -Storage class can also be set via `mc admin config` get/set commands to update the configuration. Refer [storage class](https://github.com/bindoffice/minio/tree/master/docs/config#storage-class) for +Storage class can also be set via `mc admin config` get/set commands to update the configuration. Refer [storage class](https://github.com/bindoffice/bind-store/tree/master/docs/config#storage-class) for more details. *Note* diff --git a/docs/federation/lookup/README.md b/docs/federation/lookup/README.md index 05b0522..e561e74 100644 --- a/docs/federation/lookup/README.md +++ b/docs/federation/lookup/README.md @@ -16,7 +16,7 @@ Bucket lookup from DNS federation requires two dependencies ## Architecture -![bucket-lookup](https://github.com/bindoffice/minio/blob/master/docs/federation/lookup/bucket-lookup.png?raw=true) +![bucket-lookup](https://github.com/bindoffice/bind-store/blob/master/docs/federation/lookup/bucket-lookup.png?raw=true) ### Environment variables diff --git a/docs/gateway/README.md b/docs/gateway/README.md index cae28a0..abb43ca 100644 --- a/docs/gateway/README.md +++ b/docs/gateway/README.md @@ -1,8 +1,8 @@ # MinIO Gateway [![Slack](https://slack.min.io/slack?type=svg)](https://slack.min.io) MinIO Gateway adds Amazon S3 compatibility to third party cloud storage providers. -- [NAS](https://github.com/bindoffice/minio/blob/master/docs/gateway/nas.md) -- [Microsoft Azure Blob Storage](https://github.com/bindoffice/minio/blob/master/docs/gateway/azure.md) -- [HDFS](https://github.com/bindoffice/minio/blob/master/docs/gateway/hdfs.md) -- [S3](https://github.com/bindoffice/minio/blob/master/docs/gateway/s3.md) -- [Google Cloud Storage](https://github.com/bindoffice/minio/blob/master/docs/gateway/gcs.md) +- [NAS](https://github.com/bindoffice/bind-store/blob/master/docs/gateway/nas.md) +- [Microsoft Azure Blob Storage](https://github.com/bindoffice/bind-store/blob/master/docs/gateway/azure.md) +- [HDFS](https://github.com/bindoffice/bind-store/blob/master/docs/gateway/hdfs.md) +- [S3](https://github.com/bindoffice/bind-store/blob/master/docs/gateway/s3.md) +- [Google Cloud Storage](https://github.com/bindoffice/bind-store/blob/master/docs/gateway/gcs.md) diff --git a/docs/gateway/azure.md b/docs/gateway/azure.md index 5d9e961..7fae1f9 100644 --- a/docs/gateway/azure.md +++ b/docs/gateway/azure.md @@ -19,7 +19,7 @@ minio gateway azure ## Test using MinIO Browser MinIO Gateway comes with an embedded web based object browser. Point your web browser to http://127.0.0.1:9000 to ensure that your server has started successfully. -![Screenshot](https://github.com/bindoffice/minio/blob/master/docs/screenshots/minio-browser-gateway.png?raw=true) +![Screenshot](https://github.com/bindoffice/bind-store/blob/master/docs/screenshots/minio-browser-gateway.png?raw=true) ## Test using MinIO Client `mc` `mc` provides a modern alternative to UNIX commands such as ls, cat, cp, mirror, diff etc. It supports filesystems and Amazon S3 compatible cloud storage services. diff --git a/docs/gateway/gcs.md b/docs/gateway/gcs.md index c873941..9f519dd 100644 --- a/docs/gateway/gcs.md +++ b/docs/gateway/gcs.md @@ -42,7 +42,7 @@ minio gateway gcs yourprojectid MinIO Gateway comes with an embedded web-based object browser that outputs content to http://127.0.0.1:9000. To test that MinIO Gateway is running, open a web browser, navigate to http://127.0.0.1:9000, and ensure that the object browser is displayed. -![Screenshot](https://github.com/bindoffice/minio/blob/master/docs/screenshots/minio-browser-gateway.png?raw=true) +![Screenshot](https://github.com/bindoffice/bind-store/blob/master/docs/screenshots/minio-browser-gateway.png?raw=true) ## 3. Test Using MinIO Client diff --git a/docs/gateway/hdfs.md b/docs/gateway/hdfs.md index 6bbcd6b..0e46d04 100644 --- a/docs/gateway/hdfs.md +++ b/docs/gateway/hdfs.md @@ -71,7 +71,7 @@ export KRB5REALM=REALM.COM ## Test using MinIO Browser *MinIO gateway* comes with an embedded web based object browser. Point your web browser to http://127.0.0.1:9000 to ensure that your server has started successfully. -![Screenshot](https://raw.githubusercontent.com/bindoffice/minio/master/docs/screenshots/minio-browser-gateway.png) +![Screenshot](https://raw.githubusercontent.com/bindoffice/bind-store/master/docs/screenshots/minio-browser-gateway.png) ## Test using MinIO Client `mc` diff --git a/docs/gateway/nas.md b/docs/gateway/nas.md index f757ac8..39de149 100644 --- a/docs/gateway/nas.md +++ b/docs/gateway/nas.md @@ -28,7 +28,7 @@ minio gateway nas /shared/nasvol MinIO Gateway comes with an embedded web based object browser. Point your web browser to http://127.0.0.1:9000 to ensure that your server has started successfully. -![Screenshot](https://raw.githubusercontent.com/bindoffice/minio/master/docs/screenshots/minio-browser-gateway.png) +![Screenshot](https://raw.githubusercontent.com/bindoffice/bind-store/master/docs/screenshots/minio-browser-gateway.png) ## Test using MinIO Client `mc` diff --git a/docs/gateway/s3.md b/docs/gateway/s3.md index a898400..2b7f30b 100644 --- a/docs/gateway/s3.md +++ b/docs/gateway/s3.md @@ -118,7 +118,7 @@ Refer [this document](https://docs.min.io/docs/minio-disk-cache-guide.html) to g ## MinIO Browser MinIO Gateway comes with an embedded web based object browser. Point your web browser to http://127.0.0.1:9000 to ensure that your server has started successfully. -![Screenshot](https://github.com/bindoffice/minio/blob/master/docs/screenshots/minio-browser-gateway.png?raw=true) +![Screenshot](https://github.com/bindoffice/bind-store/blob/master/docs/screenshots/minio-browser-gateway.png?raw=true) With MinIO S3 gateway, you can use MinIO browser to explore AWS S3 based objects. diff --git a/docs/integrations/veeam/README.md b/docs/integrations/veeam/README.md index 7d86f89..b088a13 100644 --- a/docs/integrations/veeam/README.md +++ b/docs/integrations/veeam/README.md @@ -30,7 +30,7 @@ Follow the steps from the Veeam documentation for adding MinIO as an object stor For Veeam Backup with Immutability, choose the amount of days you want to make backups immutable for -![Choose Immutability Days for Object Store](https://raw.githubusercontent.com/bindoffice/minio/master/docs/integrations/veeam/screenshots/object_store_immutable_days.png) +![Choose Immutability Days for Object Store](https://raw.githubusercontent.com/bindoffice/bind-store/master/docs/integrations/veeam/screenshots/object_store_immutable_days.png) ### Creating the Scale-out Backup Repository @@ -53,7 +53,7 @@ For Veeam Backup with Immutability, choose the amount of days you want to make b - For Veeam Backup with Immutability, you can choose a number of restore points or days to make backups immutable. -![Choose Immutability Options for Backups](https://raw.githubusercontent.com/bindoffice/minio/master/docs/integrations/veeam/screenshots/backup_job_immutable_days.png) +![Choose Immutability Options for Backups](https://raw.githubusercontent.com/bindoffice/bind-store/master/docs/integrations/veeam/screenshots/backup_job_immutable_days.png) #### Backup Office 365 with VBO - Create a new bucket for VBO backups @@ -64,7 +64,7 @@ mc mb -l myminio/vbo - Under Backup Infrastructure, right click on Object Storage Repositories and choose "Add object storage" -![Adding Object Storage to VBO Step 1](https://raw.githubusercontent.com/bindoffice/minio/master/docs/integrations/veeam/screenshots/1_add_object_store.png) +![Adding Object Storage to VBO Step 1](https://raw.githubusercontent.com/bindoffice/bind-store/master/docs/integrations/veeam/screenshots/1_add_object_store.png) - Follow through the wizard as above for Veeam Backup and Replication as the steps are the same between both products @@ -72,7 +72,7 @@ mc mb -l myminio/vbo - Follow the wizard. Under the "Object Storage Backup Repository" section, choose the MinIO object storage you created above -![Adding Object Storage to VBO Backup Repository](https://raw.githubusercontent.com/bindoffice/minio/master/docs/integrations/veeam/screenshots/6_add_sobr_with_object_store.png) +![Adding Object Storage to VBO Backup Repository](https://raw.githubusercontent.com/bindoffice/bind-store/master/docs/integrations/veeam/screenshots/6_add_sobr_with_object_store.png) - When you create your backup job, choose the backup repository you created above. diff --git a/docs/metrics/README.md b/docs/metrics/README.md index 18fb915..070b943 100644 --- a/docs/metrics/README.md +++ b/docs/metrics/README.md @@ -9,7 +9,7 @@ MinIO server has two healthcheck related un-authenticated endpoints, a liveness - Liveness probe available at `/minio/health/live` - Cluster probe available at `/minio/health/cluster` -Read more on how to use these endpoints in [MinIO healthcheck guide](https://github.com/bindoffice/minio/blob/master/docs/metrics/healthcheck/README.md). +Read more on how to use these endpoints in [MinIO healthcheck guide](https://github.com/bindoffice/bind-store/blob/master/docs/metrics/healthcheck/README.md). ### Prometheus Probe @@ -19,7 +19,7 @@ MinIO allows reading metrics for the entire cluster from any single node. This a The additional node specific metrics which include additional go metrics or process metrics are exposed at `
/minio/v2/metrics/node`. -To use this endpoint, setup Prometheus to scrape data from this endpoint. Read more on how to configure and use Prometheus to monitor MinIO server in [How to monitor MinIO server with Prometheus](https://github.com/bindoffice/minio/blob/master/docs/metrics/prometheus/README.md). +To use this endpoint, setup Prometheus to scrape data from this endpoint. Read more on how to configure and use Prometheus to monitor MinIO server in [How to monitor MinIO server with Prometheus](https://github.com/bindoffice/bind-store/blob/master/docs/metrics/prometheus/README.md). **Deprecated metrics monitoring** diff --git a/docs/metrics/prometheus/README.md b/docs/metrics/prometheus/README.md index 4a81be6..b465290 100644 --- a/docs/metrics/prometheus/README.md +++ b/docs/metrics/prometheus/README.md @@ -117,7 +117,7 @@ Here `prometheus.yml` is the name of configuration file. You can now see MinIO m ### 6. Configure Grafana After Prometheus is configured, you can use Grafana to visualize MinIO metrics. -Refer the [document here to setup Grafana with MinIO prometheus metrics](https://github.com/bindoffice/minio/blob/master/docs/metrics/prometheus/grafana/README.md). +Refer the [document here to setup Grafana with MinIO prometheus metrics](https://github.com/bindoffice/bind-store/blob/master/docs/metrics/prometheus/grafana/README.md). ## List of metrics exposed by MinIO @@ -129,4 +129,4 @@ curl https://play.min.io/minio/v2/metrics/cluster ### List of metrics reported -[The list of metrics reported can be here](https://github.com/bindoffice/minio/blob/master/docs/metrics/prometheus/list.md) +[The list of metrics reported can be here](https://github.com/bindoffice/bind-store/blob/master/docs/metrics/prometheus/list.md) diff --git a/docs/metrics/prometheus/grafana/README.md b/docs/metrics/prometheus/grafana/README.md index 92b2020..eb34de0 100644 --- a/docs/metrics/prometheus/grafana/README.md +++ b/docs/metrics/prometheus/grafana/README.md @@ -4,13 +4,13 @@ ## Prerequisites -- Prometheus and MinIO configured as explained in [document here](https://github.com/bindoffice/minio/blob/master/docs/metrics/prometheus/README.md). +- Prometheus and MinIO configured as explained in [document here](https://github.com/bindoffice/bind-store/blob/master/docs/metrics/prometheus/README.md). - Grafana installed as explained [here](https://grafana.com/grafana/download). ## MinIO Grafana Dashboard Visualize MinIO metrics with our official Grafana dashboard available on the [Grafana dashboard portal](https://grafana.com/grafana/dashboards/13502). -Refer to the dashboard [json file here](https://raw.githubusercontent.com/bindoffice/minio/master/docs/metrics/prometheus/grafana/minio-overview.json). +Refer to the dashboard [json file here](https://raw.githubusercontent.com/bindoffice/bind-store/master/docs/metrics/prometheus/grafana/minio-overview.json). -![Grafana](https://raw.githubusercontent.com/bindoffice/minio/master/docs/metrics/prometheus/grafana/grafana-minio.png) +![Grafana](https://raw.githubusercontent.com/bindoffice/bind-store/master/docs/metrics/prometheus/grafana/grafana-minio.png) diff --git a/docs/migration/migrate-from-2024/main.go b/docs/migration/migrate-from-2024/main.go new file mode 100644 index 0000000..3f9612b --- /dev/null +++ b/docs/migration/migrate-from-2024/main.go @@ -0,0 +1,377 @@ +/* + * MinIO Cloud Storage, (C) 2026 bindoffice + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +// migrate-from-2024 copies buckets and objects from a newer MinIO cluster +// (e.g. 2024 release) into this legacy-compatible deployment. +// +// Usage (from repository root): +// +// go run ./docs/migration/migrate-from-2024/ \ +// -source-endpoint minio2024.example.com:9000 \ +// -source-access-key SOURCEKEY -source-secret-key SOURCESECRET \ +// -dest-endpoint minio-legacy.example.com:9000 \ +// -dest-access-key DESTKEY -dest-secret-key DESTSECRET \ +// -dry-run +// +// What is migrated: +// - Buckets (created on destination when missing) +// - Bucket IAM policy JSON (when readable from source) +// - Object data, content-type, and user metadata (latest version only) +// +// What is NOT migrated (configure manually on destination if needed): +// - Bucket replication, lifecycle (ILM), notification, encryption config +// - Object lock / retention / legal hold +// - Object version history (use `mc mirror --version` instead) +// - STS / IAM users (use mc admin or madmin separately) +package main + +import ( + "context" + "crypto/tls" + "errors" + "flag" + "fmt" + "io" + "log" + "net/http" + "strings" + "sync" + "sync/atomic" + "time" + + minio "github.com/minio/minio-go/v7" + "github.com/minio/minio-go/v7/pkg/credentials" +) + +type config struct { + sourceEndpoint string + sourceAccess string + sourceSecret string + sourceSecure bool + sourceInsecure bool + + destEndpoint string + destAccess string + destSecret string + destSecure bool + destInsecure bool + + region string + buckets string + prefix string + workers int + dryRun bool + skipExisting bool +} + +type objectTask struct { + bucket string + key string +} + +type stats struct { + bucketsCreated int64 + objectsListed int64 + objectsCopied int64 + objectsSkipped int64 + objectsFailed int64 + bytesCopied int64 +} + +func main() { + log.SetFlags(log.LstdFlags | log.Lmicroseconds) + + cfg := config{} + flag.StringVar(&cfg.sourceEndpoint, "source-endpoint", "", "Source MinIO endpoint host:port (2024 cluster)") + flag.StringVar(&cfg.sourceAccess, "source-access-key", "", "Source access key") + flag.StringVar(&cfg.sourceSecret, "source-secret-key", "", "Source secret key") + flag.BoolVar(&cfg.sourceSecure, "source-secure", true, "Use HTTPS for source") + flag.BoolVar(&cfg.sourceInsecure, "source-insecure", false, "Skip TLS verification for source") + + flag.StringVar(&cfg.destEndpoint, "dest-endpoint", "", "Destination MinIO endpoint host:port (legacy cluster)") + flag.StringVar(&cfg.destAccess, "dest-access-key", "", "Destination access key") + flag.StringVar(&cfg.destSecret, "dest-secret-key", "", "Destination secret key") + flag.BoolVar(&cfg.destSecure, "dest-secure", true, "Use HTTPS for destination") + flag.BoolVar(&cfg.destInsecure, "dest-insecure", false, "Skip TLS verification for destination") + + flag.StringVar(&cfg.region, "region", "us-east-1", "Region for newly created buckets") + flag.StringVar(&cfg.buckets, "buckets", "", "Comma-separated bucket list (default: all buckets on source)") + flag.StringVar(&cfg.prefix, "prefix", "", "Only migrate objects with this key prefix") + flag.IntVar(&cfg.workers, "workers", 8, "Concurrent object copy workers") + flag.BoolVar(&cfg.dryRun, "dry-run", false, "List actions without writing to destination") + flag.BoolVar(&cfg.skipExisting, "skip-existing", true, "Skip when destination object etag matches source") + flag.Parse() + + if cfg.sourceEndpoint == "" || cfg.destEndpoint == "" { + flag.Usage() + log.Fatal("source-endpoint and dest-endpoint are required") + } + if cfg.sourceAccess == "" || cfg.sourceSecret == "" || cfg.destAccess == "" || cfg.destSecret == "" { + flag.Usage() + log.Fatal("source and destination credentials are required") + } + if cfg.workers < 1 { + log.Fatal("workers must be >= 1") + } + + ctx := context.Background() + + src, err := newClient(cfg.sourceEndpoint, cfg.sourceAccess, cfg.sourceSecret, cfg.sourceSecure, cfg.sourceInsecure) + if err != nil { + log.Fatalf("source client: %v", err) + } + dst, err := newClient(cfg.destEndpoint, cfg.destAccess, cfg.destSecret, cfg.destSecure, cfg.destInsecure) + if err != nil { + log.Fatalf("dest client: %v", err) + } + + bucketNames, err := resolveBuckets(ctx, src, cfg.buckets) + if err != nil { + log.Fatalf("list buckets: %v", err) + } + if len(bucketNames) == 0 { + log.Fatal("no buckets to migrate") + } + + var st stats + log.Printf("migrating %d bucket(s) from %s -> %s (dry-run=%v workers=%d)", + len(bucketNames), cfg.sourceEndpoint, cfg.destEndpoint, cfg.dryRun, cfg.workers) + + for _, bucket := range bucketNames { + if err := ensureBucket(ctx, src, dst, bucket, cfg, &st); err != nil { + log.Fatalf("bucket %q setup: %v", bucket, err) + } + if err := migrateBucketPolicy(ctx, src, dst, bucket, cfg.dryRun); err != nil { + log.Printf("bucket %q policy: %v (continuing)", bucket, err) + } + if err := migrateObjects(ctx, src, dst, bucket, cfg, &st); err != nil { + log.Fatalf("bucket %q objects: %v", bucket, err) + } + } + + log.Printf("done: buckets_created=%d listed=%d copied=%d skipped=%d failed=%d bytes=%d", + st.bucketsCreated, st.objectsListed, st.objectsCopied, st.objectsSkipped, st.objectsFailed, st.bytesCopied) + if st.objectsFailed > 0 { + log.Fatal("migration finished with errors") + } +} + +func newClient(endpoint, accessKey, secretKey string, secure, insecureTLS bool) (*minio.Client, error) { + opts := &minio.Options{ + Creds: credentials.NewStaticV4(accessKey, secretKey, ""), + Secure: secure, + } + if insecureTLS { + opts.Transport = &http.Transport{ + TLSClientConfig: &tls.Config{InsecureSkipVerify: true}, //nolint:gosec // operator opt-in + } + } + return minio.New(endpoint, opts) +} + +func resolveBuckets(ctx context.Context, src *minio.Client, bucketsFlag string) ([]string, error) { + if bucketsFlag != "" { + parts := strings.Split(bucketsFlag, ",") + out := make([]string, 0, len(parts)) + for _, b := range parts { + b = strings.TrimSpace(b) + if b != "" { + out = append(out, b) + } + } + return out, nil + } + names := make([]string, 0, 32) + buckets, err := src.ListBuckets(ctx) + if err != nil { + return nil, err + } + for _, bucket := range buckets { + names = append(names, bucket.Name) + } + return names, nil +} + +func ensureBucket(ctx context.Context, src, dst *minio.Client, bucket string, cfg config, st *stats) error { + exists, err := dst.BucketExists(ctx, bucket) + if err != nil { + return err + } + if exists { + log.Printf("bucket %q already exists on destination", bucket) + return nil + } + + // Probe source bucket exists. + exists, err = src.BucketExists(ctx, bucket) + if err != nil { + return err + } + if !exists { + return fmt.Errorf("source bucket missing") + } + + if cfg.dryRun { + log.Printf("[dry-run] would create bucket %q", bucket) + atomic.AddInt64(&st.bucketsCreated, 1) + return nil + } + + if err := dst.MakeBucket(ctx, bucket, minio.MakeBucketOptions{Region: cfg.region}); err != nil { + return err + } + atomic.AddInt64(&st.bucketsCreated, 1) + log.Printf("created bucket %q on destination", bucket) + return nil +} + +func migrateBucketPolicy(ctx context.Context, src, dst *minio.Client, bucket string, dryRun bool) error { + policy, err := src.GetBucketPolicy(ctx, bucket) + if err != nil { + if isNotFound(err) { + return nil + } + return err + } + if dryRun { + log.Printf("[dry-run] would set policy on bucket %q (%d bytes)", bucket, len(policy)) + return nil + } + return dst.SetBucketPolicy(ctx, bucket, policy) +} + +func migrateObjects(ctx context.Context, src, dst *minio.Client, bucket string, cfg config, st *stats) error { + tasks := make(chan objectTask, cfg.workers*2) + errCh := make(chan error, cfg.workers) + + var wg sync.WaitGroup + for i := 0; i < cfg.workers; i++ { + wg.Add(1) + go func() { + defer wg.Done() + for task := range tasks { + if err := copyObject(ctx, src, dst, task, cfg, st); err != nil { + atomic.AddInt64(&st.objectsFailed, 1) + log.Printf("copy failed bucket=%q key=%q: %v", task.bucket, task.key, err) + select { + case errCh <- err: + default: + } + } + } + }() + } + + go func() { + defer close(tasks) + listLatest(ctx, src, bucket, cfg, tasks, st) + }() + + wg.Wait() + close(errCh) + + select { + case err := <-errCh: + return err + default: + return nil + } +} + +func listLatest(ctx context.Context, src *minio.Client, bucket string, cfg config, tasks chan<- objectTask, st *stats) { + opts := minio.ListObjectsOptions{ + Recursive: true, + Prefix: cfg.prefix, + } + for obj := range src.ListObjects(ctx, bucket, opts) { + if obj.Err != nil { + log.Printf("list bucket=%q: %v", bucket, obj.Err) + continue + } + atomic.AddInt64(&st.objectsListed, 1) + tasks <- objectTask{bucket: bucket, key: obj.Key} + } +} + +func copyObject(ctx context.Context, src, dst *minio.Client, task objectTask, cfg config, st *stats) error { + info, err := src.StatObject(ctx, task.bucket, task.key, minio.StatObjectOptions{}) + if err != nil { + return fmt.Errorf("stat: %w", err) + } + + if cfg.skipExisting { + destInfo, err := dst.StatObject(ctx, task.bucket, task.key, minio.StatObjectOptions{}) + if err == nil && destInfo.ETag == info.ETag { + atomic.AddInt64(&st.objectsSkipped, 1) + return nil + } + } + + label := fmt.Sprintf("bucket=%q key=%q", task.bucket, task.key) + + if cfg.dryRun { + log.Printf("[dry-run] would copy %s size=%d etag=%s", label, info.Size, info.ETag) + atomic.AddInt64(&st.objectsCopied, 1) + atomic.AddInt64(&st.bytesCopied, info.Size) + return nil + } + + reader, err := src.GetObject(ctx, task.bucket, task.key, minio.GetObjectOptions{}) + if err != nil { + return fmt.Errorf("get: %w", err) + } + defer reader.Close() + + putOpts := minio.PutObjectOptions{ + ContentType: info.ContentType, + UserMetadata: cloneMetadata(info.UserMetadata), + } + if enc := info.Metadata.Get("Content-Encoding"); enc != "" { + putOpts.ContentEncoding = enc + } + + start := time.Now() + _, err = dst.PutObject(ctx, task.bucket, task.key, reader, info.Size, putOpts) + if err != nil { + return fmt.Errorf("put: %w", err) + } + // Drain reader in case PutObject did not consume all bytes. + _, _ = io.Copy(io.Discard, reader) + + atomic.AddInt64(&st.objectsCopied, 1) + atomic.AddInt64(&st.bytesCopied, info.Size) + log.Printf("copied %s size=%d etag=%s in %s", label, info.Size, info.ETag, time.Since(start).Round(time.Millisecond)) + return nil +} + +func cloneMetadata(in map[string]string) map[string]string { + if len(in) == 0 { + return nil + } + out := make(map[string]string, len(in)) + for k, v := range in { + out[k] = v + } + return out +} + +func isNotFound(err error) bool { + var resp minio.ErrorResponse + if errors.As(err, &resp) { + return resp.Code == "NoSuchBucketPolicy" || resp.Code == "NoSuchKey" || resp.StatusCode == http.StatusNotFound + } + return false +} diff --git a/docs/minio-limits.md b/docs/minio-limits.md index 8e2344c..f529c66 100644 --- a/docs/minio-limits.md +++ b/docs/minio-limits.md @@ -36,7 +36,7 @@ |Maximum number of multipart uploads returned per list multipart uploads request| 1000| ### List of Amazon S3 API's not supported on MinIO -We found the following APIs to be redundant or less useful outside of AWS S3. If you have a different view on any of the APIs we missed, please open a [github issue](https://github.com/bindoffice/minio/issues). +We found the following APIs to be redundant or less useful outside of AWS S3. If you have a different view on any of the APIs we missed, please open a [github issue](https://github.com/bindoffice/bind-store/issues). #### List of Amazon S3 Bucket API's not supported on MinIO diff --git a/docs/multi-tenancy/README.md b/docs/multi-tenancy/README.md index a4912b9..ffe1c4f 100644 --- a/docs/multi-tenancy/README.md +++ b/docs/multi-tenancy/README.md @@ -20,7 +20,7 @@ minio server --address :9002 /data/tenant2 minio server --address :9003 /data/tenant3 ``` -![Example-1](https://github.com/bindoffice/minio/blob/master/docs/screenshots/Example-1.jpg?raw=true) +![Example-1](https://github.com/bindoffice/bind-store/blob/master/docs/screenshots/Example-1.jpg?raw=true) ### 1.2 Host Multiple Tenants on Multiple Drives (Erasure Code) @@ -32,7 +32,7 @@ minio server --address :9002 /disk{1...4}/data/tenant2 minio server --address :9003 /disk{1...4}/data/tenant3 ``` -![Example-2](https://github.com/bindoffice/minio/blob/master/docs/screenshots/Example-2.jpg?raw=true) +![Example-2](https://github.com/bindoffice/bind-store/blob/master/docs/screenshots/Example-2.jpg?raw=true) ## 2. Distributed Deployment @@ -58,7 +58,7 @@ minio server --address :9003 http://192.168.10.1{1...4}/data/tenant3 **Note:** Execute the commands on all 4 nodes. -![Example-3](https://github.com/bindoffice/minio/blob/master/docs/screenshots/Example-3.jpg?raw=true) +![Example-3](https://github.com/bindoffice/bind-store/blob/master/docs/screenshots/Example-3.jpg?raw=true) **Note**: On distributed systems, credentials must be defined and exported using the `MINIO_ROOT_USER` and `MINIO_ROOT_PASSWORD` environment variables. If a domain is required, it must be specified by defining and exporting the `MINIO_DOMAIN` environment variable. diff --git a/docs/multi-user/README.md b/docs/multi-user/README.md index acd7d86..c5b8ec8 100644 --- a/docs/multi-user/README.md +++ b/docs/multi-user/README.md @@ -7,7 +7,7 @@ In this document we will explain in detail on how to configure multiple users. ### 1. Prerequisites - Install mc - [MinIO Client Quickstart Guide](https://docs.min.io/docs/minio-client-quickstart-guide.html) - Install MinIO - [MinIO Quickstart Guide](https://docs.min.io/docs/minio-quickstart-guide) -- Configure etcd (optional needed only in gateway or federation mode) - [Etcd V3 Quickstart Guide](https://github.com/bindoffice/minio/blob/master/docs/sts/etcd.md) +- Configure etcd (optional needed only in gateway or federation mode) - [Etcd V3 Quickstart Guide](https://github.com/bindoffice/bind-store/blob/master/docs/sts/etcd.md) ### 2. Create a new user with canned policy Use [`mc admin policy`](https://docs.min.io/docs/minio-admin-complete-guide.html#policies) to create canned policies. Server provides a default set of canned policies namely `writeonly`, `readonly` and `readwrite` *(these policies apply to all resources on the server)*. These can be overridden by custom policies using `mc admin policy` command. diff --git a/docs/orchestration/README.md b/docs/orchestration/README.md index 1acb7a3..a305601 100644 --- a/docs/orchestration/README.md +++ b/docs/orchestration/README.md @@ -19,4 +19,4 @@ MinIO is built ground up on the cloud-native premise. With features like erasure In a typical modern infrastructure deployment, application, database, key-store, etc. already live in containers and are managed by orchestration platforms. MinIO brings robust, scalable, AWS S3 compatible object storage to the lot. -![Cloud-native](https://github.com/bindoffice/minio/blob/master/docs/screenshots/Minio_Cloud_Native_Arch.jpg?raw=true) +![Cloud-native](https://github.com/bindoffice/bind-store/blob/master/docs/screenshots/Minio_Cloud_Native_Arch.jpg?raw=true) diff --git a/docs/orchestration/docker-compose/README.md b/docs/orchestration/docker-compose/README.md index 64358dc..d474ee0 100644 --- a/docs/orchestration/docker-compose/README.md +++ b/docs/orchestration/docker-compose/README.md @@ -11,7 +11,7 @@ With Compose, you use a Compose file to configure MinIO services. Then, using a ## 2. Run Distributed MinIO on Docker Compose -To deploy Distributed MinIO on Docker Compose, please download [docker-compose.yaml](https://github.com/bindoffice/minio/blob/master/docs/orchestration/docker-compose/docker-compose.yaml?raw=true) and [nginx.conf](https://github.com/bindoffice/minio/blob/master/docs/orchestration/docker-compose/nginx.conf?raw=true) to your current working directory. Note that Docker Compose pulls the MinIO Docker image, so there is no need to explicitly download MinIO binary. Then run one of the below commands +To deploy Distributed MinIO on Docker Compose, please download [docker-compose.yaml](https://github.com/bindoffice/bind-store/blob/master/docs/orchestration/docker-compose/docker-compose.yaml?raw=true) and [nginx.conf](https://github.com/bindoffice/bind-store/blob/master/docs/orchestration/docker-compose/nginx.conf?raw=true) to your current working directory. Note that Docker Compose pulls the MinIO Docker image, so there is no need to explicitly download MinIO binary. Then run one of the below commands ### GNU/Linux and macOS diff --git a/docs/orchestration/docker-swarm/README.md b/docs/orchestration/docker-swarm/README.md index 5914d2e..1291ab6 100644 --- a/docs/orchestration/docker-swarm/README.md +++ b/docs/orchestration/docker-swarm/README.md @@ -47,7 +47,7 @@ docker node update --label-add minio4=true It is possible to run more than one minio service on one Docker Node. Set the labels accordingly. -Download the [Docker Compose file](https://github.com/bindoffice/minio/blob/master/docs/orchestration/docker-swarm/docker-compose-secrets.yaml?raw=true) on your Swarm master. Then execute the command +Download the [Docker Compose file](https://github.com/bindoffice/bind-store/blob/master/docs/orchestration/docker-swarm/docker-compose-secrets.yaml?raw=true) on your Swarm master. Then execute the command ```shell docker stack deploy --compose-file=docker-compose-secrets.yaml minio_stack diff --git a/docs/security/README.md b/docs/security/README.md index dea6fd6..ba8e10c 100644 --- a/docs/security/README.md +++ b/docs/security/README.md @@ -81,7 +81,7 @@ server only assumes that the KMS provides two services: - `DecryptKey`: Takes a key ID and an encrypted data key and returns the plain data key - the decryption of the encrypted data key using the master key referenced by the key ID - on success or an error otherwise. -More details about supported KMS implementations and configuration can be found at the [KMS guide](https://github.com/bindoffice/minio/blob/master/docs/kms/README.md). +More details about supported KMS implementations and configuration can be found at the [KMS guide](https://github.com/bindoffice/bind-store/blob/master/docs/kms/README.md). The MinIO server requests a new data key from the KMS for each uploaded object and uses that data key as EK. Additionally it stores the encrypted form of the data key and the master key ID as part of the object metadata. The plain data only resides in RAM during the en/decryption process. The MinIO server does not store any SSE-related key at the KMS. Instead the KMS is treated as trusted component that performs key sealing/unsealing operations to build a key hierarchy: diff --git a/docs/shared-backend/README.md b/docs/shared-backend/README.md index 5aa529e..c4421d2 100644 --- a/docs/shared-backend/README.md +++ b/docs/shared-backend/README.md @@ -2,7 +2,7 @@ MinIO shared mode lets you use single [NAS](https://en.wikipedia.org/wiki/Network-attached_storage) (like NFS, GlusterFS, and other distributed filesystems) as the storage backend for multiple MinIO servers. Synchronization among MinIO servers is taken care by design. -Read more about the MinIO shared mode design [here](https://github.com/bindoffice/minio/blob/master/docs/shared-backend/DESIGN.md). +Read more about the MinIO shared mode design [here](https://github.com/bindoffice/bind-store/blob/master/docs/shared-backend/DESIGN.md). MinIO shared mode is developed to solve several real world use cases, without any special configuration changes. Some of these are diff --git a/docs/sts/README.md b/docs/sts/README.md index 2247c70..623bca8 100644 --- a/docs/sts/README.md +++ b/docs/sts/README.md @@ -13,16 +13,16 @@ Following are advantages for using temporary credentials: ## Identity Federation |AuthN | Description | | :---------------------- | ------------------------------------------ | -| [**Client grants**](https://github.com/bindoffice/minio/blob/master/docs/sts/client-grants.md) | Let applications request `client_grants` using any well-known third party identity provider such as KeyCloak, Okta. This is known as the client grants approach to temporary access. Using this approach helps clients keep MinIO credentials to be secured. MinIO STS supports client grants, tested against identity providers such as KeyCloak, Okta. | -| [**WebIdentity**](https://github.com/bindoffice/minio/blob/master/docs/sts/web-identity.md) | Let users request temporary credentials using any OpenID(OIDC) compatible web identity providers such as KeyCloak, Dex, Facebook, Google etc. | -| [**AssumeRole**](https://github.com/bindoffice/minio/blob/master/docs/sts/assume-role.md) | Let MinIO users request temporary credentials using user access and secret keys. | -| [**AD/LDAP**](https://github.com/bindoffice/minio/blob/master/docs/sts/ldap.md) | Let AD/LDAP users request temporary credentials using AD/LDAP username and password. | +| [**Client grants**](https://github.com/bindoffice/bind-store/blob/master/docs/sts/client-grants.md) | Let applications request `client_grants` using any well-known third party identity provider such as KeyCloak, Okta. This is known as the client grants approach to temporary access. Using this approach helps clients keep MinIO credentials to be secured. MinIO STS supports client grants, tested against identity providers such as KeyCloak, Okta. | +| [**WebIdentity**](https://github.com/bindoffice/bind-store/blob/master/docs/sts/web-identity.md) | Let users request temporary credentials using any OpenID(OIDC) compatible web identity providers such as KeyCloak, Dex, Facebook, Google etc. | +| [**AssumeRole**](https://github.com/bindoffice/bind-store/blob/master/docs/sts/assume-role.md) | Let MinIO users request temporary credentials using user access and secret keys. | +| [**AD/LDAP**](https://github.com/bindoffice/bind-store/blob/master/docs/sts/ldap.md) | Let AD/LDAP users request temporary credentials using AD/LDAP username and password. | ### Understanding JWT Claims > NOTE: JWT claims are only meant for WebIdentity and ClientGrants. > AssumeRole or LDAP users can skip the entire portion and directly visit one of the links below. -> - [**AssumeRole**](https://github.com/bindoffice/minio/blob/master/docs/sts/assume-role.md) -> - [**AD/LDAP**](https://github.com/bindoffice/minio/blob/master/docs/sts/ldap.md) +> - [**AssumeRole**](https://github.com/bindoffice/bind-store/blob/master/docs/sts/assume-role.md) +> - [**AD/LDAP**](https://github.com/bindoffice/bind-store/blob/master/docs/sts/ldap.md) The access token received is a signed JSON Web Token (JWT). Use a JWT decoder to decode the access token to access the payload of the token that includes following JWT claims, `policy` claim is mandatory and should be present as part of your JWT claim. Without this claim the generated credentials will not have access to any resources on the server, using these credentials application would receive 'Access Denied' errors. @@ -33,11 +33,11 @@ The access token received is a signed JSON Web Token (JWT). Use a JWT decoder to ## Get started In this document we will explain in detail on how to configure all the prerequisites. -> NOTE: If you are interested in AssumeRole API only, skip to [here](https://github.com/bindoffice/minio/blob/master/docs/sts/assume-role.md) +> NOTE: If you are interested in AssumeRole API only, skip to [here](https://github.com/bindoffice/bind-store/blob/master/docs/sts/assume-role.md) ### Prerequisites -- [Configuring keycloak](https://github.com/bindoffice/minio/blob/master/docs/sts/keycloak.md) -- [Configuring etcd (optional needed only in gateway or federation mode)](https://github.com/bindoffice/minio/blob/master/docs/sts/etcd.md) +- [Configuring keycloak](https://github.com/bindoffice/bind-store/blob/master/docs/sts/keycloak.md) +- [Configuring etcd (optional needed only in gateway or federation mode)](https://github.com/bindoffice/bind-store/blob/master/docs/sts/etcd.md) ### Setup MinIO with Keycloak Make sure we have followed the previous step and configured each software independently, once done we can now proceed to use MinIO STS API and MinIO server to use these credentials to perform object API operations. diff --git a/docs/sts/client-grants.md b/docs/sts/client-grants.md index 56f5c17..c275aa9 100644 --- a/docs/sts/client-grants.md +++ b/docs/sts/client-grants.md @@ -100,7 +100,7 @@ minio server /mnt/export ``` Testing with an example -> Obtaining client ID and secrets follow [Keycloak configuring documentation](https://github.com/bindoffice/minio/blob/master/docs/sts/keycloak.md) +> Obtaining client ID and secrets follow [Keycloak configuring documentation](https://github.com/bindoffice/bind-store/blob/master/docs/sts/keycloak.md) ``` $ go run client-grants.go -cid PoEgXP6uVO45IsENRngDXj5Au5Ya -csec eKsw6z8CtOJVBtrOWvhRWL4TUCga diff --git a/docs/sts/etcd.md b/docs/sts/etcd.md index 6b87e6d..f06474a 100644 --- a/docs/sts/etcd.md +++ b/docs/sts/etcd.md @@ -43,7 +43,7 @@ NOTE: If `etcd` is configured with `Client-to-server authentication with HTTPS c ### 4. Test with MinIO STS API Once etcd is configured, **any STS configuration** will work including Client Grants, Web Identity or AD/LDAP. -For example, you can configure STS with Client Grants (KeyCloak) using the guides at [MinIO STS Quickstart Guide](https://docs.min.io/docs/minio-sts-quickstart-guide) and [KeyCloak Configuration Guide](https://github.com/bindoffice/minio/blob/master/docs/sts/keycloak.md). Once this is done, STS credentials can be generated: +For example, you can configure STS with Client Grants (KeyCloak) using the guides at [MinIO STS Quickstart Guide](https://docs.min.io/docs/minio-sts-quickstart-guide) and [KeyCloak Configuration Guide](https://github.com/bindoffice/bind-store/blob/master/docs/sts/keycloak.md). Once this is done, STS credentials can be generated: ``` go run client-grants.go -cid PoEgXP6uVO45IsENRngDXj5Au5Ya -csec eKsw6z8CtOJVBtrOWvhRWL4TUCga @@ -57,7 +57,7 @@ go run client-grants.go -cid PoEgXP6uVO45IsENRngDXj5Au5Ya -csec eKsw6z8CtOJVBtrO } ``` -These credentials can now be used to perform MinIO API operations, these credentials automatically expire in 1hr. To understand more about credential expiry duration and client grants STS API read further [here](https://github.com/bindoffice/minio/blob/master/docs/sts/client-grants.md). +These credentials can now be used to perform MinIO API operations, these credentials automatically expire in 1hr. To understand more about credential expiry duration and client grants STS API read further [here](https://github.com/bindoffice/bind-store/blob/master/docs/sts/client-grants.md). ## Explore Further - [MinIO STS Quickstart Guide](https://docs.min.io/docs/minio-sts-quickstart-guide) diff --git a/docs/sts/ldap.md b/docs/sts/ldap.md index 3e5c01c..ce1b01c 100644 --- a/docs/sts/ldap.md +++ b/docs/sts/ldap.md @@ -239,7 +239,7 @@ $ export MINIO_IDENTITY_LDAP_GROUP_SEARCH_BASE_DN='dc=minioad,dc=local;dc=somedo $ export MINIO_IDENTITY_LDAP_GROUP_SEARCH_FILTER='(&(objectclass=group)(member=%s))' $ minio server ~/test ``` -You can make sure it works appropriately using our [example program](https://raw.githubusercontent.com/bindoffice/minio/master/docs/sts/ldap.go): +You can make sure it works appropriately using our [example program](https://raw.githubusercontent.com/bindoffice/bind-store/master/docs/sts/ldap.go): ``` $ go run ldap.go -u foouser -p foopassword diff --git a/docs/sts/web-identity.go b/docs/sts/web-identity.go index 657db84..83367f9 100644 --- a/docs/sts/web-identity.go +++ b/docs/sts/web-identity.go @@ -37,7 +37,7 @@ import ( "github.com/minio/minio-go/v7" "github.com/minio/minio-go/v7/pkg/credentials" - "github.com/bindoffice/minio/pkg/auth" + "github.com/bindoffice/bind-store/pkg/auth" ) // AssumedRoleUser - The identifiers for the temporary security credentials that diff --git a/docs/sts/wso2.md b/docs/sts/wso2.md index 9c1824c..48c6a1c 100644 --- a/docs/sts/wso2.md +++ b/docs/sts/wso2.md @@ -87,7 +87,7 @@ go run client-grants.go -cid PoEgXP6uVO45IsENRngDXj5Au5Ya -csec eKsw6z8CtOJVBtrO } ``` -These credentials can now be used to perform MinIO API operations, these credentials automatically expire in 1hr. To understand more about credential expiry duration and client grants STS API read further [here](https://github.com/bindoffice/minio/blob/master/docs/sts/client-grants.md). +These credentials can now be used to perform MinIO API operations, these credentials automatically expire in 1hr. To understand more about credential expiry duration and client grants STS API read further [here](https://github.com/bindoffice/bind-store/blob/master/docs/sts/client-grants.md). ## Explore Further - [MinIO STS Quickstart Guide](https://docs.min.io/docs/minio-sts-quickstart-guide) diff --git a/docs/tls/README.md b/docs/tls/README.md index a003505..1bd94ad 100644 --- a/docs/tls/README.md +++ b/docs/tls/README.md @@ -233,7 +233,7 @@ MinIO can connect to other servers, including MinIO nodes or other server types * **Windows**: `C:\Users\\.minio\certs\CAs` # Explore Further -* [TLS Configuration for MinIO server on Kubernetes](https://github.com/bindoffice/minio/tree/master/docs/tls/kubernetes) +* [TLS Configuration for MinIO server on Kubernetes](https://github.com/bindoffice/bind-store/tree/master/docs/tls/kubernetes) * [MinIO Client Complete Guide](https://docs.min.io/docs/minio-client-complete-guide) * [Generate Let's Encrypt Certificate](https://docs.min.io/docs/generate-let-s-encypt-certificate-using-concert-for-minio) * [Setup nginx Proxy with MinIO Server](https://docs.min.io/docs/setup-nginx-proxy-with-minio) diff --git a/docs/tls/kubernetes/README.md b/docs/tls/kubernetes/README.md index b1608ae..2604f7d 100644 --- a/docs/tls/kubernetes/README.md +++ b/docs/tls/kubernetes/README.md @@ -12,7 +12,7 @@ This document explains how to configure MinIO server with TLS certificates on Ku For a [distributed MinIO setup](https://docs.min.io/docs/distributed-minio-quickstart-guide), where there are multiple pods with different domain names expected to run, you will either need wildcard certificates valid for all the domains or have specific certificates for each domain. If you are going to use specific certificates, make sure to create Kubernetes secrets accordingly. -For testing purposes, here is [how to create self-signed certificates](https://github.com/bindoffice/minio/tree/master/docs/tls#3-generate-self-signed-certificates). +For testing purposes, here is [how to create self-signed certificates](https://github.com/bindoffice/bind-store/tree/master/docs/tls#3-generate-self-signed-certificates). ## 2. Create Kubernetes secret diff --git a/docs/zh_CN/bucket/quota/README.md b/docs/zh_CN/bucket/quota/README.md index 8bed5f6..c6a563c 100644 --- a/docs/zh_CN/bucket/quota/README.md +++ b/docs/zh_CN/bucket/quota/README.md @@ -1,6 +1,6 @@ # 存储桶配额配置快速入门指南 [![Slack](https://slack.min.io/slack?type=svg)](https://slack.min.io) [![Docker Pulls](https://img.shields.io/docker/pulls/minio/minio.svg?maxAge=604800)](https://hub.docker.com/r/minio/minio/) -![quota](https://raw.githubusercontent.com/bindoffice/minio/master/docs/zh_CN/bucket/quota/bucketquota.png) +![quota](https://raw.githubusercontent.com/bindoffice/bind-store/master/docs/zh_CN/bucket/quota/bucketquota.png) 存储桶有两种配额类型可供选择,分别是FIFO和Hard。 diff --git a/docs/zh_CN/bucket/replication/README.md b/docs/zh_CN/bucket/replication/README.md index 699c5ee..1e0d3c7 100644 --- a/docs/zh_CN/bucket/replication/README.md +++ b/docs/zh_CN/bucket/replication/README.md @@ -69,15 +69,15 @@ Replication configuration applied successfully to myminio/srcbucket. 按照S3规范,当从源存储桶中删除一个对象后,副本不会被删除。 -![delete](https://raw.githubusercontent.com/bindoffice/minio/master/docs/zh_CN/bucket/replication/DELETE_bucket_replication.png) +![delete](https://raw.githubusercontent.com/bindoffice/bind-store/master/docs/zh_CN/bucket/replication/DELETE_bucket_replication.png) 当对象锁定与复制结合使用时,源桶和目标桶都需要启用对象锁定。同理,如果目标也支持加密,则服务器端将复制加密的对象。 复制状态可以在源和目标对象的元数据中看到。在源端,根据复制的结果是成功还是失败,`X-Amz-Replication-Status`会从`PENDING`变更为`COMPLETED`或者 `FAILED`状态。 在目标端,对象成功复制,`X-Amz-Replication-Status`会被设置为`REPLICA`状态。在定期的磁盘扫描周期中,任何复制失败都将自动重新尝试。 -![put](https://raw.githubusercontent.com/bindoffice/minio/master/docs/zh_CN/bucket/replication/PUT_bucket_replication.png) +![put](https://raw.githubusercontent.com/bindoffice/bind-store/master/docs/zh_CN/bucket/replication/PUT_bucket_replication.png) -![head](https://raw.githubusercontent.com/bindoffice/minio/master/docs/zh_CN/bucket/replication/HEAD_bucket_replication.png) +![head](https://raw.githubusercontent.com/bindoffice/bind-store/master/docs/zh_CN/bucket/replication/HEAD_bucket_replication.png) ## 进一步探索 - [MinIO存储桶版本控制实现](https://docs.minio.io/docs/minio-bucket-versioning-guide.html) diff --git a/docs/zh_CN/bucket/versioning/DESIGN.md b/docs/zh_CN/bucket/versioning/DESIGN.md index 5e70823..82061a0 100644 --- a/docs/zh_CN/bucket/versioning/DESIGN.md +++ b/docs/zh_CN/bucket/versioning/DESIGN.md @@ -26,7 +26,7 @@ var ( - LegacyObjectType (遗留的现有部署和较旧的xl.json格式) - DeleteMarker (一个versionId,主要是为了实现AWS规范兼容的DELETE序列) -以下是个msgpack格式的`xl.meta`转为JSON后的样例,你可以通过 [xl-meta-to-json.go](https://github.com/bindoffice/minio/blob/master/docs/zh_CN/bucket/versioning/xl-meta-to-json.go) 这个小程序把`xl.meta`转成JSON,查看里面的内容。 +以下是个msgpack格式的`xl.meta`转为JSON后的样例,你可以通过 [xl-meta-to-json.go](https://github.com/bindoffice/bind-store/blob/master/docs/zh_CN/bucket/versioning/xl-meta-to-json.go) 这个小程序把`xl.meta`转成JSON,查看里面的内容。 ```json { "Versions": [ diff --git a/docs/zh_CN/bucket/versioning/README.md b/docs/zh_CN/bucket/versioning/README.md index 0b149a9..a73d1a0 100644 --- a/docs/zh_CN/bucket/versioning/README.md +++ b/docs/zh_CN/bucket/versioning/README.md @@ -10,25 +10,25 @@ MinIO的版本控制,可以让一个存储通里的某个对象具有多个版 当您在启用版本控制的存储桶中PUT一个对象时,非当前版本不会被覆盖。下图显示,当将新版本的`spark.csv`放入已经包含相同名称对象的存储桶中时,原始对象(ID = `ede336f2`)保留在存储桶中,MinIO生成新版本(ID = `fae684da`),并将新版本添加到存储桶中。 -![put](https://raw.githubusercontent.com/bindoffice/minio/master/docs/zh_CN/bucket/versioning/versioning_PUT_versionEnabled.png) +![put](https://raw.githubusercontent.com/bindoffice/bind-store/master/docs/zh_CN/bucket/versioning/versioning_PUT_versionEnabled.png) 这意味着对对象的意外覆盖或删除进行了保护,允许检索对象的先前版本。 删除对象时,所有版本都保留在存储桶中,MinIO添加删除标记,如下所示: -![delete](https://raw.githubusercontent.com/bindoffice/minio/master/docs/zh_CN/bucket/versioning/versioning_DELETE_versionEnabled.png) +![delete](https://raw.githubusercontent.com/bindoffice/bind-store/master/docs/zh_CN/bucket/versioning/versioning_DELETE_versionEnabled.png) 现在,删除标记成为对象的当前版本。默认情况下,GET请求始终检索最新的存储版本。因此,当当前版本为删除标记时,执行简单的GET对象请求将返回`404` `The specified key does not exist`,如下所示: -![get](https://raw.githubusercontent.com/bindoffice/minio/master/docs/zh_CN/bucket/versioning/versioning_GET_versionEnabled.png) +![get](https://raw.githubusercontent.com/bindoffice/bind-store/master/docs/zh_CN/bucket/versioning/versioning_GET_versionEnabled.png) 通过指定如下所示的版本ID进行GET请求,你可以检索特定的对象版本`fae684da`。 -![get_version_id](https://raw.githubusercontent.com/bindoffice/minio/master/docs/zh_CN/bucket/versioning/versioning_GET_versionEnabled_id.png) +![get_version_id](https://raw.githubusercontent.com/bindoffice/bind-store/master/docs/zh_CN/bucket/versioning/versioning_GET_versionEnabled_id.png) 要永久删除对象,你需要指定要删除的版本,只有具有适当权限的用户才能永久删除版本。如下所示,使用特定版本ID调用的DELETE请求从存储桶中永久删除一个对象。带版本id的DELETE请求不会添加删除标记。 -![delete_version_id](https://raw.githubusercontent.com/bindoffice/minio/master/docs/zh_CN/bucket/versioning/versioning_DELETE_versionEnabled_id.png) +![delete_version_id](https://raw.githubusercontent.com/bindoffice/bind-store/master/docs/zh_CN/bucket/versioning/versioning_DELETE_versionEnabled_id.png) ## 概念 - MinIO上的所有存储桶始终处于以下状态之一:无版本控制(默认),启用版本控制或暂停版本控制。 diff --git a/docs/zh_CN/config/README.md b/docs/zh_CN/config/README.md index c5a0b45..849ef10 100644 --- a/docs/zh_CN/config/README.md +++ b/docs/zh_CN/config/README.md @@ -91,7 +91,7 @@ minio server /data ``` ### 存储类型 -默认情况下,标准存储类型的奇偶校验值设置为N/2,低冗余的存储类型奇偶校验值设置为2。在[此处](https://github.com/bindoffice/minio/blob/master/docs/zh_CN/erasure/storage-class/README.md)了解有关MinIO服务器存储类型的更多信息。 +默认情况下,标准存储类型的奇偶校验值设置为N/2,低冗余的存储类型奇偶校验值设置为2。在[此处](https://github.com/bindoffice/bind-store/blob/master/docs/zh_CN/erasure/storage-class/README.md)了解有关MinIO服务器存储类型的更多信息。 ``` KEY: @@ -177,7 +177,7 @@ MINIO_ETCD_COMMENT (sentence) 为这个设置添加一个可选的注 ``` ### API -默认情况下,服务器/集群同时处理的并发请求数没有限制。 但是,可以使用API子系统强加这种限制。 在[此处](https://github.com/bindoffice/minio/blob/master/docs/zh_CN/throttle/README.md)阅读有关MinIO服务器中限制限制的更多信息。 +默认情况下,服务器/集群同时处理的并发请求数没有限制。 但是,可以使用API子系统强加这种限制。 在[此处](https://github.com/bindoffice/bind-store/blob/master/docs/zh_CN/throttle/README.md)阅读有关MinIO服务器中限制限制的更多信息。 ``` KEY: diff --git a/docs/zh_CN/deployment/kernel-tuning/README.md b/docs/zh_CN/deployment/kernel-tuning/README.md index 2eefb63..b8b4353 100644 --- a/docs/zh_CN/deployment/kernel-tuning/README.md +++ b/docs/zh_CN/deployment/kernel-tuning/README.md @@ -1,6 +1,6 @@ # Linux服务器上MinIO生产环境的内核调优 [![Slack](https://slack.min.io/slack?type=svg)](https://slack.min.io) [![Docker Pulls](https://img.shields.io/docker/pulls/minio/minio.svg?maxAge=604800)](https://hub.docker.com/r/minio/minio/) -这儿有一份针对MinIO服务器内核调优的建议, 你可以拷贝这个[脚本](https://github.com/bindoffice/minio/blob/master/docs/deployment/kernel-tuning/sysctl.sh)到你的服务器上使用。 +这儿有一份针对MinIO服务器内核调优的建议, 你可以拷贝这个[脚本](https://github.com/bindoffice/bind-store/blob/master/docs/deployment/kernel-tuning/sysctl.sh)到你的服务器上使用。 > 注意: 这是Linux服务器上的通用建议,不过在使用前也要非常小心。这些设置不是强制性的,而且也不能解决硬件的问题,所以不要使用它们提高 > 性能掩盖硬件本身的问题。在任何情况下,都应该先进行硬件基准测试,达到预期结果后才真正的执行优化。 diff --git a/docs/zh_CN/disk-caching/DESIGN.md b/docs/zh_CN/disk-caching/DESIGN.md index 83cc06f..3eb613c 100644 --- a/docs/zh_CN/disk-caching/DESIGN.md +++ b/docs/zh_CN/disk-caching/DESIGN.md @@ -1,6 +1,6 @@ # 磁盘缓存设计 [![Slack](https://slack.min.io/slack?type=svg)](https://slack.min.io) -本文档介绍了一些基本假设和设计方法,以及磁盘缓存功能的限制。如果您希望入门使用磁盘缓存,建议您先阅读[入门文档](https://github.com/bindoffice/minio/blob/master/docs/zh_CN/disk-caching/README.md)。 +本文档介绍了一些基本假设和设计方法,以及磁盘缓存功能的限制。如果您希望入门使用磁盘缓存,建议您先阅读[入门文档](https://github.com/bindoffice/bind-store/blob/master/docs/zh_CN/disk-caching/README.md)。 ## 命令行 diff --git a/docs/zh_CN/disk-caching/README.md b/docs/zh_CN/disk-caching/README.md index 5865c2f..eee4a51 100644 --- a/docs/zh_CN/disk-caching/README.md +++ b/docs/zh_CN/disk-caching/README.md @@ -34,7 +34,7 @@ minio gateway s3 要验证是否部署成功,你可以通过浏览器或者[`mc`](https://docs.min.io/cn/minio-client-quickstart-guide)来访问刚刚部署的MinIO网关。你应该可以看到上传的文件在所有MinIO节点上都可以访问。 # 了解更多 -- [磁盘缓存设计](https://github.com/bindoffice/minio/blob/master/docs/zh_CN/disk-caching/DESIGN.md) +- [磁盘缓存设计](https://github.com/bindoffice/bind-store/blob/master/docs/zh_CN/disk-caching/DESIGN.md) - [`mc`快速入门](https://docs.min.io/cn/minio-client-quickstart-guide) - [使用 `aws-cli`](https://docs.min.io/cn/aws-cli-with-minio) - [使用 `s3cmd`](https://docs.min.io/cn/s3cmd-with-minio) diff --git a/docs/zh_CN/distributed/README.md b/docs/zh_CN/distributed/README.md index 7cfc5d8..b969141 100644 --- a/docs/zh_CN/distributed/README.md +++ b/docs/zh_CN/distributed/README.md @@ -9,7 +9,7 @@ ### 数据保护 -分布式Minio采用 [纠删码](https://docs.min.io/cn/minio-erasure-code-quickstart-guide)来防范多个节点宕机和[位衰减`bit rot`](https://github.com/bindoffice/minio/blob/master/docs/zh_CN/erasure/README.md#what-is-bit-rot-protection)。 +分布式Minio采用 [纠删码](https://docs.min.io/cn/minio-erasure-code-quickstart-guide)来防范多个节点宕机和[位衰减`bit rot`](https://github.com/bindoffice/bind-store/blob/master/docs/zh_CN/erasure/README.md#what-is-bit-rot-protection)。 分布式Minio至少需要4个硬盘,使用分布式Minio自动引入了纠删码功能。 @@ -19,7 +19,7 @@ 例如,一个16节点的Minio集群,每个节点200块硬盘,就算8台服務器宕机,即大概有1600块硬盘,这个集群仍然是可读的,不过你需要9台服務器在线才能写数据。 -你还可以使用[存储类型](https://github.com/bindoffice/minio/tree/master/docs/zh_CN/erasure/storage-class)自定义每个对象的奇偶分布。 +你还可以使用[存储类型](https://github.com/bindoffice/bind-store/tree/master/docs/zh_CN/erasure/storage-class)自定义每个对象的奇偶分布。 ### 一致性 @@ -53,7 +53,7 @@ Minio在分布式和单机模式下,所有读写操作都严格遵守**read-af 示例1: 启动分布式Minio实例,8个节点,每节点1块盘,需要在8个节点上都运行下面的命令。 示例1: 在n个节点上启动分布式MinIO实例,每个节点有m个磁盘,分别挂载在`/export1` 到 `/exportm` (如下图所示), 在所有n个节点上运行此命令: -![Distributed MinIO, n nodes with m drives each](https://github.com/bindoffice/minio/blob/master/docs/screenshots/Architecture-diagram_distributed_nm.png?raw=true) +![Distributed MinIO, n nodes with m drives each](https://github.com/bindoffice/bind-store/blob/master/docs/screenshots/Architecture-diagram_distributed_nm.png?raw=true) #### GNU/Linux 和 macOS diff --git a/docs/zh_CN/erasure/README.md b/docs/zh_CN/erasure/README.md index 289b7d7..80ebe04 100644 --- a/docs/zh_CN/erasure/README.md +++ b/docs/zh_CN/erasure/README.md @@ -6,7 +6,7 @@ Minio使用纠删码`erasure code`和`checksum`来保护数据免受硬件故障 纠删码是一种恢复丢失和损坏数据的数学算法, Minio采用里德-所罗门码将对象分片为数据和奇偶校验块。 这就意味着如果是12块盘,一个对象可被分片的范围是:6个数据块和6个奇偶校验块 到 10个数据块和2个奇偶校验块之间。 -默认情况下, MinIO 将对象拆分成N/2数据和N/2 奇偶校验盘. 虽然你可以通过 [存储类型](https://github.com/bindoffice/minio/tree/master/docs/zh_CN/erasure/storage-class) 自定义配置, 但是我们还是推荐N/2个数据和奇偶校验块, 因为它可以确保对硬盘故障提供最佳保护。 +默认情况下, MinIO 将对象拆分成N/2数据和N/2 奇偶校验盘. 虽然你可以通过 [存储类型](https://github.com/bindoffice/bind-store/tree/master/docs/zh_CN/erasure/storage-class) 自定义配置, 但是我们还是推荐N/2个数据和奇偶校验块, 因为它可以确保对硬盘故障提供最佳保护。 比如上面12个盘的例子,通过默认配置运行MinIO服务的话,你可以丢失任意6块盘(不管其是存放的数据块还是奇偶校验块),你仍可以从剩下的盘中的数据进行恢复,是不是很NB,感兴趣的同学请翻墙google。 @@ -14,7 +14,7 @@ Minio使用纠删码`erasure code`和`checksum`来保护数据免受硬件故障 纠删码的工作原理和RAID或者复制不同,像RAID6可以在损失两块盘的情况下不丢数据,而Minio纠删码可以在丢失一半的盘的情况下,仍可以保证数据安全。 而且Minio纠删码是作用在对象级别,可以一次恢复一个对象,而RAID是作用在卷级别,数据恢复时间很长。 Minio对每个对象单独编码,存储服务一经部署,通常情况下是不需要更换硬盘或者修复。Minio纠删码的设计目标是为了性能和尽可能的使用硬件加速。 -![Erasure](https://github.com/bindoffice/minio/blob/master/docs/screenshots/erasure-code.jpg?raw=true) +![Erasure](https://github.com/bindoffice/bind-store/blob/master/docs/screenshots/erasure-code.jpg?raw=true) ## 什么是位衰减`bit rot`保护? diff --git a/docs/zh_CN/erasure/storage-class/README.md b/docs/zh_CN/erasure/storage-class/README.md index 7c66816..f1986e5 100644 --- a/docs/zh_CN/erasure/storage-class/README.md +++ b/docs/zh_CN/erasure/storage-class/README.md @@ -66,7 +66,7 @@ export MINIO_STORAGE_CLASS_STANDARD=EC:3 export MINIO_STORAGE_CLASS_RRS=EC:2 ``` -也可以通过`mc admin config` get/set 命令来设置存储类型。参考 [存储类型](https://github.com/bindoffice/minio/tree/master/docs/zh_CN/config#存储类型) 获取更多详细信息。 +也可以通过`mc admin config` get/set 命令来设置存储类型。参考 [存储类型](https://github.com/bindoffice/bind-store/tree/master/docs/zh_CN/config#存储类型) 获取更多详细信息。 *注意* diff --git a/docs/zh_CN/gateway/README.md b/docs/zh_CN/gateway/README.md index ee8a13e..702fb53 100644 --- a/docs/zh_CN/gateway/README.md +++ b/docs/zh_CN/gateway/README.md @@ -1,7 +1,7 @@ # MinIO 网关 [![Slack](https://slack.min.io/slack?type=svg)](https://slack.min.io) MinIO网关将Amazon S3兼容性添加到第三方云存储提供者。 -- [Microsoft Azure Blob Storage](https://github.com/bindoffice/minio/blob/master/docs/gateway/azure.md) -- [Google Cloud Storage](https://github.com/bindoffice/minio/blob/master/docs/gateway/gcs.md) _Alpha release_ +- [Microsoft Azure Blob Storage](https://github.com/bindoffice/bind-store/blob/master/docs/gateway/azure.md) +- [Google Cloud Storage](https://github.com/bindoffice/bind-store/blob/master/docs/gateway/gcs.md) _Alpha release_ ## 路线图 * MinIO & AWS S3 diff --git a/docs/zh_CN/gateway/azure.md b/docs/zh_CN/gateway/azure.md index 642c8ec..0526bf5 100644 --- a/docs/zh_CN/gateway/azure.md +++ b/docs/zh_CN/gateway/azure.md @@ -20,7 +20,7 @@ minio gateway azure ## 使用MinIO浏览器验证 MinIO Gateway配有嵌入式网络对象浏览器。 将您的Web浏览器指向http://127.0.0.1:9000确保您的服务器已成功启动。 -![截图](https://github.com/bindoffice/minio/blob/master/docs/screenshots/minio-browser-gateway.png?raw=true) +![截图](https://github.com/bindoffice/bind-store/blob/master/docs/screenshots/minio-browser-gateway.png?raw=true) ## 使用MinIO客户端 `mc`验证 `mc` 提供了诸如ls,cat,cp,mirror,diff等UNIX命令的替代方案。它支持文件系统和Amazon S3兼容的云存储服务。 diff --git a/docs/zh_CN/gateway/gcs.md b/docs/zh_CN/gateway/gcs.md index 4e46447..6d3c3b5 100644 --- a/docs/zh_CN/gateway/gcs.md +++ b/docs/zh_CN/gateway/gcs.md @@ -34,7 +34,7 @@ minio gateway gcs yourprojectid ## 使用MinIO Browser验证 MinIO Gateway配有嵌入式网络对象浏览器。 将您的Web浏览器指向http://127.0.0.1:9000确保您的服务器已成功启动。 -![Screenshot](https://github.com/bindoffice/minio/blob/master/docs/screenshots/minio-browser-gateway.png?raw=true) +![Screenshot](https://github.com/bindoffice/bind-store/blob/master/docs/screenshots/minio-browser-gateway.png?raw=true) ## 使用MinIO客户端 `mc`验证 `mc` 提供了诸如ls,cat,cp,mirror,diff等UNIX命令的替代方案。它支持文件系统和Amazon S3兼容的云存储服务。 diff --git a/docs/zh_CN/gateway/nas.md b/docs/zh_CN/gateway/nas.md index 649bd46..3ab1da9 100644 --- a/docs/zh_CN/gateway/nas.md +++ b/docs/zh_CN/gateway/nas.md @@ -19,7 +19,7 @@ minio gateway nas /shared/nasvol ## 使用浏览器进行验证 使用你的浏览器访问`http://127.0.0.1:9000`,如果能访问,恭喜你,启动成功了。 -![Screenshot](https://raw.githubusercontent.com/bindoffice/minio/master/docs/screenshots/minio-browser-gateway.png) +![Screenshot](https://raw.githubusercontent.com/bindoffice/bind-store/master/docs/screenshots/minio-browser-gateway.png) ## 使用`mc`进行验证 `mc`为ls,cat,cp,mirror,diff,find等UNIX命令提供了一种替代方案。它支持文件系统和兼容Amazon S3的云存储服务(AWS Signature v2和v4)。 diff --git a/docs/zh_CN/large-bucket/README.md b/docs/zh_CN/large-bucket/README.md index 241eb85..e85e0cd 100644 --- a/docs/zh_CN/large-bucket/README.md +++ b/docs/zh_CN/large-bucket/README.md @@ -2,7 +2,7 @@ MinIO的纠删码功能限制了最多只能使用16块磁盘。这就限制了一个租户的数据可以用多少存储空间。不过,为了满足需要大量磁盘或者是超大容量存储空间的需求,我们引入了超大存储桶的支持。 -如果一个MinIO存储桶可以扩展到多个纠删码部署集合,我们就称之为超大存储桶。不需要做任何特殊设置,它就可以帮助你创建PB级的存储系统。为了超大存储桶支持,你就可以在部署MinIO服务时使用超过16块磁盘。MinIO在内部创建了多个纠删码集合,这些集合又进一步组合成一个命名空间。本文将对超大存储桶的部署做一个简单的介绍。想了解更多,请参考[设计文档](https://github.com/bindoffice/minio/blob/master/docs/large-bucket/DESIGN.md)。 +如果一个MinIO存储桶可以扩展到多个纠删码部署集合,我们就称之为超大存储桶。不需要做任何特殊设置,它就可以帮助你创建PB级的存储系统。为了超大存储桶支持,你就可以在部署MinIO服务时使用超过16块磁盘。MinIO在内部创建了多个纠删码集合,这些集合又进一步组合成一个命名空间。本文将对超大存储桶的部署做一个简单的介绍。想了解更多,请参考[设计文档](https://github.com/bindoffice/bind-store/blob/master/docs/large-bucket/DESIGN.md)。 ## 开始 安装和部署方式和分布式MinIO一样。只不过是在输入参数的语法上,用`...`来做为磁盘参数的简写。分布式设置中的远程磁盘被编码为HTTP(s)URI,它也可以被同样的缩写。 diff --git a/docs/zh_CN/minio-limits.md b/docs/zh_CN/minio-limits.md index 0c10a0c..a0765f3 100644 --- a/docs/zh_CN/minio-limits.md +++ b/docs/zh_CN/minio-limits.md @@ -37,7 +37,7 @@ |每次list multipart uploads请求可返回的multipart uploads最大数量| 1000| ### MinIO不支持的Amazon S3 API -我们认为下列AWS S3的API有些冗余或者说用处不大,因此我们在minio中没有实现这些接口。如果您有不同意见,欢迎在[github](https://github.com/bindoffice/minio/issues)上提issue。 +我们认为下列AWS S3的API有些冗余或者说用处不大,因此我们在minio中没有实现这些接口。如果您有不同意见,欢迎在[github](https://github.com/bindoffice/bind-store/issues)上提issue。 #### MinIO不支持的Amazon S3 Bucket API diff --git a/docs/zh_CN/multi-tenancy/README.md b/docs/zh_CN/multi-tenancy/README.md index c5e5cb8..14de26c 100644 --- a/docs/zh_CN/multi-tenancy/README.md +++ b/docs/zh_CN/multi-tenancy/README.md @@ -13,7 +13,7 @@ minio --config-dir ~/tenant2 server --address :9002 /data/tenant2 minio --config-dir ~/tenant3 server --address :9003 /data/tenant3 ``` -![示例1](https://github.com/bindoffice/minio/blob/master/docs/screenshots/Example-1.jpg?raw=true) +![示例1](https://github.com/bindoffice/bind-store/blob/master/docs/screenshots/Example-1.jpg?raw=true) #### 示例2:单主机,多块磁盘 (erasure code) @@ -23,7 +23,7 @@ minio --config-dir ~/tenant1 server --address :9001 /disk1/data/tenant1 /disk2/d minio --config-dir ~/tenant2 server --address :9002 /disk1/data/tenant2 /disk2/data/tenant2 /disk3/data/tenant2 /disk4/data/tenant2 minio --config-dir ~/tenant3 server --address :9003 /disk1/data/tenant3 /disk2/data/tenant3 /disk3/data/tenant3 /disk4/data/tenant3 ``` -![示例2](https://github.com/bindoffice/minio/blob/master/docs/screenshots/Example-2.jpg?raw=true) +![示例2](https://github.com/bindoffice/bind-store/blob/master/docs/screenshots/Example-2.jpg?raw=true) ## 分布式部署 要在分布式环境中托管多个租户,同时运行多个分布式MinIO实例。 @@ -46,7 +46,7 @@ export MINIO_ROOT_PASSWORD= minio --config-dir ~/tenant3 server --address :9003 http://192.168.10.11/data/tenant3 http://192.168.10.12/data/tenant3 http://192.168.10.13/data/tenant3 http://192.168.10.14/data/tenant3 ``` -![示例3](https://github.com/bindoffice/minio/blob/master/docs/screenshots/Example-3.jpg?raw=true) +![示例3](https://github.com/bindoffice/bind-store/blob/master/docs/screenshots/Example-3.jpg?raw=true) ## 云端可伸缩部署 对于大型多租户MinIO部署,我们建议使用一个流行的容器编排平台,比如Kubernetes、DC/OS,或者是Docker Swarm.参考 [这个文档](https://docs.min.io/cn/minio-deployment-quickstart-guide) ,学习如何在编排平台中使用MinIO。 diff --git a/docs/zh_CN/orchestration/README.md b/docs/zh_CN/orchestration/README.md index f3c2f28..c17d5f7 100644 --- a/docs/zh_CN/orchestration/README.md +++ b/docs/zh_CN/orchestration/README.md @@ -20,4 +20,4 @@ MinIO是建立在云原生的基础上,有纠删码、分布式和共享存储 现在的应用、数据库,key-store这些,很多都已经部署在容器中,并且通过编排平台进行管理。MinIO提供了一个健壮的、可伸缩、AWS S3兼容的对象存储,这是MinIO的立身之本,凭此在云原生应用中占据一席之地。 -![Cloud-native](https://github.com/bindoffice/minio/blob/master/docs/screenshots/Minio_Cloud_Native_Arch.jpg?raw=true) +![Cloud-native](https://github.com/bindoffice/bind-store/blob/master/docs/screenshots/Minio_Cloud_Native_Arch.jpg?raw=true) diff --git a/docs/zh_CN/orchestration/docker-compose/README.md b/docs/zh_CN/orchestration/docker-compose/README.md index 1c2edd9..79df5a4 100644 --- a/docs/zh_CN/orchestration/docker-compose/README.md +++ b/docs/zh_CN/orchestration/docker-compose/README.md @@ -11,7 +11,7 @@ Docker Compose允许定义和运行单主机,多容器Docker应用程序。 ## 2. 在Docker Compose上运行分布式MinIO -在Docker Compose上部署分布式MinIO,请下载[docker-compose.yaml](https://github.com/bindoffice/minio/blob/master/docs/orchestration/docker-compose/docker-compose.yaml?raw=true)到你的当前工作目录。Docker Compose会pull MinIO Docker Image,所以你不需要手动去下载MinIO binary。然后运行下面的命令 +在Docker Compose上部署分布式MinIO,请下载[docker-compose.yaml](https://github.com/bindoffice/bind-store/blob/master/docs/orchestration/docker-compose/docker-compose.yaml?raw=true)到你的当前工作目录。Docker Compose会pull MinIO Docker Image,所以你不需要手动去下载MinIO binary。然后运行下面的命令 ### GNU/Linux and macOS diff --git a/docs/zh_CN/orchestration/docker-swarm/README.md b/docs/zh_CN/orchestration/docker-swarm/README.md index 6223724..3b1bc60 100644 --- a/docs/zh_CN/orchestration/docker-swarm/README.md +++ b/docs/zh_CN/orchestration/docker-swarm/README.md @@ -34,7 +34,7 @@ echo "wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY" | docker secret create secret_ke ## 4. 部署分布式minio服务 -在你的Swarm master上下载[Docker Compose file](https://github.com/bindoffice/minio/blob/master/docs/orchestration/docker-swarm/docker-compose-secrets.yaml?raw=true) ,然后运行下面的命令 +在你的Swarm master上下载[Docker Compose file](https://github.com/bindoffice/bind-store/blob/master/docs/orchestration/docker-swarm/docker-compose-secrets.yaml?raw=true) ,然后运行下面的命令 ```shell docker stack deploy --compose-file=docker-compose-secrets.yaml minio_stack diff --git a/docs/zh_CN/orchestration/kubernetes-yaml/README.md b/docs/zh_CN/orchestration/kubernetes-yaml/README.md index ce71d28..f7f43ef 100644 --- a/docs/zh_CN/orchestration/kubernetes-yaml/README.md +++ b/docs/zh_CN/orchestration/kubernetes-yaml/README.md @@ -46,9 +46,9 @@ 运行下面的命令快速启动 ```sh -kubectl create -f https://github.com/bindoffice/minio/blob/master/docs/orchestration/kubernetes-yaml/minio-standalone-pvc.yaml?raw=true -kubectl create -f https://github.com/bindoffice/minio/blob/master/docs/orchestration/kubernetes-yaml/minio-standalone-deployment.yaml?raw=true -kubectl create -f https://github.com/bindoffice/minio/blob/master/docs/orchestration/kubernetes-yaml/minio-standalone-service.yaml?raw=true +kubectl create -f https://github.com/bindoffice/bind-store/blob/master/docs/orchestration/kubernetes-yaml/minio-standalone-pvc.yaml?raw=true +kubectl create -f https://github.com/bindoffice/bind-store/blob/master/docs/orchestration/kubernetes-yaml/minio-standalone-deployment.yaml?raw=true +kubectl create -f https://github.com/bindoffice/bind-store/blob/master/docs/orchestration/kubernetes-yaml/minio-standalone-service.yaml?raw=true ``` ### 创建持久卷声明 @@ -81,7 +81,7 @@ spec: 创建一个持久卷声明 ```sh -kubectl create -f https://github.com/bindoffice/minio/blob/master/docs/orchestration/kubernetes-yaml/minio-standalone-pvc.yaml?raw=true +kubectl create -f https://github.com/bindoffice/bind-store/blob/master/docs/orchestration/kubernetes-yaml/minio-standalone-pvc.yaml?raw=true persistentvolumeclaim "minio-pv-claim" created ``` @@ -136,7 +136,7 @@ spec: 创建一个部署 ```sh -kubectl create -f https://github.com/bindoffice/minio/blob/master/docs/orchestration/kubernetes-yaml/minio-standalone-deployment.yaml?raw=true +kubectl create -f https://github.com/bindoffice/bind-store/blob/master/docs/orchestration/kubernetes-yaml/minio-standalone-deployment.yaml?raw=true deployment "minio-deployment" created ``` @@ -164,7 +164,7 @@ spec: 创建MinIO服务 ```sh -kubectl create -f https://github.com/bindoffice/minio/blob/master/docs/orchestration/kubernetes-yaml/minio-standalone-service.yaml?raw=true +kubectl create -f https://github.com/bindoffice/bind-store/blob/master/docs/orchestration/kubernetes-yaml/minio-standalone-service.yaml?raw=true service "minio-service" created ``` @@ -215,9 +215,9 @@ kubectl delete deployment minio-deployment \ 运行下面的命令快速启动 ```sh -kubectl create -f https://github.com/bindoffice/minio/blob/master/docs/orchestration/kubernetes-yaml/minio-distributed-headless-service.yaml?raw=true -kubectl create -f https://github.com/bindoffice/minio/blob/master/docs/orchestration/kubernetes-yaml/minio-distributed-statefulset.yaml?raw=true -kubectl create -f https://github.com/bindoffice/minio/blob/master/docs/orchestration/kubernetes-yaml/minio-distributed-service.yaml?raw=true +kubectl create -f https://github.com/bindoffice/bind-store/blob/master/docs/orchestration/kubernetes-yaml/minio-distributed-headless-service.yaml?raw=true +kubectl create -f https://github.com/bindoffice/bind-store/blob/master/docs/orchestration/kubernetes-yaml/minio-distributed-statefulset.yaml?raw=true +kubectl create -f https://github.com/bindoffice/bind-store/blob/master/docs/orchestration/kubernetes-yaml/minio-distributed-service.yaml?raw=true ``` ###创建MinIO Headless服务 @@ -245,7 +245,7 @@ spec: 创建Headless服务 ```sh -$ kubectl create -f https://github.com/bindoffice/minio/blob/master/docs/orchestration/kubernetes-yaml/minio-distributed-headless-service.yaml?raw=true +$ kubectl create -f https://github.com/bindoffice/bind-store/blob/master/docs/orchestration/kubernetes-yaml/minio-distributed-headless-service.yaml?raw=true service "minio" created ``` @@ -309,7 +309,7 @@ spec: 创建Statefulset ```sh -$ kubectl create -f https://github.com/bindoffice/minio/blob/master/docs/orchestration/kubernetes-yaml/minio-distributed-statefulset.yaml?raw=true +$ kubectl create -f https://github.com/bindoffice/bind-store/blob/master/docs/orchestration/kubernetes-yaml/minio-distributed-statefulset.yaml?raw=true statefulset "minio" created ``` @@ -337,7 +337,7 @@ spec: 创建MinIO service ```sh -$ kubectl create -f https://github.com/bindoffice/minio/blob/master/docs/orchestration/kubernetes-yaml/minio-distributed-service.yaml?raw=true +$ kubectl create -f https://github.com/bindoffice/bind-store/blob/master/docs/orchestration/kubernetes-yaml/minio-distributed-service.yaml?raw=true service "minio-service" created ``` @@ -389,7 +389,7 @@ kubectl delete statefulset minio \ ### GCS 网关快速入门 -按照 [这里](https://github.com/bindoffice/minio/blob/master/docs/gateway/gcs.md#create-service-account-key-for-gcs-and-get-the-credentials-file)描述的步骤创建Google云服务认证凭据文件。 +按照 [这里](https://github.com/bindoffice/bind-store/blob/master/docs/gateway/gcs.md#create-service-account-key-for-gcs-and-get-the-credentials-file)描述的步骤创建Google云服务认证凭据文件。 使用上面生成的文件来创建一个Kubernetes`secret`。 @@ -400,21 +400,21 @@ kubectl create secret generic gcs-credentials --from-file=/path/to/gcloud/creden 下载 `minio-gcs-gateway-deployment.yaml` ```sh -wget https://github.com/bindoffice/minio/blob/master/docs/orchestration/kubernetes-yaml/minio-gcs-gateway-deployment.yaml?raw=true +wget https://github.com/bindoffice/bind-store/blob/master/docs/orchestration/kubernetes-yaml/minio-gcs-gateway-deployment.yaml?raw=true ``` 使用你的GCS project ID更新 `gcp_project_id`部分的内容,然后运行 ```sh kubectl create -f minio-gcs-gateway-deployment.yaml -kubectl create -f https://github.com/bindoffice/minio/blob/master/docs/orchestration/kubernetes-yaml/minio-gcs-gateway-service.yaml?raw=true +kubectl create -f https://github.com/bindoffice/bind-store/blob/master/docs/orchestration/kubernetes-yaml/minio-gcs-gateway-service.yaml?raw=true ``` ### 创建GCS凭据 `凭据`旨在保存敏感信息,例如密码,OAuth令牌和ssh密钥。 将这些信息放在一个凭据中比将其逐字地放在pod定义或docker镜像中更安全,更灵活。 -按照 [这里](https://github.com/bindoffice/minio/blob/master/docs/gateway/gcs.md#create-service-account-key-for-gcs-and-get-the-credentials-file)描述的步骤创建Google云服务认证凭据文件。 +按照 [这里](https://github.com/bindoffice/bind-store/blob/master/docs/gateway/gcs.md#create-service-account-key-for-gcs-and-get-the-credentials-file)描述的步骤创建Google云服务认证凭据文件。 使用上面生成的文件来创建一个Kubernetes`secret`。 @@ -478,7 +478,7 @@ spec: 创建部署 ```sh -kubectl create -f https://github.com/bindoffice/minio/blob/master/docs/orchestration/kubernetes-yaml/minio-gcs-gateway-deployment.yaml?raw=true +kubectl create -f https://github.com/bindoffice/bind-store/blob/master/docs/orchestration/kubernetes-yaml/minio-gcs-gateway-deployment.yaml?raw=true deployment "minio-deployment" created ``` @@ -505,7 +505,7 @@ spec: 创建MinIO服务 ```sh -kubectl create -f https://github.com/bindoffice/minio/blob/master/docs/orchestration/kubernetes-yaml/minio-gcs-gateway-service.yaml?raw=true +kubectl create -f https://github.com/bindoffice/bind-store/blob/master/docs/orchestration/kubernetes-yaml/minio-gcs-gateway-service.yaml?raw=true service "minio-service" created ``` diff --git a/docs/zh_CN/orchestration/kubernetes/README.md b/docs/zh_CN/orchestration/kubernetes/README.md index d33a75b..4d863f4 100644 --- a/docs/zh_CN/orchestration/kubernetes/README.md +++ b/docs/zh_CN/orchestration/kubernetes/README.md @@ -4,7 +4,7 @@ Kubernetes的部署和状态集提供了在独立,分布式或共享模式下 - MinIO [Helm](https://helm.sh) Chart通过一个简单的命令即可提供自定义而且简单的MinIO部署。更多关于MinIO Helm部署的资料,请访问[这里](#prerequisites). -- 你也可以浏览Kubernetes [MinIO示例](https://github.com/bindoffice/minio/blob/master/docs/orchestration/kubernetes/README.md) ,通过`.yaml`文件来部署MinIO。 +- 你也可以浏览Kubernetes [MinIO示例](https://github.com/bindoffice/bind-store/blob/master/docs/orchestration/kubernetes/README.md) ,通过`.yaml`文件来部署MinIO。 ## 1. 前提条件 @@ -84,7 +84,7 @@ $ helm install --set mode=distributed,numberOfNodes=8 stable/minio ### Shared MinIO -如需采用[shared mode](https://github.com/bindoffice/minio/blob/master/docs/shared-backend/README.md)部署MinIO, 将`mode` 设为`shared`, +如需采用[shared mode](https://github.com/bindoffice/bind-store/blob/master/docs/shared-backend/README.md)部署MinIO, 将`mode` 设为`shared`, ```bash $ helm install --set mode=shared stable/minio diff --git a/docs/zh_CN/shared-backend/README.md b/docs/zh_CN/shared-backend/README.md index 3a47f47..a3ee795 100644 --- a/docs/zh_CN/shared-backend/README.md +++ b/docs/zh_CN/shared-backend/README.md @@ -1,6 +1,6 @@ # MinIO共享后端存储快速入门[![Slack](https://slack.min.io/slack?type=svg)](https://slack.min.io) [![Docker Pulls](https://img.shields.io/docker/pulls/minio/minio.svg?maxAge=604800)](https://hub.docker.com/r/minio/minio/) -MinIO共享模式可以让你使用一个[NAS](https://en.wikipedia.org/wiki/Network-attached_storage) 做为多个MinIO服务的存储后端。我我们在设计时已经对多个MinIO服务之间的同步做了很多的处理。更多MinIO共享模式的设计文档,请访问[这里](https://github.com/bindoffice/minio/blob/master/docs/shared-backend/DESIGN.md). +MinIO共享模式可以让你使用一个[NAS](https://en.wikipedia.org/wiki/Network-attached_storage) 做为多个MinIO服务的存储后端。我我们在设计时已经对多个MinIO服务之间的同步做了很多的处理。更多MinIO共享模式的设计文档,请访问[这里](https://github.com/bindoffice/bind-store/blob/master/docs/shared-backend/DESIGN.md). MinIO共享模式是为了解决在真实场景中存在的一些问题,而且不需要做额外的配置。 如果你有下列需求,则可以考虑MinIO共享模式 diff --git a/go.mod b/go.mod index e49518d..b33e1ff 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/bindoffice/minio +module github.com/bindoffice/bind-store go 1.25.11 diff --git a/main.go b/main.go index 23e366c..32dc29f 100644 --- a/main.go +++ b/main.go @@ -16,21 +16,21 @@ /* * Below main package has canonical imports for 'go get' and 'go build' - * to work with all other clones of github.com/bindoffice/minio repository. For + * to work with all other clones of github.com/bindoffice/bind-store repository. For * more information refer https://golang.org/doc/go1.4#canonicalimports */ -package main // import "github.com/bindoffice/minio" +package main // import "github.com/bindoffice/bind-store" import ( "os" - minio "github.com/bindoffice/minio/cmd" + bindstore "github.com/bindoffice/bind-store/cmd" // Import gateway - _ "github.com/bindoffice/minio/cmd/gateway" + _ "github.com/bindoffice/bind-store/cmd/gateway" ) func main() { - minio.Main(os.Args) + bindstore.Main(os.Args) } diff --git a/main_test.go b/main_test.go index 2473ae9..a7c35d2 100644 --- a/main_test.go +++ b/main_test.go @@ -26,8 +26,8 @@ import ( "syscall" "testing" - minio "github.com/bindoffice/minio/cmd" - _ "github.com/bindoffice/minio/cmd/gateway" + minio "github.com/bindoffice/bind-store/cmd" + _ "github.com/bindoffice/bind-store/cmd/gateway" ) // TestRunMain takes arguments from APP_ARGS env variable and calls minio.Main(args) diff --git a/pkg/auth/credentials.go b/pkg/auth/credentials.go index 2e44be5..bd0bfe5 100644 --- a/pkg/auth/credentials.go +++ b/pkg/auth/credentials.go @@ -28,7 +28,7 @@ import ( "time" jwtgo "github.com/golang-jwt/jwt/v4" - "github.com/bindoffice/minio/cmd/jwt" + "github.com/bindoffice/bind-store/cmd/jwt" ) const ( diff --git a/pkg/bucket/bandwidth/monitor.go b/pkg/bucket/bandwidth/monitor.go index e501de8..b8566bc 100644 --- a/pkg/bucket/bandwidth/monitor.go +++ b/pkg/bucket/bandwidth/monitor.go @@ -21,7 +21,7 @@ import ( "sync" "time" - "github.com/bindoffice/minio/pkg/bandwidth" + "github.com/bindoffice/bind-store/pkg/bandwidth" ) // throttleBandwidth gets the throttle for bucket with the configured value diff --git a/pkg/bucket/bandwidth/monitor_test.go b/pkg/bucket/bandwidth/monitor_test.go index ce61074..0f0b3a4 100644 --- a/pkg/bucket/bandwidth/monitor_test.go +++ b/pkg/bucket/bandwidth/monitor_test.go @@ -22,7 +22,7 @@ import ( "testing" "time" - "github.com/bindoffice/minio/pkg/bandwidth" + "github.com/bindoffice/bind-store/pkg/bandwidth" ) const ( diff --git a/pkg/bucket/object/lock/lock.go b/pkg/bucket/object/lock/lock.go index b46fabf..372aaa3 100644 --- a/pkg/bucket/object/lock/lock.go +++ b/pkg/bucket/object/lock/lock.go @@ -27,8 +27,8 @@ import ( "time" "github.com/beevik/ntp" - "github.com/bindoffice/minio/cmd/logger" - "github.com/bindoffice/minio/pkg/env" + "github.com/bindoffice/bind-store/cmd/logger" + "github.com/bindoffice/bind-store/pkg/env" ) // RetMode - object retention mode. diff --git a/pkg/bucket/object/lock/lock_test.go b/pkg/bucket/object/lock/lock_test.go index b203e4c..36fb548 100644 --- a/pkg/bucket/object/lock/lock_test.go +++ b/pkg/bucket/object/lock/lock_test.go @@ -26,7 +26,7 @@ import ( "testing" "time" - xhttp "github.com/bindoffice/minio/cmd/http" + xhttp "github.com/bindoffice/bind-store/cmd/http" ) func TestParseMode(t *testing.T) { diff --git a/pkg/bucket/policy/action.go b/pkg/bucket/policy/action.go index fbe7fb1..961725b 100644 --- a/pkg/bucket/policy/action.go +++ b/pkg/bucket/policy/action.go @@ -19,7 +19,7 @@ package policy import ( "encoding/json" - "github.com/bindoffice/minio/pkg/bucket/policy/condition" + "github.com/bindoffice/bind-store/pkg/bucket/policy/condition" ) // Action - policy action. diff --git a/pkg/bucket/policy/condition/stringlikefunc.go b/pkg/bucket/policy/condition/stringlikefunc.go index 78c6460..d27ec05 100644 --- a/pkg/bucket/policy/condition/stringlikefunc.go +++ b/pkg/bucket/policy/condition/stringlikefunc.go @@ -23,7 +23,7 @@ import ( "github.com/minio/minio-go/v7/pkg/s3utils" "github.com/minio/minio-go/v7/pkg/set" - "github.com/bindoffice/minio/pkg/wildcard" + "github.com/bindoffice/bind-store/pkg/wildcard" ) func toStringLikeFuncString(n name, key Key, values set.StringSet) string { diff --git a/pkg/bucket/policy/policy_test.go b/pkg/bucket/policy/policy_test.go index 6c309bc..e795a3e 100644 --- a/pkg/bucket/policy/policy_test.go +++ b/pkg/bucket/policy/policy_test.go @@ -22,7 +22,7 @@ import ( "reflect" "testing" - "github.com/bindoffice/minio/pkg/bucket/policy/condition" + "github.com/bindoffice/bind-store/pkg/bucket/policy/condition" ) func TestPolicyIsAllowed(t *testing.T) { diff --git a/pkg/bucket/policy/principal.go b/pkg/bucket/policy/principal.go index 927868d..5f1f804 100644 --- a/pkg/bucket/policy/principal.go +++ b/pkg/bucket/policy/principal.go @@ -20,7 +20,7 @@ import ( "encoding/json" "github.com/minio/minio-go/v7/pkg/set" - "github.com/bindoffice/minio/pkg/wildcard" + "github.com/bindoffice/bind-store/pkg/wildcard" ) // Principal - policy principal. diff --git a/pkg/bucket/policy/resource.go b/pkg/bucket/policy/resource.go index c817fde..5383963 100644 --- a/pkg/bucket/policy/resource.go +++ b/pkg/bucket/policy/resource.go @@ -20,8 +20,8 @@ import ( "encoding/json" "strings" - "github.com/bindoffice/minio/pkg/bucket/policy/condition" - "github.com/bindoffice/minio/pkg/wildcard" + "github.com/bindoffice/bind-store/pkg/bucket/policy/condition" + "github.com/bindoffice/bind-store/pkg/wildcard" ) // ResourceARNPrefix - resource ARN prefix as per AWS S3 specification. diff --git a/pkg/bucket/policy/statement.go b/pkg/bucket/policy/statement.go index c9902c8..e97a0ad 100644 --- a/pkg/bucket/policy/statement.go +++ b/pkg/bucket/policy/statement.go @@ -20,7 +20,7 @@ import ( "encoding/json" "strings" - "github.com/bindoffice/minio/pkg/bucket/policy/condition" + "github.com/bindoffice/bind-store/pkg/bucket/policy/condition" ) // Statement - policy statement. diff --git a/pkg/bucket/policy/statement_test.go b/pkg/bucket/policy/statement_test.go index 2b5f940..611a78c 100644 --- a/pkg/bucket/policy/statement_test.go +++ b/pkg/bucket/policy/statement_test.go @@ -22,7 +22,7 @@ import ( "reflect" "testing" - "github.com/bindoffice/minio/pkg/bucket/policy/condition" + "github.com/bindoffice/bind-store/pkg/bucket/policy/condition" ) func TestStatementIsAllowed(t *testing.T) { diff --git a/pkg/bucket/replication/destination.go b/pkg/bucket/replication/destination.go index 251f880..c921c43 100644 --- a/pkg/bucket/replication/destination.go +++ b/pkg/bucket/replication/destination.go @@ -21,7 +21,7 @@ import ( "fmt" "strings" - "github.com/bindoffice/minio/pkg/wildcard" + "github.com/bindoffice/bind-store/pkg/wildcard" ) // DestinationARNPrefix - destination ARN prefix as per AWS S3 specification. diff --git a/pkg/certs/certs_test.go b/pkg/certs/certs_test.go index 044c9a5..c130663 100644 --- a/pkg/certs/certs_test.go +++ b/pkg/certs/certs_test.go @@ -25,7 +25,7 @@ import ( "testing" "time" - "github.com/bindoffice/minio/pkg/certs" + "github.com/bindoffice/bind-store/pkg/certs" ) func updateCerts(crt, key string) { diff --git a/pkg/cgroup/linux.go b/pkg/cgroup/linux.go index 5037716..ab58eb1 100644 --- a/pkg/cgroup/linux.go +++ b/pkg/cgroup/linux.go @@ -34,7 +34,7 @@ import ( ) // DO NOT EDIT following constants are chosen defaults for any kernel -// after 3.x, please open a github issue https://github.com/bindoffice/minio/issues +// after 3.x, please open a github issue https://github.com/bindoffice/bind-store/issues // and discuss first if you wish to change this. const ( // Default string for looking for kernel memory param. diff --git a/pkg/disk/disk_test.go b/pkg/disk/disk_test.go index 4a0bc92..52ba813 100644 --- a/pkg/disk/disk_test.go +++ b/pkg/disk/disk_test.go @@ -23,7 +23,7 @@ import ( "os" "testing" - "github.com/bindoffice/minio/pkg/disk" + "github.com/bindoffice/bind-store/pkg/disk" ) func TestFree(t *testing.T) { diff --git a/pkg/disk/stat_linux.go b/pkg/disk/stat_linux.go index 2b1898c..8074f2e 100644 --- a/pkg/disk/stat_linux.go +++ b/pkg/disk/stat_linux.go @@ -39,7 +39,7 @@ func GetInfo(path string) (info Info, err error) { FSType: getFSType(int64(s.Type)), } // Check for overflows. - // https://github.com/bindoffice/minio/issues/8035 + // https://github.com/bindoffice/bind-store/issues/8035 // XFS can show wrong values at times error out // in such scenarios. if info.Free > info.Total { diff --git a/pkg/disk/stat_linux_32bit.go b/pkg/disk/stat_linux_32bit.go index bcb3274..5e66b7c 100644 --- a/pkg/disk/stat_linux_32bit.go +++ b/pkg/disk/stat_linux_32bit.go @@ -70,7 +70,7 @@ func GetInfo(path string) (info Info, err error) { FSType: getFSType(s.Type), } // Check for overflows. - // https://github.com/bindoffice/minio/issues/8035 + // https://github.com/bindoffice/bind-store/issues/8035 // XFS can show wrong values at times error out // in such scenarios. if info.Free > info.Total { diff --git a/pkg/disk/stat_linux_s390x.go b/pkg/disk/stat_linux_s390x.go index 44f3d1e..37fa9e7 100644 --- a/pkg/disk/stat_linux_s390x.go +++ b/pkg/disk/stat_linux_s390x.go @@ -70,7 +70,7 @@ func GetInfo(path string) (info Info, err error) { FSType: getFSType(s.Type), } // Check for overflows. - // https://github.com/bindoffice/minio/issues/8035 + // https://github.com/bindoffice/bind-store/issues/8035 // XFS can show wrong values at times error out // in such scenarios. if info.Free > info.Total { diff --git a/pkg/dsync/drwmutex.go b/pkg/dsync/drwmutex.go index 171d78e..df07f2a 100644 --- a/pkg/dsync/drwmutex.go +++ b/pkg/dsync/drwmutex.go @@ -24,7 +24,7 @@ import ( "sync" "time" - "github.com/bindoffice/minio/pkg/console" + "github.com/bindoffice/bind-store/pkg/console" ) // Indicator if logging is enabled. diff --git a/pkg/dsync/drwmutex_test.go b/pkg/dsync/drwmutex_test.go index 95b3be4..da7985c 100644 --- a/pkg/dsync/drwmutex_test.go +++ b/pkg/dsync/drwmutex_test.go @@ -24,7 +24,7 @@ import ( "testing" "time" - . "github.com/bindoffice/minio/pkg/dsync" + . "github.com/bindoffice/bind-store/pkg/dsync" ) const ( diff --git a/pkg/dsync/dsync-server_test.go b/pkg/dsync/dsync-server_test.go index 064d852..1a2e428 100644 --- a/pkg/dsync/dsync-server_test.go +++ b/pkg/dsync/dsync-server_test.go @@ -20,7 +20,7 @@ import ( "fmt" "sync" - . "github.com/bindoffice/minio/pkg/dsync" + . "github.com/bindoffice/bind-store/pkg/dsync" ) const WriteLock = -1 diff --git a/pkg/dsync/dsync_test.go b/pkg/dsync/dsync_test.go index 771a7b7..4ddee63 100644 --- a/pkg/dsync/dsync_test.go +++ b/pkg/dsync/dsync_test.go @@ -33,8 +33,8 @@ import ( "time" "github.com/google/uuid" - "github.com/bindoffice/minio/pkg/dsync" - . "github.com/bindoffice/minio/pkg/dsync" + "github.com/bindoffice/bind-store/pkg/dsync" + . "github.com/bindoffice/bind-store/pkg/dsync" ) const numberOfNodes = 5 diff --git a/pkg/dsync/rpc-client-impl_test.go b/pkg/dsync/rpc-client-impl_test.go index 0ba2af4..f475d23 100644 --- a/pkg/dsync/rpc-client-impl_test.go +++ b/pkg/dsync/rpc-client-impl_test.go @@ -21,7 +21,7 @@ import ( "net/rpc" "sync" - . "github.com/bindoffice/minio/pkg/dsync" + . "github.com/bindoffice/bind-store/pkg/dsync" ) // ReconnectRPCClient is a wrapper type for rpc.Client which provides reconnect on first failure. diff --git a/pkg/event/rules.go b/pkg/event/rules.go index 40bc23f..3aa836e 100644 --- a/pkg/event/rules.go +++ b/pkg/event/rules.go @@ -19,7 +19,7 @@ package event import ( "strings" - "github.com/bindoffice/minio/pkg/wildcard" + "github.com/bindoffice/bind-store/pkg/wildcard" ) // NewPattern - create new pattern for prefix/suffix. diff --git a/pkg/event/target/amqp.go b/pkg/event/target/amqp.go index 107b031..fdc1101 100644 --- a/pkg/event/target/amqp.go +++ b/pkg/event/target/amqp.go @@ -26,8 +26,8 @@ import ( "path/filepath" "sync" - "github.com/bindoffice/minio/pkg/event" - xnet "github.com/bindoffice/minio/pkg/net" + "github.com/bindoffice/bind-store/pkg/event" + xnet "github.com/bindoffice/bind-store/pkg/net" "github.com/streadway/amqp" ) diff --git a/pkg/event/target/elasticsearch.go b/pkg/event/target/elasticsearch.go index ae24a79..79c8f21 100644 --- a/pkg/event/target/elasticsearch.go +++ b/pkg/event/target/elasticsearch.go @@ -26,8 +26,8 @@ import ( "strings" "time" - "github.com/bindoffice/minio/pkg/event" - xnet "github.com/bindoffice/minio/pkg/net" + "github.com/bindoffice/bind-store/pkg/event" + xnet "github.com/bindoffice/bind-store/pkg/net" "github.com/pkg/errors" "github.com/olivere/elastic/v7" diff --git a/pkg/event/target/kafka.go b/pkg/event/target/kafka.go index 5fb3442..5486108 100644 --- a/pkg/event/target/kafka.go +++ b/pkg/event/target/kafka.go @@ -27,8 +27,8 @@ import ( "os" "path/filepath" - "github.com/bindoffice/minio/pkg/event" - xnet "github.com/bindoffice/minio/pkg/net" + "github.com/bindoffice/bind-store/pkg/event" + xnet "github.com/bindoffice/bind-store/pkg/net" sarama "github.com/Shopify/sarama" saramatls "github.com/Shopify/sarama/tools/tls" diff --git a/pkg/event/target/mqtt.go b/pkg/event/target/mqtt.go index 1153848..dec6753 100644 --- a/pkg/event/target/mqtt.go +++ b/pkg/event/target/mqtt.go @@ -29,8 +29,8 @@ import ( "time" mqtt "github.com/eclipse/paho.mqtt.golang" - "github.com/bindoffice/minio/pkg/event" - xnet "github.com/bindoffice/minio/pkg/net" + "github.com/bindoffice/bind-store/pkg/event" + xnet "github.com/bindoffice/bind-store/pkg/net" ) const ( diff --git a/pkg/event/target/mysql.go b/pkg/event/target/mysql.go index ca404f6..6c2b42b 100644 --- a/pkg/event/target/mysql.go +++ b/pkg/event/target/mysql.go @@ -67,8 +67,8 @@ import ( "time" "github.com/go-sql-driver/mysql" - "github.com/bindoffice/minio/pkg/event" - xnet "github.com/bindoffice/minio/pkg/net" + "github.com/bindoffice/bind-store/pkg/event" + xnet "github.com/bindoffice/bind-store/pkg/net" ) const ( diff --git a/pkg/event/target/nats.go b/pkg/event/target/nats.go index 0f561ab..4777c78 100644 --- a/pkg/event/target/nats.go +++ b/pkg/event/target/nats.go @@ -26,8 +26,8 @@ import ( "os" "path/filepath" - "github.com/bindoffice/minio/pkg/event" - xnet "github.com/bindoffice/minio/pkg/net" + "github.com/bindoffice/bind-store/pkg/event" + xnet "github.com/bindoffice/bind-store/pkg/net" "github.com/nats-io/nats.go" "github.com/nats-io/stan.go" ) diff --git a/pkg/event/target/nats_test.go b/pkg/event/target/nats_test.go index 6b2e6b7..bb5d55b 100644 --- a/pkg/event/target/nats_test.go +++ b/pkg/event/target/nats_test.go @@ -19,7 +19,7 @@ package target import ( "testing" - xnet "github.com/bindoffice/minio/pkg/net" + xnet "github.com/bindoffice/bind-store/pkg/net" natsserver "github.com/nats-io/nats-server/v2/test" ) diff --git a/pkg/event/target/nats_tls_test.go b/pkg/event/target/nats_tls_test.go index 0d7c734..3fcae89 100644 --- a/pkg/event/target/nats_tls_test.go +++ b/pkg/event/target/nats_tls_test.go @@ -21,7 +21,7 @@ import ( "path/filepath" "testing" - xnet "github.com/bindoffice/minio/pkg/net" + xnet "github.com/bindoffice/bind-store/pkg/net" natsserver "github.com/nats-io/nats-server/v2/test" ) diff --git a/pkg/event/target/nsq.go b/pkg/event/target/nsq.go index fd30cc3..6f1fbc8 100644 --- a/pkg/event/target/nsq.go +++ b/pkg/event/target/nsq.go @@ -27,8 +27,8 @@ import ( "github.com/nsqio/go-nsq" - "github.com/bindoffice/minio/pkg/event" - xnet "github.com/bindoffice/minio/pkg/net" + "github.com/bindoffice/bind-store/pkg/event" + xnet "github.com/bindoffice/bind-store/pkg/net" ) // NSQ constants diff --git a/pkg/event/target/nsq_test.go b/pkg/event/target/nsq_test.go index 73e5164..e99b418 100644 --- a/pkg/event/target/nsq_test.go +++ b/pkg/event/target/nsq_test.go @@ -19,7 +19,7 @@ package target import ( "testing" - xnet "github.com/bindoffice/minio/pkg/net" + xnet "github.com/bindoffice/bind-store/pkg/net" ) func TestNSQArgs_Validate(t *testing.T) { diff --git a/pkg/event/target/postgresql.go b/pkg/event/target/postgresql.go index 37e2eba..33da0c3 100644 --- a/pkg/event/target/postgresql.go +++ b/pkg/event/target/postgresql.go @@ -68,8 +68,8 @@ import ( _ "github.com/lib/pq" // Register postgres driver - "github.com/bindoffice/minio/pkg/event" - xnet "github.com/bindoffice/minio/pkg/net" + "github.com/bindoffice/bind-store/pkg/event" + xnet "github.com/bindoffice/bind-store/pkg/net" ) const ( diff --git a/pkg/event/target/queuestore.go b/pkg/event/target/queuestore.go index f251618..b94b67b 100644 --- a/pkg/event/target/queuestore.go +++ b/pkg/event/target/queuestore.go @@ -25,8 +25,8 @@ import ( "sort" "sync" - "github.com/bindoffice/minio/pkg/event" - "github.com/bindoffice/minio/pkg/sys" + "github.com/bindoffice/bind-store/pkg/event" + "github.com/bindoffice/bind-store/pkg/sys" ) const ( diff --git a/pkg/event/target/queuestore_test.go b/pkg/event/target/queuestore_test.go index 8f73912..6af974d 100644 --- a/pkg/event/target/queuestore_test.go +++ b/pkg/event/target/queuestore_test.go @@ -23,7 +23,7 @@ import ( "strings" "testing" - "github.com/bindoffice/minio/pkg/event" + "github.com/bindoffice/bind-store/pkg/event" ) // TestDir diff --git a/pkg/event/target/redis.go b/pkg/event/target/redis.go index b5e2974..29eef50 100644 --- a/pkg/event/target/redis.go +++ b/pkg/event/target/redis.go @@ -28,8 +28,8 @@ import ( "time" "github.com/gomodule/redigo/redis" - "github.com/bindoffice/minio/pkg/event" - xnet "github.com/bindoffice/minio/pkg/net" + "github.com/bindoffice/bind-store/pkg/event" + xnet "github.com/bindoffice/bind-store/pkg/net" ) // Redis constants diff --git a/pkg/event/target/store.go b/pkg/event/target/store.go index fb8c900..c8c509f 100644 --- a/pkg/event/target/store.go +++ b/pkg/event/target/store.go @@ -24,7 +24,7 @@ import ( "syscall" "time" - "github.com/bindoffice/minio/pkg/event" + "github.com/bindoffice/bind-store/pkg/event" ) const retryInterval = 3 * time.Second diff --git a/pkg/event/target/webhook.go b/pkg/event/target/webhook.go index 17322fc..702ac47 100644 --- a/pkg/event/target/webhook.go +++ b/pkg/event/target/webhook.go @@ -31,9 +31,9 @@ import ( "path/filepath" "time" - "github.com/bindoffice/minio/pkg/certs" - "github.com/bindoffice/minio/pkg/event" - xnet "github.com/bindoffice/minio/pkg/net" + "github.com/bindoffice/bind-store/pkg/certs" + "github.com/bindoffice/bind-store/pkg/event" + xnet "github.com/bindoffice/bind-store/pkg/net" ) // Webhook constants diff --git a/pkg/hash/reader.go b/pkg/hash/reader.go index d38b28c..9929777 100644 --- a/pkg/hash/reader.go +++ b/pkg/hash/reader.go @@ -24,7 +24,7 @@ import ( "hash" "io" - "github.com/bindoffice/minio/pkg/etag" + "github.com/bindoffice/bind-store/pkg/etag" ) // A Reader wraps an io.Reader and computes the MD5 checksum diff --git a/pkg/iam/policy/action.go b/pkg/iam/policy/action.go index eab5e84..66df3b5 100644 --- a/pkg/iam/policy/action.go +++ b/pkg/iam/policy/action.go @@ -17,8 +17,8 @@ package iampolicy import ( - "github.com/bindoffice/minio/pkg/bucket/policy/condition" - "github.com/bindoffice/minio/pkg/wildcard" + "github.com/bindoffice/bind-store/pkg/bucket/policy/condition" + "github.com/bindoffice/bind-store/pkg/wildcard" ) // Action - policy action. diff --git a/pkg/iam/policy/admin-action.go b/pkg/iam/policy/admin-action.go index 854f9d5..3e3d071 100644 --- a/pkg/iam/policy/admin-action.go +++ b/pkg/iam/policy/admin-action.go @@ -17,7 +17,7 @@ package iampolicy import ( - "github.com/bindoffice/minio/pkg/bucket/policy/condition" + "github.com/bindoffice/bind-store/pkg/bucket/policy/condition" ) // AdminAction - admin policy action. diff --git a/pkg/iam/policy/constants.go b/pkg/iam/policy/constants.go index 8be5f6b..cd5a4e4 100644 --- a/pkg/iam/policy/constants.go +++ b/pkg/iam/policy/constants.go @@ -17,8 +17,8 @@ package iampolicy import ( - "github.com/bindoffice/minio/pkg/bucket/policy" - "github.com/bindoffice/minio/pkg/bucket/policy/condition" + "github.com/bindoffice/bind-store/pkg/bucket/policy" + "github.com/bindoffice/bind-store/pkg/bucket/policy/condition" ) // Policy claim constants diff --git a/pkg/iam/policy/policy.go b/pkg/iam/policy/policy.go index 1d17ac8..239af6a 100644 --- a/pkg/iam/policy/policy.go +++ b/pkg/iam/policy/policy.go @@ -22,7 +22,7 @@ import ( "strings" "github.com/minio/minio-go/v7/pkg/set" - "github.com/bindoffice/minio/pkg/bucket/policy" + "github.com/bindoffice/bind-store/pkg/bucket/policy" ) // DefaultVersion - default policy version as per AWS S3 specification. diff --git a/pkg/iam/policy/policy_test.go b/pkg/iam/policy/policy_test.go index 58e1d97..72101a4 100644 --- a/pkg/iam/policy/policy_test.go +++ b/pkg/iam/policy/policy_test.go @@ -25,8 +25,8 @@ import ( "time" "github.com/minio/minio-go/v7/pkg/set" - "github.com/bindoffice/minio/pkg/bucket/policy" - "github.com/bindoffice/minio/pkg/bucket/policy/condition" + "github.com/bindoffice/bind-store/pkg/bucket/policy" + "github.com/bindoffice/bind-store/pkg/bucket/policy/condition" ) func TestGetPoliciesFromClaims(t *testing.T) { diff --git a/pkg/iam/policy/resource.go b/pkg/iam/policy/resource.go index eb9d3a2..eea9f53 100644 --- a/pkg/iam/policy/resource.go +++ b/pkg/iam/policy/resource.go @@ -21,8 +21,8 @@ import ( "path" "strings" - "github.com/bindoffice/minio/pkg/bucket/policy/condition" - "github.com/bindoffice/minio/pkg/wildcard" + "github.com/bindoffice/bind-store/pkg/bucket/policy/condition" + "github.com/bindoffice/bind-store/pkg/wildcard" ) // ResourceARNPrefix - resource ARN prefix as per AWS S3 specification. diff --git a/pkg/iam/policy/statement.go b/pkg/iam/policy/statement.go index d9bd46c..084fdc7 100644 --- a/pkg/iam/policy/statement.go +++ b/pkg/iam/policy/statement.go @@ -19,8 +19,8 @@ package iampolicy import ( "strings" - "github.com/bindoffice/minio/pkg/bucket/policy" - "github.com/bindoffice/minio/pkg/bucket/policy/condition" + "github.com/bindoffice/bind-store/pkg/bucket/policy" + "github.com/bindoffice/bind-store/pkg/bucket/policy/condition" ) // Statement - iam policy statement. diff --git a/pkg/iam/policy/statement_test.go b/pkg/iam/policy/statement_test.go index 32bc910..d34fddc 100644 --- a/pkg/iam/policy/statement_test.go +++ b/pkg/iam/policy/statement_test.go @@ -22,8 +22,8 @@ import ( "reflect" "testing" - "github.com/bindoffice/minio/pkg/bucket/policy" - "github.com/bindoffice/minio/pkg/bucket/policy/condition" + "github.com/bindoffice/bind-store/pkg/bucket/policy" + "github.com/bindoffice/bind-store/pkg/bucket/policy/condition" ) func TestStatementIsAllowed(t *testing.T) { diff --git a/pkg/ioutil/append-file_windows.go b/pkg/ioutil/append-file_windows.go index e7370ef..d8765b7 100644 --- a/pkg/ioutil/append-file_windows.go +++ b/pkg/ioutil/append-file_windows.go @@ -20,7 +20,7 @@ import ( "io" "os" - "github.com/bindoffice/minio/pkg/lock" + "github.com/bindoffice/bind-store/pkg/lock" ) // AppendFile - appends the file "src" to the file "dst" diff --git a/pkg/ioutil/ioutil.go b/pkg/ioutil/ioutil.go index 0319d1c..c002584 100644 --- a/pkg/ioutil/ioutil.go +++ b/pkg/ioutil/ioutil.go @@ -25,7 +25,7 @@ import ( "os" "time" - "github.com/bindoffice/minio/pkg/disk" + "github.com/bindoffice/bind-store/pkg/disk" ) // WriteOnCloser implements io.WriteCloser and always diff --git a/pkg/lsync/lrwmutex_test.go b/pkg/lsync/lrwmutex_test.go index a2b6d41..d4b3702 100644 --- a/pkg/lsync/lrwmutex_test.go +++ b/pkg/lsync/lrwmutex_test.go @@ -28,7 +28,7 @@ import ( "runtime" - . "github.com/bindoffice/minio/pkg/lsync" + . "github.com/bindoffice/bind-store/pkg/lsync" ) func testSimpleWriteLock(t *testing.T, duration time.Duration) (locked bool) { diff --git a/pkg/madmin/README.md b/pkg/madmin/README.md index 4f15488..f87691f 100644 --- a/pkg/madmin/README.md +++ b/pkg/madmin/README.md @@ -16,7 +16,7 @@ package main import ( "fmt" - "github.com/bindoffice/minio/pkg/madmin" + "github.com/bindoffice/bind-store/pkg/madmin" ) func main() { diff --git a/pkg/madmin/api-error-response.go b/pkg/madmin/api-error-response.go index 02ed1e9..d37cd88 100644 --- a/pkg/madmin/api-error-response.go +++ b/pkg/madmin/api-error-response.go @@ -55,7 +55,7 @@ func (e ErrorResponse) Error() string { } const ( - reportIssue = "Please report this issue at https://github.com/bindoffice/minio/issues." + reportIssue = "Please report this issue at https://github.com/bindoffice/bind-store/issues." ) // httpRespToErrorResponse returns a new encoded ErrorResponse @@ -83,7 +83,7 @@ func httpRespToErrorResponse(resp *http.Response) error { // // For example: // -// import admin "github.com/bindoffice/minio/pkg/madmin" +// import admin "github.com/bindoffice/bind-store/pkg/madmin" // ... // ... // ss, err := adm.ServiceStatus(...) diff --git a/pkg/madmin/api_test.go b/pkg/madmin/api_test.go index 4334be6..0d03432 100644 --- a/pkg/madmin/api_test.go +++ b/pkg/madmin/api_test.go @@ -21,7 +21,7 @@ package madmin_test import ( "testing" - "github.com/bindoffice/minio/pkg/madmin" + "github.com/bindoffice/bind-store/pkg/madmin" ) func TestMinioAdminClient(t *testing.T) { diff --git a/pkg/madmin/bandwidth.go b/pkg/madmin/bandwidth.go index 5e17de1..2e6f679 100644 --- a/pkg/madmin/bandwidth.go +++ b/pkg/madmin/bandwidth.go @@ -24,7 +24,7 @@ import ( "net/url" "strings" - "github.com/bindoffice/minio/pkg/bandwidth" + "github.com/bindoffice/bind-store/pkg/bandwidth" ) // Report includes the bandwidth report or the error encountered. diff --git a/pkg/madmin/encrypt.go b/pkg/madmin/encrypt.go index 5d0c8e0..4574231 100644 --- a/pkg/madmin/encrypt.go +++ b/pkg/madmin/encrypt.go @@ -23,7 +23,7 @@ import ( "io" "io/ioutil" - "github.com/bindoffice/minio/pkg/argon2" + "github.com/bindoffice/bind-store/pkg/argon2" "github.com/secure-io/sio-go" "github.com/secure-io/sio-go/sioutil" ) diff --git a/pkg/madmin/examples/accounting-info.go b/pkg/madmin/examples/accounting-info.go index 70ee1b3..397209e 100644 --- a/pkg/madmin/examples/accounting-info.go +++ b/pkg/madmin/examples/accounting-info.go @@ -23,7 +23,7 @@ import ( "context" "log" - "github.com/bindoffice/minio/pkg/madmin" + "github.com/bindoffice/bind-store/pkg/madmin" ) func main() { diff --git a/pkg/madmin/examples/add-user-and-policy.go b/pkg/madmin/examples/add-user-and-policy.go index aa8ecb1..d36d6a2 100644 --- a/pkg/madmin/examples/add-user-and-policy.go +++ b/pkg/madmin/examples/add-user-and-policy.go @@ -23,10 +23,10 @@ import ( "context" "log" - "github.com/bindoffice/minio/pkg/bucket/policy" - "github.com/bindoffice/minio/pkg/bucket/policy/condition" - iampolicy "github.com/bindoffice/minio/pkg/iam/policy" - "github.com/bindoffice/minio/pkg/madmin" + "github.com/bindoffice/bind-store/pkg/bucket/policy" + "github.com/bindoffice/bind-store/pkg/bucket/policy/condition" + iampolicy "github.com/bindoffice/bind-store/pkg/iam/policy" + "github.com/bindoffice/bind-store/pkg/madmin" ) func main() { diff --git a/pkg/madmin/examples/bucket-bandwidth.go b/pkg/madmin/examples/bucket-bandwidth.go index 2a05b52..8a1a324 100644 --- a/pkg/madmin/examples/bucket-bandwidth.go +++ b/pkg/madmin/examples/bucket-bandwidth.go @@ -21,7 +21,7 @@ import ( "fmt" "log" - "github.com/bindoffice/minio/pkg/madmin" + "github.com/bindoffice/bind-store/pkg/madmin" ) func main() { diff --git a/pkg/madmin/examples/bucket-quota.go b/pkg/madmin/examples/bucket-quota.go index 274a2e0..693fc3a 100644 --- a/pkg/madmin/examples/bucket-quota.go +++ b/pkg/madmin/examples/bucket-quota.go @@ -24,7 +24,7 @@ import ( "fmt" "log" - "github.com/bindoffice/minio/pkg/madmin" + "github.com/bindoffice/bind-store/pkg/madmin" ) func main() { diff --git a/pkg/madmin/examples/bucket-target.go b/pkg/madmin/examples/bucket-target.go index 4bbb91f..d88c45f 100644 --- a/pkg/madmin/examples/bucket-target.go +++ b/pkg/madmin/examples/bucket-target.go @@ -24,8 +24,8 @@ import ( "fmt" "log" - "github.com/bindoffice/minio/pkg/auth" - "github.com/bindoffice/minio/pkg/madmin" + "github.com/bindoffice/bind-store/pkg/auth" + "github.com/bindoffice/bind-store/pkg/madmin" ) func main() { diff --git a/pkg/madmin/examples/data-usage-info.go b/pkg/madmin/examples/data-usage-info.go index 7490fe1..cabcebf 100644 --- a/pkg/madmin/examples/data-usage-info.go +++ b/pkg/madmin/examples/data-usage-info.go @@ -23,7 +23,7 @@ import ( "context" "log" - "github.com/bindoffice/minio/pkg/madmin" + "github.com/bindoffice/bind-store/pkg/madmin" ) func main() { diff --git a/pkg/madmin/examples/heal-bucket.go b/pkg/madmin/examples/heal-bucket.go index 68fe00c..1086114 100644 --- a/pkg/madmin/examples/heal-bucket.go +++ b/pkg/madmin/examples/heal-bucket.go @@ -23,7 +23,7 @@ import ( "context" "log" - "github.com/bindoffice/minio/pkg/madmin" + "github.com/bindoffice/bind-store/pkg/madmin" ) func main() { diff --git a/pkg/madmin/examples/heal-format.go b/pkg/madmin/examples/heal-format.go index 35b2f31..ec50ba4 100644 --- a/pkg/madmin/examples/heal-format.go +++ b/pkg/madmin/examples/heal-format.go @@ -23,7 +23,7 @@ import ( "context" "log" - "github.com/bindoffice/minio/pkg/madmin" + "github.com/bindoffice/bind-store/pkg/madmin" ) func main() { diff --git a/pkg/madmin/examples/heal-object.go b/pkg/madmin/examples/heal-object.go index e64ace6..be93e9f 100644 --- a/pkg/madmin/examples/heal-object.go +++ b/pkg/madmin/examples/heal-object.go @@ -23,7 +23,7 @@ import ( "context" "log" - "github.com/bindoffice/minio/pkg/madmin" + "github.com/bindoffice/bind-store/pkg/madmin" ) func main() { diff --git a/pkg/madmin/examples/heal-status.go b/pkg/madmin/examples/heal-status.go index 5e28059..391fdf8 100644 --- a/pkg/madmin/examples/heal-status.go +++ b/pkg/madmin/examples/heal-status.go @@ -24,7 +24,7 @@ import ( "encoding/json" "log" - "github.com/bindoffice/minio/pkg/madmin" + "github.com/bindoffice/bind-store/pkg/madmin" ) func main() { diff --git a/pkg/madmin/examples/kms-status.go b/pkg/madmin/examples/kms-status.go index b467186..a33c836 100644 --- a/pkg/madmin/examples/kms-status.go +++ b/pkg/madmin/examples/kms-status.go @@ -23,7 +23,7 @@ import ( "context" "log" - "github.com/bindoffice/minio/pkg/madmin" + "github.com/bindoffice/bind-store/pkg/madmin" ) func main() { diff --git a/pkg/madmin/examples/lock-clear.go b/pkg/madmin/examples/lock-clear.go index 5c58926..a18eff2 100644 --- a/pkg/madmin/examples/lock-clear.go +++ b/pkg/madmin/examples/lock-clear.go @@ -24,7 +24,7 @@ import ( "log" "time" - "github.com/bindoffice/minio/pkg/madmin" + "github.com/bindoffice/bind-store/pkg/madmin" ) func main() { diff --git a/pkg/madmin/examples/profiling.go b/pkg/madmin/examples/profiling.go index 340fc4b..16e1449 100644 --- a/pkg/madmin/examples/profiling.go +++ b/pkg/madmin/examples/profiling.go @@ -26,7 +26,7 @@ import ( "os" "time" - "github.com/bindoffice/minio/pkg/madmin" + "github.com/bindoffice/bind-store/pkg/madmin" ) func main() { diff --git a/pkg/madmin/examples/server-info.go b/pkg/madmin/examples/server-info.go index 832f442..87b1030 100644 --- a/pkg/madmin/examples/server-info.go +++ b/pkg/madmin/examples/server-info.go @@ -23,7 +23,7 @@ import ( "context" "log" - "github.com/bindoffice/minio/pkg/madmin" + "github.com/bindoffice/bind-store/pkg/madmin" ) func main() { diff --git a/pkg/madmin/examples/service-accounts.go b/pkg/madmin/examples/service-accounts.go index 0b8c17f..67e86ef 100644 --- a/pkg/madmin/examples/service-accounts.go +++ b/pkg/madmin/examples/service-accounts.go @@ -24,10 +24,10 @@ import ( "fmt" "log" - "github.com/bindoffice/minio/pkg/bucket/policy" - "github.com/bindoffice/minio/pkg/bucket/policy/condition" - iampolicy "github.com/bindoffice/minio/pkg/iam/policy" - "github.com/bindoffice/minio/pkg/madmin" + "github.com/bindoffice/bind-store/pkg/bucket/policy" + "github.com/bindoffice/bind-store/pkg/bucket/policy/condition" + iampolicy "github.com/bindoffice/bind-store/pkg/iam/policy" + "github.com/bindoffice/bind-store/pkg/madmin" ) func main() { diff --git a/pkg/madmin/examples/service-restart.go b/pkg/madmin/examples/service-restart.go index 61dc601..a978957 100644 --- a/pkg/madmin/examples/service-restart.go +++ b/pkg/madmin/examples/service-restart.go @@ -23,7 +23,7 @@ import ( "context" "log" - "github.com/bindoffice/minio/pkg/madmin" + "github.com/bindoffice/bind-store/pkg/madmin" ) func main() { diff --git a/pkg/madmin/examples/service-trace.go b/pkg/madmin/examples/service-trace.go index 712f55c..ec8e204 100644 --- a/pkg/madmin/examples/service-trace.go +++ b/pkg/madmin/examples/service-trace.go @@ -24,7 +24,7 @@ import ( "fmt" "log" - "github.com/bindoffice/minio/pkg/madmin" + "github.com/bindoffice/bind-store/pkg/madmin" ) func main() { diff --git a/pkg/madmin/examples/storage-info.go b/pkg/madmin/examples/storage-info.go index ccc27fb..4b6a70d 100644 --- a/pkg/madmin/examples/storage-info.go +++ b/pkg/madmin/examples/storage-info.go @@ -23,7 +23,7 @@ import ( "context" "log" - "github.com/bindoffice/minio/pkg/madmin" + "github.com/bindoffice/bind-store/pkg/madmin" ) func main() { diff --git a/pkg/madmin/examples/top-locks.go b/pkg/madmin/examples/top-locks.go index 21b5a0f..2cef7f4 100644 --- a/pkg/madmin/examples/top-locks.go +++ b/pkg/madmin/examples/top-locks.go @@ -24,7 +24,7 @@ import ( "encoding/json" "log" - "github.com/bindoffice/minio/pkg/madmin" + "github.com/bindoffice/bind-store/pkg/madmin" ) func main() { diff --git a/pkg/madmin/health.go b/pkg/madmin/health.go index 4b355ad..91f8658 100644 --- a/pkg/madmin/health.go +++ b/pkg/madmin/health.go @@ -25,10 +25,10 @@ import ( "net/url" "time" - "github.com/bindoffice/minio/pkg/disk" - "github.com/bindoffice/minio/pkg/net" + "github.com/bindoffice/bind-store/pkg/disk" + "github.com/bindoffice/bind-store/pkg/net" - smart "github.com/bindoffice/minio/pkg/smart" + smart "github.com/bindoffice/bind-store/pkg/smart" "github.com/shirou/gopsutil/v3/cpu" diskhw "github.com/shirou/gopsutil/v3/disk" "github.com/shirou/gopsutil/v3/host" diff --git a/pkg/madmin/policy-commands.go b/pkg/madmin/policy-commands.go index bd665bb..82bc2f3 100644 --- a/pkg/madmin/policy-commands.go +++ b/pkg/madmin/policy-commands.go @@ -24,7 +24,7 @@ import ( "net/http" "net/url" - iampolicy "github.com/bindoffice/minio/pkg/iam/policy" + iampolicy "github.com/bindoffice/bind-store/pkg/iam/policy" ) // InfoCannedPolicy - expand canned policy into JSON structure. diff --git a/pkg/madmin/remote-target-commands.go b/pkg/madmin/remote-target-commands.go index 7d688c3..25c0046 100644 --- a/pkg/madmin/remote-target-commands.go +++ b/pkg/madmin/remote-target-commands.go @@ -27,7 +27,7 @@ import ( "strings" "time" - "github.com/bindoffice/minio/pkg/auth" + "github.com/bindoffice/bind-store/pkg/auth" ) // ServiceType represents service type diff --git a/pkg/madmin/service-commands.go b/pkg/madmin/service-commands.go index 86faf10..894078a 100644 --- a/pkg/madmin/service-commands.go +++ b/pkg/madmin/service-commands.go @@ -25,7 +25,7 @@ import ( "strconv" "time" - trace "github.com/bindoffice/minio/pkg/trace" + trace "github.com/bindoffice/bind-store/pkg/trace" ) // ServiceRestart - restarts the MinIO cluster diff --git a/pkg/madmin/user-commands.go b/pkg/madmin/user-commands.go index e5f5493..86453ed 100644 --- a/pkg/madmin/user-commands.go +++ b/pkg/madmin/user-commands.go @@ -25,8 +25,8 @@ import ( "net/url" "time" - "github.com/bindoffice/minio/pkg/auth" - iampolicy "github.com/bindoffice/minio/pkg/iam/policy" + "github.com/bindoffice/bind-store/pkg/auth" + iampolicy "github.com/bindoffice/bind-store/pkg/iam/policy" ) // AccountAccess contains information about diff --git a/pkg/quick/quick.go b/pkg/quick/quick.go index c4ed825..003a25b 100644 --- a/pkg/quick/quick.go +++ b/pkg/quick/quick.go @@ -27,7 +27,7 @@ import ( "sync" "github.com/fatih/structs" - "github.com/bindoffice/minio/pkg/safe" + "github.com/bindoffice/bind-store/pkg/safe" etcd "go.etcd.io/etcd/client/v3" ) diff --git a/pkg/rpc/doc.go b/pkg/rpc/doc.go index 6c3e7e2..8068deb 100644 --- a/pkg/rpc/doc.go +++ b/pkg/rpc/doc.go @@ -25,8 +25,8 @@ Let's setup a server and register a codec and service: import ( "http" - "github.com/bindoffice/minio/pkg/rpc/" - "github.com/bindoffice/minio/pkg/rpc/json2" + "github.com/bindoffice/bind-store/pkg/rpc/" + "github.com/bindoffice/bind-store/pkg/rpc/json2" ) func init() { diff --git a/pkg/rpc/json2/json_test.go b/pkg/rpc/json2/json_test.go index 717e999..14469f7 100644 --- a/pkg/rpc/json2/json_test.go +++ b/pkg/rpc/json2/json_test.go @@ -18,7 +18,7 @@ import ( "strings" "testing" - "github.com/bindoffice/minio/pkg/rpc" + "github.com/bindoffice/bind-store/pkg/rpc" ) // ResponseRecorder is an implementation of http.ResponseWriter that diff --git a/pkg/rpc/json2/server.go b/pkg/rpc/json2/server.go index ba0162f..3baf017 100644 --- a/pkg/rpc/json2/server.go +++ b/pkg/rpc/json2/server.go @@ -14,7 +14,7 @@ import ( "encoding/json" "net/http" - "github.com/bindoffice/minio/pkg/rpc" + "github.com/bindoffice/bind-store/pkg/rpc" ) var null = json.RawMessage([]byte("null")) diff --git a/pkg/s3select/csv/reader.go b/pkg/s3select/csv/reader.go index 7be9b91..5b9018c 100644 --- a/pkg/s3select/csv/reader.go +++ b/pkg/s3select/csv/reader.go @@ -25,8 +25,8 @@ import ( "sync" "unicode/utf8" - csv "github.com/bindoffice/minio/pkg/csvparser" - "github.com/bindoffice/minio/pkg/s3select/sql" + csv "github.com/bindoffice/bind-store/pkg/csvparser" + "github.com/bindoffice/bind-store/pkg/s3select/sql" ) // Reader - CSV record reader for S3Select. diff --git a/pkg/s3select/csv/reader_test.go b/pkg/s3select/csv/reader_test.go index 689d010..f5b1d15 100644 --- a/pkg/s3select/csv/reader_test.go +++ b/pkg/s3select/csv/reader_test.go @@ -28,7 +28,7 @@ import ( "testing" "github.com/klauspost/compress/zip" - "github.com/bindoffice/minio/pkg/s3select/sql" + "github.com/bindoffice/bind-store/pkg/s3select/sql" ) func TestReadRejectsOversizedLine(t *testing.T) { diff --git a/pkg/s3select/csv/record.go b/pkg/s3select/csv/record.go index e6e9ac2..bef5ab5 100644 --- a/pkg/s3select/csv/record.go +++ b/pkg/s3select/csv/record.go @@ -23,8 +23,8 @@ import ( "io" "github.com/bcicen/jstream" - csv "github.com/bindoffice/minio/pkg/csvparser" - "github.com/bindoffice/minio/pkg/s3select/sql" + csv "github.com/bindoffice/bind-store/pkg/csvparser" + "github.com/bindoffice/bind-store/pkg/s3select/sql" ) // Record - is a CSV record. diff --git a/pkg/s3select/internal/parquet-go/column.go b/pkg/s3select/internal/parquet-go/column.go index 3e486f0..ce8178f 100644 --- a/pkg/s3select/internal/parquet-go/column.go +++ b/pkg/s3select/internal/parquet-go/column.go @@ -23,7 +23,7 @@ import ( "git.apache.org/thrift.git/lib/go/thrift" "github.com/minio/minio-go/v7/pkg/set" - "github.com/bindoffice/minio/pkg/s3select/internal/parquet-go/gen-go/parquet" + "github.com/bindoffice/bind-store/pkg/s3select/internal/parquet-go/gen-go/parquet" ) func getColumns( diff --git a/pkg/s3select/internal/parquet-go/common.go b/pkg/s3select/internal/parquet-go/common.go index 71f5b69..eeea105 100644 --- a/pkg/s3select/internal/parquet-go/common.go +++ b/pkg/s3select/internal/parquet-go/common.go @@ -17,7 +17,7 @@ package parquet import ( - "github.com/bindoffice/minio/pkg/s3select/internal/parquet-go/gen-go/parquet" + "github.com/bindoffice/bind-store/pkg/s3select/internal/parquet-go/gen-go/parquet" ) func valuesToInterfaces(values interface{}, valueType parquet.Type) (tableValues []interface{}) { diff --git a/pkg/s3select/internal/parquet-go/common/common.go b/pkg/s3select/internal/parquet-go/common/common.go index ddd4b42..68a7eed 100644 --- a/pkg/s3select/internal/parquet-go/common/common.go +++ b/pkg/s3select/internal/parquet-go/common/common.go @@ -7,7 +7,7 @@ import ( "io/ioutil" "github.com/klauspost/compress/snappy" - "github.com/bindoffice/minio/pkg/s3select/internal/parquet-go/gen-go/parquet" + "github.com/bindoffice/bind-store/pkg/s3select/internal/parquet-go/gen-go/parquet" "github.com/pierrec/lz4" ) diff --git a/pkg/s3select/internal/parquet-go/compression.go b/pkg/s3select/internal/parquet-go/compression.go index 20c0d5e..a7d7df7 100644 --- a/pkg/s3select/internal/parquet-go/compression.go +++ b/pkg/s3select/internal/parquet-go/compression.go @@ -25,7 +25,7 @@ import ( "github.com/klauspost/compress/gzip" "github.com/klauspost/compress/snappy" "github.com/klauspost/compress/zstd" - "github.com/bindoffice/minio/pkg/s3select/internal/parquet-go/gen-go/parquet" + "github.com/bindoffice/bind-store/pkg/s3select/internal/parquet-go/gen-go/parquet" "github.com/pierrec/lz4" ) diff --git a/pkg/s3select/internal/parquet-go/data/column-grouplist_test.go b/pkg/s3select/internal/parquet-go/data/column-grouplist_test.go index 6ac8826..89aacc7 100644 --- a/pkg/s3select/internal/parquet-go/data/column-grouplist_test.go +++ b/pkg/s3select/internal/parquet-go/data/column-grouplist_test.go @@ -20,8 +20,8 @@ import ( "reflect" "testing" - "github.com/bindoffice/minio/pkg/s3select/internal/parquet-go/gen-go/parquet" - "github.com/bindoffice/minio/pkg/s3select/internal/parquet-go/schema" + "github.com/bindoffice/bind-store/pkg/s3select/internal/parquet-go/gen-go/parquet" + "github.com/bindoffice/bind-store/pkg/s3select/internal/parquet-go/schema" ) func TestPopulateGroupList(t *testing.T) { diff --git a/pkg/s3select/internal/parquet-go/data/column-grouptype_test.go b/pkg/s3select/internal/parquet-go/data/column-grouptype_test.go index 917075c..13153cd 100644 --- a/pkg/s3select/internal/parquet-go/data/column-grouptype_test.go +++ b/pkg/s3select/internal/parquet-go/data/column-grouptype_test.go @@ -20,8 +20,8 @@ import ( "reflect" "testing" - "github.com/bindoffice/minio/pkg/s3select/internal/parquet-go/gen-go/parquet" - "github.com/bindoffice/minio/pkg/s3select/internal/parquet-go/schema" + "github.com/bindoffice/bind-store/pkg/s3select/internal/parquet-go/gen-go/parquet" + "github.com/bindoffice/bind-store/pkg/s3select/internal/parquet-go/schema" ) func TestPopulateGroupType(t *testing.T) { diff --git a/pkg/s3select/internal/parquet-go/data/column-listoflist_test.go b/pkg/s3select/internal/parquet-go/data/column-listoflist_test.go index 221d4a9..6184e3a 100644 --- a/pkg/s3select/internal/parquet-go/data/column-listoflist_test.go +++ b/pkg/s3select/internal/parquet-go/data/column-listoflist_test.go @@ -20,8 +20,8 @@ import ( "reflect" "testing" - "github.com/bindoffice/minio/pkg/s3select/internal/parquet-go/gen-go/parquet" - "github.com/bindoffice/minio/pkg/s3select/internal/parquet-go/schema" + "github.com/bindoffice/bind-store/pkg/s3select/internal/parquet-go/gen-go/parquet" + "github.com/bindoffice/bind-store/pkg/s3select/internal/parquet-go/schema" ) func TestPopulateListOfList(t *testing.T) { diff --git a/pkg/s3select/internal/parquet-go/data/column-map_test.go b/pkg/s3select/internal/parquet-go/data/column-map_test.go index 5fb54a8..04329cd 100644 --- a/pkg/s3select/internal/parquet-go/data/column-map_test.go +++ b/pkg/s3select/internal/parquet-go/data/column-map_test.go @@ -20,8 +20,8 @@ import ( "reflect" "testing" - "github.com/bindoffice/minio/pkg/s3select/internal/parquet-go/gen-go/parquet" - "github.com/bindoffice/minio/pkg/s3select/internal/parquet-go/schema" + "github.com/bindoffice/bind-store/pkg/s3select/internal/parquet-go/gen-go/parquet" + "github.com/bindoffice/bind-store/pkg/s3select/internal/parquet-go/schema" ) func TestPopulateMap(t *testing.T) { diff --git a/pkg/s3select/internal/parquet-go/data/column-primitivelist_test.go b/pkg/s3select/internal/parquet-go/data/column-primitivelist_test.go index 3a85459..6d7c785 100644 --- a/pkg/s3select/internal/parquet-go/data/column-primitivelist_test.go +++ b/pkg/s3select/internal/parquet-go/data/column-primitivelist_test.go @@ -20,8 +20,8 @@ import ( "reflect" "testing" - "github.com/bindoffice/minio/pkg/s3select/internal/parquet-go/gen-go/parquet" - "github.com/bindoffice/minio/pkg/s3select/internal/parquet-go/schema" + "github.com/bindoffice/bind-store/pkg/s3select/internal/parquet-go/gen-go/parquet" + "github.com/bindoffice/bind-store/pkg/s3select/internal/parquet-go/schema" ) func TestPopulatePrimitiveList(t *testing.T) { diff --git a/pkg/s3select/internal/parquet-go/data/column-primitivetype_test.go b/pkg/s3select/internal/parquet-go/data/column-primitivetype_test.go index 146086a..f6bfeb6 100644 --- a/pkg/s3select/internal/parquet-go/data/column-primitivetype_test.go +++ b/pkg/s3select/internal/parquet-go/data/column-primitivetype_test.go @@ -20,8 +20,8 @@ import ( "reflect" "testing" - "github.com/bindoffice/minio/pkg/s3select/internal/parquet-go/gen-go/parquet" - "github.com/bindoffice/minio/pkg/s3select/internal/parquet-go/schema" + "github.com/bindoffice/bind-store/pkg/s3select/internal/parquet-go/gen-go/parquet" + "github.com/bindoffice/bind-store/pkg/s3select/internal/parquet-go/schema" ) func TestPopulatePrimitiveType(t *testing.T) { diff --git a/pkg/s3select/internal/parquet-go/data/column.go b/pkg/s3select/internal/parquet-go/data/column.go index e2ceb9f..21ce5f4 100644 --- a/pkg/s3select/internal/parquet-go/data/column.go +++ b/pkg/s3select/internal/parquet-go/data/column.go @@ -23,10 +23,10 @@ import ( "strings" "git.apache.org/thrift.git/lib/go/thrift" - "github.com/bindoffice/minio/pkg/s3select/internal/parquet-go/common" - "github.com/bindoffice/minio/pkg/s3select/internal/parquet-go/encoding" - "github.com/bindoffice/minio/pkg/s3select/internal/parquet-go/gen-go/parquet" - "github.com/bindoffice/minio/pkg/s3select/internal/parquet-go/schema" + "github.com/bindoffice/bind-store/pkg/s3select/internal/parquet-go/common" + "github.com/bindoffice/bind-store/pkg/s3select/internal/parquet-go/encoding" + "github.com/bindoffice/bind-store/pkg/s3select/internal/parquet-go/gen-go/parquet" + "github.com/bindoffice/bind-store/pkg/s3select/internal/parquet-go/schema" "github.com/tidwall/gjson" "github.com/tidwall/sjson" ) diff --git a/pkg/s3select/internal/parquet-go/data/column_test.go b/pkg/s3select/internal/parquet-go/data/column_test.go index a0c767b..ba4e54c 100644 --- a/pkg/s3select/internal/parquet-go/data/column_test.go +++ b/pkg/s3select/internal/parquet-go/data/column_test.go @@ -20,8 +20,8 @@ import ( "reflect" "testing" - "github.com/bindoffice/minio/pkg/s3select/internal/parquet-go/gen-go/parquet" - "github.com/bindoffice/minio/pkg/s3select/internal/parquet-go/schema" + "github.com/bindoffice/bind-store/pkg/s3select/internal/parquet-go/gen-go/parquet" + "github.com/bindoffice/bind-store/pkg/s3select/internal/parquet-go/schema" ) var ( diff --git a/pkg/s3select/internal/parquet-go/data/data.go b/pkg/s3select/internal/parquet-go/data/data.go index 829e317..bfd694e 100644 --- a/pkg/s3select/internal/parquet-go/data/data.go +++ b/pkg/s3select/internal/parquet-go/data/data.go @@ -17,7 +17,7 @@ package data import ( - "github.com/bindoffice/minio/pkg/s3select/internal/parquet-go/gen-go/parquet" + "github.com/bindoffice/bind-store/pkg/s3select/internal/parquet-go/gen-go/parquet" ) // ColumnChunk ... diff --git a/pkg/s3select/internal/parquet-go/data/jsonvalue.go b/pkg/s3select/internal/parquet-go/data/jsonvalue.go index 9006f09..6869363 100644 --- a/pkg/s3select/internal/parquet-go/data/jsonvalue.go +++ b/pkg/s3select/internal/parquet-go/data/jsonvalue.go @@ -19,7 +19,7 @@ package data import ( "fmt" - "github.com/bindoffice/minio/pkg/s3select/internal/parquet-go/gen-go/parquet" + "github.com/bindoffice/bind-store/pkg/s3select/internal/parquet-go/gen-go/parquet" "github.com/tidwall/gjson" ) diff --git a/pkg/s3select/internal/parquet-go/data/result.go b/pkg/s3select/internal/parquet-go/data/result.go index cee6b48..82e8bbf 100644 --- a/pkg/s3select/internal/parquet-go/data/result.go +++ b/pkg/s3select/internal/parquet-go/data/result.go @@ -20,7 +20,7 @@ import ( "fmt" "math" - "github.com/bindoffice/minio/pkg/s3select/internal/parquet-go/gen-go/parquet" + "github.com/bindoffice/bind-store/pkg/s3select/internal/parquet-go/gen-go/parquet" "github.com/tidwall/gjson" ) diff --git a/pkg/s3select/internal/parquet-go/decode.go b/pkg/s3select/internal/parquet-go/decode.go index fac4c41..24ab835 100644 --- a/pkg/s3select/internal/parquet-go/decode.go +++ b/pkg/s3select/internal/parquet-go/decode.go @@ -22,7 +22,7 @@ import ( "fmt" "math" - "github.com/bindoffice/minio/pkg/s3select/internal/parquet-go/gen-go/parquet" + "github.com/bindoffice/bind-store/pkg/s3select/internal/parquet-go/gen-go/parquet" ) func i64sToi32s(i64s []int64) (i32s []int32) { diff --git a/pkg/s3select/internal/parquet-go/encode.go b/pkg/s3select/internal/parquet-go/encode.go index 081117a..e7ab7b6 100644 --- a/pkg/s3select/internal/parquet-go/encode.go +++ b/pkg/s3select/internal/parquet-go/encode.go @@ -23,7 +23,7 @@ import ( "fmt" "math" - "github.com/bindoffice/minio/pkg/s3select/internal/parquet-go/gen-go/parquet" + "github.com/bindoffice/bind-store/pkg/s3select/internal/parquet-go/gen-go/parquet" ) func boolsToBytes(bs []bool) []byte { diff --git a/pkg/s3select/internal/parquet-go/encode_test.go b/pkg/s3select/internal/parquet-go/encode_test.go index dcc824c..c2d4015 100644 --- a/pkg/s3select/internal/parquet-go/encode_test.go +++ b/pkg/s3select/internal/parquet-go/encode_test.go @@ -21,7 +21,7 @@ import ( "reflect" "testing" - "github.com/bindoffice/minio/pkg/s3select/internal/parquet-go/gen-go/parquet" + "github.com/bindoffice/bind-store/pkg/s3select/internal/parquet-go/gen-go/parquet" ) func TestBoolsToBytes(t *testing.T) { diff --git a/pkg/s3select/internal/parquet-go/encoding/common.go b/pkg/s3select/internal/parquet-go/encoding/common.go index b49e003..ab8185a 100644 --- a/pkg/s3select/internal/parquet-go/encoding/common.go +++ b/pkg/s3select/internal/parquet-go/encoding/common.go @@ -17,7 +17,7 @@ package encoding import ( - "github.com/bindoffice/minio/pkg/s3select/internal/parquet-go/common" + "github.com/bindoffice/bind-store/pkg/s3select/internal/parquet-go/common" ) // Refer https://en.wikipedia.org/wiki/LEB128#Unsigned_LEB128 diff --git a/pkg/s3select/internal/parquet-go/encoding/delta-encode.go b/pkg/s3select/internal/parquet-go/encoding/delta-encode.go index d54aafe..793b9c7 100644 --- a/pkg/s3select/internal/parquet-go/encoding/delta-encode.go +++ b/pkg/s3select/internal/parquet-go/encoding/delta-encode.go @@ -19,8 +19,8 @@ package encoding import ( "fmt" - "github.com/bindoffice/minio/pkg/s3select/internal/parquet-go/common" - "github.com/bindoffice/minio/pkg/s3select/internal/parquet-go/gen-go/parquet" + "github.com/bindoffice/bind-store/pkg/s3select/internal/parquet-go/common" + "github.com/bindoffice/bind-store/pkg/s3select/internal/parquet-go/gen-go/parquet" ) const ( diff --git a/pkg/s3select/internal/parquet-go/encoding/plain-encode.go b/pkg/s3select/internal/parquet-go/encoding/plain-encode.go index ee699f7..3b44c86 100644 --- a/pkg/s3select/internal/parquet-go/encoding/plain-encode.go +++ b/pkg/s3select/internal/parquet-go/encoding/plain-encode.go @@ -22,7 +22,7 @@ import ( "fmt" "math" - "github.com/bindoffice/minio/pkg/s3select/internal/parquet-go/gen-go/parquet" + "github.com/bindoffice/bind-store/pkg/s3select/internal/parquet-go/gen-go/parquet" ) func plainEncodeBools(bs []bool) []byte { diff --git a/pkg/s3select/internal/parquet-go/encoding/rle-encode.go b/pkg/s3select/internal/parquet-go/encoding/rle-encode.go index fb67d40..51d99f3 100644 --- a/pkg/s3select/internal/parquet-go/encoding/rle-encode.go +++ b/pkg/s3select/internal/parquet-go/encoding/rle-encode.go @@ -19,7 +19,7 @@ package encoding import ( "fmt" - "github.com/bindoffice/minio/pkg/s3select/internal/parquet-go/gen-go/parquet" + "github.com/bindoffice/bind-store/pkg/s3select/internal/parquet-go/gen-go/parquet" ) func rleEncodeInt32s(i32s []int32, bitWidth int32) (data []byte) { diff --git a/pkg/s3select/internal/parquet-go/encoding/rle-encode_test.go b/pkg/s3select/internal/parquet-go/encoding/rle-encode_test.go index 502d6f1..3129cb0 100644 --- a/pkg/s3select/internal/parquet-go/encoding/rle-encode_test.go +++ b/pkg/s3select/internal/parquet-go/encoding/rle-encode_test.go @@ -20,7 +20,7 @@ import ( "reflect" "testing" - "github.com/bindoffice/minio/pkg/s3select/internal/parquet-go/gen-go/parquet" + "github.com/bindoffice/bind-store/pkg/s3select/internal/parquet-go/gen-go/parquet" ) func TestRLEEncodeInt32s(t *testing.T) { diff --git a/pkg/s3select/internal/parquet-go/encoding/rledict-encode.go b/pkg/s3select/internal/parquet-go/encoding/rledict-encode.go index 796e0c5..927c92f 100644 --- a/pkg/s3select/internal/parquet-go/encoding/rledict-encode.go +++ b/pkg/s3select/internal/parquet-go/encoding/rledict-encode.go @@ -17,8 +17,8 @@ package encoding import ( - "github.com/bindoffice/minio/pkg/s3select/internal/parquet-go/common" - "github.com/bindoffice/minio/pkg/s3select/internal/parquet-go/gen-go/parquet" + "github.com/bindoffice/bind-store/pkg/s3select/internal/parquet-go/common" + "github.com/bindoffice/bind-store/pkg/s3select/internal/parquet-go/gen-go/parquet" ) // RLEDictEncode encodes values specified in https://github.com/apache/parquet-format/blob/master/Encodings.md#dictionary-encoding-plain_dictionary--2-and-rle_dictionary--8 and returns dictionary page data and data page data. diff --git a/pkg/s3select/internal/parquet-go/page.go b/pkg/s3select/internal/parquet-go/page.go index 581f675..97de71f 100644 --- a/pkg/s3select/internal/parquet-go/page.go +++ b/pkg/s3select/internal/parquet-go/page.go @@ -26,7 +26,7 @@ import ( "strings" "git.apache.org/thrift.git/lib/go/thrift" - "github.com/bindoffice/minio/pkg/s3select/internal/parquet-go/gen-go/parquet" + "github.com/bindoffice/bind-store/pkg/s3select/internal/parquet-go/gen-go/parquet" ) // getBitWidth - returns bits required to place num e.g. diff --git a/pkg/s3select/internal/parquet-go/reader.go b/pkg/s3select/internal/parquet-go/reader.go index 9973284..8b5565a 100644 --- a/pkg/s3select/internal/parquet-go/reader.go +++ b/pkg/s3select/internal/parquet-go/reader.go @@ -23,7 +23,7 @@ import ( "git.apache.org/thrift.git/lib/go/thrift" "github.com/minio/minio-go/v7/pkg/set" - "github.com/bindoffice/minio/pkg/s3select/internal/parquet-go/gen-go/parquet" + "github.com/bindoffice/bind-store/pkg/s3select/internal/parquet-go/gen-go/parquet" ) // GetReaderFunc - function type returning io.ReadCloser for requested offset/length. diff --git a/pkg/s3select/internal/parquet-go/schema/element.go b/pkg/s3select/internal/parquet-go/schema/element.go index ee836e2..9e726b0 100644 --- a/pkg/s3select/internal/parquet-go/schema/element.go +++ b/pkg/s3select/internal/parquet-go/schema/element.go @@ -21,7 +21,7 @@ import ( "regexp" "strings" - "github.com/bindoffice/minio/pkg/s3select/internal/parquet-go/gen-go/parquet" + "github.com/bindoffice/bind-store/pkg/s3select/internal/parquet-go/gen-go/parquet" ) var nameRegexp = regexp.MustCompile("^[a-zA-Z0-9_]+$") diff --git a/pkg/s3select/internal/parquet-go/schema/tree.go b/pkg/s3select/internal/parquet-go/schema/tree.go index 8f22497..e51f4f1 100644 --- a/pkg/s3select/internal/parquet-go/schema/tree.go +++ b/pkg/s3select/internal/parquet-go/schema/tree.go @@ -20,7 +20,7 @@ import ( "fmt" "strings" - "github.com/bindoffice/minio/pkg/s3select/internal/parquet-go/gen-go/parquet" + "github.com/bindoffice/bind-store/pkg/s3select/internal/parquet-go/gen-go/parquet" ) func updateMaxDLRL(schemaMap map[string]*Element, maxDL, maxRL int64) { diff --git a/pkg/s3select/internal/parquet-go/schema/tree_test.go b/pkg/s3select/internal/parquet-go/schema/tree_test.go index aa23678..7565354 100644 --- a/pkg/s3select/internal/parquet-go/schema/tree_test.go +++ b/pkg/s3select/internal/parquet-go/schema/tree_test.go @@ -19,7 +19,7 @@ package schema import ( "testing" - "github.com/bindoffice/minio/pkg/s3select/internal/parquet-go/gen-go/parquet" + "github.com/bindoffice/bind-store/pkg/s3select/internal/parquet-go/gen-go/parquet" ) func TestTreeSet(t *testing.T) { diff --git a/pkg/s3select/internal/parquet-go/table.go b/pkg/s3select/internal/parquet-go/table.go index 9d18b6e..8b6dde8 100644 --- a/pkg/s3select/internal/parquet-go/table.go +++ b/pkg/s3select/internal/parquet-go/table.go @@ -16,7 +16,7 @@ package parquet -import "github.com/bindoffice/minio/pkg/s3select/internal/parquet-go/gen-go/parquet" +import "github.com/bindoffice/bind-store/pkg/s3select/internal/parquet-go/gen-go/parquet" func getTableValues(values interface{}, valueType parquet.Type) (tableValues []interface{}) { return valuesToInterfaces(values, valueType) diff --git a/pkg/s3select/internal/parquet-go/tools/parquet2csv/parquet2csv.go b/pkg/s3select/internal/parquet-go/tools/parquet2csv/parquet2csv.go index 56f9f51..0b7ebb7 100644 --- a/pkg/s3select/internal/parquet-go/tools/parquet2csv/parquet2csv.go +++ b/pkg/s3select/internal/parquet-go/tools/parquet2csv/parquet2csv.go @@ -25,7 +25,7 @@ import ( "strings" "github.com/minio/minio-go/v7/pkg/set" - parquet "github.com/bindoffice/minio/pkg/s3select/internal/parquet-go" + parquet "github.com/bindoffice/bind-store/pkg/s3select/internal/parquet-go" ) func getReader(name string, offset int64, length int64) (io.ReadCloser, error) { diff --git a/pkg/s3select/internal/parquet-go/tools/parquet2json/parquet2json.go b/pkg/s3select/internal/parquet-go/tools/parquet2json/parquet2json.go index 1c4ba74..44832b0 100644 --- a/pkg/s3select/internal/parquet-go/tools/parquet2json/parquet2json.go +++ b/pkg/s3select/internal/parquet-go/tools/parquet2json/parquet2json.go @@ -25,7 +25,7 @@ import ( "strings" "github.com/minio/minio-go/v7/pkg/set" - parquet "github.com/bindoffice/minio/pkg/s3select/internal/parquet-go" + parquet "github.com/bindoffice/bind-store/pkg/s3select/internal/parquet-go" ) func getReader(name string, offset int64, length int64) (io.ReadCloser, error) { diff --git a/pkg/s3select/internal/parquet-go/writer.go b/pkg/s3select/internal/parquet-go/writer.go index cbfba07..903ced0 100644 --- a/pkg/s3select/internal/parquet-go/writer.go +++ b/pkg/s3select/internal/parquet-go/writer.go @@ -23,9 +23,9 @@ import ( "io" "git.apache.org/thrift.git/lib/go/thrift" - "github.com/bindoffice/minio/pkg/s3select/internal/parquet-go/data" - "github.com/bindoffice/minio/pkg/s3select/internal/parquet-go/gen-go/parquet" - "github.com/bindoffice/minio/pkg/s3select/internal/parquet-go/schema" + "github.com/bindoffice/bind-store/pkg/s3select/internal/parquet-go/data" + "github.com/bindoffice/bind-store/pkg/s3select/internal/parquet-go/gen-go/parquet" + "github.com/bindoffice/bind-store/pkg/s3select/internal/parquet-go/schema" ) const ( diff --git a/pkg/s3select/internal/parquet-go/writer_test.go b/pkg/s3select/internal/parquet-go/writer_test.go index 56c693b..5c318b3 100644 --- a/pkg/s3select/internal/parquet-go/writer_test.go +++ b/pkg/s3select/internal/parquet-go/writer_test.go @@ -20,9 +20,9 @@ import ( "os" "testing" - "github.com/bindoffice/minio/pkg/s3select/internal/parquet-go/data" - "github.com/bindoffice/minio/pkg/s3select/internal/parquet-go/gen-go/parquet" - "github.com/bindoffice/minio/pkg/s3select/internal/parquet-go/schema" + "github.com/bindoffice/bind-store/pkg/s3select/internal/parquet-go/data" + "github.com/bindoffice/bind-store/pkg/s3select/internal/parquet-go/gen-go/parquet" + "github.com/bindoffice/bind-store/pkg/s3select/internal/parquet-go/schema" ) func TestWriterWrite(t *testing.T) { diff --git a/pkg/s3select/json/preader.go b/pkg/s3select/json/preader.go index 9473c97..67df7bf 100644 --- a/pkg/s3select/json/preader.go +++ b/pkg/s3select/json/preader.go @@ -24,7 +24,7 @@ import ( "sync" "github.com/bcicen/jstream" - "github.com/bindoffice/minio/pkg/s3select/sql" + "github.com/bindoffice/bind-store/pkg/s3select/sql" ) // PReader - JSON record reader for S3Select. diff --git a/pkg/s3select/json/preader_test.go b/pkg/s3select/json/preader_test.go index 3190b80..df1f8b6 100644 --- a/pkg/s3select/json/preader_test.go +++ b/pkg/s3select/json/preader_test.go @@ -24,7 +24,7 @@ import ( "path/filepath" "testing" - "github.com/bindoffice/minio/pkg/s3select/sql" + "github.com/bindoffice/bind-store/pkg/s3select/sql" ) func TestNewPReader(t *testing.T) { diff --git a/pkg/s3select/json/reader.go b/pkg/s3select/json/reader.go index ffb8fe4..457145d 100644 --- a/pkg/s3select/json/reader.go +++ b/pkg/s3select/json/reader.go @@ -21,7 +21,7 @@ import ( "io" "sync" - "github.com/bindoffice/minio/pkg/s3select/sql" + "github.com/bindoffice/bind-store/pkg/s3select/sql" "github.com/bcicen/jstream" ) diff --git a/pkg/s3select/json/reader_test.go b/pkg/s3select/json/reader_test.go index ed48f9e..df33f4d 100644 --- a/pkg/s3select/json/reader_test.go +++ b/pkg/s3select/json/reader_test.go @@ -24,7 +24,7 @@ import ( "path/filepath" "testing" - "github.com/bindoffice/minio/pkg/s3select/sql" + "github.com/bindoffice/bind-store/pkg/s3select/sql" ) func TestNewReader(t *testing.T) { diff --git a/pkg/s3select/json/record.go b/pkg/s3select/json/record.go index 244df8a..f5952ce 100644 --- a/pkg/s3select/json/record.go +++ b/pkg/s3select/json/record.go @@ -26,8 +26,8 @@ import ( "strings" "github.com/bcicen/jstream" - csv "github.com/bindoffice/minio/pkg/csvparser" - "github.com/bindoffice/minio/pkg/s3select/sql" + csv "github.com/bindoffice/bind-store/pkg/csvparser" + "github.com/bindoffice/bind-store/pkg/s3select/sql" ) // RawJSON is a byte-slice that contains valid JSON diff --git a/pkg/s3select/parquet/reader.go b/pkg/s3select/parquet/reader.go index 964c889..d468e5e 100644 --- a/pkg/s3select/parquet/reader.go +++ b/pkg/s3select/parquet/reader.go @@ -22,10 +22,10 @@ import ( "time" "github.com/bcicen/jstream" - parquetgo "github.com/bindoffice/minio/pkg/s3select/internal/parquet-go" - parquetgen "github.com/bindoffice/minio/pkg/s3select/internal/parquet-go/gen-go/parquet" - jsonfmt "github.com/bindoffice/minio/pkg/s3select/json" - "github.com/bindoffice/minio/pkg/s3select/sql" + parquetgo "github.com/bindoffice/bind-store/pkg/s3select/internal/parquet-go" + parquetgen "github.com/bindoffice/bind-store/pkg/s3select/internal/parquet-go/gen-go/parquet" + jsonfmt "github.com/bindoffice/bind-store/pkg/s3select/json" + "github.com/bindoffice/bind-store/pkg/s3select/sql" ) // Reader - Parquet record reader for S3Select. diff --git a/pkg/s3select/select.go b/pkg/s3select/select.go index fbbeedd..eb1a75f 100644 --- a/pkg/s3select/select.go +++ b/pkg/s3select/select.go @@ -30,11 +30,11 @@ import ( "strings" "sync" - "github.com/bindoffice/minio/pkg/s3select/csv" - "github.com/bindoffice/minio/pkg/s3select/json" - "github.com/bindoffice/minio/pkg/s3select/parquet" - "github.com/bindoffice/minio/pkg/s3select/simdj" - "github.com/bindoffice/minio/pkg/s3select/sql" + "github.com/bindoffice/bind-store/pkg/s3select/csv" + "github.com/bindoffice/bind-store/pkg/s3select/json" + "github.com/bindoffice/bind-store/pkg/s3select/parquet" + "github.com/bindoffice/bind-store/pkg/s3select/simdj" + "github.com/bindoffice/bind-store/pkg/s3select/sql" "github.com/minio/simdjson-go" ) diff --git a/pkg/s3select/simdj/reader.go b/pkg/s3select/simdj/reader.go index e40f29b..d6d1578 100644 --- a/pkg/s3select/simdj/reader.go +++ b/pkg/s3select/simdj/reader.go @@ -21,8 +21,8 @@ import ( "io" "sync" - "github.com/bindoffice/minio/pkg/s3select/json" - "github.com/bindoffice/minio/pkg/s3select/sql" + "github.com/bindoffice/bind-store/pkg/s3select/json" + "github.com/bindoffice/bind-store/pkg/s3select/sql" "github.com/minio/simdjson-go" ) diff --git a/pkg/s3select/simdj/reader_amd64_test.go b/pkg/s3select/simdj/reader_amd64_test.go index 3f3efb1..b8a948d 100644 --- a/pkg/s3select/simdj/reader_amd64_test.go +++ b/pkg/s3select/simdj/reader_amd64_test.go @@ -24,8 +24,8 @@ import ( "testing" "github.com/klauspost/compress/zstd" - "github.com/bindoffice/minio/pkg/s3select/json" - "github.com/bindoffice/minio/pkg/s3select/sql" + "github.com/bindoffice/bind-store/pkg/s3select/json" + "github.com/bindoffice/bind-store/pkg/s3select/sql" "github.com/minio/simdjson-go" ) diff --git a/pkg/s3select/simdj/record.go b/pkg/s3select/simdj/record.go index 27877ca..c913b22 100644 --- a/pkg/s3select/simdj/record.go +++ b/pkg/s3select/simdj/record.go @@ -20,11 +20,11 @@ import ( "fmt" "io" - csv "github.com/bindoffice/minio/pkg/csvparser" + csv "github.com/bindoffice/bind-store/pkg/csvparser" "github.com/bcicen/jstream" - "github.com/bindoffice/minio/pkg/s3select/json" - "github.com/bindoffice/minio/pkg/s3select/sql" + "github.com/bindoffice/bind-store/pkg/s3select/json" + "github.com/bindoffice/bind-store/pkg/s3select/sql" "github.com/minio/simdjson-go" ) diff --git a/pkg/sys/stats_linux.go b/pkg/sys/stats_linux.go index f0e4fa8..0865d66 100644 --- a/pkg/sys/stats_linux.go +++ b/pkg/sys/stats_linux.go @@ -22,7 +22,7 @@ import ( "os" "syscall" - "github.com/bindoffice/minio/pkg/cgroup" + "github.com/bindoffice/bind-store/pkg/cgroup" ) // Get the final system memory limit chosen by the user. diff --git a/pkg/sys/stats_linux_32bit.go b/pkg/sys/stats_linux_32bit.go index 5c2535f..5c8ea20 100644 --- a/pkg/sys/stats_linux_32bit.go +++ b/pkg/sys/stats_linux_32bit.go @@ -22,7 +22,7 @@ import ( "os" "syscall" - "github.com/bindoffice/minio/pkg/cgroup" + "github.com/bindoffice/bind-store/pkg/cgroup" ) // Get the final system memory limit chosen by the user. diff --git a/pkg/wildcard/match_test.go b/pkg/wildcard/match_test.go index 2f7bf8f..5d8fdcd 100644 --- a/pkg/wildcard/match_test.go +++ b/pkg/wildcard/match_test.go @@ -19,7 +19,7 @@ package wildcard_test import ( "testing" - "github.com/bindoffice/minio/pkg/wildcard" + "github.com/bindoffice/bind-store/pkg/wildcard" ) // TestMatch - Tests validate the logic of wild card matching.