diff --git a/.github/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE.md index 8f7d216..4542369 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 (`bind-store --version`): +* Version used (`bindstore --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 8f7d216..4542369 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 (`bind-store --version`): +* Version used (`bindstore --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 0c9ae69..f35403d 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\bind-store.exe" . + go build -ldflags="-s -w" -o "$env:GOPATH\bin\bindstore.exe" . go test -v -timeout 50m ./... diff --git a/.goreleaser.yml b/.goreleaser.yml index 27f217b..9475000 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -1,11 +1,11 @@ -project_name: bind-store +project_name: bindstore release: name_template: "Version {{.Version}}" disable: true github: owner: bindoffice - name: bind-store + name: bindstore env: - CGO_ENABLED=0 @@ -67,7 +67,7 @@ builds: - -trimpath ldflags: - - "-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}}" + - "-s -w -X github.com/bindoffice/bindstore/cmd.Version={{.Version}} -X github.com/bindoffice/bindstore/cmd.ReleaseTag={{.Tag}} -X github.com/bindoffice/bindstore/cmd.CommitID={{.FullCommit}} -X github.com/bindoffice/bindstore/cmd.ShortCommitID={{.ShortCommit}}" archives: - @@ -76,12 +76,12 @@ archives: nfpms: - - id: bind-store - package_name: bind-store + id: bindstore + package_name: bindstore vendor: BindOffice - homepage: https://github.com/bindoffice/bind-store + homepage: https://github.com/bindoffice/bindstore 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. + description: bindstore 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/bind-store/NOTICE" - "CREDITS": "/usr/share/bind-store/CREDITS" - "LICENSE": "/usr/share/bind-store/LICENSE" - "README.md": "/usr/share/bind-store/README.md" + "NOTICE": "/usr/share/bindstore/NOTICE" + "CREDITS": "/usr/share/bindstore/CREDITS" + "LICENSE": "/usr/share/bindstore/LICENSE" + "README.md": "/usr/share/bindstore/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/bind-store/NOTICE" - "CREDITS": "/usr/share/bind-store/CREDITS" - "LICENSE": "/usr/share/bind-store/LICENSE" - "README.md": "/usr/share/bind-store/README.md" + "NOTICE": "/usr/share/bindstore/NOTICE" + "CREDITS": "/usr/share/bindstore/CREDITS" + "LICENSE": "/usr/share/bindstore/LICENSE" + "README.md": "/usr/share/bindstore/README.md" checksum: algorithm: sha256 @@ -118,7 +118,7 @@ signs: cmd: "sh" args: - '-c' - - 'minisign -s /media/${USER}/bind-store/minisign.key -qQSm ${artifact} < /media/${USER}/bind-store/minisign-passphrase' + - 'minisign -s /media/${USER}/bindstore/minisign.key -qQSm ${artifact} < /media/${USER}/bindstore/minisign-passphrase' artifacts: all changelog: @@ -133,22 +133,22 @@ dockers: goarch: amd64 dockerfile: Dockerfile.release image_templates: - - bindoffice/bind-store:{{ .Tag }} - - bindoffice/bind-store:latest + - bindoffice/bindstore:{{ .Tag }} + - bindoffice/bindstore:latest - goos: linux goarch: ppc64le dockerfile: Dockerfile.ppc64le.release image_templates: - - bindoffice/bind-store:{{ .Tag }}-ppc64le + - bindoffice/bindstore:{{ .Tag }}-ppc64le - goos: linux goarch: s390x dockerfile: Dockerfile.s390x.release image_templates: - - bindoffice/bind-store:{{ .Tag }}-s390x + - bindoffice/bindstore:{{ .Tag }}-s390x - goos: linux @@ -156,7 +156,7 @@ dockers: goarm: '' dockerfile: Dockerfile.arm64.release image_templates: - - bindoffice/bind-store:{{ .Tag }}-arm64 + - bindoffice/bindstore:{{ .Tag }}-arm64 - goos: linux @@ -164,4 +164,4 @@ dockers: goarm: '7' dockerfile: Dockerfile.arm.release image_templates: - - bindoffice/bind-store:{{ .Tag }}-arm + - bindoffice/bindstore:{{ .Tag }}-arm diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 31e9f33..94e0c84 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/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). +Fork [MinIO upstream](https://github.com/bindoffice/bindstore/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/bind-store +$ git clone https://github.com/bindoffice/bindstore $ go install -v -$ ls $(go env GOPATH)/bin/bind-store +$ ls $(go env GOPATH)/bin/bindstore ``` ### Set up git remote as ``upstream`` ```sh -$ cd bind-store -$ git remote add upstream https://github.com/bindoffice/bind-store +$ cd bindstore +$ git remote add upstream https://github.com/bindoffice/bindstore $ git fetch upstream $ git merge upstream/master ... diff --git a/Dockerfile b/Dockerfile index b37cf6a..7f2d8e8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,7 +8,7 @@ ENV GO111MODULE on RUN \ apk add --no-cache git && \ - git clone https://github.com/bindoffice/bind-store bind-store && cd bind-store && \ + git clone https://github.com/bindoffice/bindstore bindstore && cd bindstore && \ 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/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/ +COPY --from=builder /go/bin/bindstore /usr/bin/bindstore +COPY --from=builder /go/bindstore/CREDITS /licenses/CREDITS +COPY --from=builder /go/bindstore/LICENSE /licenses/LICENSE +COPY --from=builder /go/bindstore/dockerscripts/docker-entrypoint.sh /usr/bin/ RUN \ microdnf update --nodocs && \ @@ -38,4 +38,4 @@ ENTRYPOINT ["/usr/bin/docker-entrypoint.sh"] VOLUME ["/data"] -CMD ["bind-store"] +CMD ["bindstore"] diff --git a/Dockerfile.cicd b/Dockerfile.cicd index c9579f2..cb01d0f 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/bind-store bind-store && cd bind-store && \ + git clone https://github.com/bindoffice/bindstore bindstore && cd bindstore && \ 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/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/ +COPY --from=builder /go/bin/bindstore /usr/bin/bindstore +COPY --from=builder /go/bindstore/CREDITS /licenses/CREDITS +COPY --from=builder /go/bindstore/LICENSE /licenses/LICENSE +COPY --from=builder /go/bindstore/dockerscripts/docker-entrypoint.sh /usr/bin/ RUN \ microdnf update --nodocs && \ @@ -39,4 +39,4 @@ ENTRYPOINT ["/usr/bin/docker-entrypoint.sh"] VOLUME ["/data"] -CMD ["bind-store", "server", "/data"] +CMD ["bindstore", "server", "/data"] diff --git a/Dockerfile.dev b/Dockerfile.dev index 90c6ab0..8b68cc8 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 bind-store /usr/bin/bind-store +COPY bindstore /usr/bin/bindstore 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/bind-store && \ + chmod +x /usr/bin/bindstore && \ chmod +x /usr/bin/docker-entrypoint.sh EXPOSE 9000 @@ -27,4 +27,4 @@ ENTRYPOINT ["/usr/bin/docker-entrypoint.sh"] VOLUME ["/data"] -CMD ["bind-store"] +CMD ["bindstore"] diff --git a/Dockerfile.release b/Dockerfile.release index aad48b2..ea16a16 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-bind-store.sh /usr/bin/verify-bind-store.sh +COPY dockerscripts/verify-bindstore.sh /usr/bin/verify-bindstore.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/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 && \ + curl -s -q https://dl.min.io/server/minio/release/linux-${TARGETARCH}/archive/minio.${RELEASE} -o /usr/bin/bindstore && \ + curl -s -q https://dl.min.io/server/minio/release/linux-${TARGETARCH}/archive/minio.${RELEASE}.sha256sum -o /usr/bin/bindstore.sha256sum && \ + curl -s -q https://dl.min.io/server/minio/release/linux-${TARGETARCH}/archive/minio.${RELEASE}.minisig -o /usr/bin/bindstore.minisig && \ microdnf clean all && \ - chmod +x /usr/bin/bind-store && \ + chmod +x /usr/bin/bindstore && \ chmod +x /usr/bin/docker-entrypoint.sh && \ - chmod +x /usr/bin/verify-bind-store.sh && \ - /usr/bin/verify-bind-store.sh + chmod +x /usr/bin/verify-bindstore.sh && \ + /usr/bin/verify-bindstore.sh EXPOSE 9000 @@ -45,4 +45,4 @@ ENTRYPOINT ["/usr/bin/docker-entrypoint.sh"] VOLUME ["/data"] -CMD ["bind-store"] +CMD ["bindstore"] diff --git a/Makefile b/Makefile index 183b1a2..d0feb89 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 ?= "bindoffice/bind-store:$(VERSION)" +TAG ?= "bindoffice/bindstore:$(VERSION)" all: build @@ -41,7 +41,7 @@ lint: @GO111MODULE=on $(GOLANGCI_LINT) cache clean @GO111MODULE=on $(GOLANGCI_LINT) run --config ./.golangci.yml -# Builds bind-store, runs the verifiers then runs the tests. +# Builds bindstore, 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 bind-store binary +# Verify bindstore binary verify: @echo "Verifying build with race" - @GO111MODULE=on CGO_ENABLED=1 go build -tags kqueue -trimpath --ldflags "$(LDFLAGS)" -o $(PWD)/bind-store 1>/dev/null + @GO111MODULE=on CGO_ENABLED=1 go build -tags kqueue -trimpath --ldflags "$(LDFLAGS)" -o $(PWD)/bindstore 1>/dev/null @(env bash $(PWD)/buildscripts/verify-build.sh) -# Verify healing of disks with bind-store binary +# Verify healing of disks with bindstore binary verify-healing: @echo "Verify healing build with race" - @GO111MODULE=on CGO_ENABLED=1 go build -race -tags kqueue -trimpath --ldflags "$(LDFLAGS)" -o $(PWD)/bind-store 1>/dev/null + @GO111MODULE=on CGO_ENABLED=1 go build -race -tags kqueue -trimpath --ldflags "$(LDFLAGS)" -o $(PWD)/bindstore 1>/dev/null @(env bash $(PWD)/buildscripts/verify-healing.sh) -# Builds bind-store locally. +# Builds bindstore locally. build: checks - @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 + @echo "Building bindstore binary to './bindstore'" + @GO111MODULE=on CGO_ENABLED=0 go build -tags kqueue -trimpath --ldflags "$(LDFLAGS)" -o $(PWD)/bindstore 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 := "bindoffice/bind-store:$(shell git describe --tags --abbrev=0).hotfix.$(shell git rev-parse --short HEAD)") + $(eval TAG := "bindoffice/bindstore:$(shell git describe --tags --abbrev=0).hotfix.$(shell git rev-parse --short HEAD)") hotfix: hotfix-vars install docker-hotfix: hotfix checks - @echo "Building bind-store docker image '$(TAG)'" + @echo "Building bindstore docker image '$(TAG)'" @docker build -t $(TAG) . -f Dockerfile.dev docker: build checks - @echo "Building bind-store docker image '$(TAG)'" + @echo "Building bindstore docker image '$(TAG)'" @docker build -t $(TAG) . -f Dockerfile.dev -# Builds bind-store and installs it to $GOPATH/bin. +# Builds bindstore and installs it to $GOPATH/bin. install: build - @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\"." + @echo "Installing bindstore binary to '$(GOPATH)/bin/bindstore'" + @mkdir -p $(GOPATH)/bin && cp -f $(PWD)/bindstore $(GOPATH)/bin/bindstore + @echo "Installation successful. To learn more, try \"bindstore --help\"." clean: @echo "Cleaning up all the generated files" @find . -name '*.test' | xargs rm -fv @find . -name '*~' | xargs rm -fv - @rm -rvf bind-store + @rm -rvf bindstore @rm -rvf build @rm -rvf release @rm -rvf .verify* diff --git a/README.md b/README.md index 45ee1ea..f19738e 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/) -[![bind-store](https://raw.githubusercontent.com/bindoffice/bind-store/master/.github/logo.svg?sanitize=true)](https://github.com/bindoffice/bind-store) +[![bindstore](https://raw.githubusercontent.com/bindoffice/bindstore/master/.github/logo.svg?sanitize=true)](https://github.com/bindoffice/bindstore) 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/bind-store +GO111MODULE=on go get github.com/bindoffice/bindstore ``` 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/bind-store/blob/master/docs/screenshots/minio-browser.png?raw=true) +![Screenshot](https://github.com/bindoffice/bindstore/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/bind-store/blob/master/CONTRIBUTING.md) +Please follow MinIO [Contributor's Guide](https://github.com/bindoffice/bindstore/blob/master/CONTRIBUTING.md) # License -Use of MinIO is governed by the Apache 2.0 License found at [LICENSE](https://github.com/bindoffice/bind-store/blob/master/LICENSE). +Use of MinIO is governed by the Apache 2.0 License found at [LICENSE](https://github.com/bindoffice/bindstore/blob/master/LICENSE). diff --git a/README_zh_CN.md b/README_zh_CN.md index 2ea93e1..ef50d91 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/bind-store +GO111MODULE=on go get github.com/bindoffice/bindstore ``` ## 为防火墙设置允许访问的端口 @@ -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/bind-store/blob/master/docs/screenshots/minio-browser.png?raw=true) +![Screenshot](https://github.com/bindoffice/bindstore/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/bind-store/blob/master/CONTRIBUTING.md)。欢迎各位中国程序员加入到MinIO项目中。 +请参考 [贡献者指南](https://github.com/bindoffice/bindstore/blob/master/CONTRIBUTING.md)。欢迎各位中国程序员加入到MinIO项目中。 ## 授权许可 MinIO的使用受 Apache 2.0 License 约束,你可以在 [LICENSE](./LICENSE) 查看许可。 diff --git a/SECURITY.md b/SECURITY.md index b80a10c..2f9f10f 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/bind-store/releases/latest). +We always provide security updates for the [latest release](https://github.com/bindoffice/bindstore/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/bind-store](https://github.com/bindoffice/bind-store) (or other minio/* repositories) +All security bugs in [bindoffice/bindstore](https://github.com/bindoffice/bindstore) (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/bind-store.spec b/bindstore.spec similarity index 58% rename from bind-store.spec rename to bindstore.spec index 062fe34..bd2e0a2 100644 --- a/bind-store.spec +++ b/bindstore.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/bind-store.git refs/tags/RELEASE.2020-11-25T22-36-25Z +# git fetch https://github.com/bindoffice/bindstore.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: bind-store +Name: bindstore Version: 0.0.%{subver} Release: 1 Vendor: BindOffice License: Apache v2.0 Group: Applications/File -Source0: https://github.com/bindoffice/bind-store/releases/download/%{tag}/bind-store.%{tag} +Source0: https://github.com/bindoffice/bindstore/releases/download/%{tag}/bindstore.%{tag} Source1: https://raw.githubusercontent.com/minio/minio-service/master/linux-systemd/distributed/minio.service -URL: https://github.com/bindoffice/bind-store +URL: https://github.com/bindoffice/bindstore Requires(pre): /usr/sbin/useradd, /usr/bin/getent Requires(postun): /usr/sbin/userdel BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) @@ -21,22 +21,22 @@ BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %define debug_package %{nil} %description -bind-store is a High Performance Object Storage released under Apache License v2.0. +bindstore 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 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 +/usr/bin/getent group bindstore-user || /usr/sbin/groupadd -r bindstore-user +/usr/bin/getent passwd bindstore-user || /usr/sbin/useradd -r -d /etc/bindstore -s /sbin/nologin bindstore-user %install rm -rf $RPM_BUILD_ROOT -install -d $RPM_BUILD_ROOT/etc/bind-store/certs +install -d $RPM_BUILD_ROOT/etc/bindstore/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/bind-store -# Remote volumes to be used for bind-store server. +cat <> $RPM_BUILD_ROOT/etc/default/bindstore +# Remote volumes to be used for bindstore server. # Uncomment line before starting the server. # MINIO_VOLUMES=http://node{1...6}/export{1...32} @@ -45,18 +45,18 @@ cat <> $RPM_BUILD_ROOT/etc/default/bind-store # MINIO_ROOT_USER=Server-Root-User # MINIO_ROOT_PASSWORD=Server-Root-Password -MINIO_OPTS="--certs-dir /etc/bind-store/certs" +MINIO_OPTS="--certs-dir /etc/bindstore/certs" EOF -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 +install %{_sourcedir}/minio.service $RPM_BUILD_ROOT/etc/systemd/system/bindstore.service +install -p %{_sourcedir}/%{name}.%{tag} $RPM_BUILD_ROOT/usr/local/bin/bindstore %clean rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) -%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 +%attr(644,root,root) /etc/default/bindstore +%attr(644,root,root) /etc/systemd/system/bindstore.service +%attr(644,bindstore-user,bindstore-user) /etc/bindstore +%attr(755,bindstore-user,bindstore-user) /usr/local/bin/bindstore diff --git a/buildscripts/gen-ldflags.go b/buildscripts/gen-ldflags.go index 48ff014..9932693 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/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") + ldflagsStr += " -X github.com/bindoffice/bindstore/cmd.Version=" + version + ldflagsStr += " -X github.com/bindoffice/bindstore/cmd.ReleaseTag=" + releaseTag(version) + ldflagsStr += " -X github.com/bindoffice/bindstore/cmd.CommitID=" + commitID() + ldflagsStr += " -X github.com/bindoffice/bindstore/cmd.ShortCommitID=" + commitID()[:12] + ldflagsStr += " -X github.com/bindoffice/bindstore/cmd.GOPATH=" + os.Getenv("GOPATH") + ldflagsStr += " -X github.com/bindoffice/bindstore/cmd.GOROOT=" + os.Getenv("GOROOT") return ldflagsStr } diff --git a/buildscripts/verify-build.sh b/buildscripts/verify-build.sh index 6d79899..8d9dcca 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/bind-store" ]; then - echo "bind-store executable binary not found in current directory" +if [ ! -x "$PWD/bindstore" ]; then + echo "bindstore 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/bind-store" --config-dir "$MINIO_CONFIG_DIR" ) +MINIO=( "$PWD/bindstore" --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 bind-store || true + pkill bindstore || 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 bind-store || true + pkill bindstore || 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 bind-store || true + pkill bindstore || 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 bind-store || true + pkill bindstore || 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 bind-store || true + pkill bindstore || 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 bind-store || true + pkill bindstore || true sleep 3 if [ "$rv" -ne 0 ]; then diff --git a/buildscripts/verify-healing.sh b/buildscripts/verify-healing.sh index 2b59d7a..c0686e5 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/bind-store" ]; then - echo "bind-store executable binary not found in current directory" +if [ ! -x "$PWD/bindstore" ]; then + echo "bindstore executable binary not found in current directory" exit 1 fi WORK_DIR="$PWD/.verify-$RANDOM" MINIO_CONFIG_DIR="$WORK_DIR/.minio" -MINIO=( "$PWD/bind-store" --config-dir "$MINIO_CONFIG_DIR" server ) +MINIO=( "$PWD/bindstore" --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 bind-store)" -ne 3 ]; then + if [ "$(pgrep -c bindstore)" -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 bind-store; then + if ! pkill bindstore; 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 bind-store; then + if pgrep bindstore; then # forcibly killing, to proceed further properly. - if ! pkill -9 bind-store; then + if ! pkill -9 bindstore; 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 bind-store + pkill -9 bindstore 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 140925f..e3b93a0 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/bind-store/cmd/http" - "github.com/bindoffice/bind-store/cmd/logger" - "github.com/bindoffice/bind-store/pkg/bucket/policy" + xhttp "github.com/bindoffice/bindstore/cmd/http" + "github.com/bindoffice/bindstore/cmd/logger" + "github.com/bindoffice/bindstore/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 ed18923..6d510b9 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/bind-store/cmd/logger" - iampolicy "github.com/bindoffice/bind-store/pkg/iam/policy" - "github.com/bindoffice/bind-store/pkg/madmin" + "github.com/bindoffice/bindstore/cmd/logger" + iampolicy "github.com/bindoffice/bindstore/pkg/iam/policy" + "github.com/bindoffice/bindstore/pkg/madmin" ) const ( diff --git a/cmd/admin-handlers-config-kv.go b/cmd/admin-handlers-config-kv.go index b6a4316..c614e5a 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/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" + "github.com/bindoffice/bindstore/cmd/config" + "github.com/bindoffice/bindstore/cmd/config/cache" + "github.com/bindoffice/bindstore/cmd/config/etcd" + xldap "github.com/bindoffice/bindstore/cmd/config/identity/ldap" + "github.com/bindoffice/bindstore/cmd/config/identity/openid" + "github.com/bindoffice/bindstore/cmd/config/policy/opa" + "github.com/bindoffice/bindstore/cmd/config/storageclass" + "github.com/bindoffice/bindstore/cmd/crypto" + "github.com/bindoffice/bindstore/cmd/logger" + "github.com/bindoffice/bindstore/pkg/auth" + iampolicy "github.com/bindoffice/bindstore/pkg/iam/policy" + "github.com/bindoffice/bindstore/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 b88b0fa..a14e5b1 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/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" + "github.com/bindoffice/bindstore/cmd/config/dns" + "github.com/bindoffice/bindstore/cmd/logger" + "github.com/bindoffice/bindstore/pkg/auth" + iampolicy "github.com/bindoffice/bindstore/pkg/iam/policy" + "github.com/bindoffice/bindstore/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 28ba166..ee3fba5 100644 --- a/cmd/admin-handlers.go +++ b/cmd/admin-handlers.go @@ -36,20 +36,20 @@ import ( "time" "github.com/gorilla/mux" - "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" + "github.com/bindoffice/bindstore/cmd/config" + "github.com/bindoffice/bindstore/cmd/crypto" + xhttp "github.com/bindoffice/bindstore/cmd/http" + "github.com/bindoffice/bindstore/cmd/logger" + "github.com/bindoffice/bindstore/cmd/logger/message/log" + "github.com/bindoffice/bindstore/pkg/auth" + "github.com/bindoffice/bindstore/pkg/bandwidth" + "github.com/bindoffice/bindstore/pkg/dsync" + "github.com/bindoffice/bindstore/pkg/handlers" + iampolicy "github.com/bindoffice/bindstore/pkg/iam/policy" + "github.com/bindoffice/bindstore/pkg/kms" + "github.com/bindoffice/bindstore/pkg/madmin" + xnet "github.com/bindoffice/bindstore/pkg/net" + trace "github.com/bindoffice/bindstore/pkg/trace" ) const ( diff --git a/cmd/admin-handlers_test.go b/cmd/admin-handlers_test.go index 94f8e84..351f4b4 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/bind-store/pkg/auth" - "github.com/bindoffice/bind-store/pkg/madmin" + "github.com/bindoffice/bindstore/pkg/auth" + "github.com/bindoffice/bindstore/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 b257889..e634899 100644 --- a/cmd/admin-heal-ops.go +++ b/cmd/admin-heal-ops.go @@ -25,8 +25,8 @@ import ( "sync" "time" - "github.com/bindoffice/bind-store/cmd/logger" - "github.com/bindoffice/bind-store/pkg/madmin" + "github.com/bindoffice/bindstore/cmd/logger" + "github.com/bindoffice/bindstore/pkg/madmin" ) // healStatusSummary - overall short summary of a healing sequence diff --git a/cmd/admin-router.go b/cmd/admin-router.go index 111c237..2d6d22d 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/bind-store/pkg/madmin" + "github.com/bindoffice/bindstore/pkg/madmin" ) const ( diff --git a/cmd/admin-server-info.go b/cmd/admin-server-info.go index 6614b3b..60d4fda 100644 --- a/cmd/admin-server-info.go +++ b/cmd/admin-server-info.go @@ -22,8 +22,8 @@ import ( "runtime" "time" - "github.com/bindoffice/bind-store/cmd/logger" - "github.com/bindoffice/bind-store/pkg/madmin" + "github.com/bindoffice/bindstore/cmd/logger" + "github.com/bindoffice/bindstore/pkg/madmin" ) // getLocalServerProperty - returns madmin.ServerProperties for only the diff --git a/cmd/api-errors.go b/cmd/api-errors.go index 4d4503d..efbb09e 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/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" + "github.com/bindoffice/bindstore/cmd/config/dns" + "github.com/bindoffice/bindstore/cmd/crypto" + "github.com/bindoffice/bindstore/cmd/logger" + "github.com/bindoffice/bindstore/pkg/auth" + "github.com/bindoffice/bindstore/pkg/bucket/lifecycle" + "github.com/bindoffice/bindstore/pkg/bucket/replication" - 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" + objectlock "github.com/bindoffice/bindstore/pkg/bucket/object/lock" + "github.com/bindoffice/bindstore/pkg/bucket/policy" + "github.com/bindoffice/bindstore/pkg/bucket/versioning" + "github.com/bindoffice/bindstore/pkg/event" + "github.com/bindoffice/bindstore/pkg/hash" ) // APIError structure @@ -245,7 +245,7 @@ const ( ErrInvalidStorageClass ErrBackendDown // Add new extended error codes here. - // Please open a https://github.com/bindoffice/bind-store/issues before adding + // Please open a https://github.com/bindoffice/bindstore/issues before adding // new error codes here. ErrMalformedJSON diff --git a/cmd/api-errors_test.go b/cmd/api-errors_test.go index e67e709..675105b 100644 --- a/cmd/api-errors_test.go +++ b/cmd/api-errors_test.go @@ -23,8 +23,8 @@ import ( "path/filepath" "testing" - "github.com/bindoffice/bind-store/cmd/crypto" - "github.com/bindoffice/bind-store/pkg/hash" + "github.com/bindoffice/bindstore/cmd/crypto" + "github.com/bindoffice/bindstore/pkg/hash" ) var toAPIErrorTests = []struct { diff --git a/cmd/api-headers.go b/cmd/api-headers.go index cd56f5e..a8d864f 100644 --- a/cmd/api-headers.go +++ b/cmd/api-headers.go @@ -27,9 +27,9 @@ import ( "strings" "time" - "github.com/bindoffice/bind-store/cmd/crypto" - xhttp "github.com/bindoffice/bind-store/cmd/http" - "github.com/bindoffice/bind-store/pkg/bucket/lifecycle" + "github.com/bindoffice/bindstore/cmd/crypto" + xhttp "github.com/bindoffice/bindstore/cmd/http" + "github.com/bindoffice/bindstore/pkg/bucket/lifecycle" ) // Returns a hexadecimal representation of time at the diff --git a/cmd/api-response.go b/cmd/api-response.go index 6038663..b5c7b3d 100644 --- a/cmd/api-response.go +++ b/cmd/api-response.go @@ -28,9 +28,9 @@ import ( "strings" "time" - xhttp "github.com/bindoffice/bind-store/cmd/http" - "github.com/bindoffice/bind-store/cmd/logger" - "github.com/bindoffice/bind-store/pkg/handlers" + xhttp "github.com/bindoffice/bindstore/cmd/http" + "github.com/bindoffice/bindstore/cmd/logger" + "github.com/bindoffice/bindstore/pkg/handlers" ) const ( diff --git a/cmd/api-router.go b/cmd/api-router.go index b0e42cd..8fcfe30 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/bind-store/cmd/http" - "github.com/bindoffice/bind-store/pkg/wildcard" + xhttp "github.com/bindoffice/bindstore/cmd/http" + "github.com/bindoffice/bindstore/pkg/wildcard" "github.com/rs/cors" ) diff --git a/cmd/auth-handler.go b/cmd/auth-handler.go index d0c5d26..cebd3c8 100644 --- a/cmd/auth-handler.go +++ b/cmd/auth-handler.go @@ -32,15 +32,15 @@ import ( "sync/atomic" "time" - 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" + xhttp "github.com/bindoffice/bindstore/cmd/http" + xjwt "github.com/bindoffice/bindstore/cmd/jwt" + "github.com/bindoffice/bindstore/cmd/logger" + "github.com/bindoffice/bindstore/pkg/auth" + objectlock "github.com/bindoffice/bindstore/pkg/bucket/object/lock" + "github.com/bindoffice/bindstore/pkg/bucket/policy" + "github.com/bindoffice/bindstore/pkg/etag" + "github.com/bindoffice/bindstore/pkg/hash" + iampolicy "github.com/bindoffice/bindstore/pkg/iam/policy" ) // Verify if request has JWT. diff --git a/cmd/auth-handler_test.go b/cmd/auth-handler_test.go index df2f91f..713b4d1 100644 --- a/cmd/auth-handler_test.go +++ b/cmd/auth-handler_test.go @@ -27,8 +27,8 @@ import ( "testing" "time" - "github.com/bindoffice/bind-store/pkg/auth" - iampolicy "github.com/bindoffice/bind-store/pkg/iam/policy" + "github.com/bindoffice/bindstore/pkg/auth" + iampolicy "github.com/bindoffice/bindstore/pkg/iam/policy" ) // Test get request auth type. diff --git a/cmd/background-heal-ops.go b/cmd/background-heal-ops.go index 516f8f7..db83511 100644 --- a/cmd/background-heal-ops.go +++ b/cmd/background-heal-ops.go @@ -20,8 +20,8 @@ import ( "context" "time" - "github.com/bindoffice/bind-store/cmd/logger" - "github.com/bindoffice/bind-store/pkg/madmin" + "github.com/bindoffice/bindstore/cmd/logger" + "github.com/bindoffice/bindstore/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 e30b077..1848459 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/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/bindstore/cmd/logger" + "github.com/bindoffice/bindstore/pkg/color" + "github.com/bindoffice/bindstore/pkg/console" + "github.com/bindoffice/bindstore/pkg/madmin" ) const ( diff --git a/cmd/bitrot-streaming.go b/cmd/bitrot-streaming.go index a659c98..d722c38 100644 --- a/cmd/bitrot-streaming.go +++ b/cmd/bitrot-streaming.go @@ -24,8 +24,8 @@ import ( "hash" "io" - "github.com/bindoffice/bind-store/cmd/logger" - "github.com/bindoffice/bind-store/pkg/ioutil" + "github.com/bindoffice/bindstore/cmd/logger" + "github.com/bindoffice/bindstore/pkg/ioutil" ) type errHashMismatch struct { diff --git a/cmd/bitrot-whole.go b/cmd/bitrot-whole.go index 65c5805..4af6553 100644 --- a/cmd/bitrot-whole.go +++ b/cmd/bitrot-whole.go @@ -22,7 +22,7 @@ import ( "hash" "io" - "github.com/bindoffice/bind-store/cmd/logger" + "github.com/bindoffice/bindstore/cmd/logger" ) // Implementation to calculate bitrot for the whole file. diff --git a/cmd/bitrot.go b/cmd/bitrot.go index 117b5e3..8dbb212 100644 --- a/cmd/bitrot.go +++ b/cmd/bitrot.go @@ -26,7 +26,7 @@ import ( "io" "github.com/minio/highwayhash" - "github.com/bindoffice/bind-store/cmd/logger" + "github.com/bindoffice/bindstore/cmd/logger" "golang.org/x/crypto/blake2b" ) diff --git a/cmd/bootstrap-peer-server.go b/cmd/bootstrap-peer-server.go index c1e7e35..fc5a3f7 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/bind-store/cmd/http" - "github.com/bindoffice/bind-store/cmd/logger" - "github.com/bindoffice/bind-store/cmd/rest" + xhttp "github.com/bindoffice/bindstore/cmd/http" + "github.com/bindoffice/bindstore/cmd/logger" + "github.com/bindoffice/bindstore/cmd/rest" ) const ( diff --git a/cmd/bucket-encryption-handlers.go b/cmd/bucket-encryption-handlers.go index daee7a4..9e3bdac 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/bind-store/cmd/logger" - "github.com/bindoffice/bind-store/pkg/bucket/policy" + "github.com/bindoffice/bindstore/cmd/logger" + "github.com/bindoffice/bindstore/pkg/bucket/policy" ) const ( diff --git a/cmd/bucket-encryption.go b/cmd/bucket-encryption.go index 95c0562..1b195f8 100644 --- a/cmd/bucket-encryption.go +++ b/cmd/bucket-encryption.go @@ -20,7 +20,7 @@ import ( "errors" "io" - bucketsse "github.com/bindoffice/bind-store/pkg/bucket/encryption" + bucketsse "github.com/bindoffice/bindstore/pkg/bucket/encryption" ) // BucketSSEConfigSys - in-memory cache of bucket encryption config diff --git a/cmd/bucket-handlers.go b/cmd/bucket-handlers.go index 5d8b455..452668d 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/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" + "github.com/bindoffice/bindstore/cmd/config/dns" + "github.com/bindoffice/bindstore/cmd/crypto" + xhttp "github.com/bindoffice/bindstore/cmd/http" + "github.com/bindoffice/bindstore/cmd/logger" + "github.com/bindoffice/bindstore/pkg/bucket/lifecycle" + objectlock "github.com/bindoffice/bindstore/pkg/bucket/object/lock" + "github.com/bindoffice/bindstore/pkg/bucket/policy" + "github.com/bindoffice/bindstore/pkg/bucket/replication" + "github.com/bindoffice/bindstore/pkg/event" + "github.com/bindoffice/bindstore/pkg/handlers" + "github.com/bindoffice/bindstore/pkg/hash" + iampolicy "github.com/bindoffice/bindstore/pkg/iam/policy" + "github.com/bindoffice/bindstore/pkg/sync/errgroup" ) const ( diff --git a/cmd/bucket-handlers_test.go b/cmd/bucket-handlers_test.go index a3300ce..b99731f 100644 --- a/cmd/bucket-handlers_test.go +++ b/cmd/bucket-handlers_test.go @@ -25,7 +25,7 @@ import ( "strconv" "testing" - "github.com/bindoffice/bind-store/pkg/auth" + "github.com/bindoffice/bindstore/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 1a6af19..ff917ef 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/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" + xhttp "github.com/bindoffice/bindstore/cmd/http" + "github.com/bindoffice/bindstore/cmd/logger" + "github.com/bindoffice/bindstore/pkg/bucket/lifecycle" + "github.com/bindoffice/bindstore/pkg/bucket/policy" ) const ( diff --git a/cmd/bucket-lifecycle-handlers_test.go b/cmd/bucket-lifecycle-handlers_test.go index 51364aa..440a7c8 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/bind-store/pkg/auth" + "github.com/bindoffice/bindstore/pkg/auth" ) // Test S3 Bucket lifecycle APIs with wrong credentials diff --git a/cmd/bucket-lifecycle.go b/cmd/bucket-lifecycle.go index 20dff36..f6f0250 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/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" + xhttp "github.com/bindoffice/bindstore/cmd/http" + "github.com/bindoffice/bindstore/cmd/logger" + sse "github.com/bindoffice/bindstore/pkg/bucket/encryption" + "github.com/bindoffice/bindstore/pkg/bucket/lifecycle" + "github.com/bindoffice/bindstore/pkg/event" + "github.com/bindoffice/bindstore/pkg/hash" + "github.com/bindoffice/bindstore/pkg/madmin" + "github.com/bindoffice/bindstore/pkg/s3select" ) const ( diff --git a/cmd/bucket-listobjects-handlers.go b/cmd/bucket-listobjects-handlers.go index da6d8f4..96a4269 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/bind-store/cmd/logger" + "github.com/bindoffice/bindstore/cmd/logger" - "github.com/bindoffice/bind-store/pkg/bucket/policy" - "github.com/bindoffice/bind-store/pkg/sync/errgroup" + "github.com/bindoffice/bindstore/pkg/bucket/policy" + "github.com/bindoffice/bindstore/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 f4086b0..8a92eac 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/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" + "github.com/bindoffice/bindstore/cmd/crypto" + "github.com/bindoffice/bindstore/cmd/logger" + bucketsse "github.com/bindoffice/bindstore/pkg/bucket/encryption" + "github.com/bindoffice/bindstore/pkg/bucket/lifecycle" + objectlock "github.com/bindoffice/bindstore/pkg/bucket/object/lock" + "github.com/bindoffice/bindstore/pkg/bucket/policy" + "github.com/bindoffice/bindstore/pkg/bucket/replication" + "github.com/bindoffice/bindstore/pkg/bucket/versioning" + "github.com/bindoffice/bindstore/pkg/event" + "github.com/bindoffice/bindstore/pkg/madmin" + "github.com/bindoffice/bindstore/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 6b9a059..a8ae1d2 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/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/bindoffice/bindstore/cmd/crypto" + "github.com/bindoffice/bindstore/cmd/logger" + bucketsse "github.com/bindoffice/bindstore/pkg/bucket/encryption" + "github.com/bindoffice/bindstore/pkg/bucket/lifecycle" + objectlock "github.com/bindoffice/bindstore/pkg/bucket/object/lock" + "github.com/bindoffice/bindstore/pkg/bucket/policy" + "github.com/bindoffice/bindstore/pkg/bucket/replication" + "github.com/bindoffice/bindstore/pkg/bucket/versioning" + "github.com/bindoffice/bindstore/pkg/event" + "github.com/bindoffice/bindstore/pkg/fips" + "github.com/bindoffice/bindstore/pkg/kms" + "github.com/bindoffice/bindstore/pkg/madmin" "github.com/minio/sio" ) diff --git a/cmd/bucket-notification-handlers.go b/cmd/bucket-notification-handlers.go index c5b326a..3a24da8 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/bind-store/cmd/logger" - "github.com/bindoffice/bind-store/pkg/bucket/policy" - "github.com/bindoffice/bind-store/pkg/event" + "github.com/bindoffice/bindstore/cmd/logger" + "github.com/bindoffice/bindstore/pkg/bucket/policy" + "github.com/bindoffice/bindstore/pkg/event" ) const ( diff --git a/cmd/bucket-object-lock.go b/cmd/bucket-object-lock.go index 09973c9..3fb198f 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/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" + xhttp "github.com/bindoffice/bindstore/cmd/http" + "github.com/bindoffice/bindstore/cmd/logger" + "github.com/bindoffice/bindstore/pkg/auth" + objectlock "github.com/bindoffice/bindstore/pkg/bucket/object/lock" + "github.com/bindoffice/bindstore/pkg/bucket/policy" + "github.com/bindoffice/bindstore/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 f999a41..6da0009 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/bind-store/cmd/logger" - "github.com/bindoffice/bind-store/pkg/bucket/policy" + "github.com/bindoffice/bindstore/cmd/logger" + "github.com/bindoffice/bindstore/pkg/bucket/policy" ) const ( diff --git a/cmd/bucket-policy-handlers_test.go b/cmd/bucket-policy-handlers_test.go index 204b760..1a9d008 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/bind-store/pkg/auth" - "github.com/bindoffice/bind-store/pkg/bucket/policy" - "github.com/bindoffice/bind-store/pkg/bucket/policy/condition" + "github.com/bindoffice/bindstore/pkg/auth" + "github.com/bindoffice/bindstore/pkg/bucket/policy" + "github.com/bindoffice/bindstore/pkg/bucket/policy/condition" ) func getAnonReadOnlyBucketPolicy(bucketName string) *policy.Policy { diff --git a/cmd/bucket-policy.go b/cmd/bucket-policy.go index 61f433a..957f0c2 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/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" + xhttp "github.com/bindoffice/bindstore/cmd/http" + "github.com/bindoffice/bindstore/cmd/logger" + "github.com/bindoffice/bindstore/pkg/bucket/policy" + "github.com/bindoffice/bindstore/pkg/handlers" ) // PolicySys - policy subsystem. diff --git a/cmd/bucket-quota.go b/cmd/bucket-quota.go index 02dfab0..990d80c 100644 --- a/cmd/bucket-quota.go +++ b/cmd/bucket-quota.go @@ -22,9 +22,9 @@ import ( "fmt" "time" - "github.com/bindoffice/bind-store/cmd/logger" - "github.com/bindoffice/bind-store/pkg/event" - "github.com/bindoffice/bind-store/pkg/madmin" + "github.com/bindoffice/bindstore/cmd/logger" + "github.com/bindoffice/bindstore/pkg/event" + "github.com/bindoffice/bindstore/pkg/madmin" ) // BucketQuotaSys - map of bucket and quota configuration. diff --git a/cmd/bucket-replication-stats.go b/cmd/bucket-replication-stats.go index c902290..95c345a 100644 --- a/cmd/bucket-replication-stats.go +++ b/cmd/bucket-replication-stats.go @@ -21,7 +21,7 @@ import ( "sync" "sync/atomic" - "github.com/bindoffice/bind-store/pkg/bucket/replication" + "github.com/bindoffice/bindstore/pkg/bucket/replication" ) func (b *BucketReplicationStats) hasReplicationUsage() bool { diff --git a/cmd/bucket-replication.go b/cmd/bucket-replication.go index dcf0beb..34c1f3e 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/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" + "github.com/bindoffice/bindstore/cmd/crypto" + xhttp "github.com/bindoffice/bindstore/cmd/http" + "github.com/bindoffice/bindstore/cmd/logger" + "github.com/bindoffice/bindstore/pkg/bucket/bandwidth" + "github.com/bindoffice/bindstore/pkg/bucket/replication" + "github.com/bindoffice/bindstore/pkg/event" + iampolicy "github.com/bindoffice/bindstore/pkg/iam/policy" + "github.com/bindoffice/bindstore/pkg/madmin" ) // gets replication config associated to a given bucket name. diff --git a/cmd/bucket-targets.go b/cmd/bucket-targets.go index fdbdeb2..efc715e 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/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" + "github.com/bindoffice/bindstore/cmd/crypto" + "github.com/bindoffice/bindstore/cmd/logger" + "github.com/bindoffice/bindstore/pkg/bucket/versioning" + "github.com/bindoffice/bindstore/pkg/madmin" ) const ( diff --git a/cmd/bucket-versioning-handler.go b/cmd/bucket-versioning-handler.go index 582c76d..d19f3b6 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/bind-store/cmd/logger" - "github.com/bindoffice/bind-store/pkg/bucket/policy" - "github.com/bindoffice/bind-store/pkg/bucket/versioning" + "github.com/bindoffice/bindstore/cmd/logger" + "github.com/bindoffice/bindstore/pkg/bucket/policy" + "github.com/bindoffice/bindstore/pkg/bucket/versioning" ) const ( diff --git a/cmd/bucket-versioning.go b/cmd/bucket-versioning.go index 9d0733a..35f74a7 100644 --- a/cmd/bucket-versioning.go +++ b/cmd/bucket-versioning.go @@ -16,7 +16,7 @@ package cmd -import "github.com/bindoffice/bind-store/pkg/bucket/versioning" +import "github.com/bindoffice/bindstore/pkg/bucket/versioning" // BucketVersioningSys - policy subsystem. type BucketVersioningSys struct{} diff --git a/cmd/common-main.go b/cmd/common-main.go index ea8bc7b..605b9e9 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/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" + "github.com/bindoffice/bindstore/cmd/config" + xhttp "github.com/bindoffice/bindstore/cmd/http" + "github.com/bindoffice/bindstore/cmd/logger" + "github.com/bindoffice/bindstore/pkg/auth" + "github.com/bindoffice/bindstore/pkg/certs" + "github.com/bindoffice/bindstore/pkg/console" + "github.com/bindoffice/bindstore/pkg/env" + "github.com/bindoffice/bindstore/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/bind-store/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/bindstore/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 95055cb..799d6d6 100644 --- a/cmd/config-common.go +++ b/cmd/config-common.go @@ -23,7 +23,7 @@ import ( "io/ioutil" "net/http" - "github.com/bindoffice/bind-store/pkg/hash" + "github.com/bindoffice/bindstore/pkg/hash" ) var errConfigNotFound = errors.New("config file not found") diff --git a/cmd/config-current.go b/cmd/config-current.go index dbcc7e5..fb216a9 100644 --- a/cmd/config-current.go +++ b/cmd/config-current.go @@ -23,25 +23,25 @@ import ( "strings" "sync" - "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" + "github.com/bindoffice/bindstore/cmd/config" + "github.com/bindoffice/bindstore/cmd/config/api" + "github.com/bindoffice/bindstore/cmd/config/cache" + "github.com/bindoffice/bindstore/cmd/config/compress" + "github.com/bindoffice/bindstore/cmd/config/dns" + "github.com/bindoffice/bindstore/cmd/config/etcd" + "github.com/bindoffice/bindstore/cmd/config/heal" + xldap "github.com/bindoffice/bindstore/cmd/config/identity/ldap" + "github.com/bindoffice/bindstore/cmd/config/identity/openid" + "github.com/bindoffice/bindstore/cmd/config/notify" + "github.com/bindoffice/bindstore/cmd/config/policy/opa" + "github.com/bindoffice/bindstore/cmd/config/scanner" + "github.com/bindoffice/bindstore/cmd/config/storageclass" + "github.com/bindoffice/bindstore/cmd/crypto" + xhttp "github.com/bindoffice/bindstore/cmd/http" + "github.com/bindoffice/bindstore/cmd/logger" + "github.com/bindoffice/bindstore/cmd/logger/target/http" + "github.com/bindoffice/bindstore/pkg/env" + "github.com/bindoffice/bindstore/pkg/madmin" ) func initHelp() { diff --git a/cmd/config-current_test.go b/cmd/config-current_test.go index 1d4901e..3179b03 100644 --- a/cmd/config-current_test.go +++ b/cmd/config-current_test.go @@ -21,7 +21,7 @@ import ( "os" "testing" - "github.com/bindoffice/bind-store/cmd/config" + "github.com/bindoffice/bindstore/cmd/config" ) func TestServerConfig(t *testing.T) { diff --git a/cmd/config-encrypted.go b/cmd/config-encrypted.go index 22d7f5e..4e5aec7 100644 --- a/cmd/config-encrypted.go +++ b/cmd/config-encrypted.go @@ -23,10 +23,10 @@ import ( "time" "unicode/utf8" - "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" + "github.com/bindoffice/bindstore/cmd/config" + "github.com/bindoffice/bindstore/cmd/logger" + "github.com/bindoffice/bindstore/pkg/auth" + "github.com/bindoffice/bindstore/pkg/madmin" etcd "go.etcd.io/etcd/client/v3" ) diff --git a/cmd/config-encrypted_test.go b/cmd/config-encrypted_test.go index 9ff6dbf..dceb2ba 100644 --- a/cmd/config-encrypted_test.go +++ b/cmd/config-encrypted_test.go @@ -20,8 +20,8 @@ import ( "bytes" "testing" - "github.com/bindoffice/bind-store/pkg/auth" - "github.com/bindoffice/bind-store/pkg/madmin" + "github.com/bindoffice/bindstore/pkg/auth" + "github.com/bindoffice/bindstore/pkg/madmin" ) func TestDecryptData(t *testing.T) { diff --git a/cmd/config-migrate.go b/cmd/config-migrate.go index 3295286..091fb60 100644 --- a/cmd/config-migrate.go +++ b/cmd/config-migrate.go @@ -26,22 +26,22 @@ import ( "strings" "unicode/utf8" - "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" + "github.com/bindoffice/bindstore/cmd/config" + "github.com/bindoffice/bindstore/cmd/config/cache" + "github.com/bindoffice/bindstore/cmd/config/compress" + xldap "github.com/bindoffice/bindstore/cmd/config/identity/ldap" + "github.com/bindoffice/bindstore/cmd/config/identity/openid" + "github.com/bindoffice/bindstore/cmd/config/notify" + "github.com/bindoffice/bindstore/cmd/config/policy/opa" + "github.com/bindoffice/bindstore/cmd/config/storageclass" + "github.com/bindoffice/bindstore/cmd/crypto" + "github.com/bindoffice/bindstore/cmd/logger" + "github.com/bindoffice/bindstore/pkg/auth" + "github.com/bindoffice/bindstore/pkg/event" + "github.com/bindoffice/bindstore/pkg/event/target" + "github.com/bindoffice/bindstore/pkg/madmin" + xnet "github.com/bindoffice/bindstore/pkg/net" + "github.com/bindoffice/bindstore/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 693a63e..dca8bca 100644 --- a/cmd/config-migrate_test.go +++ b/cmd/config-migrate_test.go @@ -22,7 +22,7 @@ import ( "os" "testing" - "github.com/bindoffice/bind-store/cmd/config" + "github.com/bindoffice/bindstore/cmd/config" ) // Test if config v1 is purged diff --git a/cmd/config-versions.go b/cmd/config-versions.go index a843928..c37a640 100644 --- a/cmd/config-versions.go +++ b/cmd/config-versions.go @@ -19,19 +19,19 @@ package cmd import ( "sync" - "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" + "github.com/bindoffice/bindstore/cmd/config" + "github.com/bindoffice/bindstore/cmd/config/cache" + "github.com/bindoffice/bindstore/cmd/config/compress" + xldap "github.com/bindoffice/bindstore/cmd/config/identity/ldap" + "github.com/bindoffice/bindstore/cmd/config/identity/openid" + "github.com/bindoffice/bindstore/cmd/config/notify" + "github.com/bindoffice/bindstore/cmd/config/policy/opa" + "github.com/bindoffice/bindstore/cmd/config/storageclass" + "github.com/bindoffice/bindstore/cmd/crypto" + "github.com/bindoffice/bindstore/cmd/logger" + "github.com/bindoffice/bindstore/pkg/auth" + "github.com/bindoffice/bindstore/pkg/event/target" + "github.com/bindoffice/bindstore/pkg/quick" ) /////////////////// Config V1 /////////////////// diff --git a/cmd/config.go b/cmd/config.go index 7fefb6b..a9c8744 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/bind-store/cmd/config" - "github.com/bindoffice/bind-store/pkg/madmin" + "github.com/bindoffice/bindstore/cmd/config" + "github.com/bindoffice/bindstore/pkg/madmin" ) const ( diff --git a/cmd/config/api/api.go b/cmd/config/api/api.go index 991f9dc..0793342 100644 --- a/cmd/config/api/api.go +++ b/cmd/config/api/api.go @@ -23,8 +23,8 @@ import ( "strings" "time" - "github.com/bindoffice/bind-store/cmd/config" - "github.com/bindoffice/bind-store/pkg/env" + "github.com/bindoffice/bindstore/cmd/config" + "github.com/bindoffice/bindstore/pkg/env" ) // API sub-system constants diff --git a/cmd/config/api/help.go b/cmd/config/api/help.go index be532e6..9a886a6 100644 --- a/cmd/config/api/help.go +++ b/cmd/config/api/help.go @@ -16,7 +16,7 @@ package api -import "github.com/bindoffice/bind-store/cmd/config" +import "github.com/bindoffice/bindstore/cmd/config" // Help template for storageclass feature. var ( diff --git a/cmd/config/cache/config.go b/cmd/config/cache/config.go index e8bbde5..5aea547 100644 --- a/cmd/config/cache/config.go +++ b/cmd/config/cache/config.go @@ -22,8 +22,8 @@ import ( "path/filepath" "strings" - "github.com/bindoffice/bind-store/cmd/config" - "github.com/bindoffice/bind-store/pkg/ellipses" + "github.com/bindoffice/bindstore/cmd/config" + "github.com/bindoffice/bindstore/pkg/ellipses" ) // Config represents cache config settings diff --git a/cmd/config/cache/help.go b/cmd/config/cache/help.go index 82a926d..60c8c26 100644 --- a/cmd/config/cache/help.go +++ b/cmd/config/cache/help.go @@ -16,7 +16,7 @@ package cache -import "github.com/bindoffice/bind-store/cmd/config" +import "github.com/bindoffice/bindstore/cmd/config" // Help template for caching feature. var ( diff --git a/cmd/config/cache/legacy.go b/cmd/config/cache/legacy.go index bf1c308..c15aaa0 100644 --- a/cmd/config/cache/legacy.go +++ b/cmd/config/cache/legacy.go @@ -20,7 +20,7 @@ import ( "fmt" "strings" - "github.com/bindoffice/bind-store/cmd/config" + "github.com/bindoffice/bindstore/cmd/config" ) const ( diff --git a/cmd/config/cache/lookup.go b/cmd/config/cache/lookup.go index 5d39b80..1f30c1f 100644 --- a/cmd/config/cache/lookup.go +++ b/cmd/config/cache/lookup.go @@ -20,8 +20,8 @@ import ( "errors" "strconv" - "github.com/bindoffice/bind-store/cmd/config" - "github.com/bindoffice/bind-store/pkg/env" + "github.com/bindoffice/bindstore/cmd/config" + "github.com/bindoffice/bindstore/pkg/env" ) // Cache ENVs diff --git a/cmd/config/certs.go b/cmd/config/certs.go index 48e82a8..970470b 100644 --- a/cmd/config/certs.go +++ b/cmd/config/certs.go @@ -26,7 +26,7 @@ import ( "errors" "io/ioutil" - "github.com/bindoffice/bind-store/pkg/env" + "github.com/bindoffice/bindstore/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 83fff73..20a8b05 100644 --- a/cmd/config/certsinfo.go +++ b/cmd/config/certsinfo.go @@ -23,7 +23,7 @@ import ( "net/http" "strings" - color "github.com/bindoffice/bind-store/pkg/color" + color "github.com/bindoffice/bindstore/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 c42b355..59829a0 100644 --- a/cmd/config/compress/compress.go +++ b/cmd/config/compress/compress.go @@ -20,8 +20,8 @@ import ( "fmt" "strings" - "github.com/bindoffice/bind-store/cmd/config" - "github.com/bindoffice/bind-store/pkg/env" + "github.com/bindoffice/bindstore/cmd/config" + "github.com/bindoffice/bindstore/pkg/env" ) // Config represents the compression settings. diff --git a/cmd/config/compress/help.go b/cmd/config/compress/help.go index 8f5ee26..8b79bfa 100644 --- a/cmd/config/compress/help.go +++ b/cmd/config/compress/help.go @@ -16,7 +16,7 @@ package compress -import "github.com/bindoffice/bind-store/cmd/config" +import "github.com/bindoffice/bindstore/cmd/config" // Help template for compress feature. var ( diff --git a/cmd/config/compress/legacy.go b/cmd/config/compress/legacy.go index ce793c8..ecee119 100644 --- a/cmd/config/compress/legacy.go +++ b/cmd/config/compress/legacy.go @@ -19,7 +19,7 @@ package compress import ( "strings" - "github.com/bindoffice/bind-store/cmd/config" + "github.com/bindoffice/bindstore/cmd/config" ) // Legacy envs. diff --git a/cmd/config/config.go b/cmd/config/config.go index e339804..255b979 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/bind-store/pkg/auth" - "github.com/bindoffice/bind-store/pkg/env" - "github.com/bindoffice/bind-store/pkg/madmin" + "github.com/bindoffice/bindstore/pkg/auth" + "github.com/bindoffice/bindstore/pkg/env" + "github.com/bindoffice/bindstore/pkg/madmin" ) // Error config error type diff --git a/cmd/config/config_test.go b/cmd/config/config_test.go index afd67b4..d9de694 100644 --- a/cmd/config/config_test.go +++ b/cmd/config/config_test.go @@ -20,7 +20,7 @@ package config import ( "testing" - "github.com/bindoffice/bind-store/pkg/madmin" + "github.com/bindoffice/bindstore/pkg/madmin" ) func TestKVFields(t *testing.T) { diff --git a/cmd/config/crypto.go b/cmd/config/crypto.go index 8becdf4..4c35e59 100644 --- a/cmd/config/crypto.go +++ b/cmd/config/crypto.go @@ -23,7 +23,7 @@ import ( "fmt" "io" - "github.com/bindoffice/bind-store/pkg/kms" + "github.com/bindoffice/bindstore/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 097e4ec..7bbae87 100644 --- a/cmd/config/crypto_test.go +++ b/cmd/config/crypto_test.go @@ -21,7 +21,7 @@ import ( "io/ioutil" "testing" - "github.com/bindoffice/bind-store/pkg/kms" + "github.com/bindoffice/bindstore/pkg/kms" ) var encryptDecryptTests = []struct { diff --git a/cmd/config/dns/operator_dns.go b/cmd/config/dns/operator_dns.go index df7f551..547bf07 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/bind-store/cmd/config" - xhttp "github.com/bindoffice/bind-store/cmd/http" + "github.com/bindoffice/bindstore/cmd/config" + xhttp "github.com/bindoffice/bindstore/cmd/http" ) var ( diff --git a/cmd/config/errors-utils.go b/cmd/config/errors-utils.go index 4916632..3b5e345 100644 --- a/cmd/config/errors-utils.go +++ b/cmd/config/errors-utils.go @@ -22,7 +22,7 @@ import ( "net" "syscall" - "github.com/bindoffice/bind-store/pkg/color" + "github.com/bindoffice/bindstore/pkg/color" ) // Err is a structure which contains all information diff --git a/cmd/config/errors.go b/cmd/config/errors.go index be34a3b..3911910 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/bind-store/tree/master/docs/erasure/storage-class for more information`, +Refer to the link https://github.com/bindoffice/bindstore/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 7f4bef4..902e268 100644 --- a/cmd/config/etcd/etcd.go +++ b/cmd/config/etcd/etcd.go @@ -22,9 +22,9 @@ import ( "strings" "time" - "github.com/bindoffice/bind-store/cmd/config" - "github.com/bindoffice/bind-store/pkg/env" - xnet "github.com/bindoffice/bind-store/pkg/net" + "github.com/bindoffice/bindstore/cmd/config" + "github.com/bindoffice/bindstore/pkg/env" + xnet "github.com/bindoffice/bindstore/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 2467831..9a97c44 100644 --- a/cmd/config/etcd/help.go +++ b/cmd/config/etcd/help.go @@ -16,7 +16,7 @@ package etcd -import "github.com/bindoffice/bind-store/cmd/config" +import "github.com/bindoffice/bindstore/cmd/config" // etcd config documented in default config var ( diff --git a/cmd/config/heal/heal.go b/cmd/config/heal/heal.go index 180f24b..0add43f 100644 --- a/cmd/config/heal/heal.go +++ b/cmd/config/heal/heal.go @@ -21,8 +21,8 @@ import ( "strconv" "time" - "github.com/bindoffice/bind-store/cmd/config" - "github.com/bindoffice/bind-store/pkg/env" + "github.com/bindoffice/bindstore/cmd/config" + "github.com/bindoffice/bindstore/pkg/env" ) // Compression environment variables diff --git a/cmd/config/identity/ldap/config.go b/cmd/config/identity/ldap/config.go index a645244..dc72d06 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/bind-store/cmd/config" - "github.com/bindoffice/bind-store/pkg/env" + "github.com/bindoffice/bindstore/cmd/config" + "github.com/bindoffice/bindstore/pkg/env" ) const ( diff --git a/cmd/config/identity/ldap/help.go b/cmd/config/identity/ldap/help.go index 6bff54d..b0cee68 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/bind-store/cmd/config" +import "github.com/bindoffice/bindstore/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 96ff0e4..1b510a2 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/bind-store/cmd/config" +import "github.com/bindoffice/bindstore/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 07470ce..ecc6bd8 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/bind-store/cmd/config" +import "github.com/bindoffice/bindstore/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 8398592..1b7d5d0 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/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" + "github.com/bindoffice/bindstore/cmd/config" + "github.com/bindoffice/bindstore/pkg/auth" + "github.com/bindoffice/bindstore/pkg/env" + iampolicy "github.com/bindoffice/bindstore/pkg/iam/policy" + xnet "github.com/bindoffice/bindstore/pkg/net" ) // Config - OpenID Config diff --git a/cmd/config/identity/openid/jwt_test.go b/cmd/config/identity/openid/jwt_test.go index 4311cf2..ffb71dc 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/bind-store/pkg/net" + xnet "github.com/bindoffice/bindstore/pkg/net" ) func TestUpdateClaimsExpiry(t *testing.T) { diff --git a/cmd/config/identity/openid/legacy.go b/cmd/config/identity/openid/legacy.go index c7588f0..8570ffb 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/bind-store/cmd/config" +import "github.com/bindoffice/bindstore/cmd/config" // Legacy envs const ( diff --git a/cmd/config/identity/openid/validators_test.go b/cmd/config/identity/openid/validators_test.go index 6e52ee4..43bf63b 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/bind-store/pkg/net" + xnet "github.com/bindoffice/bindstore/pkg/net" ) type errorValidator struct{} diff --git a/cmd/config/legacy.go b/cmd/config/legacy.go index 47eb145..e285e78 100644 --- a/cmd/config/legacy.go +++ b/cmd/config/legacy.go @@ -17,7 +17,7 @@ package config -import "github.com/bindoffice/bind-store/pkg/auth" +import "github.com/bindoffice/bindstore/pkg/auth" //// One time migration code section diff --git a/cmd/config/notify/config.go b/cmd/config/notify/config.go index 455b21e..dc18c52 100644 --- a/cmd/config/notify/config.go +++ b/cmd/config/notify/config.go @@ -17,7 +17,7 @@ package notify import ( - "github.com/bindoffice/bind-store/pkg/event/target" + "github.com/bindoffice/bindstore/pkg/event/target" ) // Config - notification target configuration structure, holds diff --git a/cmd/config/notify/help.go b/cmd/config/notify/help.go index 1c4fa6d..a5f65e5 100644 --- a/cmd/config/notify/help.go +++ b/cmd/config/notify/help.go @@ -17,8 +17,8 @@ package notify import ( - "github.com/bindoffice/bind-store/cmd/config" - "github.com/bindoffice/bind-store/pkg/event/target" + "github.com/bindoffice/bindstore/cmd/config" + "github.com/bindoffice/bindstore/pkg/event/target" ) const ( diff --git a/cmd/config/notify/legacy.go b/cmd/config/notify/legacy.go index 1e3cf15..5b1a936 100644 --- a/cmd/config/notify/legacy.go +++ b/cmd/config/notify/legacy.go @@ -21,8 +21,8 @@ import ( "strconv" "strings" - "github.com/bindoffice/bind-store/cmd/config" - "github.com/bindoffice/bind-store/pkg/event/target" + "github.com/bindoffice/bindstore/cmd/config" + "github.com/bindoffice/bindstore/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 b28bd5b..3668262 100644 --- a/cmd/config/notify/parse.go +++ b/cmd/config/notify/parse.go @@ -26,12 +26,12 @@ import ( "strings" "time" - "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" + "github.com/bindoffice/bindstore/cmd/config" + "github.com/bindoffice/bindstore/cmd/logger" + "github.com/bindoffice/bindstore/pkg/env" + "github.com/bindoffice/bindstore/pkg/event" + "github.com/bindoffice/bindstore/pkg/event/target" + xnet "github.com/bindoffice/bindstore/pkg/net" ) const ( diff --git a/cmd/config/policy/opa/config.go b/cmd/config/policy/opa/config.go index cb625bb..82df746 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/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" + "github.com/bindoffice/bindstore/cmd/config" + "github.com/bindoffice/bindstore/pkg/env" + iampolicy "github.com/bindoffice/bindstore/pkg/iam/policy" + xnet "github.com/bindoffice/bindstore/pkg/net" ) // Env IAM OPA URL diff --git a/cmd/config/policy/opa/help.go b/cmd/config/policy/opa/help.go index 8e77f8f..b2e8e30 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/bind-store/cmd/config" +import "github.com/bindoffice/bindstore/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 4983df8..a9e8178 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/bind-store/cmd/config" + "github.com/bindoffice/bindstore/cmd/config" ) // Legacy OPA envs diff --git a/cmd/config/scanner/scanner.go b/cmd/config/scanner/scanner.go index 494befb..26bec13 100644 --- a/cmd/config/scanner/scanner.go +++ b/cmd/config/scanner/scanner.go @@ -20,8 +20,8 @@ import ( "strconv" "time" - "github.com/bindoffice/bind-store/cmd/config" - "github.com/bindoffice/bind-store/pkg/env" + "github.com/bindoffice/bindstore/cmd/config" + "github.com/bindoffice/bindstore/pkg/env" ) // Compression environment variables diff --git a/cmd/config/storageclass/help.go b/cmd/config/storageclass/help.go index dbc1f79..7cfc612 100644 --- a/cmd/config/storageclass/help.go +++ b/cmd/config/storageclass/help.go @@ -16,7 +16,7 @@ package storageclass -import "github.com/bindoffice/bind-store/cmd/config" +import "github.com/bindoffice/bindstore/cmd/config" // Help template for storageclass feature. var ( diff --git a/cmd/config/storageclass/legacy.go b/cmd/config/storageclass/legacy.go index 30f5bbd..31b5517 100644 --- a/cmd/config/storageclass/legacy.go +++ b/cmd/config/storageclass/legacy.go @@ -17,7 +17,7 @@ package storageclass import ( - "github.com/bindoffice/bind-store/cmd/config" + "github.com/bindoffice/bindstore/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 75d5988..b57c088 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/bind-store/cmd/config" - "github.com/bindoffice/bind-store/pkg/env" + "github.com/bindoffice/bindstore/cmd/config" + "github.com/bindoffice/bindstore/pkg/env" ) // Standard constants for all storage class diff --git a/cmd/consolelogger.go b/cmd/consolelogger.go index 5e1e727..d25351f 100644 --- a/cmd/consolelogger.go +++ b/cmd/consolelogger.go @@ -21,11 +21,11 @@ import ( "context" "sync" - "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" + "github.com/bindoffice/bindstore/cmd/logger" + "github.com/bindoffice/bindstore/cmd/logger/message/log" + "github.com/bindoffice/bindstore/cmd/logger/target/console" + xnet "github.com/bindoffice/bindstore/pkg/net" + "github.com/bindoffice/bindstore/pkg/pubsub" ) // number of log messages to buffer diff --git a/cmd/crypto/config.go b/cmd/crypto/config.go index 84ee0f0..0c134d2 100644 --- a/cmd/crypto/config.go +++ b/cmd/crypto/config.go @@ -23,10 +23,10 @@ import ( "strconv" "strings" - "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" + "github.com/bindoffice/bindstore/cmd/config" + "github.com/bindoffice/bindstore/pkg/ellipses" + "github.com/bindoffice/bindstore/pkg/env" + xnet "github.com/bindoffice/bindstore/pkg/net" ) // KMSConfig has the KMS config for hashicorp vault diff --git a/cmd/crypto/header.go b/cmd/crypto/header.go index 6e7451d..394ebd1 100644 --- a/cmd/crypto/header.go +++ b/cmd/crypto/header.go @@ -20,7 +20,7 @@ import ( "encoding/base64" "net/http" - xhttp "github.com/bindoffice/bind-store/cmd/http" + xhttp "github.com/bindoffice/bindstore/cmd/http" ) // RemoveSensitiveHeaders removes confidential encryption diff --git a/cmd/crypto/header_test.go b/cmd/crypto/header_test.go index 6954aaf..b6afc58 100644 --- a/cmd/crypto/header_test.go +++ b/cmd/crypto/header_test.go @@ -19,7 +19,7 @@ import ( "sort" "testing" - xhttp "github.com/bindoffice/bind-store/cmd/http" + xhttp "github.com/bindoffice/bindstore/cmd/http" ) func TestIsRequested(t *testing.T) { diff --git a/cmd/crypto/help.go b/cmd/crypto/help.go index 9aacb98..b16ad6a 100644 --- a/cmd/crypto/help.go +++ b/cmd/crypto/help.go @@ -16,7 +16,7 @@ package crypto -import "github.com/bindoffice/bind-store/cmd/config" +import "github.com/bindoffice/bindstore/cmd/config" // Help template for KMS vault var ( diff --git a/cmd/crypto/kes.go b/cmd/crypto/kes.go index 7ea7179..20042e2 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/bind-store/cmd/http" - "github.com/bindoffice/bind-store/pkg/kms" - xnet "github.com/bindoffice/bind-store/pkg/net" + xhttp "github.com/bindoffice/bindstore/cmd/http" + "github.com/bindoffice/bindstore/pkg/kms" + xnet "github.com/bindoffice/bindstore/pkg/net" ) var json = jsoniter.ConfigCompatibleWithStandardLibrary diff --git a/cmd/crypto/key.go b/cmd/crypto/key.go index c2994b8..806e4ac 100644 --- a/cmd/crypto/key.go +++ b/cmd/crypto/key.go @@ -25,8 +25,8 @@ import ( "io" "path" - "github.com/bindoffice/bind-store/cmd/logger" - "github.com/bindoffice/bind-store/pkg/fips" + "github.com/bindoffice/bindstore/cmd/logger" + "github.com/bindoffice/bindstore/pkg/fips" "github.com/minio/sio" ) diff --git a/cmd/crypto/key_test.go b/cmd/crypto/key_test.go index 75dc39b..f75cff2 100644 --- a/cmd/crypto/key_test.go +++ b/cmd/crypto/key_test.go @@ -21,7 +21,7 @@ import ( "io" "testing" - "github.com/bindoffice/bind-store/cmd/logger" + "github.com/bindoffice/bindstore/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 ce2b5b1..484a0be 100644 --- a/cmd/crypto/kms.go +++ b/cmd/crypto/kms.go @@ -23,8 +23,8 @@ import ( "errors" "io" - "github.com/bindoffice/bind-store/cmd/logger" - "github.com/bindoffice/bind-store/pkg/kms" + "github.com/bindoffice/bindstore/cmd/logger" + "github.com/bindoffice/bindstore/pkg/kms" "github.com/minio/sio" ) diff --git a/cmd/crypto/legacy.go b/cmd/crypto/legacy.go index 21eb139..754b024 100644 --- a/cmd/crypto/legacy.go +++ b/cmd/crypto/legacy.go @@ -20,9 +20,9 @@ import ( "reflect" "strconv" - "github.com/bindoffice/bind-store/cmd/config" - "github.com/bindoffice/bind-store/pkg/env" - xnet "github.com/bindoffice/bind-store/pkg/net" + "github.com/bindoffice/bindstore/cmd/config" + "github.com/bindoffice/bindstore/pkg/env" + xnet "github.com/bindoffice/bindstore/pkg/net" ) const ( diff --git a/cmd/crypto/metadata.go b/cmd/crypto/metadata.go index c1b5229..998e835 100644 --- a/cmd/crypto/metadata.go +++ b/cmd/crypto/metadata.go @@ -15,7 +15,7 @@ package crypto import ( - xhttp "github.com/bindoffice/bind-store/cmd/http" + xhttp "github.com/bindoffice/bindstore/cmd/http" ) const ( diff --git a/cmd/crypto/metadata_test.go b/cmd/crypto/metadata_test.go index f5ddbce..619e0f4 100644 --- a/cmd/crypto/metadata_test.go +++ b/cmd/crypto/metadata_test.go @@ -20,7 +20,7 @@ import ( "encoding/hex" "testing" - "github.com/bindoffice/bind-store/cmd/logger" + "github.com/bindoffice/bindstore/cmd/logger" ) var isMultipartTests = []struct { diff --git a/cmd/crypto/sse-c.go b/cmd/crypto/sse-c.go index 15ef3e1..5583d25 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/bind-store/cmd/http" - "github.com/bindoffice/bind-store/cmd/logger" + xhttp "github.com/bindoffice/bindstore/cmd/http" + "github.com/bindoffice/bindstore/cmd/logger" ) type ssec struct{} diff --git a/cmd/crypto/sse-kms.go b/cmd/crypto/sse-kms.go index 9612d2a..6907bc0 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/bind-store/cmd/http" - "github.com/bindoffice/bind-store/cmd/logger" + xhttp "github.com/bindoffice/bindstore/cmd/http" + "github.com/bindoffice/bindstore/cmd/logger" ) type ssekms struct{} diff --git a/cmd/crypto/sse-s3.go b/cmd/crypto/sse-s3.go index c530eed..2dd0650 100644 --- a/cmd/crypto/sse-s3.go +++ b/cmd/crypto/sse-s3.go @@ -24,8 +24,8 @@ import ( "path" "strings" - xhttp "github.com/bindoffice/bind-store/cmd/http" - "github.com/bindoffice/bind-store/cmd/logger" + xhttp "github.com/bindoffice/bindstore/cmd/http" + "github.com/bindoffice/bindstore/cmd/logger" ) type sses3 struct{} diff --git a/cmd/crypto/sse.go b/cmd/crypto/sse.go index 9e61eef..1b727db 100644 --- a/cmd/crypto/sse.go +++ b/cmd/crypto/sse.go @@ -21,9 +21,9 @@ import ( "io" "net/http" - "github.com/bindoffice/bind-store/cmd/logger" - "github.com/bindoffice/bind-store/pkg/fips" - "github.com/bindoffice/bind-store/pkg/ioutil" + "github.com/bindoffice/bindstore/cmd/logger" + "github.com/bindoffice/bindstore/pkg/fips" + "github.com/bindoffice/bindstore/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/bind-store/pull/6121 + // is not optimal. See: https://github.com/bindoffice/bindstore/pull/6121 InsecureSealAlgorithm = "DARE-SHA256" ) diff --git a/cmd/crypto/vault.go b/cmd/crypto/vault.go index 20d47a8..6c8815d 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/bind-store/pkg/kms" + "github.com/bindoffice/bindstore/pkg/kms" ) var ( diff --git a/cmd/data-scanner.go b/cmd/data-scanner.go index 49bb355..d5a7ea8 100644 --- a/cmd/data-scanner.go +++ b/cmd/data-scanner.go @@ -30,15 +30,15 @@ import ( "sync" "time" - "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/bindoffice/bindstore/cmd/config/heal" + "github.com/bindoffice/bindstore/cmd/logger" + "github.com/bindoffice/bindstore/pkg/bucket/lifecycle" + "github.com/bindoffice/bindstore/pkg/bucket/replication" + "github.com/bindoffice/bindstore/pkg/color" + "github.com/bindoffice/bindstore/pkg/console" + "github.com/bindoffice/bindstore/pkg/event" + "github.com/bindoffice/bindstore/pkg/hash" + "github.com/bindoffice/bindstore/pkg/madmin" "github.com/willf/bloom" ) diff --git a/cmd/data-update-tracker.go b/cmd/data-update-tracker.go index b27d3aa..b662477 100644 --- a/cmd/data-update-tracker.go +++ b/cmd/data-update-tracker.go @@ -31,9 +31,9 @@ import ( "sync" "time" - "github.com/bindoffice/bind-store/cmd/logger" - "github.com/bindoffice/bind-store/pkg/color" - "github.com/bindoffice/bind-store/pkg/console" + "github.com/bindoffice/bindstore/cmd/logger" + "github.com/bindoffice/bindstore/pkg/color" + "github.com/bindoffice/bindstore/pkg/console" "github.com/willf/bloom" ) diff --git a/cmd/data-update-tracker_test.go b/cmd/data-update-tracker_test.go index f8396f7..e5a3096 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/bind-store/cmd/logger" - "github.com/bindoffice/bind-store/cmd/logger/message/log" + "github.com/bindoffice/bindstore/cmd/logger" + "github.com/bindoffice/bindstore/cmd/logger/message/log" ) type testLoggerI interface { diff --git a/cmd/data-usage-cache.go b/cmd/data-usage-cache.go index fdd1ddb..35fe4cf 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/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/bindoffice/bindstore/cmd/logger" + "github.com/bindoffice/bindstore/pkg/bucket/lifecycle" + "github.com/bindoffice/bindstore/pkg/hash" + "github.com/bindoffice/bindstore/pkg/madmin" "github.com/tinylib/msgp/msgp" ) diff --git a/cmd/data-usage.go b/cmd/data-usage.go index c8014aa..7a244d0 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/bind-store/cmd/logger" - "github.com/bindoffice/bind-store/pkg/hash" - "github.com/bindoffice/bind-store/pkg/madmin" + "github.com/bindoffice/bindstore/cmd/logger" + "github.com/bindoffice/bindstore/pkg/hash" + "github.com/bindoffice/bindstore/pkg/madmin" ) const ( diff --git a/cmd/disk-cache-backend.go b/cmd/disk-cache-backend.go index aa821fa..4711e62 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/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/bindoffice/bindstore/cmd/config/cache" + "github.com/bindoffice/bindstore/cmd/crypto" + xhttp "github.com/bindoffice/bindstore/cmd/http" + "github.com/bindoffice/bindstore/cmd/logger" + "github.com/bindoffice/bindstore/pkg/disk" + "github.com/bindoffice/bindstore/pkg/fips" + "github.com/bindoffice/bindstore/pkg/kms" "github.com/minio/sio" ) diff --git a/cmd/disk-cache-utils.go b/cmd/disk-cache-utils.go index 21d84e4..6c99c44 100644 --- a/cmd/disk-cache-utils.go +++ b/cmd/disk-cache-utils.go @@ -29,7 +29,7 @@ import ( "strings" "time" - "github.com/bindoffice/bind-store/cmd/crypto" + "github.com/bindoffice/bindstore/cmd/crypto" ) // CacheStatusType - whether the request was served from cache. diff --git a/cmd/disk-cache.go b/cmd/disk-cache.go index e94e267..3586a3a 100644 --- a/cmd/disk-cache.go +++ b/cmd/disk-cache.go @@ -28,14 +28,14 @@ import ( "sync/atomic" "time" - "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" + "github.com/bindoffice/bindstore/cmd/config/cache" + xhttp "github.com/bindoffice/bindstore/cmd/http" + "github.com/bindoffice/bindstore/cmd/logger" + objectlock "github.com/bindoffice/bindstore/pkg/bucket/object/lock" + "github.com/bindoffice/bindstore/pkg/color" + "github.com/bindoffice/bindstore/pkg/hash" + "github.com/bindoffice/bindstore/pkg/sync/errgroup" + "github.com/bindoffice/bindstore/pkg/wildcard" ) const ( diff --git a/cmd/dummy-handlers.go b/cmd/dummy-handlers.go index 17b9802..6ea6150 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/bind-store/cmd/logger" - "github.com/bindoffice/bind-store/pkg/bucket/policy" + "github.com/bindoffice/bindstore/cmd/logger" + "github.com/bindoffice/bindstore/pkg/bucket/policy" ) // Data types used for returning dummy tagging XML. diff --git a/cmd/encryption-v1.go b/cmd/encryption-v1.go index f8cf188..ec9f827 100644 --- a/cmd/encryption-v1.go +++ b/cmd/encryption-v1.go @@ -31,10 +31,10 @@ import ( "strconv" "strings" - "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/bindoffice/bindstore/cmd/crypto" + xhttp "github.com/bindoffice/bindstore/cmd/http" + "github.com/bindoffice/bindstore/cmd/logger" + "github.com/bindoffice/bindstore/pkg/fips" "github.com/minio/sio" ) diff --git a/cmd/encryption-v1_test.go b/cmd/encryption-v1_test.go index c902f83..3b4e411 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/bind-store/cmd/crypto" - xhttp "github.com/bindoffice/bind-store/cmd/http" + "github.com/bindoffice/bindstore/cmd/crypto" + xhttp "github.com/bindoffice/bindstore/cmd/http" "github.com/minio/sio" ) diff --git a/cmd/endpoint-ellipses.go b/cmd/endpoint-ellipses.go index 4cc49e0..9e22ea6 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/bind-store/cmd/config" - "github.com/bindoffice/bind-store/pkg/ellipses" - "github.com/bindoffice/bind-store/pkg/env" + "github.com/bindoffice/bindstore/cmd/config" + "github.com/bindoffice/bindstore/pkg/ellipses" + "github.com/bindoffice/bindstore/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 54ac514..6684c0a 100644 --- a/cmd/endpoint-ellipses_test.go +++ b/cmd/endpoint-ellipses_test.go @@ -21,7 +21,7 @@ import ( "reflect" "testing" - "github.com/bindoffice/bind-store/pkg/ellipses" + "github.com/bindoffice/bindstore/pkg/ellipses" ) // Tests create endpoints with ellipses and without. diff --git a/cmd/endpoint.go b/cmd/endpoint.go index bf57ab4..d3bd66d 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/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" + "github.com/bindoffice/bindstore/cmd/config" + xhttp "github.com/bindoffice/bindstore/cmd/http" + "github.com/bindoffice/bindstore/cmd/logger" + "github.com/bindoffice/bindstore/pkg/env" + "github.com/bindoffice/bindstore/pkg/mountinfo" + xnet "github.com/bindoffice/bindstore/pkg/net" ) // EndpointType - enum for endpoint type. diff --git a/cmd/erasure-bucket.go b/cmd/erasure-bucket.go index 42bdf84..63af928 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/bind-store/cmd/logger" - "github.com/bindoffice/bind-store/pkg/sync/errgroup" + "github.com/bindoffice/bindstore/cmd/logger" + "github.com/bindoffice/bindstore/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 e44c0b4..690609e 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/bind-store/cmd/logger" + "github.com/bindoffice/bindstore/cmd/logger" ) // Erasure - erasure encoding details. diff --git a/cmd/erasure-common.go b/cmd/erasure-common.go index d9e82df..f447bc4 100644 --- a/cmd/erasure-common.go +++ b/cmd/erasure-common.go @@ -20,7 +20,7 @@ import ( "context" "sync" - "github.com/bindoffice/bind-store/pkg/sync/errgroup" + "github.com/bindoffice/bindstore/pkg/sync/errgroup" ) func (er erasureObjects) getLocalDisks() (localDisks []StorageAPI) { diff --git a/cmd/erasure-decode.go b/cmd/erasure-decode.go index 237da5b..f2e7036 100644 --- a/cmd/erasure-decode.go +++ b/cmd/erasure-decode.go @@ -23,7 +23,7 @@ import ( "sync" "sync/atomic" - "github.com/bindoffice/bind-store/cmd/logger" + "github.com/bindoffice/bindstore/cmd/logger" ) // Reads in parallel from readers. diff --git a/cmd/erasure-encode.go b/cmd/erasure-encode.go index d1e0e9e..31977ee 100644 --- a/cmd/erasure-encode.go +++ b/cmd/erasure-encode.go @@ -22,7 +22,7 @@ import ( "sync" - "github.com/bindoffice/bind-store/cmd/logger" + "github.com/bindoffice/bindstore/cmd/logger" ) // Writes in parallel to writers diff --git a/cmd/erasure-healing-common.go b/cmd/erasure-healing-common.go index 49607cf..6af58dc 100644 --- a/cmd/erasure-healing-common.go +++ b/cmd/erasure-healing-common.go @@ -21,7 +21,7 @@ import ( "context" "time" - "github.com/bindoffice/bind-store/pkg/madmin" + "github.com/bindoffice/bindstore/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/bind-store/pull/10772 + // because of bugs found in CopyObject/PutObjectTags) https://github.com/bindoffice/bindstore/pull/10772 erasureDistributionReliable = false } diff --git a/cmd/erasure-healing-common_test.go b/cmd/erasure-healing-common_test.go index fa3bc5f..f72d850 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/bind-store/pkg/madmin" + "github.com/bindoffice/bindstore/pkg/madmin" ) // validates functionality provided to find most common diff --git a/cmd/erasure-healing.go b/cmd/erasure-healing.go index a25af10..3e70f2f 100644 --- a/cmd/erasure-healing.go +++ b/cmd/erasure-healing.go @@ -25,10 +25,10 @@ import ( "sync" "time" - "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" + "github.com/bindoffice/bindstore/cmd/logger" + "github.com/bindoffice/bindstore/pkg/bucket/lifecycle" + "github.com/bindoffice/bindstore/pkg/madmin" + "github.com/bindoffice/bindstore/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 787ad31..7692e45 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/bind-store/pkg/madmin" + "github.com/bindoffice/bindstore/pkg/madmin" ) // Tests both object and bucket healing. diff --git a/cmd/erasure-lowlevel-heal.go b/cmd/erasure-lowlevel-heal.go index 8024a8d..9e9109c 100644 --- a/cmd/erasure-lowlevel-heal.go +++ b/cmd/erasure-lowlevel-heal.go @@ -20,7 +20,7 @@ import ( "context" "io" - "github.com/bindoffice/bind-store/cmd/logger" + "github.com/bindoffice/bindstore/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 592e85e..f6bcc57 100644 --- a/cmd/erasure-metadata-utils.go +++ b/cmd/erasure-metadata-utils.go @@ -22,8 +22,8 @@ import ( "fmt" "hash/crc32" - "github.com/bindoffice/bind-store/cmd/logger" - "github.com/bindoffice/bind-store/pkg/sync/errgroup" + "github.com/bindoffice/bindstore/cmd/logger" + "github.com/bindoffice/bindstore/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 42682c7..410c568 100644 --- a/cmd/erasure-metadata.go +++ b/cmd/erasure-metadata.go @@ -25,10 +25,10 @@ import ( "sort" "time" - 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" + xhttp "github.com/bindoffice/bindstore/cmd/http" + "github.com/bindoffice/bindstore/cmd/logger" + "github.com/bindoffice/bindstore/pkg/bucket/replication" + "github.com/bindoffice/bindstore/pkg/sync/errgroup" ) const erasureAlgorithm = "rs-vandermonde" diff --git a/cmd/erasure-multipart.go b/cmd/erasure-multipart.go index 01f7111..5f61719 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/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" + xhttp "github.com/bindoffice/bindstore/cmd/http" + "github.com/bindoffice/bindstore/cmd/logger" + "github.com/bindoffice/bindstore/pkg/mimedb" + "github.com/bindoffice/bindstore/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 e31c315..2baa1c9 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/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" + xhttp "github.com/bindoffice/bindstore/cmd/http" + "github.com/bindoffice/bindstore/cmd/logger" + "github.com/bindoffice/bindstore/pkg/bucket/lifecycle" + "github.com/bindoffice/bindstore/pkg/bucket/replication" + "github.com/bindoffice/bindstore/pkg/madmin" + "github.com/bindoffice/bindstore/pkg/mimedb" + "github.com/bindoffice/bindstore/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 887b63b..8286c23 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/bind-store/cmd/config/storageclass" + "github.com/bindoffice/bindstore/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/bind-store/issues/1930 + // PutObjectPart should succeed even if part already exists. ref: https://github.com/bindoffice/bindstore/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 c1b3337..576e65b 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/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" + "github.com/bindoffice/bindstore/cmd/config/storageclass" + "github.com/bindoffice/bindstore/cmd/logger" + "github.com/bindoffice/bindstore/pkg/madmin" + "github.com/bindoffice/bindstore/pkg/sync/errgroup" + "github.com/bindoffice/bindstore/pkg/wildcard" ) type erasureServerPools struct { diff --git a/cmd/erasure-sets.go b/cmd/erasure-sets.go index 95475eb..4896f85 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/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" + "github.com/bindoffice/bindstore/cmd/logger" + "github.com/bindoffice/bindstore/pkg/bpool" + "github.com/bindoffice/bindstore/pkg/console" + "github.com/bindoffice/bindstore/pkg/dsync" + "github.com/bindoffice/bindstore/pkg/env" + "github.com/bindoffice/bindstore/pkg/madmin" + "github.com/bindoffice/bindstore/pkg/sync/errgroup" ) // setsDsyncLockers is encapsulated type for Close() diff --git a/cmd/erasure-utils.go b/cmd/erasure-utils.go index e18f783..0c14d4f 100644 --- a/cmd/erasure-utils.go +++ b/cmd/erasure-utils.go @@ -23,7 +23,7 @@ import ( "io" "github.com/klauspost/reedsolomon" - "github.com/bindoffice/bind-store/cmd/logger" + "github.com/bindoffice/bindstore/cmd/logger" ) // getDataBlockLen - get length of data blocks from encoded blocks. diff --git a/cmd/erasure.go b/cmd/erasure.go index b35e2b8..d14ab14 100644 --- a/cmd/erasure.go +++ b/cmd/erasure.go @@ -26,12 +26,12 @@ import ( "sync" "time" - "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" + "github.com/bindoffice/bindstore/cmd/logger" + "github.com/bindoffice/bindstore/pkg/bpool" + "github.com/bindoffice/bindstore/pkg/color" + "github.com/bindoffice/bindstore/pkg/dsync" + "github.com/bindoffice/bindstore/pkg/madmin" + "github.com/bindoffice/bindstore/pkg/sync/errgroup" ) // OfflineDisk represents an unavailable disk. diff --git a/cmd/format-disk-cache.go b/cmd/format-disk-cache.go index b92f6d3..84e094a 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/bind-store/cmd/logger" + "github.com/bindoffice/bindstore/cmd/logger" "github.com/minio/sio" ) diff --git a/cmd/format-erasure.go b/cmd/format-erasure.go index 86bcf42..8228fa6 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/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" + "github.com/bindoffice/bindstore/cmd/config" + "github.com/bindoffice/bindstore/cmd/config/storageclass" + "github.com/bindoffice/bindstore/cmd/logger" + "github.com/bindoffice/bindstore/pkg/color" + xioutil "github.com/bindoffice/bindstore/pkg/ioutil" + "github.com/bindoffice/bindstore/pkg/sync/errgroup" ) const ( diff --git a/cmd/format-fs.go b/cmd/format-fs.go index 9c348c5..0359a57 100644 --- a/cmd/format-fs.go +++ b/cmd/format-fs.go @@ -25,9 +25,9 @@ import ( "path" "time" - "github.com/bindoffice/bind-store/cmd/config" - "github.com/bindoffice/bind-store/cmd/logger" - "github.com/bindoffice/bind-store/pkg/lock" + "github.com/bindoffice/bindstore/cmd/config" + "github.com/bindoffice/bindstore/cmd/logger" + "github.com/bindoffice/bindstore/pkg/lock" ) // FS format version strings. diff --git a/cmd/fs-v1-helpers.go b/cmd/fs-v1-helpers.go index 736f7ff..938c67c 100644 --- a/cmd/fs-v1-helpers.go +++ b/cmd/fs-v1-helpers.go @@ -24,8 +24,8 @@ import ( "runtime" "strings" - "github.com/bindoffice/bind-store/cmd/logger" - "github.com/bindoffice/bind-store/pkg/lock" + "github.com/bindoffice/bindstore/cmd/logger" + "github.com/bindoffice/bindstore/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/bind-store/issues/9726 + // See https://github.com/bindoffice/bindstore/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 6770440..e091c29 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/bind-store/pkg/lock" + "github.com/bindoffice/bindstore/pkg/lock" ) func TestFSRenameFile(t *testing.T) { diff --git a/cmd/fs-v1-metadata.go b/cmd/fs-v1-metadata.go index 09e245b..56ff882 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/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" + xhttp "github.com/bindoffice/bindstore/cmd/http" + "github.com/bindoffice/bindstore/cmd/logger" + "github.com/bindoffice/bindstore/pkg/lock" + "github.com/bindoffice/bindstore/pkg/mimedb" ) // FS format, and object metadata. diff --git a/cmd/fs-v1-multipart.go b/cmd/fs-v1-multipart.go index 2d4b582..7751e0d 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/bind-store/cmd/logger" - xioutil "github.com/bindoffice/bind-store/pkg/ioutil" - "github.com/bindoffice/bind-store/pkg/trie" + "github.com/bindoffice/bindstore/cmd/logger" + xioutil "github.com/bindoffice/bindstore/pkg/ioutil" + "github.com/bindoffice/bindstore/pkg/trie" ) // Returns EXPORT/.minio.sys/multipart/SHA256/UPLOADID diff --git a/cmd/fs-v1-rwpool.go b/cmd/fs-v1-rwpool.go index 640d645..b77316b 100644 --- a/cmd/fs-v1-rwpool.go +++ b/cmd/fs-v1-rwpool.go @@ -21,8 +21,8 @@ import ( pathutil "path" "sync" - "github.com/bindoffice/bind-store/cmd/logger" - "github.com/bindoffice/bind-store/pkg/lock" + "github.com/bindoffice/bindstore/cmd/logger" + "github.com/bindoffice/bindstore/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 39987ca..b54881e 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/bind-store/pkg/lock" + "github.com/bindoffice/bindstore/pkg/lock" ) // Tests long path calls. diff --git a/cmd/fs-v1.go b/cmd/fs-v1.go index 3a8032a..2d87235 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/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" + "github.com/bindoffice/bindstore/cmd/config" + xhttp "github.com/bindoffice/bindstore/cmd/http" + "github.com/bindoffice/bindstore/cmd/logger" + "github.com/bindoffice/bindstore/pkg/bucket/policy" + "github.com/bindoffice/bindstore/pkg/color" + xioutil "github.com/bindoffice/bindstore/pkg/ioutil" + "github.com/bindoffice/bindstore/pkg/lock" + "github.com/bindoffice/bindstore/pkg/madmin" + "github.com/bindoffice/bindstore/pkg/mimedb" + "github.com/bindoffice/bindstore/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 985d66e..5e1d0cc 100644 --- a/cmd/fs-v1_test.go +++ b/cmd/fs-v1_test.go @@ -22,7 +22,7 @@ import ( "path/filepath" "testing" - "github.com/bindoffice/bind-store/pkg/madmin" + "github.com/bindoffice/bindstore/pkg/madmin" ) // Tests for if parent directory is object diff --git a/cmd/gateway-common.go b/cmd/gateway-common.go index 9bf0f1c..3f1a94f 100644 --- a/cmd/gateway-common.go +++ b/cmd/gateway-common.go @@ -23,12 +23,12 @@ import ( "strings" "time" - "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" + "github.com/bindoffice/bindstore/cmd/config" + xhttp "github.com/bindoffice/bindstore/cmd/http" + "github.com/bindoffice/bindstore/cmd/logger" + "github.com/bindoffice/bindstore/pkg/env" + "github.com/bindoffice/bindstore/pkg/hash" + xnet "github.com/bindoffice/bindstore/pkg/net" minio "github.com/minio/minio-go/v7" ) diff --git a/cmd/gateway-interface.go b/cmd/gateway-interface.go index 63f93ce..65fd068 100644 --- a/cmd/gateway-interface.go +++ b/cmd/gateway-interface.go @@ -17,7 +17,7 @@ package cmd import ( - "github.com/bindoffice/bind-store/pkg/auth" + "github.com/bindoffice/bindstore/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 056c5f5..d0659b1 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/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" + xhttp "github.com/bindoffice/bindstore/cmd/http" + "github.com/bindoffice/bindstore/cmd/logger" + "github.com/bindoffice/bindstore/pkg/certs" + "github.com/bindoffice/bindstore/pkg/color" + "github.com/bindoffice/bindstore/pkg/env" ) var ( diff --git a/cmd/gateway-startup-msg.go b/cmd/gateway-startup-msg.go index 50bbecc..65710ee 100644 --- a/cmd/gateway-startup-msg.go +++ b/cmd/gateway-startup-msg.go @@ -20,7 +20,7 @@ import ( "fmt" "strings" - "github.com/bindoffice/bind-store/pkg/color" + "github.com/bindoffice/bindstore/pkg/color" ) // Prints the formatted startup message. diff --git a/cmd/gateway-unsupported.go b/cmd/gateway-unsupported.go index 4c371bc..0506c56 100644 --- a/cmd/gateway-unsupported.go +++ b/cmd/gateway-unsupported.go @@ -20,15 +20,15 @@ import ( "context" "errors" - "github.com/bindoffice/bind-store/cmd/logger" + "github.com/bindoffice/bindstore/cmd/logger" "github.com/minio/minio-go/v7/pkg/tags" - 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" + bucketsse "github.com/bindoffice/bindstore/pkg/bucket/encryption" + "github.com/bindoffice/bindstore/pkg/bucket/lifecycle" + "github.com/bindoffice/bindstore/pkg/bucket/policy" + "github.com/bindoffice/bindstore/pkg/bucket/versioning" - "github.com/bindoffice/bind-store/pkg/madmin" + "github.com/bindoffice/bindstore/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 c619642..d62803d 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/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" + minio "github.com/bindoffice/bindstore/cmd" + "github.com/bindoffice/bindstore/cmd/logger" + "github.com/bindoffice/bindstore/pkg/auth" + "github.com/bindoffice/bindstore/pkg/bucket/policy" + "github.com/bindoffice/bindstore/pkg/bucket/policy/condition" + "github.com/bindoffice/bindstore/pkg/env" + "github.com/bindoffice/bindstore/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/bind-store/issues/6550 + // Some applications depend on this behavior refer https://github.com/bindoffice/bindstore/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/bind-store/issues/6550 + // Some applications depend on this behavior refer https://github.com/bindoffice/bindstore/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 63574ce..e8a829a 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/bind-store/cmd" + minio "github.com/bindoffice/bindstore/cmd" ) func TestParseStorageEndpoint(t *testing.T) { diff --git a/cmd/gateway/gateway.go b/cmd/gateway/gateway.go index 2ac5ea6..95682c3 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/bind-store/cmd/gateway/nas" + _ "github.com/bindoffice/bindstore/cmd/gateway/nas" // Azure - _ "github.com/bindoffice/bind-store/cmd/gateway/azure" + _ "github.com/bindoffice/bindstore/cmd/gateway/azure" // S3 - _ "github.com/bindoffice/bind-store/cmd/gateway/s3" + _ "github.com/bindoffice/bindstore/cmd/gateway/s3" // HDFS - _ "github.com/bindoffice/bind-store/cmd/gateway/hdfs" + _ "github.com/bindoffice/bindstore/cmd/gateway/hdfs" // GCS (use only if you must, GCS already supports S3 API) - _ "github.com/bindoffice/bind-store/cmd/gateway/gcs" + _ "github.com/bindoffice/bindstore/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 0e01306..c8a023a 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/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" + minio "github.com/bindoffice/bindstore/cmd" + "github.com/bindoffice/bindstore/cmd/logger" + "github.com/bindoffice/bindstore/pkg/auth" + "github.com/bindoffice/bindstore/pkg/bucket/policy" + "github.com/bindoffice/bindstore/pkg/bucket/policy/condition" + "github.com/bindoffice/bindstore/pkg/env" + "github.com/bindoffice/bindstore/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 91614e5..81a066f 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/bind-store/cmd" + minio "github.com/bindoffice/bindstore/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 68adb1e..0976a86 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/bind-store/cmd" + minio "github.com/bindoffice/bindstore/cmd" ) const ( diff --git a/cmd/gateway/hdfs/gateway-hdfs.go b/cmd/gateway/hdfs/gateway-hdfs.go index 6ae66d7..8962429 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/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" + minio "github.com/bindoffice/bindstore/cmd" + "github.com/bindoffice/bindstore/cmd/logger" + "github.com/bindoffice/bindstore/pkg/auth" + "github.com/bindoffice/bindstore/pkg/env" + "github.com/bindoffice/bindstore/pkg/madmin" + xnet "github.com/bindoffice/bindstore/pkg/net" ) const ( diff --git a/cmd/gateway/nas/gateway-nas.go b/cmd/gateway/nas/gateway-nas.go index b3a587f..fbd557f 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/bind-store/cmd" - "github.com/bindoffice/bind-store/pkg/auth" - "github.com/bindoffice/bind-store/pkg/madmin" + minio "github.com/bindoffice/bindstore/cmd" + "github.com/bindoffice/bindstore/pkg/auth" + "github.com/bindoffice/bindstore/pkg/madmin" ) func init() { diff --git a/cmd/gateway/s3/gateway-s3-metadata.go b/cmd/gateway/s3/gateway-s3-metadata.go index d46e9ad..81afc4b 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/bind-store/cmd" - "github.com/bindoffice/bind-store/cmd/logger" - "github.com/bindoffice/bind-store/pkg/hash" + minio "github.com/bindoffice/bindstore/cmd" + "github.com/bindoffice/bindstore/cmd/logger" + "github.com/bindoffice/bindstore/pkg/hash" ) var ( diff --git a/cmd/gateway/s3/gateway-s3-metadata_test.go b/cmd/gateway/s3/gateway-s3-metadata_test.go index 2a8c0f0..6bab941 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/bind-store/cmd" + minio "github.com/bindoffice/bindstore/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 2d1af04..4009d20 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/bind-store/cmd" + minio "github.com/bindoffice/bindstore/cmd" - "github.com/bindoffice/bind-store/cmd/logger" + "github.com/bindoffice/bindstore/cmd/logger" ) const ( diff --git a/cmd/gateway/s3/gateway-s3-utils.go b/cmd/gateway/s3/gateway-s3-utils.go index ba1e364..8bc793d 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/bind-store/cmd" + minio "github.com/bindoffice/bindstore/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 4b510b8..095c812 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/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" + minio "github.com/bindoffice/bindstore/cmd" + xhttp "github.com/bindoffice/bindstore/cmd/http" + "github.com/bindoffice/bindstore/cmd/logger" + "github.com/bindoffice/bindstore/pkg/auth" + "github.com/bindoffice/bindstore/pkg/bucket/policy" + "github.com/bindoffice/bindstore/pkg/madmin" ) func init() { diff --git a/cmd/gateway/s3/gateway-s3_test.go b/cmd/gateway/s3/gateway-s3_test.go index 612c56c..9c8fe0f 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/bind-store/pkg/hash" + "github.com/bindoffice/bindstore/pkg/hash" - minio "github.com/bindoffice/bind-store/cmd" + minio "github.com/bindoffice/bindstore/cmd" ) func errResponse(code string) miniogo.ErrorResponse { diff --git a/cmd/generic-handlers.go b/cmd/generic-handlers.go index 4945149..465d666 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/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" + "github.com/bindoffice/bindstore/cmd/config/dns" + "github.com/bindoffice/bindstore/cmd/crypto" + xhttp "github.com/bindoffice/bindstore/cmd/http" + "github.com/bindoffice/bindstore/cmd/http/stats" + "github.com/bindoffice/bindstore/cmd/logger" ) // Adds limiting body size middleware diff --git a/cmd/generic-handlers_test.go b/cmd/generic-handlers_test.go index ed4745f..c14939b 100644 --- a/cmd/generic-handlers_test.go +++ b/cmd/generic-handlers_test.go @@ -23,8 +23,8 @@ import ( "strconv" "testing" - "github.com/bindoffice/bind-store/cmd/crypto" - xhttp "github.com/bindoffice/bind-store/cmd/http" + "github.com/bindoffice/bindstore/cmd/crypto" + xhttp "github.com/bindoffice/bindstore/cmd/http" ) // Tests getRedirectLocation function for all its criteria. diff --git a/cmd/global-heal.go b/cmd/global-heal.go index 7d8ab7b..72a4a43 100644 --- a/cmd/global-heal.go +++ b/cmd/global-heal.go @@ -23,11 +23,11 @@ import ( "sort" "time" - "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" + "github.com/bindoffice/bindstore/cmd/logger" + "github.com/bindoffice/bindstore/pkg/color" + "github.com/bindoffice/bindstore/pkg/console" + "github.com/bindoffice/bindstore/pkg/madmin" + "github.com/bindoffice/bindstore/pkg/wildcard" ) const ( diff --git a/cmd/globals.go b/cmd/globals.go index dfc1b64..40e3b34 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/bind-store/pkg/bucket/bandwidth" - "github.com/bindoffice/bind-store/pkg/handlers" - "github.com/bindoffice/bind-store/pkg/kms" + "github.com/bindoffice/bindstore/pkg/bucket/bandwidth" + "github.com/bindoffice/bindstore/pkg/handlers" + "github.com/bindoffice/bindstore/pkg/kms" "github.com/dustin/go-humanize" - "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" + "github.com/bindoffice/bindstore/cmd/config/cache" + "github.com/bindoffice/bindstore/cmd/config/compress" + "github.com/bindoffice/bindstore/cmd/config/dns" + xldap "github.com/bindoffice/bindstore/cmd/config/identity/ldap" + "github.com/bindoffice/bindstore/cmd/config/identity/openid" + "github.com/bindoffice/bindstore/cmd/config/policy/opa" + "github.com/bindoffice/bindstore/cmd/config/storageclass" + xhttp "github.com/bindoffice/bindstore/cmd/http" + "github.com/bindoffice/bindstore/pkg/auth" etcd "go.etcd.io/etcd/client/v3" - "github.com/bindoffice/bind-store/pkg/certs" - "github.com/bindoffice/bind-store/pkg/event" - "github.com/bindoffice/bind-store/pkg/pubsub" + "github.com/bindoffice/bindstore/pkg/certs" + "github.com/bindoffice/bindstore/pkg/event" + "github.com/bindoffice/bindstore/pkg/pubsub" ) // minio configuration related constants. diff --git a/cmd/handler-api.go b/cmd/handler-api.go index d1a2f68..7a5cd20 100644 --- a/cmd/handler-api.go +++ b/cmd/handler-api.go @@ -21,9 +21,9 @@ import ( "sync" "time" - "github.com/bindoffice/bind-store/cmd/config/api" - "github.com/bindoffice/bind-store/cmd/logger" - "github.com/bindoffice/bind-store/pkg/sys" + "github.com/bindoffice/bindstore/cmd/config/api" + "github.com/bindoffice/bindstore/cmd/logger" + "github.com/bindoffice/bindstore/pkg/sys" ) type apiConfig struct { diff --git a/cmd/handler-utils.go b/cmd/handler-utils.go index 2731b26..8fe42e0 100644 --- a/cmd/handler-utils.go +++ b/cmd/handler-utils.go @@ -31,11 +31,11 @@ import ( "regexp" "strings" - 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" + xhttp "github.com/bindoffice/bindstore/cmd/http" + "github.com/bindoffice/bindstore/cmd/logger" + "github.com/bindoffice/bindstore/pkg/auth" + "github.com/bindoffice/bindstore/pkg/handlers" + "github.com/bindoffice/bindstore/pkg/madmin" ) const ( diff --git a/cmd/handler-utils_test.go b/cmd/handler-utils_test.go index 83d6936..ddb5b37 100644 --- a/cmd/handler-utils_test.go +++ b/cmd/handler-utils_test.go @@ -28,7 +28,7 @@ import ( "strings" "testing" - "github.com/bindoffice/bind-store/cmd/config" + "github.com/bindoffice/bindstore/cmd/config" ) // Tests validate bucket LocationConstraint. diff --git a/cmd/healthcheck-handler.go b/cmd/healthcheck-handler.go index bd2a0dc..967a626 100644 --- a/cmd/healthcheck-handler.go +++ b/cmd/healthcheck-handler.go @@ -21,7 +21,7 @@ import ( "net/http" "strconv" - xhttp "github.com/bindoffice/bind-store/cmd/http" + xhttp "github.com/bindoffice/bindstore/cmd/http" ) const unavailable = "offline" diff --git a/cmd/healthinfo.go b/cmd/healthinfo.go index 7c68a07..d9eb901 100644 --- a/cmd/healthinfo.go +++ b/cmd/healthinfo.go @@ -25,8 +25,8 @@ import ( "sync" "syscall" - "github.com/bindoffice/bind-store/pkg/disk" - "github.com/bindoffice/bind-store/pkg/madmin" + "github.com/bindoffice/bindstore/pkg/disk" + "github.com/bindoffice/bindstore/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 7564c3b..06c949e 100644 --- a/cmd/healthinfo_linux.go +++ b/cmd/healthinfo_linux.go @@ -25,8 +25,8 @@ import ( "net/http" "strings" - "github.com/bindoffice/bind-store/pkg/madmin" - "github.com/bindoffice/bind-store/pkg/smart" + "github.com/bindoffice/bindstore/pkg/madmin" + "github.com/bindoffice/bindstore/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 2b86365..3710ee5 100644 --- a/cmd/healthinfo_nonlinux.go +++ b/cmd/healthinfo_nonlinux.go @@ -24,7 +24,7 @@ import ( "net/http" "runtime" - "github.com/bindoffice/bind-store/pkg/madmin" + "github.com/bindoffice/bindstore/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 f361154..4a77813 100644 --- a/cmd/http-stats.go +++ b/cmd/http-stats.go @@ -22,7 +22,7 @@ import ( "sync" "sync/atomic" - "github.com/bindoffice/bind-store/cmd/logger" + "github.com/bindoffice/bindstore/cmd/logger" "github.com/prometheus/client_golang/prometheus" ) diff --git a/cmd/http-tracer.go b/cmd/http-tracer.go index 42cc40f..4c16aa8 100644 --- a/cmd/http-tracer.go +++ b/cmd/http-tracer.go @@ -30,10 +30,10 @@ import ( "time" "github.com/gorilla/mux" - "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" + "github.com/bindoffice/bindstore/cmd/logger" + "github.com/bindoffice/bindstore/pkg/handlers" + jsonrpc "github.com/bindoffice/bindstore/pkg/rpc" + trace "github.com/bindoffice/bindstore/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/bind-store/cmd.") + op = strings.TrimPrefix(name, "github.com/bindoffice/bindstore/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 d97f0f3..7d855f5 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/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" + "github.com/bindoffice/bindstore/cmd/config" + "github.com/bindoffice/bindstore/cmd/config/api" + "github.com/bindoffice/bindstore/pkg/certs" + "github.com/bindoffice/bindstore/pkg/env" + "github.com/bindoffice/bindstore/pkg/fips" ) const ( diff --git a/cmd/http/server_test.go b/cmd/http/server_test.go index f7de2a5..ed511bb 100644 --- a/cmd/http/server_test.go +++ b/cmd/http/server_test.go @@ -22,7 +22,7 @@ import ( "reflect" "testing" - "github.com/bindoffice/bind-store/pkg/certs" + "github.com/bindoffice/bindstore/pkg/certs" ) func TestNewServer(t *testing.T) { diff --git a/cmd/iam-etcd-store.go b/cmd/iam-etcd-store.go index 3d61c48..b673113 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/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" + "github.com/bindoffice/bindstore/cmd/logger" + "github.com/bindoffice/bindstore/pkg/auth" + iampolicy "github.com/bindoffice/bindstore/pkg/iam/policy" + "github.com/bindoffice/bindstore/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 fe5c290..ae903b0 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/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" + "github.com/bindoffice/bindstore/cmd/logger" + "github.com/bindoffice/bindstore/pkg/auth" + iampolicy "github.com/bindoffice/bindstore/pkg/iam/policy" + "github.com/bindoffice/bindstore/pkg/madmin" ) // IAMObjectStore implements IAMStorageAPI diff --git a/cmd/iam.go b/cmd/iam.go index 70728d0..4eecfda 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/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" + "github.com/bindoffice/bindstore/cmd/logger" + "github.com/bindoffice/bindstore/pkg/auth" + iampolicy "github.com/bindoffice/bindstore/pkg/iam/policy" + "github.com/bindoffice/bindstore/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/bind-store/issues/9651 + // See issue https://github.com/bindoffice/bindstore/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 97d5e33..0c74f60 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/bind-store/cmd/jwt" - "github.com/bindoffice/bind-store/cmd/logger" - "github.com/bindoffice/bind-store/pkg/auth" + xjwt "github.com/bindoffice/bindstore/cmd/jwt" + "github.com/bindoffice/bindstore/cmd/logger" + "github.com/bindoffice/bindstore/pkg/auth" ) const ( diff --git a/cmd/jwt_test.go b/cmd/jwt_test.go index 40c16ac..4fdce4b 100644 --- a/cmd/jwt_test.go +++ b/cmd/jwt_test.go @@ -21,8 +21,8 @@ import ( "os" "testing" - xjwt "github.com/bindoffice/bind-store/cmd/jwt" - "github.com/bindoffice/bind-store/pkg/auth" + xjwt "github.com/bindoffice/bindstore/cmd/jwt" + "github.com/bindoffice/bindstore/pkg/auth" ) func testAuthenticate(authType string, t *testing.T) { diff --git a/cmd/listen-notification-handlers.go b/cmd/listen-notification-handlers.go index 0c02ed0..3702801 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/bind-store/cmd/logger" - policy "github.com/bindoffice/bind-store/pkg/bucket/policy" - "github.com/bindoffice/bind-store/pkg/event" + "github.com/bindoffice/bindstore/cmd/logger" + policy "github.com/bindoffice/bindstore/pkg/bucket/policy" + "github.com/bindoffice/bindstore/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 c1a234b..439e8ac 100644 --- a/cmd/local-locker.go +++ b/cmd/local-locker.go @@ -22,7 +22,7 @@ import ( "sync" "time" - "github.com/bindoffice/bind-store/pkg/dsync" + "github.com/bindoffice/bindstore/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 ab87897..25ca277 100644 --- a/cmd/lock-rest-client.go +++ b/cmd/lock-rest-client.go @@ -23,10 +23,10 @@ import ( "net/url" "strconv" - "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" + "github.com/bindoffice/bindstore/cmd/http" + xhttp "github.com/bindoffice/bindstore/cmd/http" + "github.com/bindoffice/bindstore/cmd/rest" + "github.com/bindoffice/bindstore/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 85abbfd..7fcfba1 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/bind-store/pkg/dsync" + "github.com/bindoffice/bindstore/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 053d1d8..95e5a58 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/bind-store/pkg/dsync" + "github.com/bindoffice/bindstore/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 d0def36..0ce1f96 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/bind-store/pkg/dsync" + "github.com/bindoffice/bindstore/pkg/dsync" ) const ( diff --git a/cmd/logger/audit.go b/cmd/logger/audit.go index a41c09a..2c455a3 100644 --- a/cmd/logger/audit.go +++ b/cmd/logger/audit.go @@ -25,7 +25,7 @@ import ( "strconv" "time" - "github.com/bindoffice/bind-store/cmd/logger/message/audit" + "github.com/bindoffice/bindstore/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 46f63ed..d7273ab 100644 --- a/cmd/logger/config.go +++ b/cmd/logger/config.go @@ -19,8 +19,8 @@ package logger import ( "strings" - "github.com/bindoffice/bind-store/cmd/config" - "github.com/bindoffice/bind-store/pkg/env" + "github.com/bindoffice/bindstore/cmd/config" + "github.com/bindoffice/bindstore/pkg/env" ) // Console logger target diff --git a/cmd/logger/console.go b/cmd/logger/console.go index be4c8af..f92eb15 100644 --- a/cmd/logger/console.go +++ b/cmd/logger/console.go @@ -23,9 +23,9 @@ import ( "strings" "time" - "github.com/bindoffice/bind-store/cmd/logger/message/log" - "github.com/bindoffice/bind-store/pkg/color" - c "github.com/bindoffice/bind-store/pkg/console" + "github.com/bindoffice/bindstore/cmd/logger/message/log" + "github.com/bindoffice/bindstore/pkg/color" + c "github.com/bindoffice/bindstore/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 78cf518..a04d8ea 100644 --- a/cmd/logger/help.go +++ b/cmd/logger/help.go @@ -17,7 +17,7 @@ package logger import ( - "github.com/bindoffice/bind-store/cmd/config" + "github.com/bindoffice/bindstore/cmd/config" ) // Help template for logger http and audit diff --git a/cmd/logger/legacy.go b/cmd/logger/legacy.go index 09af22f..48a0a48 100644 --- a/cmd/logger/legacy.go +++ b/cmd/logger/legacy.go @@ -16,7 +16,7 @@ package logger -import "github.com/bindoffice/bind-store/cmd/config" +import "github.com/bindoffice/bindstore/cmd/config" // Legacy envs const ( diff --git a/cmd/logger/logger.go b/cmd/logger/logger.go index 945b6e4..2aeabbd 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/bind-store/cmd/logger/message/log" + "github.com/bindoffice/bindstore/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/bind-store" as the last to cover - // paths like "{GOROOT}/src/github.com/bindoffice/bind-store" - // and "{GOPATH}/src/github.com/bindoffice/bind-store" + // Add "github.com/bindoffice/bindstore" as the last to cover + // paths like "{GOROOT}/src/github.com/bindoffice/bindstore" + // and "{GOPATH}/src/github.com/bindoffice/bindstore" 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 dbda372..c4b8f59 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/bind-store/cmd/http" - "github.com/bindoffice/bind-store/pkg/handlers" + xhttp "github.com/bindoffice/bindstore/cmd/http" + "github.com/bindoffice/bindstore/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 58a7d41..0613337 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/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" + "github.com/bindoffice/bindstore/cmd/logger" + "github.com/bindoffice/bindstore/cmd/logger/message/log" + "github.com/bindoffice/bindstore/pkg/color" + "github.com/bindoffice/bindstore/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 540b27f..8025c6c 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/bind-store/cmd/http" - "github.com/bindoffice/bind-store/cmd/logger" + xhttp "github.com/bindoffice/bindstore/cmd/http" + "github.com/bindoffice/bindstore/cmd/logger" ) // Target implements logger.Target and sends the json diff --git a/cmd/logger/utils.go b/cmd/logger/utils.go index ff3d30f..c882116 100644 --- a/cmd/logger/utils.go +++ b/cmd/logger/utils.go @@ -21,7 +21,7 @@ import ( "regexp" "runtime" - "github.com/bindoffice/bind-store/pkg/color" + "github.com/bindoffice/bindstore/pkg/color" ) var ansiRE = regexp.MustCompile("(\x1b[^m]*m)") diff --git a/cmd/main.go b/cmd/main.go index 341e00e..36bc4ec 100644 --- a/cmd/main.go +++ b/cmd/main.go @@ -22,9 +22,9 @@ import ( "sort" "github.com/minio/cli" - "github.com/bindoffice/bind-store/pkg/console" - "github.com/bindoffice/bind-store/pkg/trie" - "github.com/bindoffice/bind-store/pkg/words" + "github.com/bindoffice/bindstore/pkg/console" + "github.com/bindoffice/bindstore/pkg/trie" + "github.com/bindoffice/bindstore/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 `bind-store --help`. + app.HideHelpCommand = true // Hide `help, h` command, we already have `bindstore --help`. app.Commands = commands app.CustomAppHelpTemplate = minioHelpTemplate app.CommandNotFound = func(ctx *cli.Context, command string) { - console.Printf("‘%s’ is not a bind-store sub-command. See ‘bind-store --help’.\n", command) + console.Printf("‘%s’ is not a bindstore sub-command. See ‘bindstore --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 9fa5286..2778a78 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/bind-store/cmd/logger" - "github.com/bindoffice/bind-store/pkg/console" - "github.com/bindoffice/bind-store/pkg/hash" + "github.com/bindoffice/bindstore/cmd/logger" + "github.com/bindoffice/bindstore/pkg/console" + "github.com/bindoffice/bindstore/pkg/hash" "github.com/tinylib/msgp/msgp" ) diff --git a/cmd/metacache-manager.go b/cmd/metacache-manager.go index 893012a..e49cdd4 100644 --- a/cmd/metacache-manager.go +++ b/cmd/metacache-manager.go @@ -23,7 +23,7 @@ import ( "sync" "time" - "github.com/bindoffice/bind-store/cmd/logger" + "github.com/bindoffice/bindstore/cmd/logger" ) // localMetacacheMgr is the *local* manager for this peer. diff --git a/cmd/metacache-marker.go b/cmd/metacache-marker.go index e5c9ca2..6828970 100644 --- a/cmd/metacache-marker.go +++ b/cmd/metacache-marker.go @@ -21,7 +21,7 @@ import ( "fmt" "strings" - "github.com/bindoffice/bind-store/cmd/logger" + "github.com/bindoffice/bindstore/cmd/logger" ) // markerTagVersion is the marker version. diff --git a/cmd/metacache-server-pool.go b/cmd/metacache-server-pool.go index 105ac60..47db803 100644 --- a/cmd/metacache-server-pool.go +++ b/cmd/metacache-server-pool.go @@ -28,7 +28,7 @@ import ( "sync" "time" - "github.com/bindoffice/bind-store/cmd/logger" + "github.com/bindoffice/bindstore/cmd/logger" ) func renameAllBucketMetacache(epPath string) error { diff --git a/cmd/metacache-set.go b/cmd/metacache-set.go index 939d22a..1a78969 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/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" + "github.com/bindoffice/bindstore/cmd/logger" + "github.com/bindoffice/bindstore/pkg/color" + "github.com/bindoffice/bindstore/pkg/console" + "github.com/bindoffice/bindstore/pkg/hash" ) type listPathOptions struct { diff --git a/cmd/metacache-stream.go b/cmd/metacache-stream.go index 359e407..38c081a 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/bind-store/cmd/logger" + "github.com/bindoffice/bindstore/cmd/logger" "github.com/tinylib/msgp/msgp" ) diff --git a/cmd/metacache-walk.go b/cmd/metacache-walk.go index 96bf67e..b5a4cc7 100644 --- a/cmd/metacache-walk.go +++ b/cmd/metacache-walk.go @@ -27,8 +27,8 @@ import ( "strings" "github.com/gorilla/mux" - "github.com/bindoffice/bind-store/cmd/logger" - xioutil "github.com/bindoffice/bind-store/pkg/ioutil" + "github.com/bindoffice/bindstore/cmd/logger" + xioutil "github.com/bindoffice/bindstore/pkg/ioutil" ) // WalkDirOptions provides options for WalkDir operations. diff --git a/cmd/metacache.go b/cmd/metacache.go index 57c40b1..89c2e45 100644 --- a/cmd/metacache.go +++ b/cmd/metacache.go @@ -24,7 +24,7 @@ import ( "strings" "time" - "github.com/bindoffice/bind-store/cmd/logger" + "github.com/bindoffice/bindstore/cmd/logger" ) type scanStatus uint8 diff --git a/cmd/metrics-v2.go b/cmd/metrics-v2.go index c58e9e7..a6a6efb 100644 --- a/cmd/metrics-v2.go +++ b/cmd/metrics-v2.go @@ -25,7 +25,7 @@ import ( "sync" "time" - "github.com/bindoffice/bind-store/cmd/logger" + "github.com/bindoffice/bindstore/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 669f642..5562d7c 100644 --- a/cmd/metrics.go +++ b/cmd/metrics.go @@ -22,8 +22,8 @@ import ( "sync/atomic" "time" - "github.com/bindoffice/bind-store/cmd/logger" - "github.com/bindoffice/bind-store/pkg/madmin" + "github.com/bindoffice/bindstore/cmd/logger" + "github.com/bindoffice/bindstore/pkg/madmin" "github.com/prometheus/client_golang/prometheus" "github.com/prometheus/client_golang/prometheus/promhttp" ) diff --git a/cmd/namespace-lock.go b/cmd/namespace-lock.go index 48d7d9f..34cd30e 100644 --- a/cmd/namespace-lock.go +++ b/cmd/namespace-lock.go @@ -28,9 +28,9 @@ import ( "fmt" "time" - "github.com/bindoffice/bind-store/cmd/logger" - "github.com/bindoffice/bind-store/pkg/dsync" - "github.com/bindoffice/bind-store/pkg/lsync" + "github.com/bindoffice/bindstore/cmd/logger" + "github.com/bindoffice/bindstore/pkg/dsync" + "github.com/bindoffice/bindstore/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/bind-store/cmd.") + "github.com/bindoffice/bindstore/cmd.") } else { filename = "" lineNum = 0 diff --git a/cmd/net.go b/cmd/net.go index 9088ed7..83ac728 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/bind-store/cmd/config" - "github.com/bindoffice/bind-store/cmd/logger" - xnet "github.com/bindoffice/bind-store/pkg/net" + "github.com/bindoffice/bindstore/cmd/config" + "github.com/bindoffice/bindstore/cmd/logger" + xnet "github.com/bindoffice/bindstore/pkg/net" ) // IPv4 addresses of local host. diff --git a/cmd/notification-summary.go b/cmd/notification-summary.go index 97ff541..c92fab4 100644 --- a/cmd/notification-summary.go +++ b/cmd/notification-summary.go @@ -18,7 +18,7 @@ package cmd import ( - "github.com/bindoffice/bind-store/pkg/madmin" + "github.com/bindoffice/bindstore/pkg/madmin" ) // GetTotalCapacity gets the total capacity in the cluster. diff --git a/cmd/notification.go b/cmd/notification.go index 8139564..ee4ae15 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/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/bindoffice/bindstore/cmd/crypto" + xhttp "github.com/bindoffice/bindstore/cmd/http" + "github.com/bindoffice/bindstore/cmd/logger" + bandwidth "github.com/bindoffice/bindstore/pkg/bandwidth" + bucketBandwidth "github.com/bindoffice/bindstore/pkg/bucket/bandwidth" + "github.com/bindoffice/bindstore/pkg/bucket/policy" + "github.com/bindoffice/bindstore/pkg/event" + "github.com/bindoffice/bindstore/pkg/madmin" + xnet "github.com/bindoffice/bindstore/pkg/net" + "github.com/bindoffice/bindstore/pkg/sync/errgroup" "github.com/willf/bloom" ) diff --git a/cmd/object-api-common.go b/cmd/object-api-common.go index ecfb937..598f375 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/bind-store/pkg/sync/errgroup" + "github.com/bindoffice/bindstore/pkg/sync/errgroup" ) const ( diff --git a/cmd/object-api-datatypes.go b/cmd/object-api-datatypes.go index 68f0dd7..e123119 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/bind-store/pkg/bucket/replication" - "github.com/bindoffice/bind-store/pkg/hash" - "github.com/bindoffice/bind-store/pkg/madmin" + "github.com/bindoffice/bindstore/pkg/bucket/replication" + "github.com/bindoffice/bindstore/pkg/hash" + "github.com/bindoffice/bindstore/pkg/madmin" ) // BackendType - represents different backend types. diff --git a/cmd/object-api-input-checks.go b/cmd/object-api-input-checks.go index 6b7e8d0..abc5622 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/bind-store/cmd/logger" + "github.com/bindoffice/bindstore/cmd/logger" ) // Checks on GetObject arguments, bucket and object. diff --git a/cmd/object-api-interface.go b/cmd/object-api-interface.go index a22e0c3..69a71a0 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/bind-store/pkg/bucket/policy" - "github.com/bindoffice/bind-store/pkg/madmin" + "github.com/bindoffice/bindstore/pkg/bucket/policy" + "github.com/bindoffice/bindstore/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 9dd6070..8c89aba 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/bind-store/pkg/hash" + "github.com/bindoffice/bindstore/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 67e541f..5a723c5 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/bind-store/cmd/crypto" - xhttp "github.com/bindoffice/bind-store/cmd/http" - "github.com/bindoffice/bind-store/cmd/logger" + "github.com/bindoffice/bindstore/cmd/crypto" + xhttp "github.com/bindoffice/bindstore/cmd/http" + "github.com/bindoffice/bindstore/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 2cc137d..b51d0b6 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/bind-store/pkg/hash" + "github.com/bindoffice/bindstore/pkg/hash" ) func md5Header(data []byte) map[string]string { diff --git a/cmd/object-api-utils.go b/cmd/object-api-utils.go index 021bb00..51420dc 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/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" + "github.com/bindoffice/bindstore/cmd/config/compress" + "github.com/bindoffice/bindstore/cmd/config/dns" + "github.com/bindoffice/bindstore/cmd/config/storageclass" + "github.com/bindoffice/bindstore/cmd/crypto" + xhttp "github.com/bindoffice/bindstore/cmd/http" + "github.com/bindoffice/bindstore/cmd/logger" + "github.com/bindoffice/bindstore/pkg/bucket/lifecycle" + "github.com/bindoffice/bindstore/pkg/hash" + "github.com/bindoffice/bindstore/pkg/ioutil" + "github.com/bindoffice/bindstore/pkg/trie" + "github.com/bindoffice/bindstore/pkg/wildcard" ) const ( diff --git a/cmd/object-api-utils_test.go b/cmd/object-api-utils_test.go index 80b627c..60e34b1 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/bind-store/cmd/config/compress" - "github.com/bindoffice/bind-store/cmd/crypto" - "github.com/bindoffice/bind-store/pkg/trie" + "github.com/bindoffice/bindstore/cmd/config/compress" + "github.com/bindoffice/bindstore/cmd/crypto" + "github.com/bindoffice/bindstore/pkg/trie" ) // Tests validate bucket name. diff --git a/cmd/object-handlers-common.go b/cmd/object-handlers-common.go index c8aeba7..8b83d8c 100644 --- a/cmd/object-handlers-common.go +++ b/cmd/object-handlers-common.go @@ -24,8 +24,8 @@ import ( "strconv" "time" - xhttp "github.com/bindoffice/bind-store/cmd/http" - "github.com/bindoffice/bind-store/pkg/bucket/lifecycle" + xhttp "github.com/bindoffice/bindstore/cmd/http" + "github.com/bindoffice/bindstore/pkg/bucket/lifecycle" ) var ( diff --git a/cmd/object-handlers.go b/cmd/object-handlers.go index fc47442..df9b031 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/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/bindoffice/bindstore/cmd/config/dns" + "github.com/bindoffice/bindstore/cmd/config/storageclass" + "github.com/bindoffice/bindstore/cmd/crypto" + xhttp "github.com/bindoffice/bindstore/cmd/http" + "github.com/bindoffice/bindstore/cmd/logger" + "github.com/bindoffice/bindstore/pkg/bucket/lifecycle" + objectlock "github.com/bindoffice/bindstore/pkg/bucket/object/lock" + "github.com/bindoffice/bindstore/pkg/bucket/policy" + "github.com/bindoffice/bindstore/pkg/bucket/replication" + "github.com/bindoffice/bindstore/pkg/etag" + "github.com/bindoffice/bindstore/pkg/event" + "github.com/bindoffice/bindstore/pkg/fips" + "github.com/bindoffice/bindstore/pkg/handlers" + "github.com/bindoffice/bindstore/pkg/hash" + iampolicy "github.com/bindoffice/bindstore/pkg/iam/policy" + "github.com/bindoffice/bindstore/pkg/ioutil" + xnet "github.com/bindoffice/bindstore/pkg/net" + "github.com/bindoffice/bindstore/pkg/s3select" "github.com/minio/sio" ) diff --git a/cmd/object-handlers_test.go b/cmd/object-handlers_test.go index addafcd..f3916b0 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/bind-store/cmd/http" - "github.com/bindoffice/bind-store/pkg/auth" - ioutilx "github.com/bindoffice/bind-store/pkg/ioutil" + xhttp "github.com/bindoffice/bindstore/cmd/http" + "github.com/bindoffice/bindstore/pkg/auth" + ioutilx "github.com/bindoffice/bindstore/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 31565af..81c20a2 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/bind-store/cmd/crypto" + "github.com/bindoffice/bindstore/cmd/crypto" ) // Return pointer to testOneByteReadEOF{} diff --git a/cmd/os-instrumented.go b/cmd/os-instrumented.go index 5d1a2df..61a090d 100644 --- a/cmd/os-instrumented.go +++ b/cmd/os-instrumented.go @@ -21,8 +21,8 @@ import ( "strings" "time" - "github.com/bindoffice/bind-store/pkg/disk" - trace "github.com/bindoffice/bind-store/pkg/trace" + "github.com/bindoffice/bindstore/pkg/disk" + trace "github.com/bindoffice/bindstore/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 dcc863c..defe999 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/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/bindoffice/bindstore/cmd/http" + xhttp "github.com/bindoffice/bindstore/cmd/http" + "github.com/bindoffice/bindstore/cmd/logger" + "github.com/bindoffice/bindstore/cmd/rest" + "github.com/bindoffice/bindstore/pkg/bandwidth" + "github.com/bindoffice/bindstore/pkg/event" + "github.com/bindoffice/bindstore/pkg/madmin" + xnet "github.com/bindoffice/bindstore/pkg/net" + "github.com/bindoffice/bindstore/pkg/trace" "github.com/tinylib/msgp/msgp" ) diff --git a/cmd/peer-rest-server.go b/cmd/peer-rest-server.go index b1933db..3cb870a 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/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/bindoffice/bindstore/cmd/logger" + b "github.com/bindoffice/bindstore/pkg/bucket/bandwidth" + "github.com/bindoffice/bindstore/pkg/event" + "github.com/bindoffice/bindstore/pkg/madmin" + trace "github.com/bindoffice/bindstore/pkg/trace" "github.com/tinylib/msgp/msgp" ) diff --git a/cmd/policy_test.go b/cmd/policy_test.go index cf24fda..877ffff 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/bind-store/pkg/bucket/policy" - "github.com/bindoffice/bind-store/pkg/bucket/policy/condition" + "github.com/bindoffice/bindstore/pkg/bucket/policy" + "github.com/bindoffice/bindstore/pkg/bucket/policy/condition" ) func TestPolicySysIsAllowed(t *testing.T) { diff --git a/cmd/prepare-storage.go b/cmd/prepare-storage.go index 7ccbe4e..faaae4a 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/bind-store/cmd/http" - "github.com/bindoffice/bind-store/cmd/logger" - "github.com/bindoffice/bind-store/pkg/sync/errgroup" + xhttp "github.com/bindoffice/bindstore/cmd/http" + "github.com/bindoffice/bindstore/cmd/logger" + "github.com/bindoffice/bindstore/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/bind-store/issues/5667 +// https://github.com/bindoffice/bindstore/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/bind-store/issues/5667 + // this regression, for more info refer https://github.com/bindoffice/bindstore/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 05aba5d..e12acae 100644 --- a/cmd/production-security.go +++ b/cmd/production-security.go @@ -19,11 +19,11 @@ package cmd import ( "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" + "github.com/bindoffice/bindstore/cmd/config" + "github.com/bindoffice/bindstore/cmd/logger" + "github.com/bindoffice/bindstore/pkg/auth" + "github.com/bindoffice/bindstore/pkg/env" + xnet "github.com/bindoffice/bindstore/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 76b14fe..69a87ef 100644 --- a/cmd/production-security_test.go +++ b/cmd/production-security_test.go @@ -19,8 +19,8 @@ package cmd import ( "testing" - "github.com/bindoffice/bind-store/cmd/config" - "github.com/bindoffice/bind-store/pkg/auth" + "github.com/bindoffice/bindstore/cmd/config" + "github.com/bindoffice/bindstore/pkg/auth" ) func TestIsWildcardListenAddr(t *testing.T) { diff --git a/cmd/rest/client.go b/cmd/rest/client.go index a6df700..ac1ce45 100644 --- a/cmd/rest/client.go +++ b/cmd/rest/client.go @@ -28,9 +28,9 @@ import ( "sync/atomic" "time" - xhttp "github.com/bindoffice/bind-store/cmd/http" - "github.com/bindoffice/bind-store/cmd/logger" - xnet "github.com/bindoffice/bind-store/pkg/net" + xhttp "github.com/bindoffice/bindstore/cmd/http" + "github.com/bindoffice/bindstore/cmd/logger" + xnet "github.com/bindoffice/bindstore/pkg/net" ) // DefaultTimeout - default REST timeout is 10 seconds. diff --git a/cmd/server-main.go b/cmd/server-main.go index 17334ef..00d124e 100644 --- a/cmd/server-main.go +++ b/cmd/server-main.go @@ -31,16 +31,16 @@ import ( "time" "github.com/minio/cli" - "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" + "github.com/bindoffice/bindstore/cmd/config" + xhttp "github.com/bindoffice/bindstore/cmd/http" + "github.com/bindoffice/bindstore/cmd/logger" + "github.com/bindoffice/bindstore/cmd/rest" + "github.com/bindoffice/bindstore/pkg/bucket/bandwidth" + "github.com/bindoffice/bindstore/pkg/certs" + "github.com/bindoffice/bindstore/pkg/env" + "github.com/bindoffice/bindstore/pkg/fips" + "github.com/bindoffice/bindstore/pkg/madmin" + "github.com/bindoffice/bindstore/pkg/sync/errgroup" ) // ServerFlags - server command specific flags diff --git a/cmd/server-rlimit.go b/cmd/server-rlimit.go index aaec78d..9240f8b 100644 --- a/cmd/server-rlimit.go +++ b/cmd/server-rlimit.go @@ -19,7 +19,7 @@ package cmd import ( "runtime/debug" - "github.com/bindoffice/bind-store/pkg/sys" + "github.com/bindoffice/bindstore/pkg/sys" ) func setMaxResources() (err error) { diff --git a/cmd/server-startup-msg.go b/cmd/server-startup-msg.go index f40a970..d9a8057 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/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" + "github.com/bindoffice/bindstore/cmd/config" + "github.com/bindoffice/bindstore/cmd/logger" + color "github.com/bindoffice/bindstore/pkg/color" + "github.com/bindoffice/bindstore/pkg/madmin" + xnet "github.com/bindoffice/bindstore/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 9cb0578..4f257c6 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/bind-store/pkg/madmin" + "github.com/bindoffice/bindstore/pkg/madmin" ) // Tests if we generate storage info. diff --git a/cmd/server_test.go b/cmd/server_test.go index e69c130..8395419 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/bind-store/cmd/http" - "github.com/bindoffice/bind-store/pkg/bucket/policy" + xhttp "github.com/bindoffice/bindstore/cmd/http" + "github.com/bindoffice/bindstore/pkg/bucket/policy" ) // API suite container common to both FS and Erasure. diff --git a/cmd/signals.go b/cmd/signals.go index 1ad9d37..a3927d0 100644 --- a/cmd/signals.go +++ b/cmd/signals.go @@ -23,7 +23,7 @@ import ( "os" "strings" - "github.com/bindoffice/bind-store/cmd/logger" + "github.com/bindoffice/bindstore/cmd/logger" ) func handleSignals() { diff --git a/cmd/signature-v2.go b/cmd/signature-v2.go index b818bd7..33de125 100644 --- a/cmd/signature-v2.go +++ b/cmd/signature-v2.go @@ -28,9 +28,9 @@ import ( "strconv" "strings" - xhttp "github.com/bindoffice/bind-store/cmd/http" + xhttp "github.com/bindoffice/bindstore/cmd/http" - "github.com/bindoffice/bind-store/pkg/auth" + "github.com/bindoffice/bindstore/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 57d46d3..56e76df 100644 --- a/cmd/signature-v4-parser.go +++ b/cmd/signature-v4-parser.go @@ -22,8 +22,8 @@ import ( "strings" "time" - xhttp "github.com/bindoffice/bind-store/cmd/http" - "github.com/bindoffice/bind-store/pkg/auth" + xhttp "github.com/bindoffice/bindstore/cmd/http" + "github.com/bindoffice/bindstore/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 bf5f824..6f30d2f 100644 --- a/cmd/signature-v4-utils.go +++ b/cmd/signature-v4-utils.go @@ -27,9 +27,9 @@ import ( "strconv" "strings" - xhttp "github.com/bindoffice/bind-store/cmd/http" - "github.com/bindoffice/bind-store/cmd/logger" - "github.com/bindoffice/bind-store/pkg/auth" + xhttp "github.com/bindoffice/bindstore/cmd/http" + "github.com/bindoffice/bindstore/cmd/logger" + "github.com/bindoffice/bindstore/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 e602fac..8cd0374 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/bind-store/cmd/http" + xhttp "github.com/bindoffice/bindstore/cmd/http" ) // TestSkipContentSha256Cksum - Test validate the logic which decides whether diff --git a/cmd/signature-v4.go b/cmd/signature-v4.go index 4888c70..9febdf5 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/bind-store/cmd/http" - "github.com/bindoffice/bind-store/pkg/auth" + xhttp "github.com/bindoffice/bindstore/cmd/http" + "github.com/bindoffice/bindstore/pkg/auth" ) // AWS Signature Version '4' constants. diff --git a/cmd/storage-errors.go b/cmd/storage-errors.go index b9959fa..3cb1d80 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/bind-store/issues") +var errUnexpected = StorageErr("unexpected error, please report this issue at https://github.com/bindoffice/bindstore/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 691d5be..3dd4109 100644 --- a/cmd/storage-rest-client.go +++ b/cmd/storage-rest-client.go @@ -31,11 +31,11 @@ import ( "sync" "time" - "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" + "github.com/bindoffice/bindstore/cmd/http" + xhttp "github.com/bindoffice/bindstore/cmd/http" + "github.com/bindoffice/bindstore/cmd/logger" + "github.com/bindoffice/bindstore/cmd/rest" + xnet "github.com/bindoffice/bindstore/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 865540e..b39ab39 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/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" + "github.com/bindoffice/bindstore/cmd/config" + xhttp "github.com/bindoffice/bindstore/cmd/http" + xjwt "github.com/bindoffice/bindstore/cmd/jwt" + "github.com/bindoffice/bindstore/cmd/logger" + xnet "github.com/bindoffice/bindstore/pkg/net" ) var errDiskStale = errors.New("disk stale") diff --git a/cmd/storage-rest_test.go b/cmd/storage-rest_test.go index 84c5292..33d98d9 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/bind-store/cmd/config" - xnet "github.com/bindoffice/bind-store/pkg/net" + "github.com/bindoffice/bindstore/cmd/config" + xnet "github.com/bindoffice/bindstore/pkg/net" ) /////////////////////////////////////////////////////////////////////////////// diff --git a/cmd/streaming-signature-v4.go b/cmd/streaming-signature-v4.go index e39139e..d5fbc43 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/bind-store/cmd/http" - "github.com/bindoffice/bind-store/pkg/auth" + xhttp "github.com/bindoffice/bindstore/cmd/http" + "github.com/bindoffice/bindstore/pkg/auth" ) // Streaming AWS Signature Version '4' constants. diff --git a/cmd/sts-datatypes.go b/cmd/sts-datatypes.go index 9f12c63..15b2341 100644 --- a/cmd/sts-datatypes.go +++ b/cmd/sts-datatypes.go @@ -19,7 +19,7 @@ package cmd import ( "encoding/xml" - "github.com/bindoffice/bind-store/pkg/auth" + "github.com/bindoffice/bindstore/pkg/auth" ) // AssumedRoleUser - The identifiers for the temporary security credentials that diff --git a/cmd/sts-errors.go b/cmd/sts-errors.go index 0637fb5..7f03780 100644 --- a/cmd/sts-errors.go +++ b/cmd/sts-errors.go @@ -21,8 +21,8 @@ import ( "encoding/xml" "net/http" - xhttp "github.com/bindoffice/bind-store/cmd/http" - "github.com/bindoffice/bind-store/cmd/logger" + xhttp "github.com/bindoffice/bindstore/cmd/http" + "github.com/bindoffice/bindstore/cmd/logger" ) // writeSTSErrorRespone writes error headers diff --git a/cmd/sts-handlers.go b/cmd/sts-handlers.go index 399ec3a..5c61046 100644 --- a/cmd/sts-handlers.go +++ b/cmd/sts-handlers.go @@ -25,12 +25,12 @@ import ( "strings" "github.com/gorilla/mux" - "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" + "github.com/bindoffice/bindstore/cmd/config/identity/openid" + xhttp "github.com/bindoffice/bindstore/cmd/http" + "github.com/bindoffice/bindstore/cmd/logger" + "github.com/bindoffice/bindstore/pkg/auth" + iampolicy "github.com/bindoffice/bindstore/pkg/iam/policy" + "github.com/bindoffice/bindstore/pkg/wildcard" ) const ( diff --git a/cmd/test-utils_test.go b/cmd/test-utils_test.go index cf79a4a..894ff1e 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/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" + "github.com/bindoffice/bindstore/cmd/config" + "github.com/bindoffice/bindstore/cmd/crypto" + xhttp "github.com/bindoffice/bindstore/cmd/http" + "github.com/bindoffice/bindstore/cmd/logger" + "github.com/bindoffice/bindstore/cmd/rest" + "github.com/bindoffice/bindstore/pkg/auth" + "github.com/bindoffice/bindstore/pkg/bucket/policy" + "github.com/bindoffice/bindstore/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/bind-store/pull/2074 . + // th stack trace can be found here https://github.com/bindoffice/bindstore/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/bind-store/pull/2074 . + // th stack trace can be found here https://github.com/bindoffice/bindstore/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 15e3ce8..06d5968 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/bind-store/pkg/color" + "github.com/bindoffice/bindstore/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 378e547..6f2d6dd 100644 --- a/cmd/update-notifier_test.go +++ b/cmd/update-notifier_test.go @@ -22,7 +22,7 @@ import ( "testing" "time" - "github.com/bindoffice/bind-store/pkg/color" + "github.com/bindoffice/bindstore/pkg/color" ) // Tests update notifier string builder. diff --git a/cmd/update.go b/cmd/update.go index 23db175..5059ed1 100644 --- a/cmd/update.go +++ b/cmd/update.go @@ -34,10 +34,10 @@ import ( "strings" "time" - 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" + xhttp "github.com/bindoffice/bindstore/cmd/http" + "github.com/bindoffice/bindstore/cmd/logger" + "github.com/bindoffice/bindstore/pkg/env" + xnet "github.com/bindoffice/bindstore/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/bind-store/issues. +// https://github.com/bindoffice/bindstore/issues. func getUserAgent(mode string) string { userAgentParts := []string{} diff --git a/cmd/utils.go b/cmd/utils.go index d821ba6..2059e49 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/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" + xhttp "github.com/bindoffice/bindstore/cmd/http" + "github.com/bindoffice/bindstore/cmd/logger" + "github.com/bindoffice/bindstore/cmd/rest" + "github.com/bindoffice/bindstore/pkg/certs" + "github.com/bindoffice/bindstore/pkg/handlers" + "github.com/bindoffice/bindstore/pkg/madmin" "golang.org/x/net/http2" ) diff --git a/cmd/web-handler-context.go b/cmd/web-handler-context.go index f3d58f1..ec109c9 100644 --- a/cmd/web-handler-context.go +++ b/cmd/web-handler-context.go @@ -22,8 +22,8 @@ import ( "fmt" "net/http" - "github.com/bindoffice/bind-store/cmd/logger" - "github.com/bindoffice/bind-store/pkg/handlers" + "github.com/bindoffice/bindstore/cmd/logger" + "github.com/bindoffice/bindstore/pkg/handlers" ) const ( diff --git a/cmd/web-handler-context_test.go b/cmd/web-handler-context_test.go index 4f5b85c..903aaa8 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/bind-store/cmd/logger" + "github.com/bindoffice/bindstore/cmd/logger" ) func TestKeyValueMap(t *testing.T) { diff --git a/cmd/web-handlers.go b/cmd/web-handlers.go index e20b741..3c78015 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/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" + "github.com/bindoffice/bindstore/cmd/config/dns" + "github.com/bindoffice/bindstore/cmd/config/identity/openid" + "github.com/bindoffice/bindstore/cmd/crypto" + xhttp "github.com/bindoffice/bindstore/cmd/http" + "github.com/bindoffice/bindstore/cmd/logger" + "github.com/bindoffice/bindstore/pkg/auth" + "github.com/bindoffice/bindstore/pkg/bucket/lifecycle" + objectlock "github.com/bindoffice/bindstore/pkg/bucket/object/lock" + "github.com/bindoffice/bindstore/pkg/bucket/policy" + "github.com/bindoffice/bindstore/pkg/bucket/replication" + "github.com/bindoffice/bindstore/pkg/etag" + "github.com/bindoffice/bindstore/pkg/event" + "github.com/bindoffice/bindstore/pkg/handlers" + "github.com/bindoffice/bindstore/pkg/hash" + iampolicy "github.com/bindoffice/bindstore/pkg/iam/policy" + "github.com/bindoffice/bindstore/pkg/ioutil" + "github.com/bindoffice/bindstore/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 c0bf0c1..6f535c1 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/bind-store/cmd/jwt" - "github.com/bindoffice/bind-store/pkg/hash" + xjwt "github.com/bindoffice/bindstore/cmd/jwt" + "github.com/bindoffice/bindstore/pkg/hash" ) // Implement a dummy flush writer. diff --git a/cmd/web-router.go b/cmd/web-router.go index 1e3360f..a86c148 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/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" + "github.com/bindoffice/bindstore/browser" + "github.com/bindoffice/bindstore/cmd/logger" + jsonrpc "github.com/bindoffice/bindstore/pkg/rpc" + "github.com/bindoffice/bindstore/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 b3b14f7..a589aa6 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/bind-store/pkg/trace" + trace "github.com/bindoffice/bindstore/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 43ced3a..4cf648d 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/bind-store/cmd/logger" + "github.com/bindoffice/bindstore/cmd/logger" ) // XL constants. diff --git a/cmd/xl-storage-format-v2.go b/cmd/xl-storage-format-v2.go index 4f19271..3f7acf2 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/bind-store/cmd/http" - "github.com/bindoffice/bind-store/cmd/logger" + xhttp "github.com/bindoffice/bindstore/cmd/http" + "github.com/bindoffice/bindstore/cmd/logger" "github.com/tinylib/msgp/msgp" ) diff --git a/cmd/xl-storage.go b/cmd/xl-storage.go index 207680a..b75305c 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/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" + "github.com/bindoffice/bindstore/cmd/config" + "github.com/bindoffice/bindstore/cmd/config/storageclass" + "github.com/bindoffice/bindstore/cmd/logger" + "github.com/bindoffice/bindstore/pkg/bucket/lifecycle" + "github.com/bindoffice/bindstore/pkg/color" + "github.com/bindoffice/bindstore/pkg/console" + "github.com/bindoffice/bindstore/pkg/disk" + "github.com/bindoffice/bindstore/pkg/env" + xioutil "github.com/bindoffice/bindstore/pkg/ioutil" ) const ( diff --git a/cmd/xl-storage_test.go b/cmd/xl-storage_test.go index 6f44973..f284b9f 100644 --- a/cmd/xl-storage_test.go +++ b/cmd/xl-storage_test.go @@ -30,7 +30,7 @@ import ( "syscall" "testing" - "github.com/bindoffice/bind-store/cmd/config/storageclass" + "github.com/bindoffice/bindstore/cmd/config/storageclass" ) func TestCheckPathLength(t *testing.T) { diff --git a/docker-buildx.sh b/docker-buildx.sh index fea0840..e1e7c3d 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 "bindoffice/bind-store:latest" \ + --build-arg RELEASE="${release}" -t "bindoffice/bindstore: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 "bindoffice/bind-store:${release}" \ + --build-arg RELEASE="${release}" -t "bindoffice/bindstore:${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 8e2df74..3d2be31 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 bind-store. -if [ "${1}" != "bind-store" ]; then +# If command starts with an option, prepend bindstore. +if [ "${1}" != "bindstore" ]; then if [ -n "${1}" ]; then - set -- bind-store "$@" + set -- bindstore "$@" fi fi diff --git a/dockerscripts/verify-bind-store.sh b/dockerscripts/verify-bindstore.sh similarity index 75% rename from dockerscripts/verify-bind-store.sh rename to dockerscripts/verify-bindstore.sh index c77f3ba..d89bb9f 100755 --- a/dockerscripts/verify-bind-store.sh +++ b/dockerscripts/verify-bindstore.sh @@ -17,14 +17,14 @@ set -e -if [ ! -x "/usr/bin/bind-store" ]; then - echo "bind-store executable binary not found, refusing to proceed" +if [ ! -x "/usr/bin/bindstore" ]; then + echo "bindstore executable binary not found, refusing to proceed" exit 1 fi verify_sha256sum() { echo "verifying binary checksum" - echo "$(awk '{print $1}' /usr/bin/bind-store.sha256sum) /usr/bin/bind-store" | sha256sum -c + echo "$(awk '{print $1}' /usr/bin/bindstore.sha256sum) /usr/bin/bindstore" | sha256sum -c } verify_signature() { @@ -33,7 +33,7 @@ verify_signature() { return fi echo "verifying binary signature" - minisign -VQm /usr/bin/bind-store -P RWTx5Zr1tiHQLwG9keckT0c45M3AGeHD6IvimQHpyRywVWGbP1aVSGav + minisign -VQm /usr/bin/bindstore -P RWTx5Zr1tiHQLwG9keckT0c45M3AGeHD6IvimQHpyRywVWGbP1aVSGav } main() { diff --git a/docs/bigdata/README.md b/docs/bigdata/README.md index 30b289d..2b424fb 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/bind-store/blob/master/docs/bigdata/images/image1.png?raw=true "cloud native architecture") +![cloud-native](https://github.com/bindoffice/bindstore/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/bind-store/blob/master/docs/bigdata/images/image3.png?raw=true "ambari login") +![ambari-login](https://github.com/bindoffice/bindstore/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/bind-store/blob/master/docs/bigdata/images/image2.png?raw=true "hdfs advanced configs") +![hdfs-configs](https://github.com/bindoffice/bindstore/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/bind-store/blob/master/docs/bigdata/images/image5.png?raw=true "custom core-site") +![s3a-config](https://github.com/bindoffice/bindstore/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/bind-store/blob/master/docs/bigdata/images/image7.png?raw=true "hdfs restart services") +![hdfs-services](https://github.com/bindoffice/bindstore/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/bind-store/blob/master/docs/bigdata/images/image6.png?raw=true "spark config") +![spark-config](https://github.com/bindoffice/bindstore/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/bind-store/blob/master/docs/bigdata/images/image9.png?raw=true "spark defaults") +![spark-config](https://github.com/bindoffice/bindstore/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/bind-store/blob/master/docs/bigdata/images/image12.png?raw=true "spark restart services") +![spark-config](https://github.com/bindoffice/bindstore/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/bind-store/blob/master/docs/bigdata/images/image10.png?raw=true "hive advanced config") +![hive-config](https://github.com/bindoffice/bindstore/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/bind-store/blob/master/docs/bigdata/images/image11.png?raw=true "hive advanced config") +![hive-config](https://github.com/bindoffice/bindstore/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/bind-store/blob/master/docs/bigdata/images/image13.png?raw=true "hive advanced custom config") +![hive-config](https://github.com/bindoffice/bindstore/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/bind-store/blob/master/docs/bigdata/images/image14.png?raw=true "restart hive services") +![hive-config](https://github.com/bindoffice/bindstore/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 7dbe161..1db0084 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/bind-store/master/docs/bucket/quota/bucketquota.png) +![quota](https://raw.githubusercontent.com/bindoffice/bindstore/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 7e65543..5179f1d 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/bind-store/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/bindstore/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/bind-store/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/bindstore/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 7bddcc6..ffffecd 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/bind-store/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/bindstore/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/bind-store/master/docs/bucket/replication/PUT_bucket_replication.png) +![put](https://raw.githubusercontent.com/bindoffice/bindstore/master/docs/bucket/replication/PUT_bucket_replication.png) -![head](https://raw.githubusercontent.com/bindoffice/bind-store/master/docs/bucket/replication/HEAD_bucket_replication.png) +![head](https://raw.githubusercontent.com/bindoffice/bindstore/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/bind-store/master/docs/bucket/replication/DELETE_bucket_replication.png) +![delete](https://raw.githubusercontent.com/bindoffice/bindstore/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/bind-store/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/bindstore/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/bind-store/master/docs/bucket/replication/DESIGN.md) +- [MinIO Bucket Replication Design](https://raw.githubusercontent.com/bindoffice/bindstore/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 9669c31..71433d0 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/bind-store/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/bindstore/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 d9d2c64..f090358 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/bind-store/master/docs/bucket/versioning/versioning_PUT_versionEnabled.png) +![put](https://raw.githubusercontent.com/bindoffice/bindstore/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/bind-store/master/docs/bucket/versioning/versioning_DELETE_versionEnabled.png) +![delete](https://raw.githubusercontent.com/bindoffice/bindstore/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/bind-store/master/docs/bucket/versioning/versioning_GET_versionEnabled.png) +![get](https://raw.githubusercontent.com/bindoffice/bindstore/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/bind-store/master/docs/bucket/versioning/versioning_GET_versionEnabled_id.png) +![get_version_id](https://raw.githubusercontent.com/bindoffice/bindstore/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/bind-store/master/docs/bucket/versioning/versioning_DELETE_versionEnabled_id.png) +![delete_version_id](https://raw.githubusercontent.com/bindoffice/bindstore/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 4231c7c..91a1ee5 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/bind-store/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/bindstore/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/bind-store/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/bindstore/blob/master/docs/throttle/README.md). ``` KEY: diff --git a/docs/deployment/kernel-tuning/README.md b/docs/deployment/kernel-tuning/README.md index 57510e7..6883978 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/bind-store/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/bindstore/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 d339914..1230152 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/bind-store/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/bindstore/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 dfd8d2b..b0b80a1 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/bind-store/blob/master/docs/disk-caching/DESIGN.md) +- [Disk cache design](https://github.com/bindoffice/bindstore/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 72ee979..efada5f 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/bind-store/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/bindstore/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 1074fa2..49b0601 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/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. +Distributed MinIO provides protection against multiple node/drive failures and [bit rot](https://github.com/bindoffice/bindstore/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/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). +Refer to sizing guide for more understanding on default values chosen depending on your erasure stripe size [here](https://github.com/bindoffice/bindstore/blob/master/docs/distributed/SIZING.md). Parity settings can be changed using [storage classes](https://github.com/bindoffice/bindstore/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/bind-store/blob/master/docs/screenshots/Architecture-diagram_distributed_nm.png?raw=true) +![Distributed MinIO, n nodes with m drives each](https://github.com/bindoffice/bindstore/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 f1cd88d..1df0734 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/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. +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/bindstore/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/bind-store/blob/master/docs/screenshots/erasure-code.jpg?raw=true) +![Erasure](https://github.com/bindoffice/bindstore/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 904f1fe..42e1f4c 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/bind-store/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/bindstore/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 e561e74..ee12aaa 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/bind-store/blob/master/docs/federation/lookup/bucket-lookup.png?raw=true) +![bucket-lookup](https://github.com/bindoffice/bindstore/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 abb43ca..8b65477 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/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) +- [NAS](https://github.com/bindoffice/bindstore/blob/master/docs/gateway/nas.md) +- [Microsoft Azure Blob Storage](https://github.com/bindoffice/bindstore/blob/master/docs/gateway/azure.md) +- [HDFS](https://github.com/bindoffice/bindstore/blob/master/docs/gateway/hdfs.md) +- [S3](https://github.com/bindoffice/bindstore/blob/master/docs/gateway/s3.md) +- [Google Cloud Storage](https://github.com/bindoffice/bindstore/blob/master/docs/gateway/gcs.md) diff --git a/docs/gateway/azure.md b/docs/gateway/azure.md index 7fae1f9..afa1105 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/bind-store/blob/master/docs/screenshots/minio-browser-gateway.png?raw=true) +![Screenshot](https://github.com/bindoffice/bindstore/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 9f519dd..aa70ae7 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/bind-store/blob/master/docs/screenshots/minio-browser-gateway.png?raw=true) +![Screenshot](https://github.com/bindoffice/bindstore/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 0e46d04..79fb915 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/bind-store/master/docs/screenshots/minio-browser-gateway.png) +![Screenshot](https://raw.githubusercontent.com/bindoffice/bindstore/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 39de149..a310930 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/bind-store/master/docs/screenshots/minio-browser-gateway.png) +![Screenshot](https://raw.githubusercontent.com/bindoffice/bindstore/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 2b7f30b..15e0aeb 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/bind-store/blob/master/docs/screenshots/minio-browser-gateway.png?raw=true) +![Screenshot](https://github.com/bindoffice/bindstore/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 b088a13..2a94574 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/bind-store/master/docs/integrations/veeam/screenshots/object_store_immutable_days.png) +![Choose Immutability Days for Object Store](https://raw.githubusercontent.com/bindoffice/bindstore/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/bind-store/master/docs/integrations/veeam/screenshots/backup_job_immutable_days.png) +![Choose Immutability Options for Backups](https://raw.githubusercontent.com/bindoffice/bindstore/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/bind-store/master/docs/integrations/veeam/screenshots/1_add_object_store.png) +![Adding Object Storage to VBO Step 1](https://raw.githubusercontent.com/bindoffice/bindstore/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/bind-store/master/docs/integrations/veeam/screenshots/6_add_sobr_with_object_store.png) +![Adding Object Storage to VBO Backup Repository](https://raw.githubusercontent.com/bindoffice/bindstore/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 070b943..671dc93 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/bind-store/blob/master/docs/metrics/healthcheck/README.md). +Read more on how to use these endpoints in [MinIO healthcheck guide](https://github.com/bindoffice/bindstore/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/bind-store/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/bindstore/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 b465290..d0caa8e 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/bind-store/blob/master/docs/metrics/prometheus/grafana/README.md). +Refer the [document here to setup Grafana with MinIO prometheus metrics](https://github.com/bindoffice/bindstore/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/bind-store/blob/master/docs/metrics/prometheus/list.md) +[The list of metrics reported can be here](https://github.com/bindoffice/bindstore/blob/master/docs/metrics/prometheus/list.md) diff --git a/docs/metrics/prometheus/grafana/README.md b/docs/metrics/prometheus/grafana/README.md index eb34de0..44a167a 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/bind-store/blob/master/docs/metrics/prometheus/README.md). +- Prometheus and MinIO configured as explained in [document here](https://github.com/bindoffice/bindstore/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/bind-store/master/docs/metrics/prometheus/grafana/minio-overview.json). +Refer to the dashboard [json file here](https://raw.githubusercontent.com/bindoffice/bindstore/master/docs/metrics/prometheus/grafana/minio-overview.json). -![Grafana](https://raw.githubusercontent.com/bindoffice/bind-store/master/docs/metrics/prometheus/grafana/grafana-minio.png) +![Grafana](https://raw.githubusercontent.com/bindoffice/bindstore/master/docs/metrics/prometheus/grafana/grafana-minio.png) diff --git a/docs/minio-limits.md b/docs/minio-limits.md index f529c66..dc25ab8 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/bind-store/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/bindstore/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 ffe1c4f..8ff39a6 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/bind-store/blob/master/docs/screenshots/Example-1.jpg?raw=true) +![Example-1](https://github.com/bindoffice/bindstore/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/bind-store/blob/master/docs/screenshots/Example-2.jpg?raw=true) +![Example-2](https://github.com/bindoffice/bindstore/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/bind-store/blob/master/docs/screenshots/Example-3.jpg?raw=true) +![Example-3](https://github.com/bindoffice/bindstore/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 c5b8ec8..d3ab0a8 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/bind-store/blob/master/docs/sts/etcd.md) +- Configure etcd (optional needed only in gateway or federation mode) - [Etcd V3 Quickstart Guide](https://github.com/bindoffice/bindstore/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 a305601..d2ed99b 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/bind-store/blob/master/docs/screenshots/Minio_Cloud_Native_Arch.jpg?raw=true) +![Cloud-native](https://github.com/bindoffice/bindstore/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 d474ee0..817e213 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/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 +To deploy Distributed MinIO on Docker Compose, please download [docker-compose.yaml](https://github.com/bindoffice/bindstore/blob/master/docs/orchestration/docker-compose/docker-compose.yaml?raw=true) and [nginx.conf](https://github.com/bindoffice/bindstore/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 1291ab6..80c0b11 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/bind-store/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/bindstore/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 ba8e10c..7f4fc8e 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/bind-store/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/bindstore/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 c4421d2..fb7d8dd 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/bind-store/blob/master/docs/shared-backend/DESIGN.md). +Read more about the MinIO shared mode design [here](https://github.com/bindoffice/bindstore/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 623bca8..7d9a14f 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/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. | +| [**Client grants**](https://github.com/bindoffice/bindstore/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/bindstore/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/bindstore/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/bindstore/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/bind-store/blob/master/docs/sts/assume-role.md) -> - [**AD/LDAP**](https://github.com/bindoffice/bind-store/blob/master/docs/sts/ldap.md) +> - [**AssumeRole**](https://github.com/bindoffice/bindstore/blob/master/docs/sts/assume-role.md) +> - [**AD/LDAP**](https://github.com/bindoffice/bindstore/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/bind-store/blob/master/docs/sts/assume-role.md) +> NOTE: If you are interested in AssumeRole API only, skip to [here](https://github.com/bindoffice/bindstore/blob/master/docs/sts/assume-role.md) ### Prerequisites -- [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) +- [Configuring keycloak](https://github.com/bindoffice/bindstore/blob/master/docs/sts/keycloak.md) +- [Configuring etcd (optional needed only in gateway or federation mode)](https://github.com/bindoffice/bindstore/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 c275aa9..3bbac7a 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/bind-store/blob/master/docs/sts/keycloak.md) +> Obtaining client ID and secrets follow [Keycloak configuring documentation](https://github.com/bindoffice/bindstore/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 f06474a..b3a0045 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/bind-store/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/bindstore/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/bind-store/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/bindstore/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 ce1b01c..eed97fd 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/bind-store/master/docs/sts/ldap.go): +You can make sure it works appropriately using our [example program](https://raw.githubusercontent.com/bindoffice/bindstore/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 83367f9..7117219 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/bind-store/pkg/auth" + "github.com/bindoffice/bindstore/pkg/auth" ) // AssumedRoleUser - The identifiers for the temporary security credentials that diff --git a/docs/sts/wso2.md b/docs/sts/wso2.md index 48c6a1c..ea9ab2d 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/bind-store/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/bindstore/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 1bd94ad..bdfd0aa 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/bind-store/tree/master/docs/tls/kubernetes) +* [TLS Configuration for MinIO server on Kubernetes](https://github.com/bindoffice/bindstore/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 2604f7d..f857741 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/bind-store/tree/master/docs/tls#3-generate-self-signed-certificates). +For testing purposes, here is [how to create self-signed certificates](https://github.com/bindoffice/bindstore/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 c6a563c..0a931a6 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/bind-store/master/docs/zh_CN/bucket/quota/bucketquota.png) +![quota](https://raw.githubusercontent.com/bindoffice/bindstore/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 1e0d3c7..1c0e6b8 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/bind-store/master/docs/zh_CN/bucket/replication/DELETE_bucket_replication.png) +![delete](https://raw.githubusercontent.com/bindoffice/bindstore/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/bind-store/master/docs/zh_CN/bucket/replication/PUT_bucket_replication.png) +![put](https://raw.githubusercontent.com/bindoffice/bindstore/master/docs/zh_CN/bucket/replication/PUT_bucket_replication.png) -![head](https://raw.githubusercontent.com/bindoffice/bind-store/master/docs/zh_CN/bucket/replication/HEAD_bucket_replication.png) +![head](https://raw.githubusercontent.com/bindoffice/bindstore/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 82061a0..9e57625 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/bind-store/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/bindstore/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 a73d1a0..c782764 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/bind-store/master/docs/zh_CN/bucket/versioning/versioning_PUT_versionEnabled.png) +![put](https://raw.githubusercontent.com/bindoffice/bindstore/master/docs/zh_CN/bucket/versioning/versioning_PUT_versionEnabled.png) 这意味着对对象的意外覆盖或删除进行了保护,允许检索对象的先前版本。 删除对象时,所有版本都保留在存储桶中,MinIO添加删除标记,如下所示: -![delete](https://raw.githubusercontent.com/bindoffice/bind-store/master/docs/zh_CN/bucket/versioning/versioning_DELETE_versionEnabled.png) +![delete](https://raw.githubusercontent.com/bindoffice/bindstore/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/bind-store/master/docs/zh_CN/bucket/versioning/versioning_GET_versionEnabled.png) +![get](https://raw.githubusercontent.com/bindoffice/bindstore/master/docs/zh_CN/bucket/versioning/versioning_GET_versionEnabled.png) 通过指定如下所示的版本ID进行GET请求,你可以检索特定的对象版本`fae684da`。 -![get_version_id](https://raw.githubusercontent.com/bindoffice/bind-store/master/docs/zh_CN/bucket/versioning/versioning_GET_versionEnabled_id.png) +![get_version_id](https://raw.githubusercontent.com/bindoffice/bindstore/master/docs/zh_CN/bucket/versioning/versioning_GET_versionEnabled_id.png) 要永久删除对象,你需要指定要删除的版本,只有具有适当权限的用户才能永久删除版本。如下所示,使用特定版本ID调用的DELETE请求从存储桶中永久删除一个对象。带版本id的DELETE请求不会添加删除标记。 -![delete_version_id](https://raw.githubusercontent.com/bindoffice/bind-store/master/docs/zh_CN/bucket/versioning/versioning_DELETE_versionEnabled_id.png) +![delete_version_id](https://raw.githubusercontent.com/bindoffice/bindstore/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 849ef10..013b279 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/bind-store/blob/master/docs/zh_CN/erasure/storage-class/README.md)了解有关MinIO服务器存储类型的更多信息。 +默认情况下,标准存储类型的奇偶校验值设置为N/2,低冗余的存储类型奇偶校验值设置为2。在[此处](https://github.com/bindoffice/bindstore/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/bind-store/blob/master/docs/zh_CN/throttle/README.md)阅读有关MinIO服务器中限制限制的更多信息。 +默认情况下,服务器/集群同时处理的并发请求数没有限制。 但是,可以使用API子系统强加这种限制。 在[此处](https://github.com/bindoffice/bindstore/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 b8b4353..3ed4591 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/bind-store/blob/master/docs/deployment/kernel-tuning/sysctl.sh)到你的服务器上使用。 +这儿有一份针对MinIO服务器内核调优的建议, 你可以拷贝这个[脚本](https://github.com/bindoffice/bindstore/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 3eb613c..5a46fd9 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/bind-store/blob/master/docs/zh_CN/disk-caching/README.md)。 +本文档介绍了一些基本假设和设计方法,以及磁盘缓存功能的限制。如果您希望入门使用磁盘缓存,建议您先阅读[入门文档](https://github.com/bindoffice/bindstore/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 eee4a51..85b2936 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/bind-store/blob/master/docs/zh_CN/disk-caching/DESIGN.md) +- [磁盘缓存设计](https://github.com/bindoffice/bindstore/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 b969141..df5e0c4 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/bind-store/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/bindstore/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/bind-store/tree/master/docs/zh_CN/erasure/storage-class)自定义每个对象的奇偶分布。 +你还可以使用[存储类型](https://github.com/bindoffice/bindstore/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/bind-store/blob/master/docs/screenshots/Architecture-diagram_distributed_nm.png?raw=true) +![Distributed MinIO, n nodes with m drives each](https://github.com/bindoffice/bindstore/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 80ebe04..f063bf2 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/bind-store/tree/master/docs/zh_CN/erasure/storage-class) 自定义配置, 但是我们还是推荐N/2个数据和奇偶校验块, 因为它可以确保对硬盘故障提供最佳保护。 +默认情况下, MinIO 将对象拆分成N/2数据和N/2 奇偶校验盘. 虽然你可以通过 [存储类型](https://github.com/bindoffice/bindstore/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/bind-store/blob/master/docs/screenshots/erasure-code.jpg?raw=true) +![Erasure](https://github.com/bindoffice/bindstore/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 f1986e5..fb5609d 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/bind-store/tree/master/docs/zh_CN/config#存储类型) 获取更多详细信息。 +也可以通过`mc admin config` get/set 命令来设置存储类型。参考 [存储类型](https://github.com/bindoffice/bindstore/tree/master/docs/zh_CN/config#存储类型) 获取更多详细信息。 *注意* diff --git a/docs/zh_CN/gateway/README.md b/docs/zh_CN/gateway/README.md index 702fb53..f938ac7 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/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_ +- [Microsoft Azure Blob Storage](https://github.com/bindoffice/bindstore/blob/master/docs/gateway/azure.md) +- [Google Cloud Storage](https://github.com/bindoffice/bindstore/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 0526bf5..af52d74 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/bind-store/blob/master/docs/screenshots/minio-browser-gateway.png?raw=true) +![截图](https://github.com/bindoffice/bindstore/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 6d3c3b5..fbee4b0 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/bind-store/blob/master/docs/screenshots/minio-browser-gateway.png?raw=true) +![Screenshot](https://github.com/bindoffice/bindstore/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 3ab1da9..e4b7acc 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/bind-store/master/docs/screenshots/minio-browser-gateway.png) +![Screenshot](https://raw.githubusercontent.com/bindoffice/bindstore/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 e85e0cd..06d597c 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/bind-store/blob/master/docs/large-bucket/DESIGN.md)。 +如果一个MinIO存储桶可以扩展到多个纠删码部署集合,我们就称之为超大存储桶。不需要做任何特殊设置,它就可以帮助你创建PB级的存储系统。为了超大存储桶支持,你就可以在部署MinIO服务时使用超过16块磁盘。MinIO在内部创建了多个纠删码集合,这些集合又进一步组合成一个命名空间。本文将对超大存储桶的部署做一个简单的介绍。想了解更多,请参考[设计文档](https://github.com/bindoffice/bindstore/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 a0765f3..40c19c5 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/bind-store/issues)上提issue。 +我们认为下列AWS S3的API有些冗余或者说用处不大,因此我们在minio中没有实现这些接口。如果您有不同意见,欢迎在[github](https://github.com/bindoffice/bindstore/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 14de26c..b973ce0 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/bind-store/blob/master/docs/screenshots/Example-1.jpg?raw=true) +![示例1](https://github.com/bindoffice/bindstore/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/bind-store/blob/master/docs/screenshots/Example-2.jpg?raw=true) +![示例2](https://github.com/bindoffice/bindstore/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/bind-store/blob/master/docs/screenshots/Example-3.jpg?raw=true) +![示例3](https://github.com/bindoffice/bindstore/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 c17d5f7..f270717 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/bind-store/blob/master/docs/screenshots/Minio_Cloud_Native_Arch.jpg?raw=true) +![Cloud-native](https://github.com/bindoffice/bindstore/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 79df5a4..f5b47c0 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/bind-store/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/bindstore/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 3b1bc60..47df78e 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/bind-store/blob/master/docs/orchestration/docker-swarm/docker-compose-secrets.yaml?raw=true) ,然后运行下面的命令 +在你的Swarm master上下载[Docker Compose file](https://github.com/bindoffice/bindstore/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 f7f43ef..5eeedc9 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/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 +kubectl create -f https://github.com/bindoffice/bindstore/blob/master/docs/orchestration/kubernetes-yaml/minio-standalone-pvc.yaml?raw=true +kubectl create -f https://github.com/bindoffice/bindstore/blob/master/docs/orchestration/kubernetes-yaml/minio-standalone-deployment.yaml?raw=true +kubectl create -f https://github.com/bindoffice/bindstore/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/bind-store/blob/master/docs/orchestration/kubernetes-yaml/minio-standalone-pvc.yaml?raw=true +kubectl create -f https://github.com/bindoffice/bindstore/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/bind-store/blob/master/docs/orchestration/kubernetes-yaml/minio-standalone-deployment.yaml?raw=true +kubectl create -f https://github.com/bindoffice/bindstore/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/bind-store/blob/master/docs/orchestration/kubernetes-yaml/minio-standalone-service.yaml?raw=true +kubectl create -f https://github.com/bindoffice/bindstore/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/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 +kubectl create -f https://github.com/bindoffice/bindstore/blob/master/docs/orchestration/kubernetes-yaml/minio-distributed-headless-service.yaml?raw=true +kubectl create -f https://github.com/bindoffice/bindstore/blob/master/docs/orchestration/kubernetes-yaml/minio-distributed-statefulset.yaml?raw=true +kubectl create -f https://github.com/bindoffice/bindstore/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/bind-store/blob/master/docs/orchestration/kubernetes-yaml/minio-distributed-headless-service.yaml?raw=true +$ kubectl create -f https://github.com/bindoffice/bindstore/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/bind-store/blob/master/docs/orchestration/kubernetes-yaml/minio-distributed-statefulset.yaml?raw=true +$ kubectl create -f https://github.com/bindoffice/bindstore/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/bind-store/blob/master/docs/orchestration/kubernetes-yaml/minio-distributed-service.yaml?raw=true +$ kubectl create -f https://github.com/bindoffice/bindstore/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/bind-store/blob/master/docs/gateway/gcs.md#create-service-account-key-for-gcs-and-get-the-credentials-file)描述的步骤创建Google云服务认证凭据文件。 +按照 [这里](https://github.com/bindoffice/bindstore/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/bind-store/blob/master/docs/orchestration/kubernetes-yaml/minio-gcs-gateway-deployment.yaml?raw=true +wget https://github.com/bindoffice/bindstore/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/bind-store/blob/master/docs/orchestration/kubernetes-yaml/minio-gcs-gateway-service.yaml?raw=true +kubectl create -f https://github.com/bindoffice/bindstore/blob/master/docs/orchestration/kubernetes-yaml/minio-gcs-gateway-service.yaml?raw=true ``` ### 创建GCS凭据 `凭据`旨在保存敏感信息,例如密码,OAuth令牌和ssh密钥。 将这些信息放在一个凭据中比将其逐字地放在pod定义或docker镜像中更安全,更灵活。 -按照 [这里](https://github.com/bindoffice/bind-store/blob/master/docs/gateway/gcs.md#create-service-account-key-for-gcs-and-get-the-credentials-file)描述的步骤创建Google云服务认证凭据文件。 +按照 [这里](https://github.com/bindoffice/bindstore/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/bind-store/blob/master/docs/orchestration/kubernetes-yaml/minio-gcs-gateway-deployment.yaml?raw=true +kubectl create -f https://github.com/bindoffice/bindstore/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/bind-store/blob/master/docs/orchestration/kubernetes-yaml/minio-gcs-gateway-service.yaml?raw=true +kubectl create -f https://github.com/bindoffice/bindstore/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 4d863f4..c78443c 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/bind-store/blob/master/docs/orchestration/kubernetes/README.md) ,通过`.yaml`文件来部署MinIO。 +- 你也可以浏览Kubernetes [MinIO示例](https://github.com/bindoffice/bindstore/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/bind-store/blob/master/docs/shared-backend/README.md)部署MinIO, 将`mode` 设为`shared`, +如需采用[shared mode](https://github.com/bindoffice/bindstore/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 a3ee795..b78f457 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/bind-store/blob/master/docs/shared-backend/DESIGN.md). +MinIO共享模式可以让你使用一个[NAS](https://en.wikipedia.org/wiki/Network-attached_storage) 做为多个MinIO服务的存储后端。我我们在设计时已经对多个MinIO服务之间的同步做了很多的处理。更多MinIO共享模式的设计文档,请访问[这里](https://github.com/bindoffice/bindstore/blob/master/docs/shared-backend/DESIGN.md). MinIO共享模式是为了解决在真实场景中存在的一些问题,而且不需要做额外的配置。 如果你有下列需求,则可以考虑MinIO共享模式 diff --git a/go.mod b/go.mod index b33e1ff..21dff65 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/bindoffice/bind-store +module github.com/bindoffice/bindstore go 1.25.11 diff --git a/main.go b/main.go index 32dc29f..5cf5863 100644 --- a/main.go +++ b/main.go @@ -16,19 +16,19 @@ /* * Below main package has canonical imports for 'go get' and 'go build' - * to work with all other clones of github.com/bindoffice/bind-store repository. For + * to work with all other clones of github.com/bindoffice/bindstore repository. For * more information refer https://golang.org/doc/go1.4#canonicalimports */ -package main // import "github.com/bindoffice/bind-store" +package main // import "github.com/bindoffice/bindstore" import ( "os" - bindstore "github.com/bindoffice/bind-store/cmd" + bindstore "github.com/bindoffice/bindstore/cmd" // Import gateway - _ "github.com/bindoffice/bind-store/cmd/gateway" + _ "github.com/bindoffice/bindstore/cmd/gateway" ) func main() { diff --git a/main_test.go b/main_test.go index a7c35d2..0c1ce06 100644 --- a/main_test.go +++ b/main_test.go @@ -26,8 +26,8 @@ import ( "syscall" "testing" - minio "github.com/bindoffice/bind-store/cmd" - _ "github.com/bindoffice/bind-store/cmd/gateway" + minio "github.com/bindoffice/bindstore/cmd" + _ "github.com/bindoffice/bindstore/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 bd0bfe5..a8d36c5 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/bind-store/cmd/jwt" + "github.com/bindoffice/bindstore/cmd/jwt" ) const ( diff --git a/pkg/bucket/bandwidth/monitor.go b/pkg/bucket/bandwidth/monitor.go index b8566bc..90d8744 100644 --- a/pkg/bucket/bandwidth/monitor.go +++ b/pkg/bucket/bandwidth/monitor.go @@ -21,7 +21,7 @@ import ( "sync" "time" - "github.com/bindoffice/bind-store/pkg/bandwidth" + "github.com/bindoffice/bindstore/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 0f0b3a4..bbe4e98 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/bind-store/pkg/bandwidth" + "github.com/bindoffice/bindstore/pkg/bandwidth" ) const ( diff --git a/pkg/bucket/object/lock/lock.go b/pkg/bucket/object/lock/lock.go index 372aaa3..fd16488 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/bind-store/cmd/logger" - "github.com/bindoffice/bind-store/pkg/env" + "github.com/bindoffice/bindstore/cmd/logger" + "github.com/bindoffice/bindstore/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 36fb548..a096f26 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/bind-store/cmd/http" + xhttp "github.com/bindoffice/bindstore/cmd/http" ) func TestParseMode(t *testing.T) { diff --git a/pkg/bucket/policy/action.go b/pkg/bucket/policy/action.go index 961725b..7a43d49 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/bind-store/pkg/bucket/policy/condition" + "github.com/bindoffice/bindstore/pkg/bucket/policy/condition" ) // Action - policy action. diff --git a/pkg/bucket/policy/condition/stringlikefunc.go b/pkg/bucket/policy/condition/stringlikefunc.go index d27ec05..345ec2f 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/bind-store/pkg/wildcard" + "github.com/bindoffice/bindstore/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 e795a3e..f915231 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/bind-store/pkg/bucket/policy/condition" + "github.com/bindoffice/bindstore/pkg/bucket/policy/condition" ) func TestPolicyIsAllowed(t *testing.T) { diff --git a/pkg/bucket/policy/principal.go b/pkg/bucket/policy/principal.go index 5f1f804..7c93411 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/bind-store/pkg/wildcard" + "github.com/bindoffice/bindstore/pkg/wildcard" ) // Principal - policy principal. diff --git a/pkg/bucket/policy/resource.go b/pkg/bucket/policy/resource.go index 5383963..5eccee3 100644 --- a/pkg/bucket/policy/resource.go +++ b/pkg/bucket/policy/resource.go @@ -20,8 +20,8 @@ import ( "encoding/json" "strings" - "github.com/bindoffice/bind-store/pkg/bucket/policy/condition" - "github.com/bindoffice/bind-store/pkg/wildcard" + "github.com/bindoffice/bindstore/pkg/bucket/policy/condition" + "github.com/bindoffice/bindstore/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 e97a0ad..52c6b69 100644 --- a/pkg/bucket/policy/statement.go +++ b/pkg/bucket/policy/statement.go @@ -20,7 +20,7 @@ import ( "encoding/json" "strings" - "github.com/bindoffice/bind-store/pkg/bucket/policy/condition" + "github.com/bindoffice/bindstore/pkg/bucket/policy/condition" ) // Statement - policy statement. diff --git a/pkg/bucket/policy/statement_test.go b/pkg/bucket/policy/statement_test.go index 611a78c..5d62041 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/bind-store/pkg/bucket/policy/condition" + "github.com/bindoffice/bindstore/pkg/bucket/policy/condition" ) func TestStatementIsAllowed(t *testing.T) { diff --git a/pkg/bucket/replication/destination.go b/pkg/bucket/replication/destination.go index c921c43..0fb309c 100644 --- a/pkg/bucket/replication/destination.go +++ b/pkg/bucket/replication/destination.go @@ -21,7 +21,7 @@ import ( "fmt" "strings" - "github.com/bindoffice/bind-store/pkg/wildcard" + "github.com/bindoffice/bindstore/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 c130663..280d7e9 100644 --- a/pkg/certs/certs_test.go +++ b/pkg/certs/certs_test.go @@ -25,7 +25,7 @@ import ( "testing" "time" - "github.com/bindoffice/bind-store/pkg/certs" + "github.com/bindoffice/bindstore/pkg/certs" ) func updateCerts(crt, key string) { diff --git a/pkg/cgroup/linux.go b/pkg/cgroup/linux.go index ab58eb1..46e4e08 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/bind-store/issues +// after 3.x, please open a github issue https://github.com/bindoffice/bindstore/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 52ba813..8fe81dc 100644 --- a/pkg/disk/disk_test.go +++ b/pkg/disk/disk_test.go @@ -23,7 +23,7 @@ import ( "os" "testing" - "github.com/bindoffice/bind-store/pkg/disk" + "github.com/bindoffice/bindstore/pkg/disk" ) func TestFree(t *testing.T) { diff --git a/pkg/disk/stat_linux.go b/pkg/disk/stat_linux.go index 8074f2e..d1640c7 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/bind-store/issues/8035 + // https://github.com/bindoffice/bindstore/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 5e66b7c..ab02964 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/bind-store/issues/8035 + // https://github.com/bindoffice/bindstore/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 37fa9e7..af81ef7 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/bind-store/issues/8035 + // https://github.com/bindoffice/bindstore/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 df07f2a..4834564 100644 --- a/pkg/dsync/drwmutex.go +++ b/pkg/dsync/drwmutex.go @@ -24,7 +24,7 @@ import ( "sync" "time" - "github.com/bindoffice/bind-store/pkg/console" + "github.com/bindoffice/bindstore/pkg/console" ) // Indicator if logging is enabled. diff --git a/pkg/dsync/drwmutex_test.go b/pkg/dsync/drwmutex_test.go index da7985c..ce06069 100644 --- a/pkg/dsync/drwmutex_test.go +++ b/pkg/dsync/drwmutex_test.go @@ -24,7 +24,7 @@ import ( "testing" "time" - . "github.com/bindoffice/bind-store/pkg/dsync" + . "github.com/bindoffice/bindstore/pkg/dsync" ) const ( diff --git a/pkg/dsync/dsync-server_test.go b/pkg/dsync/dsync-server_test.go index 1a2e428..8059db6 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/bind-store/pkg/dsync" + . "github.com/bindoffice/bindstore/pkg/dsync" ) const WriteLock = -1 diff --git a/pkg/dsync/dsync_test.go b/pkg/dsync/dsync_test.go index 4ddee63..b5be003 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/bind-store/pkg/dsync" - . "github.com/bindoffice/bind-store/pkg/dsync" + "github.com/bindoffice/bindstore/pkg/dsync" + . "github.com/bindoffice/bindstore/pkg/dsync" ) const numberOfNodes = 5 diff --git a/pkg/dsync/rpc-client-impl_test.go b/pkg/dsync/rpc-client-impl_test.go index f475d23..ee7b729 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/bind-store/pkg/dsync" + . "github.com/bindoffice/bindstore/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 3aa836e..d88f681 100644 --- a/pkg/event/rules.go +++ b/pkg/event/rules.go @@ -19,7 +19,7 @@ package event import ( "strings" - "github.com/bindoffice/bind-store/pkg/wildcard" + "github.com/bindoffice/bindstore/pkg/wildcard" ) // NewPattern - create new pattern for prefix/suffix. diff --git a/pkg/event/target/amqp.go b/pkg/event/target/amqp.go index fdc1101..a0299fa 100644 --- a/pkg/event/target/amqp.go +++ b/pkg/event/target/amqp.go @@ -26,8 +26,8 @@ import ( "path/filepath" "sync" - "github.com/bindoffice/bind-store/pkg/event" - xnet "github.com/bindoffice/bind-store/pkg/net" + "github.com/bindoffice/bindstore/pkg/event" + xnet "github.com/bindoffice/bindstore/pkg/net" "github.com/streadway/amqp" ) diff --git a/pkg/event/target/elasticsearch.go b/pkg/event/target/elasticsearch.go index 79c8f21..5508d0d 100644 --- a/pkg/event/target/elasticsearch.go +++ b/pkg/event/target/elasticsearch.go @@ -26,8 +26,8 @@ import ( "strings" "time" - "github.com/bindoffice/bind-store/pkg/event" - xnet "github.com/bindoffice/bind-store/pkg/net" + "github.com/bindoffice/bindstore/pkg/event" + xnet "github.com/bindoffice/bindstore/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 5486108..5996c5c 100644 --- a/pkg/event/target/kafka.go +++ b/pkg/event/target/kafka.go @@ -27,8 +27,8 @@ import ( "os" "path/filepath" - "github.com/bindoffice/bind-store/pkg/event" - xnet "github.com/bindoffice/bind-store/pkg/net" + "github.com/bindoffice/bindstore/pkg/event" + xnet "github.com/bindoffice/bindstore/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 dec6753..53b9f92 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/bind-store/pkg/event" - xnet "github.com/bindoffice/bind-store/pkg/net" + "github.com/bindoffice/bindstore/pkg/event" + xnet "github.com/bindoffice/bindstore/pkg/net" ) const ( diff --git a/pkg/event/target/mysql.go b/pkg/event/target/mysql.go index 6c2b42b..21ba3e8 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/bind-store/pkg/event" - xnet "github.com/bindoffice/bind-store/pkg/net" + "github.com/bindoffice/bindstore/pkg/event" + xnet "github.com/bindoffice/bindstore/pkg/net" ) const ( diff --git a/pkg/event/target/nats.go b/pkg/event/target/nats.go index 4777c78..48f7aa0 100644 --- a/pkg/event/target/nats.go +++ b/pkg/event/target/nats.go @@ -26,8 +26,8 @@ import ( "os" "path/filepath" - "github.com/bindoffice/bind-store/pkg/event" - xnet "github.com/bindoffice/bind-store/pkg/net" + "github.com/bindoffice/bindstore/pkg/event" + xnet "github.com/bindoffice/bindstore/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 bb5d55b..41eb6ec 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/bind-store/pkg/net" + xnet "github.com/bindoffice/bindstore/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 3fcae89..8fd0ba3 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/bind-store/pkg/net" + xnet "github.com/bindoffice/bindstore/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 6f1fbc8..47e7d3f 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/bind-store/pkg/event" - xnet "github.com/bindoffice/bind-store/pkg/net" + "github.com/bindoffice/bindstore/pkg/event" + xnet "github.com/bindoffice/bindstore/pkg/net" ) // NSQ constants diff --git a/pkg/event/target/nsq_test.go b/pkg/event/target/nsq_test.go index e99b418..c571926 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/bind-store/pkg/net" + xnet "github.com/bindoffice/bindstore/pkg/net" ) func TestNSQArgs_Validate(t *testing.T) { diff --git a/pkg/event/target/postgresql.go b/pkg/event/target/postgresql.go index 33da0c3..f465f8d 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/bind-store/pkg/event" - xnet "github.com/bindoffice/bind-store/pkg/net" + "github.com/bindoffice/bindstore/pkg/event" + xnet "github.com/bindoffice/bindstore/pkg/net" ) const ( diff --git a/pkg/event/target/queuestore.go b/pkg/event/target/queuestore.go index b94b67b..cff0be2 100644 --- a/pkg/event/target/queuestore.go +++ b/pkg/event/target/queuestore.go @@ -25,8 +25,8 @@ import ( "sort" "sync" - "github.com/bindoffice/bind-store/pkg/event" - "github.com/bindoffice/bind-store/pkg/sys" + "github.com/bindoffice/bindstore/pkg/event" + "github.com/bindoffice/bindstore/pkg/sys" ) const ( diff --git a/pkg/event/target/queuestore_test.go b/pkg/event/target/queuestore_test.go index 6af974d..687163b 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/bind-store/pkg/event" + "github.com/bindoffice/bindstore/pkg/event" ) // TestDir diff --git a/pkg/event/target/redis.go b/pkg/event/target/redis.go index 29eef50..3b5497b 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/bind-store/pkg/event" - xnet "github.com/bindoffice/bind-store/pkg/net" + "github.com/bindoffice/bindstore/pkg/event" + xnet "github.com/bindoffice/bindstore/pkg/net" ) // Redis constants diff --git a/pkg/event/target/store.go b/pkg/event/target/store.go index c8c509f..25835c7 100644 --- a/pkg/event/target/store.go +++ b/pkg/event/target/store.go @@ -24,7 +24,7 @@ import ( "syscall" "time" - "github.com/bindoffice/bind-store/pkg/event" + "github.com/bindoffice/bindstore/pkg/event" ) const retryInterval = 3 * time.Second diff --git a/pkg/event/target/webhook.go b/pkg/event/target/webhook.go index 702ac47..6675e68 100644 --- a/pkg/event/target/webhook.go +++ b/pkg/event/target/webhook.go @@ -31,9 +31,9 @@ import ( "path/filepath" "time" - "github.com/bindoffice/bind-store/pkg/certs" - "github.com/bindoffice/bind-store/pkg/event" - xnet "github.com/bindoffice/bind-store/pkg/net" + "github.com/bindoffice/bindstore/pkg/certs" + "github.com/bindoffice/bindstore/pkg/event" + xnet "github.com/bindoffice/bindstore/pkg/net" ) // Webhook constants diff --git a/pkg/hash/reader.go b/pkg/hash/reader.go index 9929777..5fda760 100644 --- a/pkg/hash/reader.go +++ b/pkg/hash/reader.go @@ -24,7 +24,7 @@ import ( "hash" "io" - "github.com/bindoffice/bind-store/pkg/etag" + "github.com/bindoffice/bindstore/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 66df3b5..777061a 100644 --- a/pkg/iam/policy/action.go +++ b/pkg/iam/policy/action.go @@ -17,8 +17,8 @@ package iampolicy import ( - "github.com/bindoffice/bind-store/pkg/bucket/policy/condition" - "github.com/bindoffice/bind-store/pkg/wildcard" + "github.com/bindoffice/bindstore/pkg/bucket/policy/condition" + "github.com/bindoffice/bindstore/pkg/wildcard" ) // Action - policy action. diff --git a/pkg/iam/policy/admin-action.go b/pkg/iam/policy/admin-action.go index 3e3d071..51597a7 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/bind-store/pkg/bucket/policy/condition" + "github.com/bindoffice/bindstore/pkg/bucket/policy/condition" ) // AdminAction - admin policy action. diff --git a/pkg/iam/policy/constants.go b/pkg/iam/policy/constants.go index cd5a4e4..aa86fa9 100644 --- a/pkg/iam/policy/constants.go +++ b/pkg/iam/policy/constants.go @@ -17,8 +17,8 @@ package iampolicy import ( - "github.com/bindoffice/bind-store/pkg/bucket/policy" - "github.com/bindoffice/bind-store/pkg/bucket/policy/condition" + "github.com/bindoffice/bindstore/pkg/bucket/policy" + "github.com/bindoffice/bindstore/pkg/bucket/policy/condition" ) // Policy claim constants diff --git a/pkg/iam/policy/policy.go b/pkg/iam/policy/policy.go index 239af6a..9b9e92e 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/bind-store/pkg/bucket/policy" + "github.com/bindoffice/bindstore/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 72101a4..de6e6e3 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/bind-store/pkg/bucket/policy" - "github.com/bindoffice/bind-store/pkg/bucket/policy/condition" + "github.com/bindoffice/bindstore/pkg/bucket/policy" + "github.com/bindoffice/bindstore/pkg/bucket/policy/condition" ) func TestGetPoliciesFromClaims(t *testing.T) { diff --git a/pkg/iam/policy/resource.go b/pkg/iam/policy/resource.go index eea9f53..90c986f 100644 --- a/pkg/iam/policy/resource.go +++ b/pkg/iam/policy/resource.go @@ -21,8 +21,8 @@ import ( "path" "strings" - "github.com/bindoffice/bind-store/pkg/bucket/policy/condition" - "github.com/bindoffice/bind-store/pkg/wildcard" + "github.com/bindoffice/bindstore/pkg/bucket/policy/condition" + "github.com/bindoffice/bindstore/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 084fdc7..e6f56b7 100644 --- a/pkg/iam/policy/statement.go +++ b/pkg/iam/policy/statement.go @@ -19,8 +19,8 @@ package iampolicy import ( "strings" - "github.com/bindoffice/bind-store/pkg/bucket/policy" - "github.com/bindoffice/bind-store/pkg/bucket/policy/condition" + "github.com/bindoffice/bindstore/pkg/bucket/policy" + "github.com/bindoffice/bindstore/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 d34fddc..246aca0 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/bind-store/pkg/bucket/policy" - "github.com/bindoffice/bind-store/pkg/bucket/policy/condition" + "github.com/bindoffice/bindstore/pkg/bucket/policy" + "github.com/bindoffice/bindstore/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 d8765b7..c5debb5 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/bind-store/pkg/lock" + "github.com/bindoffice/bindstore/pkg/lock" ) // AppendFile - appends the file "src" to the file "dst" diff --git a/pkg/ioutil/ioutil.go b/pkg/ioutil/ioutil.go index c002584..c5cd758 100644 --- a/pkg/ioutil/ioutil.go +++ b/pkg/ioutil/ioutil.go @@ -25,7 +25,7 @@ import ( "os" "time" - "github.com/bindoffice/bind-store/pkg/disk" + "github.com/bindoffice/bindstore/pkg/disk" ) // WriteOnCloser implements io.WriteCloser and always diff --git a/pkg/lsync/lrwmutex_test.go b/pkg/lsync/lrwmutex_test.go index d4b3702..179d4bb 100644 --- a/pkg/lsync/lrwmutex_test.go +++ b/pkg/lsync/lrwmutex_test.go @@ -28,7 +28,7 @@ import ( "runtime" - . "github.com/bindoffice/bind-store/pkg/lsync" + . "github.com/bindoffice/bindstore/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 f87691f..51df17a 100644 --- a/pkg/madmin/README.md +++ b/pkg/madmin/README.md @@ -16,7 +16,7 @@ package main import ( "fmt" - "github.com/bindoffice/bind-store/pkg/madmin" + "github.com/bindoffice/bindstore/pkg/madmin" ) func main() { diff --git a/pkg/madmin/api-error-response.go b/pkg/madmin/api-error-response.go index d37cd88..c5f48a1 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/bind-store/issues." + reportIssue = "Please report this issue at https://github.com/bindoffice/bindstore/issues." ) // httpRespToErrorResponse returns a new encoded ErrorResponse @@ -83,7 +83,7 @@ func httpRespToErrorResponse(resp *http.Response) error { // // For example: // -// import admin "github.com/bindoffice/bind-store/pkg/madmin" +// import admin "github.com/bindoffice/bindstore/pkg/madmin" // ... // ... // ss, err := adm.ServiceStatus(...) diff --git a/pkg/madmin/api_test.go b/pkg/madmin/api_test.go index 0d03432..c62e977 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/bind-store/pkg/madmin" + "github.com/bindoffice/bindstore/pkg/madmin" ) func TestMinioAdminClient(t *testing.T) { diff --git a/pkg/madmin/bandwidth.go b/pkg/madmin/bandwidth.go index 2e6f679..b693ee1 100644 --- a/pkg/madmin/bandwidth.go +++ b/pkg/madmin/bandwidth.go @@ -24,7 +24,7 @@ import ( "net/url" "strings" - "github.com/bindoffice/bind-store/pkg/bandwidth" + "github.com/bindoffice/bindstore/pkg/bandwidth" ) // Report includes the bandwidth report or the error encountered. diff --git a/pkg/madmin/encrypt.go b/pkg/madmin/encrypt.go index 4574231..619512b 100644 --- a/pkg/madmin/encrypt.go +++ b/pkg/madmin/encrypt.go @@ -23,7 +23,7 @@ import ( "io" "io/ioutil" - "github.com/bindoffice/bind-store/pkg/argon2" + "github.com/bindoffice/bindstore/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 397209e..ee1cf7a 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/bind-store/pkg/madmin" + "github.com/bindoffice/bindstore/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 d36d6a2..3962d68 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/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" + "github.com/bindoffice/bindstore/pkg/bucket/policy" + "github.com/bindoffice/bindstore/pkg/bucket/policy/condition" + iampolicy "github.com/bindoffice/bindstore/pkg/iam/policy" + "github.com/bindoffice/bindstore/pkg/madmin" ) func main() { diff --git a/pkg/madmin/examples/bucket-bandwidth.go b/pkg/madmin/examples/bucket-bandwidth.go index 8a1a324..0e7d5af 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/bind-store/pkg/madmin" + "github.com/bindoffice/bindstore/pkg/madmin" ) func main() { diff --git a/pkg/madmin/examples/bucket-quota.go b/pkg/madmin/examples/bucket-quota.go index 693fc3a..f622a36 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/bind-store/pkg/madmin" + "github.com/bindoffice/bindstore/pkg/madmin" ) func main() { diff --git a/pkg/madmin/examples/bucket-target.go b/pkg/madmin/examples/bucket-target.go index d88c45f..476c1a3 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/bind-store/pkg/auth" - "github.com/bindoffice/bind-store/pkg/madmin" + "github.com/bindoffice/bindstore/pkg/auth" + "github.com/bindoffice/bindstore/pkg/madmin" ) func main() { diff --git a/pkg/madmin/examples/data-usage-info.go b/pkg/madmin/examples/data-usage-info.go index cabcebf..3c1ce9f 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/bind-store/pkg/madmin" + "github.com/bindoffice/bindstore/pkg/madmin" ) func main() { diff --git a/pkg/madmin/examples/heal-bucket.go b/pkg/madmin/examples/heal-bucket.go index 1086114..3c18533 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/bind-store/pkg/madmin" + "github.com/bindoffice/bindstore/pkg/madmin" ) func main() { diff --git a/pkg/madmin/examples/heal-format.go b/pkg/madmin/examples/heal-format.go index ec50ba4..bd8f2aa 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/bind-store/pkg/madmin" + "github.com/bindoffice/bindstore/pkg/madmin" ) func main() { diff --git a/pkg/madmin/examples/heal-object.go b/pkg/madmin/examples/heal-object.go index be93e9f..4a62388 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/bind-store/pkg/madmin" + "github.com/bindoffice/bindstore/pkg/madmin" ) func main() { diff --git a/pkg/madmin/examples/heal-status.go b/pkg/madmin/examples/heal-status.go index 391fdf8..de502fa 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/bind-store/pkg/madmin" + "github.com/bindoffice/bindstore/pkg/madmin" ) func main() { diff --git a/pkg/madmin/examples/kms-status.go b/pkg/madmin/examples/kms-status.go index a33c836..a5f62f6 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/bind-store/pkg/madmin" + "github.com/bindoffice/bindstore/pkg/madmin" ) func main() { diff --git a/pkg/madmin/examples/lock-clear.go b/pkg/madmin/examples/lock-clear.go index a18eff2..4b54125 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/bind-store/pkg/madmin" + "github.com/bindoffice/bindstore/pkg/madmin" ) func main() { diff --git a/pkg/madmin/examples/profiling.go b/pkg/madmin/examples/profiling.go index 16e1449..d96945f 100644 --- a/pkg/madmin/examples/profiling.go +++ b/pkg/madmin/examples/profiling.go @@ -26,7 +26,7 @@ import ( "os" "time" - "github.com/bindoffice/bind-store/pkg/madmin" + "github.com/bindoffice/bindstore/pkg/madmin" ) func main() { diff --git a/pkg/madmin/examples/server-info.go b/pkg/madmin/examples/server-info.go index 87b1030..47fa056 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/bind-store/pkg/madmin" + "github.com/bindoffice/bindstore/pkg/madmin" ) func main() { diff --git a/pkg/madmin/examples/service-accounts.go b/pkg/madmin/examples/service-accounts.go index 67e86ef..961dca2 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/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" + "github.com/bindoffice/bindstore/pkg/bucket/policy" + "github.com/bindoffice/bindstore/pkg/bucket/policy/condition" + iampolicy "github.com/bindoffice/bindstore/pkg/iam/policy" + "github.com/bindoffice/bindstore/pkg/madmin" ) func main() { diff --git a/pkg/madmin/examples/service-restart.go b/pkg/madmin/examples/service-restart.go index a978957..0b8139c 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/bind-store/pkg/madmin" + "github.com/bindoffice/bindstore/pkg/madmin" ) func main() { diff --git a/pkg/madmin/examples/service-trace.go b/pkg/madmin/examples/service-trace.go index ec8e204..27a85cf 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/bind-store/pkg/madmin" + "github.com/bindoffice/bindstore/pkg/madmin" ) func main() { diff --git a/pkg/madmin/examples/storage-info.go b/pkg/madmin/examples/storage-info.go index 4b6a70d..ab57a32 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/bind-store/pkg/madmin" + "github.com/bindoffice/bindstore/pkg/madmin" ) func main() { diff --git a/pkg/madmin/examples/top-locks.go b/pkg/madmin/examples/top-locks.go index 2cef7f4..ea66cf2 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/bind-store/pkg/madmin" + "github.com/bindoffice/bindstore/pkg/madmin" ) func main() { diff --git a/pkg/madmin/health.go b/pkg/madmin/health.go index 91f8658..85e8924 100644 --- a/pkg/madmin/health.go +++ b/pkg/madmin/health.go @@ -25,10 +25,10 @@ import ( "net/url" "time" - "github.com/bindoffice/bind-store/pkg/disk" - "github.com/bindoffice/bind-store/pkg/net" + "github.com/bindoffice/bindstore/pkg/disk" + "github.com/bindoffice/bindstore/pkg/net" - smart "github.com/bindoffice/bind-store/pkg/smart" + smart "github.com/bindoffice/bindstore/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 82bc2f3..574eaba 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/bind-store/pkg/iam/policy" + iampolicy "github.com/bindoffice/bindstore/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 25c0046..bba2233 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/bind-store/pkg/auth" + "github.com/bindoffice/bindstore/pkg/auth" ) // ServiceType represents service type diff --git a/pkg/madmin/service-commands.go b/pkg/madmin/service-commands.go index 894078a..4634939 100644 --- a/pkg/madmin/service-commands.go +++ b/pkg/madmin/service-commands.go @@ -25,7 +25,7 @@ import ( "strconv" "time" - trace "github.com/bindoffice/bind-store/pkg/trace" + trace "github.com/bindoffice/bindstore/pkg/trace" ) // ServiceRestart - restarts the MinIO cluster diff --git a/pkg/madmin/user-commands.go b/pkg/madmin/user-commands.go index 86453ed..94f9aba 100644 --- a/pkg/madmin/user-commands.go +++ b/pkg/madmin/user-commands.go @@ -25,8 +25,8 @@ import ( "net/url" "time" - "github.com/bindoffice/bind-store/pkg/auth" - iampolicy "github.com/bindoffice/bind-store/pkg/iam/policy" + "github.com/bindoffice/bindstore/pkg/auth" + iampolicy "github.com/bindoffice/bindstore/pkg/iam/policy" ) // AccountAccess contains information about diff --git a/pkg/quick/quick.go b/pkg/quick/quick.go index 003a25b..42590b9 100644 --- a/pkg/quick/quick.go +++ b/pkg/quick/quick.go @@ -27,7 +27,7 @@ import ( "sync" "github.com/fatih/structs" - "github.com/bindoffice/bind-store/pkg/safe" + "github.com/bindoffice/bindstore/pkg/safe" etcd "go.etcd.io/etcd/client/v3" ) diff --git a/pkg/rpc/doc.go b/pkg/rpc/doc.go index 8068deb..0d2aa9b 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/bind-store/pkg/rpc/" - "github.com/bindoffice/bind-store/pkg/rpc/json2" + "github.com/bindoffice/bindstore/pkg/rpc/" + "github.com/bindoffice/bindstore/pkg/rpc/json2" ) func init() { diff --git a/pkg/rpc/json2/json_test.go b/pkg/rpc/json2/json_test.go index 14469f7..edcd727 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/bind-store/pkg/rpc" + "github.com/bindoffice/bindstore/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 3baf017..bdc5946 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/bind-store/pkg/rpc" + "github.com/bindoffice/bindstore/pkg/rpc" ) var null = json.RawMessage([]byte("null")) diff --git a/pkg/s3select/csv/reader.go b/pkg/s3select/csv/reader.go index 5b9018c..db88a53 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/bind-store/pkg/csvparser" - "github.com/bindoffice/bind-store/pkg/s3select/sql" + csv "github.com/bindoffice/bindstore/pkg/csvparser" + "github.com/bindoffice/bindstore/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 f5b1d15..39e0b30 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/bind-store/pkg/s3select/sql" + "github.com/bindoffice/bindstore/pkg/s3select/sql" ) func TestReadRejectsOversizedLine(t *testing.T) { diff --git a/pkg/s3select/csv/record.go b/pkg/s3select/csv/record.go index bef5ab5..52bd96a 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/bind-store/pkg/csvparser" - "github.com/bindoffice/bind-store/pkg/s3select/sql" + csv "github.com/bindoffice/bindstore/pkg/csvparser" + "github.com/bindoffice/bindstore/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 ce8178f..b923b71 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/bind-store/pkg/s3select/internal/parquet-go/gen-go/parquet" + "github.com/bindoffice/bindstore/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 eeea105..8f8df1a 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/bind-store/pkg/s3select/internal/parquet-go/gen-go/parquet" + "github.com/bindoffice/bindstore/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 68a7eed..75219ea 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/bind-store/pkg/s3select/internal/parquet-go/gen-go/parquet" + "github.com/bindoffice/bindstore/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 a7d7df7..d6c61a6 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/bind-store/pkg/s3select/internal/parquet-go/gen-go/parquet" + "github.com/bindoffice/bindstore/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 89aacc7..0e136e1 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/bind-store/pkg/s3select/internal/parquet-go/gen-go/parquet" - "github.com/bindoffice/bind-store/pkg/s3select/internal/parquet-go/schema" + "github.com/bindoffice/bindstore/pkg/s3select/internal/parquet-go/gen-go/parquet" + "github.com/bindoffice/bindstore/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 13153cd..5780f84 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/bind-store/pkg/s3select/internal/parquet-go/gen-go/parquet" - "github.com/bindoffice/bind-store/pkg/s3select/internal/parquet-go/schema" + "github.com/bindoffice/bindstore/pkg/s3select/internal/parquet-go/gen-go/parquet" + "github.com/bindoffice/bindstore/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 6184e3a..f7e8b9f 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/bind-store/pkg/s3select/internal/parquet-go/gen-go/parquet" - "github.com/bindoffice/bind-store/pkg/s3select/internal/parquet-go/schema" + "github.com/bindoffice/bindstore/pkg/s3select/internal/parquet-go/gen-go/parquet" + "github.com/bindoffice/bindstore/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 04329cd..9e1a308 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/bind-store/pkg/s3select/internal/parquet-go/gen-go/parquet" - "github.com/bindoffice/bind-store/pkg/s3select/internal/parquet-go/schema" + "github.com/bindoffice/bindstore/pkg/s3select/internal/parquet-go/gen-go/parquet" + "github.com/bindoffice/bindstore/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 6d7c785..08c2b33 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/bind-store/pkg/s3select/internal/parquet-go/gen-go/parquet" - "github.com/bindoffice/bind-store/pkg/s3select/internal/parquet-go/schema" + "github.com/bindoffice/bindstore/pkg/s3select/internal/parquet-go/gen-go/parquet" + "github.com/bindoffice/bindstore/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 f6bfeb6..050f3f2 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/bind-store/pkg/s3select/internal/parquet-go/gen-go/parquet" - "github.com/bindoffice/bind-store/pkg/s3select/internal/parquet-go/schema" + "github.com/bindoffice/bindstore/pkg/s3select/internal/parquet-go/gen-go/parquet" + "github.com/bindoffice/bindstore/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 21ce5f4..8e61ce2 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/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/bindoffice/bindstore/pkg/s3select/internal/parquet-go/common" + "github.com/bindoffice/bindstore/pkg/s3select/internal/parquet-go/encoding" + "github.com/bindoffice/bindstore/pkg/s3select/internal/parquet-go/gen-go/parquet" + "github.com/bindoffice/bindstore/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 ba4e54c..f0b2680 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/bind-store/pkg/s3select/internal/parquet-go/gen-go/parquet" - "github.com/bindoffice/bind-store/pkg/s3select/internal/parquet-go/schema" + "github.com/bindoffice/bindstore/pkg/s3select/internal/parquet-go/gen-go/parquet" + "github.com/bindoffice/bindstore/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 bfd694e..0dedc0a 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/bind-store/pkg/s3select/internal/parquet-go/gen-go/parquet" + "github.com/bindoffice/bindstore/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 6869363..c508733 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/bind-store/pkg/s3select/internal/parquet-go/gen-go/parquet" + "github.com/bindoffice/bindstore/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 82e8bbf..27c1e56 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/bind-store/pkg/s3select/internal/parquet-go/gen-go/parquet" + "github.com/bindoffice/bindstore/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 24ab835..18af1c0 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/bind-store/pkg/s3select/internal/parquet-go/gen-go/parquet" + "github.com/bindoffice/bindstore/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 e7ab7b6..4baca87 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/bind-store/pkg/s3select/internal/parquet-go/gen-go/parquet" + "github.com/bindoffice/bindstore/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 c2d4015..dd3bb41 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/bind-store/pkg/s3select/internal/parquet-go/gen-go/parquet" + "github.com/bindoffice/bindstore/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 ab8185a..4be5708 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/bind-store/pkg/s3select/internal/parquet-go/common" + "github.com/bindoffice/bindstore/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 793b9c7..09098aa 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/bind-store/pkg/s3select/internal/parquet-go/common" - "github.com/bindoffice/bind-store/pkg/s3select/internal/parquet-go/gen-go/parquet" + "github.com/bindoffice/bindstore/pkg/s3select/internal/parquet-go/common" + "github.com/bindoffice/bindstore/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 3b44c86..65935a1 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/bind-store/pkg/s3select/internal/parquet-go/gen-go/parquet" + "github.com/bindoffice/bindstore/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 51d99f3..8712f00 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/bind-store/pkg/s3select/internal/parquet-go/gen-go/parquet" + "github.com/bindoffice/bindstore/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 3129cb0..0ae7e84 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/bind-store/pkg/s3select/internal/parquet-go/gen-go/parquet" + "github.com/bindoffice/bindstore/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 927c92f..2600c3f 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/bind-store/pkg/s3select/internal/parquet-go/common" - "github.com/bindoffice/bind-store/pkg/s3select/internal/parquet-go/gen-go/parquet" + "github.com/bindoffice/bindstore/pkg/s3select/internal/parquet-go/common" + "github.com/bindoffice/bindstore/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 97de71f..c267f93 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/bind-store/pkg/s3select/internal/parquet-go/gen-go/parquet" + "github.com/bindoffice/bindstore/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 8b5565a..453fc40 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/bind-store/pkg/s3select/internal/parquet-go/gen-go/parquet" + "github.com/bindoffice/bindstore/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 9e726b0..625db4a 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/bind-store/pkg/s3select/internal/parquet-go/gen-go/parquet" + "github.com/bindoffice/bindstore/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 e51f4f1..d079d06 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/bind-store/pkg/s3select/internal/parquet-go/gen-go/parquet" + "github.com/bindoffice/bindstore/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 7565354..0e783d5 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/bind-store/pkg/s3select/internal/parquet-go/gen-go/parquet" + "github.com/bindoffice/bindstore/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 8b6dde8..bdf04db 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/bind-store/pkg/s3select/internal/parquet-go/gen-go/parquet" +import "github.com/bindoffice/bindstore/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 0b7ebb7..c088033 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/bind-store/pkg/s3select/internal/parquet-go" + parquet "github.com/bindoffice/bindstore/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 44832b0..d904486 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/bind-store/pkg/s3select/internal/parquet-go" + parquet "github.com/bindoffice/bindstore/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 903ced0..f62716a 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/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" + "github.com/bindoffice/bindstore/pkg/s3select/internal/parquet-go/data" + "github.com/bindoffice/bindstore/pkg/s3select/internal/parquet-go/gen-go/parquet" + "github.com/bindoffice/bindstore/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 5c318b3..efcb8fc 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/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" + "github.com/bindoffice/bindstore/pkg/s3select/internal/parquet-go/data" + "github.com/bindoffice/bindstore/pkg/s3select/internal/parquet-go/gen-go/parquet" + "github.com/bindoffice/bindstore/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 67df7bf..4a24799 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/bind-store/pkg/s3select/sql" + "github.com/bindoffice/bindstore/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 df1f8b6..71c78a0 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/bind-store/pkg/s3select/sql" + "github.com/bindoffice/bindstore/pkg/s3select/sql" ) func TestNewPReader(t *testing.T) { diff --git a/pkg/s3select/json/reader.go b/pkg/s3select/json/reader.go index 457145d..b8815b0 100644 --- a/pkg/s3select/json/reader.go +++ b/pkg/s3select/json/reader.go @@ -21,7 +21,7 @@ import ( "io" "sync" - "github.com/bindoffice/bind-store/pkg/s3select/sql" + "github.com/bindoffice/bindstore/pkg/s3select/sql" "github.com/bcicen/jstream" ) diff --git a/pkg/s3select/json/reader_test.go b/pkg/s3select/json/reader_test.go index df33f4d..cfd070e 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/bind-store/pkg/s3select/sql" + "github.com/bindoffice/bindstore/pkg/s3select/sql" ) func TestNewReader(t *testing.T) { diff --git a/pkg/s3select/json/record.go b/pkg/s3select/json/record.go index f5952ce..6fa5960 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/bind-store/pkg/csvparser" - "github.com/bindoffice/bind-store/pkg/s3select/sql" + csv "github.com/bindoffice/bindstore/pkg/csvparser" + "github.com/bindoffice/bindstore/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 d468e5e..e6d6ea5 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/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" + parquetgo "github.com/bindoffice/bindstore/pkg/s3select/internal/parquet-go" + parquetgen "github.com/bindoffice/bindstore/pkg/s3select/internal/parquet-go/gen-go/parquet" + jsonfmt "github.com/bindoffice/bindstore/pkg/s3select/json" + "github.com/bindoffice/bindstore/pkg/s3select/sql" ) // Reader - Parquet record reader for S3Select. diff --git a/pkg/s3select/select.go b/pkg/s3select/select.go index eb1a75f..2e224a5 100644 --- a/pkg/s3select/select.go +++ b/pkg/s3select/select.go @@ -30,11 +30,11 @@ import ( "strings" "sync" - "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/bindoffice/bindstore/pkg/s3select/csv" + "github.com/bindoffice/bindstore/pkg/s3select/json" + "github.com/bindoffice/bindstore/pkg/s3select/parquet" + "github.com/bindoffice/bindstore/pkg/s3select/simdj" + "github.com/bindoffice/bindstore/pkg/s3select/sql" "github.com/minio/simdjson-go" ) diff --git a/pkg/s3select/simdj/reader.go b/pkg/s3select/simdj/reader.go index d6d1578..02c97d9 100644 --- a/pkg/s3select/simdj/reader.go +++ b/pkg/s3select/simdj/reader.go @@ -21,8 +21,8 @@ import ( "io" "sync" - "github.com/bindoffice/bind-store/pkg/s3select/json" - "github.com/bindoffice/bind-store/pkg/s3select/sql" + "github.com/bindoffice/bindstore/pkg/s3select/json" + "github.com/bindoffice/bindstore/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 b8a948d..a5ade6a 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/bind-store/pkg/s3select/json" - "github.com/bindoffice/bind-store/pkg/s3select/sql" + "github.com/bindoffice/bindstore/pkg/s3select/json" + "github.com/bindoffice/bindstore/pkg/s3select/sql" "github.com/minio/simdjson-go" ) diff --git a/pkg/s3select/simdj/record.go b/pkg/s3select/simdj/record.go index c913b22..33b4aa2 100644 --- a/pkg/s3select/simdj/record.go +++ b/pkg/s3select/simdj/record.go @@ -20,11 +20,11 @@ import ( "fmt" "io" - csv "github.com/bindoffice/bind-store/pkg/csvparser" + csv "github.com/bindoffice/bindstore/pkg/csvparser" "github.com/bcicen/jstream" - "github.com/bindoffice/bind-store/pkg/s3select/json" - "github.com/bindoffice/bind-store/pkg/s3select/sql" + "github.com/bindoffice/bindstore/pkg/s3select/json" + "github.com/bindoffice/bindstore/pkg/s3select/sql" "github.com/minio/simdjson-go" ) diff --git a/pkg/sys/stats_linux.go b/pkg/sys/stats_linux.go index 0865d66..c0a1220 100644 --- a/pkg/sys/stats_linux.go +++ b/pkg/sys/stats_linux.go @@ -22,7 +22,7 @@ import ( "os" "syscall" - "github.com/bindoffice/bind-store/pkg/cgroup" + "github.com/bindoffice/bindstore/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 5c8ea20..3840d77 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/bind-store/pkg/cgroup" + "github.com/bindoffice/bindstore/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 5d8fdcd..901507a 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/bind-store/pkg/wildcard" + "github.com/bindoffice/bindstore/pkg/wildcard" ) // TestMatch - Tests validate the logic of wild card matching.