re-ref all corso to canario, remove license
This commit is contained in:
parent
f00dd0f88a
commit
8081ae7349
6
.github/actions/teams-message/action.yml
vendored
6
.github/actions/teams-message/action.yml
vendored
@ -24,9 +24,9 @@ runs:
|
|||||||
- name: build urls
|
- name: build urls
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
echo "logurl=$(printf 'https://github.com/alcionai/corso/actions/runs/%s' ${{ github.run_id }})" >> $GITHUB_ENV
|
echo "logurl=$(printf 'https://github.com/alcionai/canario/actions/runs/%s' ${{ github.run_id }})" >> $GITHUB_ENV
|
||||||
echo "commiturl=$(printf 'https://github.com/alcionai/corso/commit/%s' ${{ github.sha }})" >> $GITHUB_ENV
|
echo "commiturl=$(printf 'https://github.com/alcionai/canario/commit/%s' ${{ github.sha }})" >> $GITHUB_ENV
|
||||||
echo "refurl=$(printf 'https://github.com/alcionai/corso/%s' ${{ env.trimmed_ref }})" >> $GITHUB_ENV
|
echo "refurl=$(printf 'https://github.com/alcionai/canario/%s' ${{ env.trimmed_ref }})" >> $GITHUB_ENV
|
||||||
|
|
||||||
- name: use url or blank val
|
- name: use url or blank val
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|||||||
16
.github/workflows/ci.yml
vendored
16
.github/workflows/ci.yml
vendored
@ -477,7 +477,7 @@ jobs:
|
|||||||
run: go install github.com/google/go-licenses@latest
|
run: go install github.com/google/go-licenses@latest
|
||||||
|
|
||||||
- name: Run go-licenses
|
- name: Run go-licenses
|
||||||
run: go-licenses check github.com/alcionai/corso/src --ignore github.com/alcionai/corso/src
|
run: go-licenses check github.com/alcionai/canario/src --ignore github.com/alcionai/canario/src
|
||||||
|
|
||||||
- name: Run staticcheck
|
- name: Run staticcheck
|
||||||
uses: dominikh/staticcheck-action@v1.3.0
|
uses: dominikh/staticcheck-action@v1.3.0
|
||||||
@ -626,7 +626,7 @@ jobs:
|
|||||||
tags: ${{ steps.meta.outputs.tags }}
|
tags: ${{ steps.meta.outputs.tags }}
|
||||||
labels: ${{ steps.meta.outputs.labels }}
|
labels: ${{ steps.meta.outputs.labels }}
|
||||||
build-args: |
|
build-args: |
|
||||||
CORSO_BUILD_LDFLAGS=-X 'github.com/alcionai/corso/src/internal/events.RudderStackWriteKey=${{ secrets.RUDDERSTACK_CORSO_WRITE_KEY }}' -X 'github.com/alcionai/corso/src/internal/events.RudderStackDataPlaneURL=${{ secrets.RUDDERSTACK_CORSO_DATA_PLANE_URL }}' -X 'github.com/alcionai/corso/src/internal/version.Version=${{ needs.SetEnv.outputs.version }}'
|
CORSO_BUILD_LDFLAGS=-X 'github.com/alcionai/canario/src/internal/events.RudderStackWriteKey=${{ secrets.RUDDERSTACK_CORSO_WRITE_KEY }}' -X 'github.com/alcionai/canario/src/internal/events.RudderStackDataPlaneURL=${{ secrets.RUDDERSTACK_CORSO_DATA_PLANE_URL }}' -X 'github.com/alcionai/canario/src/internal/version.Version=${{ needs.SetEnv.outputs.version }}'
|
||||||
# use the github cache
|
# use the github cache
|
||||||
cache-from: type=gha
|
cache-from: type=gha
|
||||||
cache-to: type=gha,mode=max
|
cache-to: type=gha,mode=max
|
||||||
@ -642,7 +642,7 @@ jobs:
|
|||||||
- name: Validate x86_64 binary artifacts
|
- name: Validate x86_64 binary artifacts
|
||||||
run: |
|
run: |
|
||||||
set -ex
|
set -ex
|
||||||
curl -L https://github.com/alcionai/corso/releases/download/${{ env.CORSO_VERSION }}/corso_${{ env.CORSO_VERSION }}_Linux_x86_64.tar.gz > corso.tar.gz
|
curl -L https://github.com/alcionai/canario/releases/download/${{ env.CORSO_VERSION }}/corso_${{ env.CORSO_VERSION }}_Linux_x86_64.tar.gz > corso.tar.gz
|
||||||
tar -xf corso.tar.gz
|
tar -xf corso.tar.gz
|
||||||
./corso --help
|
./corso --help
|
||||||
./corso --version 2>&1 | grep -E "version: ${{ env.CORSO_VERSION }}$"
|
./corso --version 2>&1 | grep -E "version: ${{ env.CORSO_VERSION }}$"
|
||||||
@ -656,7 +656,7 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
set -ex
|
set -ex
|
||||||
sudo apt-get update && sudo apt-get install curl
|
sudo apt-get update && sudo apt-get install curl
|
||||||
curl -L https://github.com/alcionai/corso/releases/download/${{ env.CORSO_VERSION }}/corso_${{ env.CORSO_VERSION }}_Linux_arm64.tar.gz > corso.tar.gz
|
curl -L https://github.com/alcionai/canario/releases/download/${{ env.CORSO_VERSION }}/corso_${{ env.CORSO_VERSION }}_Linux_arm64.tar.gz > corso.tar.gz
|
||||||
tar -xf corso.tar.gz
|
tar -xf corso.tar.gz
|
||||||
./corso --help
|
./corso --help
|
||||||
./corso --version 2>&1 | grep -E "version: ${{ env.CORSO_VERSION }}$"
|
./corso --version 2>&1 | grep -E "version: ${{ env.CORSO_VERSION }}$"
|
||||||
@ -694,14 +694,14 @@ jobs:
|
|||||||
- name: Validate x86_64 binary artifacts
|
- name: Validate x86_64 binary artifacts
|
||||||
run: |
|
run: |
|
||||||
set -ex
|
set -ex
|
||||||
curl -L https://github.com/alcionai/corso/releases/download/${{ env.CORSO_VERSION }}/corso_${{ env.CORSO_VERSION }}_Darwin_x86_64.tar.gz > corso.tar.gz
|
curl -L https://github.com/alcionai/canario/releases/download/${{ env.CORSO_VERSION }}/corso_${{ env.CORSO_VERSION }}_Darwin_x86_64.tar.gz > corso.tar.gz
|
||||||
tar -xf corso.tar.gz
|
tar -xf corso.tar.gz
|
||||||
./corso --help
|
./corso --help
|
||||||
./corso --version 2>&1 | grep -E "version: ${{ env.CORSO_VERSION }}$"
|
./corso --version 2>&1 | grep -E "version: ${{ env.CORSO_VERSION }}$"
|
||||||
- name: Validate arm64 binary artifacts
|
- name: Validate arm64 binary artifacts
|
||||||
run: |
|
run: |
|
||||||
set -ex
|
set -ex
|
||||||
curl -L https://github.com/alcionai/corso/releases/download/${{ env.CORSO_VERSION }}/corso_${{ env.CORSO_VERSION }}_Darwin_arm64.tar.gz > corso.tar.gz
|
curl -L https://github.com/alcionai/canario/releases/download/${{ env.CORSO_VERSION }}/corso_${{ env.CORSO_VERSION }}_Darwin_arm64.tar.gz > corso.tar.gz
|
||||||
tar -xf corso.tar.gz
|
tar -xf corso.tar.gz
|
||||||
# TODO: test/validate arm64 executable once we have arm64 CI
|
# TODO: test/validate arm64 executable once we have arm64 CI
|
||||||
|
|
||||||
@ -715,7 +715,7 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Validate x86_64 binary artifacts
|
- name: Validate x86_64 binary artifacts
|
||||||
run: |
|
run: |
|
||||||
curl -L https://github.com/alcionai/corso/releases/download/${{ env.CORSO_VERSION }}/corso_${{ env.CORSO_VERSION }}_Windows_x86_64.zip -o corso.zip
|
curl -L https://github.com/alcionai/canario/releases/download/${{ env.CORSO_VERSION }}/corso_${{ env.CORSO_VERSION }}_Windows_x86_64.zip -o corso.zip
|
||||||
7z x corso.zip
|
7z x corso.zip
|
||||||
./corso.exe --help
|
./corso.exe --help
|
||||||
./corso.exe --version 2>&1 | grep -E "version: ${{ env.CORSO_VERSION }}$"
|
./corso.exe --version 2>&1 | grep -E "version: ${{ env.CORSO_VERSION }}$"
|
||||||
@ -762,4 +762,4 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Validate docs
|
- name: Validate docs
|
||||||
run: |
|
run: |
|
||||||
curl https://corsobackup.io/docs/quickstart/ | grep https://github.com/alcionai/corso/releases/download/${{ env.CORSO_VERSION }}/corso_${{ env.CORSO_VERSION }}_Linux_x86_64.tar.gz
|
curl https://corsobackup.io/docs/quickstart/ | grep https://github.com/alcionai/canario/releases/download/${{ env.CORSO_VERSION }}/corso_${{ env.CORSO_VERSION }}_Linux_x86_64.tar.gz
|
||||||
|
|||||||
177
LICENSE
177
LICENSE
@ -1,177 +0,0 @@
|
|||||||
|
|
||||||
Apache License
|
|
||||||
Version 2.0, January 2004
|
|
||||||
http://www.apache.org/licenses/
|
|
||||||
|
|
||||||
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
||||||
|
|
||||||
1. Definitions.
|
|
||||||
|
|
||||||
"License" shall mean the terms and conditions for use, reproduction,
|
|
||||||
and distribution as defined by Sections 1 through 9 of this document.
|
|
||||||
|
|
||||||
"Licensor" shall mean the copyright owner or entity authorized by
|
|
||||||
the copyright owner that is granting the License.
|
|
||||||
|
|
||||||
"Legal Entity" shall mean the union of the acting entity and all
|
|
||||||
other entities that control, are controlled by, or are under common
|
|
||||||
control with that entity. For the purposes of this definition,
|
|
||||||
"control" means (i) the power, direct or indirect, to cause the
|
|
||||||
direction or management of such entity, whether by contract or
|
|
||||||
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
||||||
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
||||||
|
|
||||||
"You" (or "Your") shall mean an individual or Legal Entity
|
|
||||||
exercising permissions granted by this License.
|
|
||||||
|
|
||||||
"Source" form shall mean the preferred form for making modifications,
|
|
||||||
including but not limited to software source code, documentation
|
|
||||||
source, and configuration files.
|
|
||||||
|
|
||||||
"Object" form shall mean any form resulting from mechanical
|
|
||||||
transformation or translation of a Source form, including but
|
|
||||||
not limited to compiled object code, generated documentation,
|
|
||||||
and conversions to other media types.
|
|
||||||
|
|
||||||
"Work" shall mean the work of authorship, whether in Source or
|
|
||||||
Object form, made available under the License, as indicated by a
|
|
||||||
copyright notice that is included in or attached to the work
|
|
||||||
(an example is provided in the Appendix below).
|
|
||||||
|
|
||||||
"Derivative Works" shall mean any work, whether in Source or Object
|
|
||||||
form, that is based on (or derived from) the Work and for which the
|
|
||||||
editorial revisions, annotations, elaborations, or other modifications
|
|
||||||
represent, as a whole, an original work of authorship. For the purposes
|
|
||||||
of this License, Derivative Works shall not include works that remain
|
|
||||||
separable from, or merely link (or bind by name) to the interfaces of,
|
|
||||||
the Work and Derivative Works thereof.
|
|
||||||
|
|
||||||
"Contribution" shall mean any work of authorship, including
|
|
||||||
the original version of the Work and any modifications or additions
|
|
||||||
to that Work or Derivative Works thereof, that is intentionally
|
|
||||||
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
||||||
or by an individual or Legal Entity authorized to submit on behalf of
|
|
||||||
the copyright owner. For the purposes of this definition, "submitted"
|
|
||||||
means any form of electronic, verbal, or written communication sent
|
|
||||||
to the Licensor or its representatives, including but not limited to
|
|
||||||
communication on electronic mailing lists, source code control systems,
|
|
||||||
and issue tracking systems that are managed by, or on behalf of, the
|
|
||||||
Licensor for the purpose of discussing and improving the Work, but
|
|
||||||
excluding communication that is conspicuously marked or otherwise
|
|
||||||
designated in writing by the copyright owner as "Not a Contribution."
|
|
||||||
|
|
||||||
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
||||||
on behalf of whom a Contribution has been received by Licensor and
|
|
||||||
subsequently incorporated within the Work.
|
|
||||||
|
|
||||||
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
||||||
this License, each Contributor hereby grants to You a perpetual,
|
|
||||||
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
||||||
copyright license to reproduce, prepare Derivative Works of,
|
|
||||||
publicly display, publicly perform, sublicense, and distribute the
|
|
||||||
Work and such Derivative Works in Source or Object form.
|
|
||||||
|
|
||||||
3. Grant of Patent License. Subject to the terms and conditions of
|
|
||||||
this License, each Contributor hereby grants to You a perpetual,
|
|
||||||
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
||||||
(except as stated in this section) patent license to make, have made,
|
|
||||||
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
||||||
where such license applies only to those patent claims licensable
|
|
||||||
by such Contributor that are necessarily infringed by their
|
|
||||||
Contribution(s) alone or by combination of their Contribution(s)
|
|
||||||
with the Work to which such Contribution(s) was submitted. If You
|
|
||||||
institute patent litigation against any entity (including a
|
|
||||||
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
||||||
or a Contribution incorporated within the Work constitutes direct
|
|
||||||
or contributory patent infringement, then any patent licenses
|
|
||||||
granted to You under this License for that Work shall terminate
|
|
||||||
as of the date such litigation is filed.
|
|
||||||
|
|
||||||
4. Redistribution. You may reproduce and distribute copies of the
|
|
||||||
Work or Derivative Works thereof in any medium, with or without
|
|
||||||
modifications, and in Source or Object form, provided that You
|
|
||||||
meet the following conditions:
|
|
||||||
|
|
||||||
(a) You must give any other recipients of the Work or
|
|
||||||
Derivative Works a copy of this License; and
|
|
||||||
|
|
||||||
(b) You must cause any modified files to carry prominent notices
|
|
||||||
stating that You changed the files; and
|
|
||||||
|
|
||||||
(c) You must retain, in the Source form of any Derivative Works
|
|
||||||
that You distribute, all copyright, patent, trademark, and
|
|
||||||
attribution notices from the Source form of the Work,
|
|
||||||
excluding those notices that do not pertain to any part of
|
|
||||||
the Derivative Works; and
|
|
||||||
|
|
||||||
(d) If the Work includes a "NOTICE" text file as part of its
|
|
||||||
distribution, then any Derivative Works that You distribute must
|
|
||||||
include a readable copy of the attribution notices contained
|
|
||||||
within such NOTICE file, excluding those notices that do not
|
|
||||||
pertain to any part of the Derivative Works, in at least one
|
|
||||||
of the following places: within a NOTICE text file distributed
|
|
||||||
as part of the Derivative Works; within the Source form or
|
|
||||||
documentation, if provided along with the Derivative Works; or,
|
|
||||||
within a display generated by the Derivative Works, if and
|
|
||||||
wherever such third-party notices normally appear. The contents
|
|
||||||
of the NOTICE file are for informational purposes only and
|
|
||||||
do not modify the License. You may add Your own attribution
|
|
||||||
notices within Derivative Works that You distribute, alongside
|
|
||||||
or as an addendum to the NOTICE text from the Work, provided
|
|
||||||
that such additional attribution notices cannot be construed
|
|
||||||
as modifying the License.
|
|
||||||
|
|
||||||
You may add Your own copyright statement to Your modifications and
|
|
||||||
may provide additional or different license terms and conditions
|
|
||||||
for use, reproduction, or distribution of Your modifications, or
|
|
||||||
for any such Derivative Works as a whole, provided Your use,
|
|
||||||
reproduction, and distribution of the Work otherwise complies with
|
|
||||||
the conditions stated in this License.
|
|
||||||
|
|
||||||
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
||||||
any Contribution intentionally submitted for inclusion in the Work
|
|
||||||
by You to the Licensor shall be under the terms and conditions of
|
|
||||||
this License, without any additional terms or conditions.
|
|
||||||
Notwithstanding the above, nothing herein shall supersede or modify
|
|
||||||
the terms of any separate license agreement you may have executed
|
|
||||||
with Licensor regarding such Contributions.
|
|
||||||
|
|
||||||
6. Trademarks. This License does not grant permission to use the trade
|
|
||||||
names, trademarks, service marks, or product names of the Licensor,
|
|
||||||
except as required for reasonable and customary use in describing the
|
|
||||||
origin of the Work and reproducing the content of the NOTICE file.
|
|
||||||
|
|
||||||
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
||||||
agreed to in writing, Licensor provides the Work (and each
|
|
||||||
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
||||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
||||||
implied, including, without limitation, any warranties or conditions
|
|
||||||
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
||||||
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
||||||
appropriateness of using or redistributing the Work and assume any
|
|
||||||
risks associated with Your exercise of permissions under this License.
|
|
||||||
|
|
||||||
8. Limitation of Liability. In no event and under no legal theory,
|
|
||||||
whether in tort (including negligence), contract, or otherwise,
|
|
||||||
unless required by applicable law (such as deliberate and grossly
|
|
||||||
negligent acts) or agreed to in writing, shall any Contributor be
|
|
||||||
liable to You for damages, including any direct, indirect, special,
|
|
||||||
incidental, or consequential damages of any character arising as a
|
|
||||||
result of this License or out of the use or inability to use the
|
|
||||||
Work (including but not limited to damages for loss of goodwill,
|
|
||||||
work stoppage, computer failure or malfunction, or any and all
|
|
||||||
other commercial damages or losses), even if such Contributor
|
|
||||||
has been advised of the possibility of such damages.
|
|
||||||
|
|
||||||
9. Accepting Warranty or Additional Liability. While redistributing
|
|
||||||
the Work or Derivative Works thereof, You may choose to offer,
|
|
||||||
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
||||||
or other liability obligations and/or rights consistent with this
|
|
||||||
License. However, in accepting such obligations, You may act only
|
|
||||||
on Your own behalf and on Your sole responsibility, not on behalf
|
|
||||||
of any other Contributor, and only if You agree to indemnify,
|
|
||||||
defend, and hold each Contributor harmless for any liability
|
|
||||||
incurred by, or claims asserted against, such Contributor by reason
|
|
||||||
of your accepting any such warranty or additional liability.
|
|
||||||
|
|
||||||
END OF TERMS AND CONDITIONS
|
|
||||||
@ -10,8 +10,8 @@ FROM alpine:3
|
|||||||
|
|
||||||
LABEL org.opencontainers.image.title="Corso"
|
LABEL org.opencontainers.image.title="Corso"
|
||||||
LABEL org.opencontainers.image.description="Free, Secure, and Open-Source Backup for Microsoft 365"
|
LABEL org.opencontainers.image.description="Free, Secure, and Open-Source Backup for Microsoft 365"
|
||||||
LABEL org.opencontainers.image.url="https://github.com/alcionai/corso"
|
LABEL org.opencontainers.image.url="https://github.com/alcionai/canario"
|
||||||
LABEL org.opencontainers.image.source="https://github.com/alcionai/corso"
|
LABEL org.opencontainers.image.source="https://github.com/alcionai/canario"
|
||||||
LABEL org.opencontainers.image.vendor="Alcion, Inc."
|
LABEL org.opencontainers.image.vendor="Alcion, Inc."
|
||||||
|
|
||||||
COPY --from=builder /go/src/app/corso /corso
|
COPY --from=builder /go/src/app/corso /corso
|
||||||
|
|||||||
@ -35,7 +35,7 @@ linters-settings:
|
|||||||
sections:
|
sections:
|
||||||
- standard
|
- standard
|
||||||
- default
|
- default
|
||||||
- prefix(github.com/alcionai/corso)
|
- prefix(github.com/alcionai/canario)
|
||||||
skip-generated: true
|
skip-generated: true
|
||||||
forbidigo:
|
forbidigo:
|
||||||
forbid:
|
forbid:
|
||||||
|
|||||||
@ -13,9 +13,9 @@ builds:
|
|||||||
- goos: windows
|
- goos: windows
|
||||||
goarch: arm64
|
goarch: arm64
|
||||||
ldflags:
|
ldflags:
|
||||||
- -X 'github.com/alcionai/corso/src/internal/version.Version={{.Env.CORSO_VERSION}}'
|
- -X 'github.com/alcionai/canario/src/internal/version.Version={{.Env.CORSO_VERSION}}'
|
||||||
- -X 'github.com/alcionai/corso/src/internal/events.RudderStackWriteKey={{.Env.RUDDERSTACK_CORSO_WRITE_KEY}}'
|
- -X 'github.com/alcionai/canario/src/internal/events.RudderStackWriteKey={{.Env.RUDDERSTACK_CORSO_WRITE_KEY}}'
|
||||||
- -X 'github.com/alcionai/corso/src/internal/events.RudderStackDataPlaneURL={{.Env.RUDDERSTACK_CORSO_DATA_PLANE_URL}}'
|
- -X 'github.com/alcionai/canario/src/internal/events.RudderStackDataPlaneURL={{.Env.RUDDERSTACK_CORSO_DATA_PLANE_URL}}'
|
||||||
|
|
||||||
archives:
|
archives:
|
||||||
# this name template makes the OS and Arch compatible with the results of uname.
|
# this name template makes the OS and Arch compatible with the results of uname.
|
||||||
|
|||||||
@ -18,7 +18,7 @@ lint: check-lint-version
|
|||||||
fmt:
|
fmt:
|
||||||
gofumpt -w .
|
gofumpt -w .
|
||||||
goimports -w .
|
goimports -w .
|
||||||
gci write --skip-generated -s 'standard' -s 'default' -s 'prefix(github.com/alcionai/corso)' .
|
gci write --skip-generated -s 'standard' -s 'default' -s 'prefix(github.com/alcionai/canario)' .
|
||||||
|
|
||||||
check-lint-version: check-lint
|
check-lint-version: check-lint
|
||||||
@if [ "$(LINT_VERSION)" != "$(WANTED_LINT_VERSION)" ]; then \
|
@if [ "$(LINT_VERSION)" != "$(WANTED_LINT_VERSION)" ]; then \
|
||||||
|
|||||||
@ -9,22 +9,22 @@ import (
|
|||||||
"github.com/pkg/errors"
|
"github.com/pkg/errors"
|
||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
|
|
||||||
"github.com/alcionai/corso/src/cli/flags"
|
"github.com/alcionai/canario/src/cli/flags"
|
||||||
. "github.com/alcionai/corso/src/cli/print"
|
. "github.com/alcionai/canario/src/cli/print"
|
||||||
"github.com/alcionai/corso/src/cli/utils"
|
"github.com/alcionai/canario/src/cli/utils"
|
||||||
"github.com/alcionai/corso/src/internal/common/color"
|
"github.com/alcionai/canario/src/internal/common/color"
|
||||||
"github.com/alcionai/corso/src/internal/common/idname"
|
"github.com/alcionai/canario/src/internal/common/idname"
|
||||||
"github.com/alcionai/corso/src/internal/data"
|
"github.com/alcionai/canario/src/internal/data"
|
||||||
"github.com/alcionai/corso/src/internal/observe"
|
"github.com/alcionai/canario/src/internal/observe"
|
||||||
"github.com/alcionai/corso/src/pkg/backup"
|
"github.com/alcionai/canario/src/pkg/backup"
|
||||||
"github.com/alcionai/corso/src/pkg/backup/details"
|
"github.com/alcionai/canario/src/pkg/backup/details"
|
||||||
"github.com/alcionai/corso/src/pkg/control"
|
"github.com/alcionai/canario/src/pkg/control"
|
||||||
"github.com/alcionai/corso/src/pkg/errs/core"
|
"github.com/alcionai/canario/src/pkg/errs/core"
|
||||||
"github.com/alcionai/corso/src/pkg/logger"
|
"github.com/alcionai/canario/src/pkg/logger"
|
||||||
"github.com/alcionai/corso/src/pkg/path"
|
"github.com/alcionai/canario/src/pkg/path"
|
||||||
"github.com/alcionai/corso/src/pkg/repository"
|
"github.com/alcionai/canario/src/pkg/repository"
|
||||||
"github.com/alcionai/corso/src/pkg/selectors"
|
"github.com/alcionai/canario/src/pkg/selectors"
|
||||||
"github.com/alcionai/corso/src/pkg/store"
|
"github.com/alcionai/canario/src/pkg/store"
|
||||||
)
|
)
|
||||||
|
|
||||||
var ErrEmptyBackup = clues.New("no items in backup")
|
var ErrEmptyBackup = clues.New("no items in backup")
|
||||||
|
|||||||
@ -8,13 +8,13 @@ import (
|
|||||||
"github.com/stretchr/testify/require"
|
"github.com/stretchr/testify/require"
|
||||||
"github.com/stretchr/testify/suite"
|
"github.com/stretchr/testify/suite"
|
||||||
|
|
||||||
"github.com/alcionai/corso/src/cli/utils/testdata"
|
"github.com/alcionai/canario/src/cli/utils/testdata"
|
||||||
"github.com/alcionai/corso/src/internal/tester"
|
"github.com/alcionai/canario/src/internal/tester"
|
||||||
"github.com/alcionai/corso/src/pkg/backup/details"
|
"github.com/alcionai/canario/src/pkg/backup/details"
|
||||||
dtd "github.com/alcionai/corso/src/pkg/backup/details/testdata"
|
dtd "github.com/alcionai/canario/src/pkg/backup/details/testdata"
|
||||||
"github.com/alcionai/corso/src/pkg/control"
|
"github.com/alcionai/canario/src/pkg/control"
|
||||||
"github.com/alcionai/corso/src/pkg/path"
|
"github.com/alcionai/canario/src/pkg/path"
|
||||||
"github.com/alcionai/corso/src/pkg/selectors"
|
"github.com/alcionai/canario/src/pkg/selectors"
|
||||||
)
|
)
|
||||||
|
|
||||||
type BackupUnitSuite struct {
|
type BackupUnitSuite struct {
|
||||||
|
|||||||
@ -4,12 +4,12 @@ import (
|
|||||||
"github.com/alcionai/clues"
|
"github.com/alcionai/clues"
|
||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
|
|
||||||
"github.com/alcionai/corso/src/cli/flags"
|
"github.com/alcionai/canario/src/cli/flags"
|
||||||
. "github.com/alcionai/corso/src/cli/print"
|
. "github.com/alcionai/canario/src/cli/print"
|
||||||
"github.com/alcionai/corso/src/cli/utils"
|
"github.com/alcionai/canario/src/cli/utils"
|
||||||
"github.com/alcionai/corso/src/pkg/fault"
|
"github.com/alcionai/canario/src/pkg/fault"
|
||||||
"github.com/alcionai/corso/src/pkg/path"
|
"github.com/alcionai/canario/src/pkg/path"
|
||||||
"github.com/alcionai/corso/src/pkg/selectors"
|
"github.com/alcionai/canario/src/pkg/selectors"
|
||||||
)
|
)
|
||||||
|
|
||||||
// ------------------------------------------------------------------------------------------------
|
// ------------------------------------------------------------------------------------------------
|
||||||
|
|||||||
@ -11,20 +11,20 @@ import (
|
|||||||
"github.com/stretchr/testify/require"
|
"github.com/stretchr/testify/require"
|
||||||
"github.com/stretchr/testify/suite"
|
"github.com/stretchr/testify/suite"
|
||||||
|
|
||||||
"github.com/alcionai/corso/src/cli"
|
"github.com/alcionai/canario/src/cli"
|
||||||
"github.com/alcionai/corso/src/cli/flags"
|
"github.com/alcionai/canario/src/cli/flags"
|
||||||
"github.com/alcionai/corso/src/cli/print"
|
"github.com/alcionai/canario/src/cli/print"
|
||||||
cliTD "github.com/alcionai/corso/src/cli/testdata"
|
cliTD "github.com/alcionai/canario/src/cli/testdata"
|
||||||
"github.com/alcionai/corso/src/internal/common/idname"
|
"github.com/alcionai/canario/src/internal/common/idname"
|
||||||
"github.com/alcionai/corso/src/internal/operations"
|
"github.com/alcionai/canario/src/internal/operations"
|
||||||
"github.com/alcionai/corso/src/internal/tester"
|
"github.com/alcionai/canario/src/internal/tester"
|
||||||
"github.com/alcionai/corso/src/internal/tester/its"
|
"github.com/alcionai/canario/src/internal/tester/its"
|
||||||
"github.com/alcionai/corso/src/internal/tester/tconfig"
|
"github.com/alcionai/canario/src/internal/tester/tconfig"
|
||||||
"github.com/alcionai/corso/src/pkg/config"
|
"github.com/alcionai/canario/src/pkg/config"
|
||||||
"github.com/alcionai/corso/src/pkg/path"
|
"github.com/alcionai/canario/src/pkg/path"
|
||||||
"github.com/alcionai/corso/src/pkg/selectors"
|
"github.com/alcionai/canario/src/pkg/selectors"
|
||||||
"github.com/alcionai/corso/src/pkg/services/m365/api"
|
"github.com/alcionai/canario/src/pkg/services/m365/api"
|
||||||
storeTD "github.com/alcionai/corso/src/pkg/storage/testdata"
|
storeTD "github.com/alcionai/canario/src/pkg/storage/testdata"
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
|
|||||||
@ -10,12 +10,12 @@ import (
|
|||||||
"github.com/stretchr/testify/require"
|
"github.com/stretchr/testify/require"
|
||||||
"github.com/stretchr/testify/suite"
|
"github.com/stretchr/testify/suite"
|
||||||
|
|
||||||
"github.com/alcionai/corso/src/cli/flags"
|
"github.com/alcionai/canario/src/cli/flags"
|
||||||
flagsTD "github.com/alcionai/corso/src/cli/flags/testdata"
|
flagsTD "github.com/alcionai/canario/src/cli/flags/testdata"
|
||||||
cliTD "github.com/alcionai/corso/src/cli/testdata"
|
cliTD "github.com/alcionai/canario/src/cli/testdata"
|
||||||
"github.com/alcionai/corso/src/cli/utils"
|
"github.com/alcionai/canario/src/cli/utils"
|
||||||
"github.com/alcionai/corso/src/internal/tester"
|
"github.com/alcionai/canario/src/internal/tester"
|
||||||
"github.com/alcionai/corso/src/pkg/control"
|
"github.com/alcionai/canario/src/pkg/control"
|
||||||
)
|
)
|
||||||
|
|
||||||
type ExchangeUnitSuite struct {
|
type ExchangeUnitSuite struct {
|
||||||
|
|||||||
@ -8,15 +8,15 @@ import (
|
|||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
"golang.org/x/exp/slices"
|
"golang.org/x/exp/slices"
|
||||||
|
|
||||||
"github.com/alcionai/corso/src/cli/flags"
|
"github.com/alcionai/canario/src/cli/flags"
|
||||||
. "github.com/alcionai/corso/src/cli/print"
|
. "github.com/alcionai/canario/src/cli/print"
|
||||||
"github.com/alcionai/corso/src/cli/utils"
|
"github.com/alcionai/canario/src/cli/utils"
|
||||||
"github.com/alcionai/corso/src/internal/common/idname"
|
"github.com/alcionai/canario/src/internal/common/idname"
|
||||||
"github.com/alcionai/corso/src/pkg/fault"
|
"github.com/alcionai/canario/src/pkg/fault"
|
||||||
"github.com/alcionai/corso/src/pkg/filters"
|
"github.com/alcionai/canario/src/pkg/filters"
|
||||||
"github.com/alcionai/corso/src/pkg/path"
|
"github.com/alcionai/canario/src/pkg/path"
|
||||||
"github.com/alcionai/corso/src/pkg/selectors"
|
"github.com/alcionai/canario/src/pkg/selectors"
|
||||||
"github.com/alcionai/corso/src/pkg/services/m365"
|
"github.com/alcionai/canario/src/pkg/services/m365"
|
||||||
)
|
)
|
||||||
|
|
||||||
// ------------------------------------------------------------------------------------------------
|
// ------------------------------------------------------------------------------------------------
|
||||||
|
|||||||
@ -13,20 +13,20 @@ import (
|
|||||||
"github.com/stretchr/testify/require"
|
"github.com/stretchr/testify/require"
|
||||||
"github.com/stretchr/testify/suite"
|
"github.com/stretchr/testify/suite"
|
||||||
|
|
||||||
"github.com/alcionai/corso/src/cli"
|
"github.com/alcionai/canario/src/cli"
|
||||||
"github.com/alcionai/corso/src/cli/flags"
|
"github.com/alcionai/canario/src/cli/flags"
|
||||||
"github.com/alcionai/corso/src/cli/print"
|
"github.com/alcionai/canario/src/cli/print"
|
||||||
cliTD "github.com/alcionai/corso/src/cli/testdata"
|
cliTD "github.com/alcionai/canario/src/cli/testdata"
|
||||||
"github.com/alcionai/corso/src/internal/common/idname"
|
"github.com/alcionai/canario/src/internal/common/idname"
|
||||||
"github.com/alcionai/corso/src/internal/operations"
|
"github.com/alcionai/canario/src/internal/operations"
|
||||||
"github.com/alcionai/corso/src/internal/tester"
|
"github.com/alcionai/canario/src/internal/tester"
|
||||||
"github.com/alcionai/corso/src/internal/tester/its"
|
"github.com/alcionai/canario/src/internal/tester/its"
|
||||||
"github.com/alcionai/corso/src/internal/tester/tconfig"
|
"github.com/alcionai/canario/src/internal/tester/tconfig"
|
||||||
"github.com/alcionai/corso/src/pkg/config"
|
"github.com/alcionai/canario/src/pkg/config"
|
||||||
"github.com/alcionai/corso/src/pkg/path"
|
"github.com/alcionai/canario/src/pkg/path"
|
||||||
"github.com/alcionai/corso/src/pkg/selectors"
|
"github.com/alcionai/canario/src/pkg/selectors"
|
||||||
selTD "github.com/alcionai/corso/src/pkg/selectors/testdata"
|
selTD "github.com/alcionai/canario/src/pkg/selectors/testdata"
|
||||||
storeTD "github.com/alcionai/corso/src/pkg/storage/testdata"
|
storeTD "github.com/alcionai/canario/src/pkg/storage/testdata"
|
||||||
)
|
)
|
||||||
|
|
||||||
// ---------------------------------------------------------------------------
|
// ---------------------------------------------------------------------------
|
||||||
|
|||||||
@ -10,12 +10,12 @@ import (
|
|||||||
"github.com/stretchr/testify/require"
|
"github.com/stretchr/testify/require"
|
||||||
"github.com/stretchr/testify/suite"
|
"github.com/stretchr/testify/suite"
|
||||||
|
|
||||||
"github.com/alcionai/corso/src/cli/flags"
|
"github.com/alcionai/canario/src/cli/flags"
|
||||||
flagsTD "github.com/alcionai/corso/src/cli/flags/testdata"
|
flagsTD "github.com/alcionai/canario/src/cli/flags/testdata"
|
||||||
cliTD "github.com/alcionai/corso/src/cli/testdata"
|
cliTD "github.com/alcionai/canario/src/cli/testdata"
|
||||||
"github.com/alcionai/corso/src/cli/utils"
|
"github.com/alcionai/canario/src/cli/utils"
|
||||||
"github.com/alcionai/corso/src/internal/tester"
|
"github.com/alcionai/canario/src/internal/tester"
|
||||||
"github.com/alcionai/corso/src/pkg/control"
|
"github.com/alcionai/canario/src/pkg/control"
|
||||||
)
|
)
|
||||||
|
|
||||||
type GroupsUnitSuite struct {
|
type GroupsUnitSuite struct {
|
||||||
|
|||||||
@ -10,18 +10,18 @@ import (
|
|||||||
"github.com/spf13/viper"
|
"github.com/spf13/viper"
|
||||||
"github.com/stretchr/testify/require"
|
"github.com/stretchr/testify/require"
|
||||||
|
|
||||||
"github.com/alcionai/corso/src/cli"
|
"github.com/alcionai/canario/src/cli"
|
||||||
"github.com/alcionai/corso/src/cli/flags"
|
"github.com/alcionai/canario/src/cli/flags"
|
||||||
"github.com/alcionai/corso/src/cli/print"
|
"github.com/alcionai/canario/src/cli/print"
|
||||||
cliTD "github.com/alcionai/corso/src/cli/testdata"
|
cliTD "github.com/alcionai/canario/src/cli/testdata"
|
||||||
"github.com/alcionai/corso/src/internal/tester/tconfig"
|
"github.com/alcionai/canario/src/internal/tester/tconfig"
|
||||||
"github.com/alcionai/corso/src/pkg/account"
|
"github.com/alcionai/canario/src/pkg/account"
|
||||||
"github.com/alcionai/corso/src/pkg/config"
|
"github.com/alcionai/canario/src/pkg/config"
|
||||||
"github.com/alcionai/corso/src/pkg/control"
|
"github.com/alcionai/canario/src/pkg/control"
|
||||||
"github.com/alcionai/corso/src/pkg/path"
|
"github.com/alcionai/canario/src/pkg/path"
|
||||||
"github.com/alcionai/corso/src/pkg/repository"
|
"github.com/alcionai/canario/src/pkg/repository"
|
||||||
"github.com/alcionai/corso/src/pkg/storage"
|
"github.com/alcionai/canario/src/pkg/storage"
|
||||||
"github.com/alcionai/corso/src/pkg/storage/testdata"
|
"github.com/alcionai/canario/src/pkg/storage/testdata"
|
||||||
)
|
)
|
||||||
|
|
||||||
type dependencies struct {
|
type dependencies struct {
|
||||||
|
|||||||
@ -5,12 +5,12 @@ import (
|
|||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
"github.com/spf13/pflag"
|
"github.com/spf13/pflag"
|
||||||
|
|
||||||
"github.com/alcionai/corso/src/cli/flags"
|
"github.com/alcionai/canario/src/cli/flags"
|
||||||
. "github.com/alcionai/corso/src/cli/print"
|
. "github.com/alcionai/canario/src/cli/print"
|
||||||
"github.com/alcionai/corso/src/cli/utils"
|
"github.com/alcionai/canario/src/cli/utils"
|
||||||
"github.com/alcionai/corso/src/pkg/fault"
|
"github.com/alcionai/canario/src/pkg/fault"
|
||||||
"github.com/alcionai/corso/src/pkg/path"
|
"github.com/alcionai/canario/src/pkg/path"
|
||||||
"github.com/alcionai/corso/src/pkg/selectors"
|
"github.com/alcionai/canario/src/pkg/selectors"
|
||||||
)
|
)
|
||||||
|
|
||||||
// ------------------------------------------------------------------------------------------------
|
// ------------------------------------------------------------------------------------------------
|
||||||
|
|||||||
@ -11,19 +11,19 @@ import (
|
|||||||
"github.com/stretchr/testify/require"
|
"github.com/stretchr/testify/require"
|
||||||
"github.com/stretchr/testify/suite"
|
"github.com/stretchr/testify/suite"
|
||||||
|
|
||||||
"github.com/alcionai/corso/src/cli"
|
"github.com/alcionai/canario/src/cli"
|
||||||
"github.com/alcionai/corso/src/cli/flags"
|
"github.com/alcionai/canario/src/cli/flags"
|
||||||
"github.com/alcionai/corso/src/cli/print"
|
"github.com/alcionai/canario/src/cli/print"
|
||||||
cliTD "github.com/alcionai/corso/src/cli/testdata"
|
cliTD "github.com/alcionai/canario/src/cli/testdata"
|
||||||
"github.com/alcionai/corso/src/internal/common/idname"
|
"github.com/alcionai/canario/src/internal/common/idname"
|
||||||
"github.com/alcionai/corso/src/internal/operations"
|
"github.com/alcionai/canario/src/internal/operations"
|
||||||
"github.com/alcionai/corso/src/internal/tester"
|
"github.com/alcionai/canario/src/internal/tester"
|
||||||
"github.com/alcionai/corso/src/internal/tester/tconfig"
|
"github.com/alcionai/canario/src/internal/tester/tconfig"
|
||||||
"github.com/alcionai/corso/src/pkg/config"
|
"github.com/alcionai/canario/src/pkg/config"
|
||||||
"github.com/alcionai/corso/src/pkg/path"
|
"github.com/alcionai/canario/src/pkg/path"
|
||||||
"github.com/alcionai/corso/src/pkg/selectors"
|
"github.com/alcionai/canario/src/pkg/selectors"
|
||||||
selTD "github.com/alcionai/corso/src/pkg/selectors/testdata"
|
selTD "github.com/alcionai/canario/src/pkg/selectors/testdata"
|
||||||
storeTD "github.com/alcionai/corso/src/pkg/storage/testdata"
|
storeTD "github.com/alcionai/canario/src/pkg/storage/testdata"
|
||||||
)
|
)
|
||||||
|
|
||||||
// ---------------------------------------------------------------------------
|
// ---------------------------------------------------------------------------
|
||||||
|
|||||||
@ -9,12 +9,12 @@ import (
|
|||||||
"github.com/stretchr/testify/require"
|
"github.com/stretchr/testify/require"
|
||||||
"github.com/stretchr/testify/suite"
|
"github.com/stretchr/testify/suite"
|
||||||
|
|
||||||
"github.com/alcionai/corso/src/cli/flags"
|
"github.com/alcionai/canario/src/cli/flags"
|
||||||
flagsTD "github.com/alcionai/corso/src/cli/flags/testdata"
|
flagsTD "github.com/alcionai/canario/src/cli/flags/testdata"
|
||||||
cliTD "github.com/alcionai/corso/src/cli/testdata"
|
cliTD "github.com/alcionai/canario/src/cli/testdata"
|
||||||
"github.com/alcionai/corso/src/cli/utils"
|
"github.com/alcionai/canario/src/cli/utils"
|
||||||
"github.com/alcionai/corso/src/internal/tester"
|
"github.com/alcionai/canario/src/internal/tester"
|
||||||
"github.com/alcionai/corso/src/pkg/control"
|
"github.com/alcionai/canario/src/pkg/control"
|
||||||
)
|
)
|
||||||
|
|
||||||
type OneDriveUnitSuite struct {
|
type OneDriveUnitSuite struct {
|
||||||
|
|||||||
@ -7,15 +7,15 @@ import (
|
|||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
"golang.org/x/exp/slices"
|
"golang.org/x/exp/slices"
|
||||||
|
|
||||||
"github.com/alcionai/corso/src/cli/flags"
|
"github.com/alcionai/canario/src/cli/flags"
|
||||||
. "github.com/alcionai/corso/src/cli/print"
|
. "github.com/alcionai/canario/src/cli/print"
|
||||||
"github.com/alcionai/corso/src/cli/utils"
|
"github.com/alcionai/canario/src/cli/utils"
|
||||||
"github.com/alcionai/corso/src/internal/common/idname"
|
"github.com/alcionai/canario/src/internal/common/idname"
|
||||||
"github.com/alcionai/corso/src/pkg/fault"
|
"github.com/alcionai/canario/src/pkg/fault"
|
||||||
"github.com/alcionai/corso/src/pkg/filters"
|
"github.com/alcionai/canario/src/pkg/filters"
|
||||||
"github.com/alcionai/corso/src/pkg/path"
|
"github.com/alcionai/canario/src/pkg/path"
|
||||||
"github.com/alcionai/corso/src/pkg/selectors"
|
"github.com/alcionai/canario/src/pkg/selectors"
|
||||||
"github.com/alcionai/corso/src/pkg/services/m365"
|
"github.com/alcionai/canario/src/pkg/services/m365"
|
||||||
)
|
)
|
||||||
|
|
||||||
// ------------------------------------------------------------------------------------------------
|
// ------------------------------------------------------------------------------------------------
|
||||||
|
|||||||
@ -13,21 +13,21 @@ import (
|
|||||||
"github.com/stretchr/testify/require"
|
"github.com/stretchr/testify/require"
|
||||||
"github.com/stretchr/testify/suite"
|
"github.com/stretchr/testify/suite"
|
||||||
|
|
||||||
"github.com/alcionai/corso/src/cli"
|
"github.com/alcionai/canario/src/cli"
|
||||||
"github.com/alcionai/corso/src/cli/flags"
|
"github.com/alcionai/canario/src/cli/flags"
|
||||||
"github.com/alcionai/corso/src/cli/print"
|
"github.com/alcionai/canario/src/cli/print"
|
||||||
cliTD "github.com/alcionai/corso/src/cli/testdata"
|
cliTD "github.com/alcionai/canario/src/cli/testdata"
|
||||||
"github.com/alcionai/corso/src/internal/common/idname"
|
"github.com/alcionai/canario/src/internal/common/idname"
|
||||||
"github.com/alcionai/corso/src/internal/operations"
|
"github.com/alcionai/canario/src/internal/operations"
|
||||||
"github.com/alcionai/corso/src/internal/tester"
|
"github.com/alcionai/canario/src/internal/tester"
|
||||||
"github.com/alcionai/corso/src/internal/tester/its"
|
"github.com/alcionai/canario/src/internal/tester/its"
|
||||||
"github.com/alcionai/corso/src/internal/tester/tconfig"
|
"github.com/alcionai/canario/src/internal/tester/tconfig"
|
||||||
"github.com/alcionai/corso/src/pkg/backup/details"
|
"github.com/alcionai/canario/src/pkg/backup/details"
|
||||||
"github.com/alcionai/corso/src/pkg/config"
|
"github.com/alcionai/canario/src/pkg/config"
|
||||||
"github.com/alcionai/corso/src/pkg/path"
|
"github.com/alcionai/canario/src/pkg/path"
|
||||||
"github.com/alcionai/corso/src/pkg/selectors"
|
"github.com/alcionai/canario/src/pkg/selectors"
|
||||||
"github.com/alcionai/corso/src/pkg/selectors/testdata"
|
"github.com/alcionai/canario/src/pkg/selectors/testdata"
|
||||||
storeTD "github.com/alcionai/corso/src/pkg/storage/testdata"
|
storeTD "github.com/alcionai/canario/src/pkg/storage/testdata"
|
||||||
)
|
)
|
||||||
|
|
||||||
// ---------------------------------------------------------------------------
|
// ---------------------------------------------------------------------------
|
||||||
@ -110,7 +110,7 @@ func (suite *BackupSharepointE2ESuite) SetupSuite() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (suite *BackupSharepointE2ESuite) TestSharepointBackupCmd_lists() {
|
func (suite *BackupSharepointE2ESuite) TestSharepointBackupCmd_lists() {
|
||||||
// Issue: https://github.com/alcionai/corso/issues/4754
|
// Issue: https://github.com/alcionai/canario/issues/4754
|
||||||
suite.T().Skip("unskip when sharepoint lists support is enabled")
|
suite.T().Skip("unskip when sharepoint lists support is enabled")
|
||||||
runSharepointBackupCategoryTest(suite, flags.DataLists)
|
runSharepointBackupCategoryTest(suite, flags.DataLists)
|
||||||
}
|
}
|
||||||
@ -142,7 +142,7 @@ func runSharepointBackupCategoryTest(suite *BackupSharepointE2ESuite, category s
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (suite *BackupSharepointE2ESuite) TestSharepointBackupCmd_siteNotFound_lists() {
|
func (suite *BackupSharepointE2ESuite) TestSharepointBackupCmd_siteNotFound_lists() {
|
||||||
// Issue: https://github.com/alcionai/corso/issues/4754
|
// Issue: https://github.com/alcionai/canario/issues/4754
|
||||||
suite.T().Skip("un-skip test when lists support is enabled")
|
suite.T().Skip("un-skip test when lists support is enabled")
|
||||||
runSharepointBackupSiteNotFoundTest(suite, flags.DataLists)
|
runSharepointBackupSiteNotFoundTest(suite, flags.DataLists)
|
||||||
}
|
}
|
||||||
|
|||||||
@ -10,14 +10,14 @@ import (
|
|||||||
"github.com/stretchr/testify/require"
|
"github.com/stretchr/testify/require"
|
||||||
"github.com/stretchr/testify/suite"
|
"github.com/stretchr/testify/suite"
|
||||||
|
|
||||||
"github.com/alcionai/corso/src/cli/flags"
|
"github.com/alcionai/canario/src/cli/flags"
|
||||||
flagsTD "github.com/alcionai/corso/src/cli/flags/testdata"
|
flagsTD "github.com/alcionai/canario/src/cli/flags/testdata"
|
||||||
cliTD "github.com/alcionai/corso/src/cli/testdata"
|
cliTD "github.com/alcionai/canario/src/cli/testdata"
|
||||||
"github.com/alcionai/corso/src/cli/utils"
|
"github.com/alcionai/canario/src/cli/utils"
|
||||||
"github.com/alcionai/corso/src/internal/common/idname"
|
"github.com/alcionai/canario/src/internal/common/idname"
|
||||||
"github.com/alcionai/corso/src/internal/tester"
|
"github.com/alcionai/canario/src/internal/tester"
|
||||||
"github.com/alcionai/corso/src/pkg/control"
|
"github.com/alcionai/canario/src/pkg/control"
|
||||||
"github.com/alcionai/corso/src/pkg/selectors"
|
"github.com/alcionai/canario/src/pkg/selectors"
|
||||||
)
|
)
|
||||||
|
|
||||||
type SharePointUnitSuite struct {
|
type SharePointUnitSuite struct {
|
||||||
|
|||||||
@ -8,15 +8,15 @@ import (
|
|||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
"golang.org/x/exp/slices"
|
"golang.org/x/exp/slices"
|
||||||
|
|
||||||
"github.com/alcionai/corso/src/cli/flags"
|
"github.com/alcionai/canario/src/cli/flags"
|
||||||
. "github.com/alcionai/corso/src/cli/print"
|
. "github.com/alcionai/canario/src/cli/print"
|
||||||
"github.com/alcionai/corso/src/cli/utils"
|
"github.com/alcionai/canario/src/cli/utils"
|
||||||
"github.com/alcionai/corso/src/internal/common/idname"
|
"github.com/alcionai/canario/src/internal/common/idname"
|
||||||
"github.com/alcionai/corso/src/pkg/fault"
|
"github.com/alcionai/canario/src/pkg/fault"
|
||||||
"github.com/alcionai/corso/src/pkg/filters"
|
"github.com/alcionai/canario/src/pkg/filters"
|
||||||
"github.com/alcionai/corso/src/pkg/path"
|
"github.com/alcionai/canario/src/pkg/path"
|
||||||
"github.com/alcionai/corso/src/pkg/selectors"
|
"github.com/alcionai/canario/src/pkg/selectors"
|
||||||
"github.com/alcionai/corso/src/pkg/services/m365"
|
"github.com/alcionai/canario/src/pkg/services/m365"
|
||||||
)
|
)
|
||||||
|
|
||||||
// ------------------------------------------------------------------------------------------------
|
// ------------------------------------------------------------------------------------------------
|
||||||
|
|||||||
@ -13,20 +13,20 @@ import (
|
|||||||
"github.com/stretchr/testify/require"
|
"github.com/stretchr/testify/require"
|
||||||
"github.com/stretchr/testify/suite"
|
"github.com/stretchr/testify/suite"
|
||||||
|
|
||||||
"github.com/alcionai/corso/src/cli"
|
"github.com/alcionai/canario/src/cli"
|
||||||
"github.com/alcionai/corso/src/cli/flags"
|
"github.com/alcionai/canario/src/cli/flags"
|
||||||
"github.com/alcionai/corso/src/cli/print"
|
"github.com/alcionai/canario/src/cli/print"
|
||||||
cliTD "github.com/alcionai/corso/src/cli/testdata"
|
cliTD "github.com/alcionai/canario/src/cli/testdata"
|
||||||
"github.com/alcionai/corso/src/internal/common/idname"
|
"github.com/alcionai/canario/src/internal/common/idname"
|
||||||
"github.com/alcionai/corso/src/internal/operations"
|
"github.com/alcionai/canario/src/internal/operations"
|
||||||
"github.com/alcionai/corso/src/internal/tester"
|
"github.com/alcionai/canario/src/internal/tester"
|
||||||
"github.com/alcionai/corso/src/internal/tester/its"
|
"github.com/alcionai/canario/src/internal/tester/its"
|
||||||
"github.com/alcionai/corso/src/internal/tester/tconfig"
|
"github.com/alcionai/canario/src/internal/tester/tconfig"
|
||||||
"github.com/alcionai/corso/src/pkg/config"
|
"github.com/alcionai/canario/src/pkg/config"
|
||||||
"github.com/alcionai/corso/src/pkg/path"
|
"github.com/alcionai/canario/src/pkg/path"
|
||||||
"github.com/alcionai/corso/src/pkg/selectors"
|
"github.com/alcionai/canario/src/pkg/selectors"
|
||||||
selTD "github.com/alcionai/corso/src/pkg/selectors/testdata"
|
selTD "github.com/alcionai/canario/src/pkg/selectors/testdata"
|
||||||
storeTD "github.com/alcionai/corso/src/pkg/storage/testdata"
|
storeTD "github.com/alcionai/canario/src/pkg/storage/testdata"
|
||||||
)
|
)
|
||||||
|
|
||||||
// ---------------------------------------------------------------------------
|
// ---------------------------------------------------------------------------
|
||||||
|
|||||||
@ -9,12 +9,12 @@ import (
|
|||||||
"github.com/stretchr/testify/require"
|
"github.com/stretchr/testify/require"
|
||||||
"github.com/stretchr/testify/suite"
|
"github.com/stretchr/testify/suite"
|
||||||
|
|
||||||
"github.com/alcionai/corso/src/cli/flags"
|
"github.com/alcionai/canario/src/cli/flags"
|
||||||
flagsTD "github.com/alcionai/corso/src/cli/flags/testdata"
|
flagsTD "github.com/alcionai/canario/src/cli/flags/testdata"
|
||||||
cliTD "github.com/alcionai/corso/src/cli/testdata"
|
cliTD "github.com/alcionai/canario/src/cli/testdata"
|
||||||
"github.com/alcionai/corso/src/cli/utils"
|
"github.com/alcionai/canario/src/cli/utils"
|
||||||
"github.com/alcionai/corso/src/internal/tester"
|
"github.com/alcionai/canario/src/internal/tester"
|
||||||
"github.com/alcionai/corso/src/pkg/control"
|
"github.com/alcionai/canario/src/pkg/control"
|
||||||
)
|
)
|
||||||
|
|
||||||
type TeamsChatsUnitSuite struct {
|
type TeamsChatsUnitSuite struct {
|
||||||
|
|||||||
@ -9,18 +9,18 @@ import (
|
|||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
"golang.org/x/exp/slices"
|
"golang.org/x/exp/slices"
|
||||||
|
|
||||||
"github.com/alcionai/corso/src/cli/backup"
|
"github.com/alcionai/canario/src/cli/backup"
|
||||||
"github.com/alcionai/corso/src/cli/debug"
|
"github.com/alcionai/canario/src/cli/debug"
|
||||||
"github.com/alcionai/corso/src/cli/export"
|
"github.com/alcionai/canario/src/cli/export"
|
||||||
"github.com/alcionai/corso/src/cli/flags"
|
"github.com/alcionai/canario/src/cli/flags"
|
||||||
"github.com/alcionai/corso/src/cli/help"
|
"github.com/alcionai/canario/src/cli/help"
|
||||||
"github.com/alcionai/corso/src/cli/print"
|
"github.com/alcionai/canario/src/cli/print"
|
||||||
"github.com/alcionai/corso/src/cli/repo"
|
"github.com/alcionai/canario/src/cli/repo"
|
||||||
"github.com/alcionai/corso/src/cli/restore"
|
"github.com/alcionai/canario/src/cli/restore"
|
||||||
"github.com/alcionai/corso/src/internal/observe"
|
"github.com/alcionai/canario/src/internal/observe"
|
||||||
"github.com/alcionai/corso/src/internal/version"
|
"github.com/alcionai/canario/src/internal/version"
|
||||||
"github.com/alcionai/corso/src/pkg/config"
|
"github.com/alcionai/canario/src/pkg/config"
|
||||||
"github.com/alcionai/corso/src/pkg/logger"
|
"github.com/alcionai/canario/src/pkg/logger"
|
||||||
)
|
)
|
||||||
|
|
||||||
// ------------------------------------------------------------------------------------------
|
// ------------------------------------------------------------------------------------------
|
||||||
|
|||||||
@ -7,8 +7,8 @@ import (
|
|||||||
"github.com/stretchr/testify/assert"
|
"github.com/stretchr/testify/assert"
|
||||||
"github.com/stretchr/testify/suite"
|
"github.com/stretchr/testify/suite"
|
||||||
|
|
||||||
"github.com/alcionai/corso/src/cli"
|
"github.com/alcionai/canario/src/cli"
|
||||||
"github.com/alcionai/corso/src/internal/tester"
|
"github.com/alcionai/canario/src/internal/tester"
|
||||||
)
|
)
|
||||||
|
|
||||||
type CLIUnitSuite struct {
|
type CLIUnitSuite struct {
|
||||||
|
|||||||
@ -6,11 +6,11 @@ import (
|
|||||||
"github.com/alcionai/clues"
|
"github.com/alcionai/clues"
|
||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
|
|
||||||
"github.com/alcionai/corso/src/cli/flags"
|
"github.com/alcionai/canario/src/cli/flags"
|
||||||
. "github.com/alcionai/corso/src/cli/print"
|
. "github.com/alcionai/canario/src/cli/print"
|
||||||
"github.com/alcionai/corso/src/cli/utils"
|
"github.com/alcionai/canario/src/cli/utils"
|
||||||
"github.com/alcionai/corso/src/pkg/fault"
|
"github.com/alcionai/canario/src/pkg/fault"
|
||||||
"github.com/alcionai/corso/src/pkg/selectors"
|
"github.com/alcionai/canario/src/pkg/selectors"
|
||||||
)
|
)
|
||||||
|
|
||||||
var subCommandFuncs = []func() *cobra.Command{
|
var subCommandFuncs = []func() *cobra.Command{
|
||||||
|
|||||||
@ -3,9 +3,9 @@ package debug
|
|||||||
import (
|
import (
|
||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
|
|
||||||
"github.com/alcionai/corso/src/cli/flags"
|
"github.com/alcionai/canario/src/cli/flags"
|
||||||
"github.com/alcionai/corso/src/cli/utils"
|
"github.com/alcionai/canario/src/cli/utils"
|
||||||
"github.com/alcionai/corso/src/pkg/selectors"
|
"github.com/alcionai/canario/src/pkg/selectors"
|
||||||
)
|
)
|
||||||
|
|
||||||
// called by debug.go to map subcommands to provider-specific handling.
|
// called by debug.go to map subcommands to provider-specific handling.
|
||||||
|
|||||||
@ -7,10 +7,10 @@ import (
|
|||||||
"github.com/stretchr/testify/assert"
|
"github.com/stretchr/testify/assert"
|
||||||
"github.com/stretchr/testify/suite"
|
"github.com/stretchr/testify/suite"
|
||||||
|
|
||||||
"github.com/alcionai/corso/src/cli/flags"
|
"github.com/alcionai/canario/src/cli/flags"
|
||||||
flagsTD "github.com/alcionai/corso/src/cli/flags/testdata"
|
flagsTD "github.com/alcionai/canario/src/cli/flags/testdata"
|
||||||
cliTD "github.com/alcionai/corso/src/cli/testdata"
|
cliTD "github.com/alcionai/canario/src/cli/testdata"
|
||||||
"github.com/alcionai/corso/src/internal/tester"
|
"github.com/alcionai/canario/src/internal/tester"
|
||||||
)
|
)
|
||||||
|
|
||||||
type ExchangeUnitSuite struct {
|
type ExchangeUnitSuite struct {
|
||||||
|
|||||||
@ -3,9 +3,9 @@ package debug
|
|||||||
import (
|
import (
|
||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
|
|
||||||
"github.com/alcionai/corso/src/cli/flags"
|
"github.com/alcionai/canario/src/cli/flags"
|
||||||
"github.com/alcionai/corso/src/cli/utils"
|
"github.com/alcionai/canario/src/cli/utils"
|
||||||
"github.com/alcionai/corso/src/pkg/selectors"
|
"github.com/alcionai/canario/src/pkg/selectors"
|
||||||
)
|
)
|
||||||
|
|
||||||
// called by debug.go to map subcommands to provider-specific handling.
|
// called by debug.go to map subcommands to provider-specific handling.
|
||||||
|
|||||||
@ -7,10 +7,10 @@ import (
|
|||||||
"github.com/stretchr/testify/assert"
|
"github.com/stretchr/testify/assert"
|
||||||
"github.com/stretchr/testify/suite"
|
"github.com/stretchr/testify/suite"
|
||||||
|
|
||||||
"github.com/alcionai/corso/src/cli/flags"
|
"github.com/alcionai/canario/src/cli/flags"
|
||||||
flagsTD "github.com/alcionai/corso/src/cli/flags/testdata"
|
flagsTD "github.com/alcionai/canario/src/cli/flags/testdata"
|
||||||
cliTD "github.com/alcionai/corso/src/cli/testdata"
|
cliTD "github.com/alcionai/canario/src/cli/testdata"
|
||||||
"github.com/alcionai/corso/src/internal/tester"
|
"github.com/alcionai/canario/src/internal/tester"
|
||||||
)
|
)
|
||||||
|
|
||||||
type GroupsUnitSuite struct {
|
type GroupsUnitSuite struct {
|
||||||
|
|||||||
@ -3,9 +3,9 @@ package debug
|
|||||||
import (
|
import (
|
||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
|
|
||||||
"github.com/alcionai/corso/src/cli/flags"
|
"github.com/alcionai/canario/src/cli/flags"
|
||||||
"github.com/alcionai/corso/src/cli/utils"
|
"github.com/alcionai/canario/src/cli/utils"
|
||||||
"github.com/alcionai/corso/src/pkg/selectors"
|
"github.com/alcionai/canario/src/pkg/selectors"
|
||||||
)
|
)
|
||||||
|
|
||||||
// called by debug.go to map subcommands to provider-specific handling.
|
// called by debug.go to map subcommands to provider-specific handling.
|
||||||
|
|||||||
@ -7,10 +7,10 @@ import (
|
|||||||
"github.com/stretchr/testify/assert"
|
"github.com/stretchr/testify/assert"
|
||||||
"github.com/stretchr/testify/suite"
|
"github.com/stretchr/testify/suite"
|
||||||
|
|
||||||
"github.com/alcionai/corso/src/cli/flags"
|
"github.com/alcionai/canario/src/cli/flags"
|
||||||
flagsTD "github.com/alcionai/corso/src/cli/flags/testdata"
|
flagsTD "github.com/alcionai/canario/src/cli/flags/testdata"
|
||||||
cliTD "github.com/alcionai/corso/src/cli/testdata"
|
cliTD "github.com/alcionai/canario/src/cli/testdata"
|
||||||
"github.com/alcionai/corso/src/internal/tester"
|
"github.com/alcionai/canario/src/internal/tester"
|
||||||
)
|
)
|
||||||
|
|
||||||
type OneDriveUnitSuite struct {
|
type OneDriveUnitSuite struct {
|
||||||
|
|||||||
@ -3,9 +3,9 @@ package debug
|
|||||||
import (
|
import (
|
||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
|
|
||||||
"github.com/alcionai/corso/src/cli/flags"
|
"github.com/alcionai/canario/src/cli/flags"
|
||||||
"github.com/alcionai/corso/src/cli/utils"
|
"github.com/alcionai/canario/src/cli/utils"
|
||||||
"github.com/alcionai/corso/src/pkg/selectors"
|
"github.com/alcionai/canario/src/pkg/selectors"
|
||||||
)
|
)
|
||||||
|
|
||||||
// called by debug.go to map subcommands to provider-specific handling.
|
// called by debug.go to map subcommands to provider-specific handling.
|
||||||
|
|||||||
@ -7,10 +7,10 @@ import (
|
|||||||
"github.com/stretchr/testify/assert"
|
"github.com/stretchr/testify/assert"
|
||||||
"github.com/stretchr/testify/suite"
|
"github.com/stretchr/testify/suite"
|
||||||
|
|
||||||
"github.com/alcionai/corso/src/cli/flags"
|
"github.com/alcionai/canario/src/cli/flags"
|
||||||
flagsTD "github.com/alcionai/corso/src/cli/flags/testdata"
|
flagsTD "github.com/alcionai/canario/src/cli/flags/testdata"
|
||||||
cliTD "github.com/alcionai/corso/src/cli/testdata"
|
cliTD "github.com/alcionai/canario/src/cli/testdata"
|
||||||
"github.com/alcionai/corso/src/internal/tester"
|
"github.com/alcionai/canario/src/internal/tester"
|
||||||
)
|
)
|
||||||
|
|
||||||
type SharePointUnitSuite struct {
|
type SharePointUnitSuite struct {
|
||||||
|
|||||||
@ -4,8 +4,8 @@ import (
|
|||||||
"github.com/pkg/errors"
|
"github.com/pkg/errors"
|
||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
|
|
||||||
"github.com/alcionai/corso/src/cli/flags"
|
"github.com/alcionai/canario/src/cli/flags"
|
||||||
"github.com/alcionai/corso/src/cli/utils"
|
"github.com/alcionai/canario/src/cli/utils"
|
||||||
)
|
)
|
||||||
|
|
||||||
// called by export.go to map subcommands to provider-specific handling.
|
// called by export.go to map subcommands to provider-specific handling.
|
||||||
|
|||||||
@ -7,11 +7,11 @@ import (
|
|||||||
"github.com/stretchr/testify/assert"
|
"github.com/stretchr/testify/assert"
|
||||||
"github.com/stretchr/testify/suite"
|
"github.com/stretchr/testify/suite"
|
||||||
|
|
||||||
"github.com/alcionai/corso/src/cli/flags"
|
"github.com/alcionai/canario/src/cli/flags"
|
||||||
flagsTD "github.com/alcionai/corso/src/cli/flags/testdata"
|
flagsTD "github.com/alcionai/canario/src/cli/flags/testdata"
|
||||||
cliTD "github.com/alcionai/corso/src/cli/testdata"
|
cliTD "github.com/alcionai/canario/src/cli/testdata"
|
||||||
"github.com/alcionai/corso/src/cli/utils"
|
"github.com/alcionai/canario/src/cli/utils"
|
||||||
"github.com/alcionai/corso/src/internal/tester"
|
"github.com/alcionai/canario/src/internal/tester"
|
||||||
)
|
)
|
||||||
|
|
||||||
type ExchangeUnitSuite struct {
|
type ExchangeUnitSuite struct {
|
||||||
|
|||||||
@ -8,16 +8,16 @@ import (
|
|||||||
"github.com/dustin/go-humanize"
|
"github.com/dustin/go-humanize"
|
||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
|
|
||||||
"github.com/alcionai/corso/src/cli/flags"
|
"github.com/alcionai/canario/src/cli/flags"
|
||||||
. "github.com/alcionai/corso/src/cli/print"
|
. "github.com/alcionai/canario/src/cli/print"
|
||||||
"github.com/alcionai/corso/src/cli/utils"
|
"github.com/alcionai/canario/src/cli/utils"
|
||||||
"github.com/alcionai/corso/src/internal/data"
|
"github.com/alcionai/canario/src/internal/data"
|
||||||
"github.com/alcionai/corso/src/internal/observe"
|
"github.com/alcionai/canario/src/internal/observe"
|
||||||
"github.com/alcionai/corso/src/internal/operations"
|
"github.com/alcionai/canario/src/internal/operations"
|
||||||
"github.com/alcionai/corso/src/pkg/control"
|
"github.com/alcionai/canario/src/pkg/control"
|
||||||
"github.com/alcionai/corso/src/pkg/dttm"
|
"github.com/alcionai/canario/src/pkg/dttm"
|
||||||
"github.com/alcionai/corso/src/pkg/export"
|
"github.com/alcionai/canario/src/pkg/export"
|
||||||
"github.com/alcionai/corso/src/pkg/selectors"
|
"github.com/alcionai/canario/src/pkg/selectors"
|
||||||
)
|
)
|
||||||
|
|
||||||
var exportCommands = []func(cmd *cobra.Command) *cobra.Command{
|
var exportCommands = []func(cmd *cobra.Command) *cobra.Command{
|
||||||
|
|||||||
@ -4,9 +4,9 @@ import (
|
|||||||
"github.com/pkg/errors"
|
"github.com/pkg/errors"
|
||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
|
|
||||||
"github.com/alcionai/corso/src/cli/flags"
|
"github.com/alcionai/canario/src/cli/flags"
|
||||||
"github.com/alcionai/corso/src/cli/utils"
|
"github.com/alcionai/canario/src/cli/utils"
|
||||||
"github.com/alcionai/corso/src/pkg/control"
|
"github.com/alcionai/canario/src/pkg/control"
|
||||||
)
|
)
|
||||||
|
|
||||||
// called by export.go to map subcommands to provider-specific handling.
|
// called by export.go to map subcommands to provider-specific handling.
|
||||||
|
|||||||
@ -7,11 +7,11 @@ import (
|
|||||||
"github.com/stretchr/testify/assert"
|
"github.com/stretchr/testify/assert"
|
||||||
"github.com/stretchr/testify/suite"
|
"github.com/stretchr/testify/suite"
|
||||||
|
|
||||||
"github.com/alcionai/corso/src/cli/flags"
|
"github.com/alcionai/canario/src/cli/flags"
|
||||||
flagsTD "github.com/alcionai/corso/src/cli/flags/testdata"
|
flagsTD "github.com/alcionai/canario/src/cli/flags/testdata"
|
||||||
cliTD "github.com/alcionai/corso/src/cli/testdata"
|
cliTD "github.com/alcionai/canario/src/cli/testdata"
|
||||||
"github.com/alcionai/corso/src/cli/utils"
|
"github.com/alcionai/canario/src/cli/utils"
|
||||||
"github.com/alcionai/corso/src/internal/tester"
|
"github.com/alcionai/canario/src/internal/tester"
|
||||||
)
|
)
|
||||||
|
|
||||||
type GroupsUnitSuite struct {
|
type GroupsUnitSuite struct {
|
||||||
|
|||||||
@ -4,8 +4,8 @@ import (
|
|||||||
"github.com/pkg/errors"
|
"github.com/pkg/errors"
|
||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
|
|
||||||
"github.com/alcionai/corso/src/cli/flags"
|
"github.com/alcionai/canario/src/cli/flags"
|
||||||
"github.com/alcionai/corso/src/cli/utils"
|
"github.com/alcionai/canario/src/cli/utils"
|
||||||
)
|
)
|
||||||
|
|
||||||
// called by export.go to map subcommands to provider-specific handling.
|
// called by export.go to map subcommands to provider-specific handling.
|
||||||
|
|||||||
@ -7,11 +7,11 @@ import (
|
|||||||
"github.com/stretchr/testify/assert"
|
"github.com/stretchr/testify/assert"
|
||||||
"github.com/stretchr/testify/suite"
|
"github.com/stretchr/testify/suite"
|
||||||
|
|
||||||
"github.com/alcionai/corso/src/cli/flags"
|
"github.com/alcionai/canario/src/cli/flags"
|
||||||
flagsTD "github.com/alcionai/corso/src/cli/flags/testdata"
|
flagsTD "github.com/alcionai/canario/src/cli/flags/testdata"
|
||||||
cliTD "github.com/alcionai/corso/src/cli/testdata"
|
cliTD "github.com/alcionai/canario/src/cli/testdata"
|
||||||
"github.com/alcionai/corso/src/cli/utils"
|
"github.com/alcionai/canario/src/cli/utils"
|
||||||
"github.com/alcionai/corso/src/internal/tester"
|
"github.com/alcionai/canario/src/internal/tester"
|
||||||
)
|
)
|
||||||
|
|
||||||
type OneDriveUnitSuite struct {
|
type OneDriveUnitSuite struct {
|
||||||
|
|||||||
@ -4,8 +4,8 @@ import (
|
|||||||
"github.com/pkg/errors"
|
"github.com/pkg/errors"
|
||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
|
|
||||||
"github.com/alcionai/corso/src/cli/flags"
|
"github.com/alcionai/canario/src/cli/flags"
|
||||||
"github.com/alcionai/corso/src/cli/utils"
|
"github.com/alcionai/canario/src/cli/utils"
|
||||||
)
|
)
|
||||||
|
|
||||||
// called by export.go to map subcommands to provider-specific handling.
|
// called by export.go to map subcommands to provider-specific handling.
|
||||||
|
|||||||
@ -7,11 +7,11 @@ import (
|
|||||||
"github.com/stretchr/testify/assert"
|
"github.com/stretchr/testify/assert"
|
||||||
"github.com/stretchr/testify/suite"
|
"github.com/stretchr/testify/suite"
|
||||||
|
|
||||||
"github.com/alcionai/corso/src/cli/flags"
|
"github.com/alcionai/canario/src/cli/flags"
|
||||||
flagsTD "github.com/alcionai/corso/src/cli/flags/testdata"
|
flagsTD "github.com/alcionai/canario/src/cli/flags/testdata"
|
||||||
cliTD "github.com/alcionai/corso/src/cli/testdata"
|
cliTD "github.com/alcionai/canario/src/cli/testdata"
|
||||||
"github.com/alcionai/corso/src/cli/utils"
|
"github.com/alcionai/canario/src/cli/utils"
|
||||||
"github.com/alcionai/corso/src/internal/tester"
|
"github.com/alcionai/canario/src/internal/tester"
|
||||||
)
|
)
|
||||||
|
|
||||||
type SharePointUnitSuite struct {
|
type SharePointUnitSuite struct {
|
||||||
|
|||||||
@ -3,7 +3,7 @@ package flags
|
|||||||
import (
|
import (
|
||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
|
|
||||||
"github.com/alcionai/corso/src/pkg/storage"
|
"github.com/alcionai/canario/src/pkg/storage"
|
||||||
)
|
)
|
||||||
|
|
||||||
// filesystem flag names
|
// filesystem flag names
|
||||||
|
|||||||
@ -3,7 +3,7 @@ package flags
|
|||||||
import (
|
import (
|
||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
|
|
||||||
"github.com/alcionai/corso/src/pkg/control/repository"
|
"github.com/alcionai/canario/src/pkg/control/repository"
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
|
|||||||
@ -3,7 +3,7 @@ package flags
|
|||||||
import (
|
import (
|
||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
|
|
||||||
"github.com/alcionai/corso/src/pkg/control"
|
"github.com/alcionai/canario/src/pkg/control"
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
|
|||||||
@ -5,7 +5,7 @@ import (
|
|||||||
|
|
||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
|
|
||||||
"github.com/alcionai/corso/src/pkg/control/repository"
|
"github.com/alcionai/canario/src/pkg/control/repository"
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
|
|||||||
@ -5,8 +5,8 @@ import (
|
|||||||
|
|
||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
|
|
||||||
"github.com/alcionai/corso/src/pkg/credentials"
|
"github.com/alcionai/canario/src/pkg/credentials"
|
||||||
"github.com/alcionai/corso/src/pkg/storage"
|
"github.com/alcionai/canario/src/pkg/storage"
|
||||||
)
|
)
|
||||||
|
|
||||||
// S3 bucket flags
|
// S3 bucket flags
|
||||||
|
|||||||
2
src/cli/flags/testdata/backup_list.go
vendored
2
src/cli/flags/testdata/backup_list.go
vendored
@ -6,7 +6,7 @@ import (
|
|||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
"gotest.tools/v3/assert"
|
"gotest.tools/v3/assert"
|
||||||
|
|
||||||
"github.com/alcionai/corso/src/cli/flags"
|
"github.com/alcionai/canario/src/cli/flags"
|
||||||
)
|
)
|
||||||
|
|
||||||
func PreparedBackupListFlags() []string {
|
func PreparedBackupListFlags() []string {
|
||||||
|
|||||||
2
src/cli/flags/testdata/groups.go
vendored
2
src/cli/flags/testdata/groups.go
vendored
@ -6,7 +6,7 @@ import (
|
|||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
"github.com/stretchr/testify/assert"
|
"github.com/stretchr/testify/assert"
|
||||||
|
|
||||||
"github.com/alcionai/corso/src/cli/flags"
|
"github.com/alcionai/canario/src/cli/flags"
|
||||||
)
|
)
|
||||||
|
|
||||||
func PreparedChannelFlags() []string {
|
func PreparedChannelFlags() []string {
|
||||||
|
|||||||
2
src/cli/flags/testdata/repo.go
vendored
2
src/cli/flags/testdata/repo.go
vendored
@ -6,7 +6,7 @@ import (
|
|||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
"github.com/stretchr/testify/assert"
|
"github.com/stretchr/testify/assert"
|
||||||
|
|
||||||
"github.com/alcionai/corso/src/cli/flags"
|
"github.com/alcionai/canario/src/cli/flags"
|
||||||
)
|
)
|
||||||
|
|
||||||
func PreparedStorageFlags() []string {
|
func PreparedStorageFlags() []string {
|
||||||
|
|||||||
2
src/cli/flags/testdata/sharepoint.go
vendored
2
src/cli/flags/testdata/sharepoint.go
vendored
@ -6,7 +6,7 @@ import (
|
|||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
"github.com/stretchr/testify/assert"
|
"github.com/stretchr/testify/assert"
|
||||||
|
|
||||||
"github.com/alcionai/corso/src/cli/flags"
|
"github.com/alcionai/canario/src/cli/flags"
|
||||||
)
|
)
|
||||||
|
|
||||||
func PreparedLibraryFlags() []string {
|
func PreparedLibraryFlags() []string {
|
||||||
|
|||||||
@ -3,7 +3,7 @@ package help
|
|||||||
import (
|
import (
|
||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
|
|
||||||
. "github.com/alcionai/corso/src/cli/print"
|
. "github.com/alcionai/canario/src/cli/print"
|
||||||
)
|
)
|
||||||
|
|
||||||
// AddCommands attaches all `corso env * *` commands to the parent.
|
// AddCommands attaches all `corso env * *` commands to the parent.
|
||||||
|
|||||||
@ -8,7 +8,7 @@ import (
|
|||||||
"github.com/stretchr/testify/require"
|
"github.com/stretchr/testify/require"
|
||||||
"github.com/stretchr/testify/suite"
|
"github.com/stretchr/testify/suite"
|
||||||
|
|
||||||
"github.com/alcionai/corso/src/internal/tester"
|
"github.com/alcionai/canario/src/internal/tester"
|
||||||
)
|
)
|
||||||
|
|
||||||
type EnvSuite struct {
|
type EnvSuite struct {
|
||||||
|
|||||||
@ -11,8 +11,8 @@ import (
|
|||||||
"github.com/tidwall/pretty"
|
"github.com/tidwall/pretty"
|
||||||
"github.com/tomlazar/table"
|
"github.com/tomlazar/table"
|
||||||
|
|
||||||
"github.com/alcionai/corso/src/internal/common/color"
|
"github.com/alcionai/canario/src/internal/common/color"
|
||||||
"github.com/alcionai/corso/src/internal/observe"
|
"github.com/alcionai/canario/src/internal/observe"
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
|
|||||||
@ -9,7 +9,7 @@ import (
|
|||||||
"github.com/stretchr/testify/assert"
|
"github.com/stretchr/testify/assert"
|
||||||
"github.com/stretchr/testify/suite"
|
"github.com/stretchr/testify/suite"
|
||||||
|
|
||||||
"github.com/alcionai/corso/src/internal/tester"
|
"github.com/alcionai/canario/src/internal/tester"
|
||||||
)
|
)
|
||||||
|
|
||||||
type PrintUnitSuite struct {
|
type PrintUnitSuite struct {
|
||||||
|
|||||||
@ -4,14 +4,14 @@ import (
|
|||||||
"github.com/alcionai/clues"
|
"github.com/alcionai/clues"
|
||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
|
|
||||||
"github.com/alcionai/corso/src/cli/flags"
|
"github.com/alcionai/canario/src/cli/flags"
|
||||||
. "github.com/alcionai/corso/src/cli/print"
|
. "github.com/alcionai/canario/src/cli/print"
|
||||||
"github.com/alcionai/corso/src/cli/utils"
|
"github.com/alcionai/canario/src/cli/utils"
|
||||||
"github.com/alcionai/corso/src/internal/events"
|
"github.com/alcionai/canario/src/internal/events"
|
||||||
"github.com/alcionai/corso/src/pkg/config"
|
"github.com/alcionai/canario/src/pkg/config"
|
||||||
ctrlRepo "github.com/alcionai/corso/src/pkg/control/repository"
|
ctrlRepo "github.com/alcionai/canario/src/pkg/control/repository"
|
||||||
"github.com/alcionai/corso/src/pkg/repository"
|
"github.com/alcionai/canario/src/pkg/repository"
|
||||||
"github.com/alcionai/corso/src/pkg/storage"
|
"github.com/alcionai/canario/src/pkg/storage"
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
|
|||||||
@ -8,17 +8,17 @@ import (
|
|||||||
"github.com/stretchr/testify/require"
|
"github.com/stretchr/testify/require"
|
||||||
"github.com/stretchr/testify/suite"
|
"github.com/stretchr/testify/suite"
|
||||||
|
|
||||||
"github.com/alcionai/corso/src/cli"
|
"github.com/alcionai/canario/src/cli"
|
||||||
"github.com/alcionai/corso/src/cli/flags"
|
"github.com/alcionai/canario/src/cli/flags"
|
||||||
cliTD "github.com/alcionai/corso/src/cli/testdata"
|
cliTD "github.com/alcionai/canario/src/cli/testdata"
|
||||||
"github.com/alcionai/corso/src/internal/tester"
|
"github.com/alcionai/canario/src/internal/tester"
|
||||||
"github.com/alcionai/corso/src/internal/tester/tconfig"
|
"github.com/alcionai/canario/src/internal/tester/tconfig"
|
||||||
"github.com/alcionai/corso/src/pkg/account"
|
"github.com/alcionai/canario/src/pkg/account"
|
||||||
"github.com/alcionai/corso/src/pkg/config"
|
"github.com/alcionai/canario/src/pkg/config"
|
||||||
"github.com/alcionai/corso/src/pkg/control"
|
"github.com/alcionai/canario/src/pkg/control"
|
||||||
"github.com/alcionai/corso/src/pkg/repository"
|
"github.com/alcionai/canario/src/pkg/repository"
|
||||||
"github.com/alcionai/corso/src/pkg/storage"
|
"github.com/alcionai/canario/src/pkg/storage"
|
||||||
storeTD "github.com/alcionai/corso/src/pkg/storage/testdata"
|
storeTD "github.com/alcionai/canario/src/pkg/storage/testdata"
|
||||||
)
|
)
|
||||||
|
|
||||||
type FilesystemE2ESuite struct {
|
type FilesystemE2ESuite struct {
|
||||||
|
|||||||
@ -8,7 +8,7 @@ import (
|
|||||||
"github.com/stretchr/testify/require"
|
"github.com/stretchr/testify/require"
|
||||||
"github.com/stretchr/testify/suite"
|
"github.com/stretchr/testify/suite"
|
||||||
|
|
||||||
"github.com/alcionai/corso/src/internal/tester"
|
"github.com/alcionai/canario/src/internal/tester"
|
||||||
)
|
)
|
||||||
|
|
||||||
type FilesystemSuite struct {
|
type FilesystemSuite struct {
|
||||||
|
|||||||
@ -7,13 +7,13 @@ import (
|
|||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
"golang.org/x/exp/maps"
|
"golang.org/x/exp/maps"
|
||||||
|
|
||||||
"github.com/alcionai/corso/src/cli/flags"
|
"github.com/alcionai/canario/src/cli/flags"
|
||||||
. "github.com/alcionai/corso/src/cli/print"
|
. "github.com/alcionai/canario/src/cli/print"
|
||||||
"github.com/alcionai/corso/src/cli/utils"
|
"github.com/alcionai/canario/src/cli/utils"
|
||||||
"github.com/alcionai/corso/src/internal/events"
|
"github.com/alcionai/canario/src/internal/events"
|
||||||
"github.com/alcionai/corso/src/pkg/control/repository"
|
"github.com/alcionai/canario/src/pkg/control/repository"
|
||||||
"github.com/alcionai/corso/src/pkg/path"
|
"github.com/alcionai/canario/src/pkg/path"
|
||||||
repo "github.com/alcionai/corso/src/pkg/repository"
|
repo "github.com/alcionai/canario/src/pkg/repository"
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
|
|||||||
@ -9,15 +9,15 @@ import (
|
|||||||
"github.com/stretchr/testify/require"
|
"github.com/stretchr/testify/require"
|
||||||
"github.com/stretchr/testify/suite"
|
"github.com/stretchr/testify/suite"
|
||||||
|
|
||||||
"github.com/alcionai/corso/src/cli"
|
"github.com/alcionai/canario/src/cli"
|
||||||
"github.com/alcionai/corso/src/cli/flags"
|
"github.com/alcionai/canario/src/cli/flags"
|
||||||
"github.com/alcionai/corso/src/cli/repo"
|
"github.com/alcionai/canario/src/cli/repo"
|
||||||
cliTD "github.com/alcionai/corso/src/cli/testdata"
|
cliTD "github.com/alcionai/canario/src/cli/testdata"
|
||||||
"github.com/alcionai/corso/src/internal/tester"
|
"github.com/alcionai/canario/src/internal/tester"
|
||||||
"github.com/alcionai/corso/src/internal/tester/tconfig"
|
"github.com/alcionai/canario/src/internal/tester/tconfig"
|
||||||
"github.com/alcionai/corso/src/pkg/config"
|
"github.com/alcionai/canario/src/pkg/config"
|
||||||
"github.com/alcionai/corso/src/pkg/storage"
|
"github.com/alcionai/canario/src/pkg/storage"
|
||||||
storeTD "github.com/alcionai/corso/src/pkg/storage/testdata"
|
storeTD "github.com/alcionai/canario/src/pkg/storage/testdata"
|
||||||
)
|
)
|
||||||
|
|
||||||
type RepoUnitSuite struct {
|
type RepoUnitSuite struct {
|
||||||
|
|||||||
@ -6,13 +6,13 @@ import (
|
|||||||
"github.com/alcionai/clues"
|
"github.com/alcionai/clues"
|
||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
|
|
||||||
"github.com/alcionai/corso/src/cli/flags"
|
"github.com/alcionai/canario/src/cli/flags"
|
||||||
. "github.com/alcionai/corso/src/cli/print"
|
. "github.com/alcionai/canario/src/cli/print"
|
||||||
"github.com/alcionai/corso/src/cli/utils"
|
"github.com/alcionai/canario/src/cli/utils"
|
||||||
"github.com/alcionai/corso/src/internal/events"
|
"github.com/alcionai/canario/src/internal/events"
|
||||||
"github.com/alcionai/corso/src/pkg/config"
|
"github.com/alcionai/canario/src/pkg/config"
|
||||||
"github.com/alcionai/corso/src/pkg/repository"
|
"github.com/alcionai/canario/src/pkg/repository"
|
||||||
"github.com/alcionai/corso/src/pkg/storage"
|
"github.com/alcionai/canario/src/pkg/storage"
|
||||||
)
|
)
|
||||||
|
|
||||||
// called by repo.go to map subcommands to provider-specific handling.
|
// called by repo.go to map subcommands to provider-specific handling.
|
||||||
|
|||||||
@ -10,18 +10,18 @@ import (
|
|||||||
"github.com/stretchr/testify/suite"
|
"github.com/stretchr/testify/suite"
|
||||||
"golang.org/x/exp/maps"
|
"golang.org/x/exp/maps"
|
||||||
|
|
||||||
"github.com/alcionai/corso/src/cli"
|
"github.com/alcionai/canario/src/cli"
|
||||||
"github.com/alcionai/corso/src/cli/flags"
|
"github.com/alcionai/canario/src/cli/flags"
|
||||||
cliTD "github.com/alcionai/corso/src/cli/testdata"
|
cliTD "github.com/alcionai/canario/src/cli/testdata"
|
||||||
"github.com/alcionai/corso/src/internal/common/str"
|
"github.com/alcionai/canario/src/internal/common/str"
|
||||||
"github.com/alcionai/corso/src/internal/tester"
|
"github.com/alcionai/canario/src/internal/tester"
|
||||||
"github.com/alcionai/corso/src/internal/tester/tconfig"
|
"github.com/alcionai/canario/src/internal/tester/tconfig"
|
||||||
"github.com/alcionai/corso/src/pkg/account"
|
"github.com/alcionai/canario/src/pkg/account"
|
||||||
"github.com/alcionai/corso/src/pkg/config"
|
"github.com/alcionai/canario/src/pkg/config"
|
||||||
"github.com/alcionai/corso/src/pkg/control"
|
"github.com/alcionai/canario/src/pkg/control"
|
||||||
"github.com/alcionai/corso/src/pkg/repository"
|
"github.com/alcionai/canario/src/pkg/repository"
|
||||||
"github.com/alcionai/corso/src/pkg/storage"
|
"github.com/alcionai/canario/src/pkg/storage"
|
||||||
storeTD "github.com/alcionai/corso/src/pkg/storage/testdata"
|
storeTD "github.com/alcionai/canario/src/pkg/storage/testdata"
|
||||||
)
|
)
|
||||||
|
|
||||||
type S3E2ESuite struct {
|
type S3E2ESuite struct {
|
||||||
|
|||||||
@ -8,7 +8,7 @@ import (
|
|||||||
"github.com/stretchr/testify/require"
|
"github.com/stretchr/testify/require"
|
||||||
"github.com/stretchr/testify/suite"
|
"github.com/stretchr/testify/suite"
|
||||||
|
|
||||||
"github.com/alcionai/corso/src/internal/tester"
|
"github.com/alcionai/canario/src/internal/tester"
|
||||||
)
|
)
|
||||||
|
|
||||||
type S3Suite struct {
|
type S3Suite struct {
|
||||||
|
|||||||
@ -3,8 +3,8 @@ package restore
|
|||||||
import (
|
import (
|
||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
|
|
||||||
"github.com/alcionai/corso/src/cli/flags"
|
"github.com/alcionai/canario/src/cli/flags"
|
||||||
"github.com/alcionai/corso/src/cli/utils"
|
"github.com/alcionai/canario/src/cli/utils"
|
||||||
)
|
)
|
||||||
|
|
||||||
// called by restore.go to map subcommands to provider-specific handling.
|
// called by restore.go to map subcommands to provider-specific handling.
|
||||||
|
|||||||
@ -10,22 +10,22 @@ import (
|
|||||||
"github.com/stretchr/testify/require"
|
"github.com/stretchr/testify/require"
|
||||||
"github.com/stretchr/testify/suite"
|
"github.com/stretchr/testify/suite"
|
||||||
|
|
||||||
"github.com/alcionai/corso/src/cli"
|
"github.com/alcionai/canario/src/cli"
|
||||||
"github.com/alcionai/corso/src/cli/flags"
|
"github.com/alcionai/canario/src/cli/flags"
|
||||||
cliTD "github.com/alcionai/corso/src/cli/testdata"
|
cliTD "github.com/alcionai/canario/src/cli/testdata"
|
||||||
"github.com/alcionai/corso/src/internal/common/idname"
|
"github.com/alcionai/canario/src/internal/common/idname"
|
||||||
"github.com/alcionai/corso/src/internal/operations"
|
"github.com/alcionai/canario/src/internal/operations"
|
||||||
"github.com/alcionai/corso/src/internal/tester"
|
"github.com/alcionai/canario/src/internal/tester"
|
||||||
"github.com/alcionai/corso/src/internal/tester/tconfig"
|
"github.com/alcionai/canario/src/internal/tester/tconfig"
|
||||||
"github.com/alcionai/corso/src/pkg/account"
|
"github.com/alcionai/canario/src/pkg/account"
|
||||||
"github.com/alcionai/corso/src/pkg/config"
|
"github.com/alcionai/canario/src/pkg/config"
|
||||||
"github.com/alcionai/corso/src/pkg/control"
|
"github.com/alcionai/canario/src/pkg/control"
|
||||||
"github.com/alcionai/corso/src/pkg/path"
|
"github.com/alcionai/canario/src/pkg/path"
|
||||||
"github.com/alcionai/corso/src/pkg/repository"
|
"github.com/alcionai/canario/src/pkg/repository"
|
||||||
"github.com/alcionai/corso/src/pkg/selectors"
|
"github.com/alcionai/canario/src/pkg/selectors"
|
||||||
"github.com/alcionai/corso/src/pkg/services/m365/api"
|
"github.com/alcionai/canario/src/pkg/services/m365/api"
|
||||||
"github.com/alcionai/corso/src/pkg/storage"
|
"github.com/alcionai/canario/src/pkg/storage"
|
||||||
storeTD "github.com/alcionai/corso/src/pkg/storage/testdata"
|
storeTD "github.com/alcionai/canario/src/pkg/storage/testdata"
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
|
|||||||
@ -7,11 +7,11 @@ import (
|
|||||||
"github.com/stretchr/testify/assert"
|
"github.com/stretchr/testify/assert"
|
||||||
"github.com/stretchr/testify/suite"
|
"github.com/stretchr/testify/suite"
|
||||||
|
|
||||||
"github.com/alcionai/corso/src/cli/flags"
|
"github.com/alcionai/canario/src/cli/flags"
|
||||||
flagsTD "github.com/alcionai/corso/src/cli/flags/testdata"
|
flagsTD "github.com/alcionai/canario/src/cli/flags/testdata"
|
||||||
cliTD "github.com/alcionai/corso/src/cli/testdata"
|
cliTD "github.com/alcionai/canario/src/cli/testdata"
|
||||||
"github.com/alcionai/corso/src/cli/utils"
|
"github.com/alcionai/canario/src/cli/utils"
|
||||||
"github.com/alcionai/corso/src/internal/tester"
|
"github.com/alcionai/canario/src/internal/tester"
|
||||||
)
|
)
|
||||||
|
|
||||||
type ExchangeUnitSuite struct {
|
type ExchangeUnitSuite struct {
|
||||||
|
|||||||
@ -3,10 +3,10 @@ package restore
|
|||||||
import (
|
import (
|
||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
|
|
||||||
"github.com/alcionai/corso/src/cli/flags"
|
"github.com/alcionai/canario/src/cli/flags"
|
||||||
"github.com/alcionai/corso/src/cli/utils"
|
"github.com/alcionai/canario/src/cli/utils"
|
||||||
"github.com/alcionai/corso/src/pkg/dttm"
|
"github.com/alcionai/canario/src/pkg/dttm"
|
||||||
"github.com/alcionai/corso/src/pkg/selectors"
|
"github.com/alcionai/canario/src/pkg/selectors"
|
||||||
)
|
)
|
||||||
|
|
||||||
// called by restore.go to map subcommands to provider-specific handling.
|
// called by restore.go to map subcommands to provider-specific handling.
|
||||||
|
|||||||
@ -7,11 +7,11 @@ import (
|
|||||||
"github.com/stretchr/testify/assert"
|
"github.com/stretchr/testify/assert"
|
||||||
"github.com/stretchr/testify/suite"
|
"github.com/stretchr/testify/suite"
|
||||||
|
|
||||||
"github.com/alcionai/corso/src/cli/flags"
|
"github.com/alcionai/canario/src/cli/flags"
|
||||||
flagsTD "github.com/alcionai/corso/src/cli/flags/testdata"
|
flagsTD "github.com/alcionai/canario/src/cli/flags/testdata"
|
||||||
cliTD "github.com/alcionai/corso/src/cli/testdata"
|
cliTD "github.com/alcionai/canario/src/cli/testdata"
|
||||||
"github.com/alcionai/corso/src/cli/utils"
|
"github.com/alcionai/canario/src/cli/utils"
|
||||||
"github.com/alcionai/corso/src/internal/tester"
|
"github.com/alcionai/canario/src/internal/tester"
|
||||||
)
|
)
|
||||||
|
|
||||||
type GroupsUnitSuite struct {
|
type GroupsUnitSuite struct {
|
||||||
|
|||||||
@ -3,9 +3,9 @@ package restore
|
|||||||
import (
|
import (
|
||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
|
|
||||||
"github.com/alcionai/corso/src/cli/flags"
|
"github.com/alcionai/canario/src/cli/flags"
|
||||||
"github.com/alcionai/corso/src/cli/utils"
|
"github.com/alcionai/canario/src/cli/utils"
|
||||||
"github.com/alcionai/corso/src/pkg/dttm"
|
"github.com/alcionai/canario/src/pkg/dttm"
|
||||||
)
|
)
|
||||||
|
|
||||||
// called by restore.go to map subcommands to provider-specific handling.
|
// called by restore.go to map subcommands to provider-specific handling.
|
||||||
|
|||||||
@ -7,11 +7,11 @@ import (
|
|||||||
"github.com/stretchr/testify/assert"
|
"github.com/stretchr/testify/assert"
|
||||||
"github.com/stretchr/testify/suite"
|
"github.com/stretchr/testify/suite"
|
||||||
|
|
||||||
"github.com/alcionai/corso/src/cli/flags"
|
"github.com/alcionai/canario/src/cli/flags"
|
||||||
flagsTD "github.com/alcionai/corso/src/cli/flags/testdata"
|
flagsTD "github.com/alcionai/canario/src/cli/flags/testdata"
|
||||||
cliTD "github.com/alcionai/corso/src/cli/testdata"
|
cliTD "github.com/alcionai/canario/src/cli/testdata"
|
||||||
"github.com/alcionai/corso/src/cli/utils"
|
"github.com/alcionai/canario/src/cli/utils"
|
||||||
"github.com/alcionai/corso/src/internal/tester"
|
"github.com/alcionai/canario/src/internal/tester"
|
||||||
)
|
)
|
||||||
|
|
||||||
type OneDriveUnitSuite struct {
|
type OneDriveUnitSuite struct {
|
||||||
|
|||||||
@ -7,12 +7,12 @@ import (
|
|||||||
"github.com/pkg/errors"
|
"github.com/pkg/errors"
|
||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
|
|
||||||
"github.com/alcionai/corso/src/cli/flags"
|
"github.com/alcionai/canario/src/cli/flags"
|
||||||
. "github.com/alcionai/corso/src/cli/print"
|
. "github.com/alcionai/canario/src/cli/print"
|
||||||
"github.com/alcionai/corso/src/cli/utils"
|
"github.com/alcionai/canario/src/cli/utils"
|
||||||
"github.com/alcionai/corso/src/internal/data"
|
"github.com/alcionai/canario/src/internal/data"
|
||||||
"github.com/alcionai/corso/src/pkg/count"
|
"github.com/alcionai/canario/src/pkg/count"
|
||||||
"github.com/alcionai/corso/src/pkg/selectors"
|
"github.com/alcionai/canario/src/pkg/selectors"
|
||||||
)
|
)
|
||||||
|
|
||||||
var restoreCommands = []func(cmd *cobra.Command) *cobra.Command{
|
var restoreCommands = []func(cmd *cobra.Command) *cobra.Command{
|
||||||
|
|||||||
@ -3,9 +3,9 @@ package restore
|
|||||||
import (
|
import (
|
||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
|
|
||||||
"github.com/alcionai/corso/src/cli/flags"
|
"github.com/alcionai/canario/src/cli/flags"
|
||||||
"github.com/alcionai/corso/src/cli/utils"
|
"github.com/alcionai/canario/src/cli/utils"
|
||||||
"github.com/alcionai/corso/src/pkg/dttm"
|
"github.com/alcionai/canario/src/pkg/dttm"
|
||||||
)
|
)
|
||||||
|
|
||||||
// called by restore.go to map subcommands to provider-specific handling.
|
// called by restore.go to map subcommands to provider-specific handling.
|
||||||
|
|||||||
@ -7,11 +7,11 @@ import (
|
|||||||
"github.com/stretchr/testify/assert"
|
"github.com/stretchr/testify/assert"
|
||||||
"github.com/stretchr/testify/suite"
|
"github.com/stretchr/testify/suite"
|
||||||
|
|
||||||
"github.com/alcionai/corso/src/cli/flags"
|
"github.com/alcionai/canario/src/cli/flags"
|
||||||
flagsTD "github.com/alcionai/corso/src/cli/flags/testdata"
|
flagsTD "github.com/alcionai/canario/src/cli/flags/testdata"
|
||||||
cliTD "github.com/alcionai/corso/src/cli/testdata"
|
cliTD "github.com/alcionai/canario/src/cli/testdata"
|
||||||
"github.com/alcionai/corso/src/cli/utils"
|
"github.com/alcionai/canario/src/cli/utils"
|
||||||
"github.com/alcionai/corso/src/internal/tester"
|
"github.com/alcionai/canario/src/internal/tester"
|
||||||
)
|
)
|
||||||
|
|
||||||
type SharePointUnitSuite struct {
|
type SharePointUnitSuite struct {
|
||||||
|
|||||||
4
src/cli/testdata/cli.go
vendored
4
src/cli/testdata/cli.go
vendored
@ -13,8 +13,8 @@ import (
|
|||||||
"github.com/stretchr/testify/assert"
|
"github.com/stretchr/testify/assert"
|
||||||
"github.com/stretchr/testify/require"
|
"github.com/stretchr/testify/require"
|
||||||
|
|
||||||
"github.com/alcionai/corso/src/cli/flags"
|
"github.com/alcionai/canario/src/cli/flags"
|
||||||
"github.com/alcionai/corso/src/internal/tester"
|
"github.com/alcionai/canario/src/internal/tester"
|
||||||
)
|
)
|
||||||
|
|
||||||
// StubRootCmd builds a stub cobra command to be used as
|
// StubRootCmd builds a stub cobra command to be used as
|
||||||
|
|||||||
@ -4,8 +4,8 @@ import (
|
|||||||
"github.com/alcionai/clues"
|
"github.com/alcionai/clues"
|
||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
|
|
||||||
"github.com/alcionai/corso/src/cli/flags"
|
"github.com/alcionai/canario/src/cli/flags"
|
||||||
"github.com/alcionai/corso/src/pkg/selectors"
|
"github.com/alcionai/canario/src/pkg/selectors"
|
||||||
)
|
)
|
||||||
|
|
||||||
type ExchangeOpts struct {
|
type ExchangeOpts struct {
|
||||||
|
|||||||
@ -7,11 +7,11 @@ import (
|
|||||||
"github.com/stretchr/testify/assert"
|
"github.com/stretchr/testify/assert"
|
||||||
"github.com/stretchr/testify/suite"
|
"github.com/stretchr/testify/suite"
|
||||||
|
|
||||||
"github.com/alcionai/corso/src/cli/flags"
|
"github.com/alcionai/canario/src/cli/flags"
|
||||||
"github.com/alcionai/corso/src/cli/utils"
|
"github.com/alcionai/canario/src/cli/utils"
|
||||||
"github.com/alcionai/corso/src/internal/tester"
|
"github.com/alcionai/canario/src/internal/tester"
|
||||||
"github.com/alcionai/corso/src/pkg/dttm"
|
"github.com/alcionai/canario/src/pkg/dttm"
|
||||||
"github.com/alcionai/corso/src/pkg/selectors"
|
"github.com/alcionai/canario/src/pkg/selectors"
|
||||||
)
|
)
|
||||||
|
|
||||||
type ExchangeUtilsSuite struct {
|
type ExchangeUtilsSuite struct {
|
||||||
|
|||||||
@ -7,9 +7,9 @@ import (
|
|||||||
"github.com/alcionai/clues"
|
"github.com/alcionai/clues"
|
||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
|
|
||||||
"github.com/alcionai/corso/src/cli/flags"
|
"github.com/alcionai/canario/src/cli/flags"
|
||||||
"github.com/alcionai/corso/src/pkg/control"
|
"github.com/alcionai/canario/src/pkg/control"
|
||||||
"github.com/alcionai/corso/src/pkg/filters"
|
"github.com/alcionai/canario/src/pkg/filters"
|
||||||
)
|
)
|
||||||
|
|
||||||
type ExportCfgOpts struct {
|
type ExportCfgOpts struct {
|
||||||
|
|||||||
@ -7,9 +7,9 @@ import (
|
|||||||
"github.com/stretchr/testify/assert"
|
"github.com/stretchr/testify/assert"
|
||||||
"github.com/stretchr/testify/suite"
|
"github.com/stretchr/testify/suite"
|
||||||
|
|
||||||
"github.com/alcionai/corso/src/cli/flags"
|
"github.com/alcionai/canario/src/cli/flags"
|
||||||
"github.com/alcionai/corso/src/internal/tester"
|
"github.com/alcionai/canario/src/internal/tester"
|
||||||
"github.com/alcionai/corso/src/pkg/control"
|
"github.com/alcionai/canario/src/pkg/control"
|
||||||
)
|
)
|
||||||
|
|
||||||
type ExportCfgUnitSuite struct {
|
type ExportCfgUnitSuite struct {
|
||||||
|
|||||||
@ -6,10 +6,10 @@ import (
|
|||||||
|
|
||||||
"github.com/alcionai/clues"
|
"github.com/alcionai/clues"
|
||||||
|
|
||||||
"github.com/alcionai/corso/src/cli/flags"
|
"github.com/alcionai/canario/src/cli/flags"
|
||||||
"github.com/alcionai/corso/src/pkg/dttm"
|
"github.com/alcionai/canario/src/pkg/dttm"
|
||||||
"github.com/alcionai/corso/src/pkg/path"
|
"github.com/alcionai/canario/src/pkg/path"
|
||||||
"github.com/alcionai/corso/src/pkg/selectors"
|
"github.com/alcionai/canario/src/pkg/selectors"
|
||||||
)
|
)
|
||||||
|
|
||||||
// IsValidTimeFormat returns true if the input is recognized as a
|
// IsValidTimeFormat returns true if the input is recognized as a
|
||||||
|
|||||||
@ -9,8 +9,8 @@ import (
|
|||||||
"github.com/stretchr/testify/require"
|
"github.com/stretchr/testify/require"
|
||||||
"github.com/stretchr/testify/suite"
|
"github.com/stretchr/testify/suite"
|
||||||
|
|
||||||
"github.com/alcionai/corso/src/cli/flags"
|
"github.com/alcionai/canario/src/cli/flags"
|
||||||
"github.com/alcionai/corso/src/internal/tester"
|
"github.com/alcionai/canario/src/internal/tester"
|
||||||
)
|
)
|
||||||
|
|
||||||
type FlagUnitSuite struct {
|
type FlagUnitSuite struct {
|
||||||
|
|||||||
@ -6,8 +6,8 @@ import (
|
|||||||
"github.com/alcionai/clues"
|
"github.com/alcionai/clues"
|
||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
|
|
||||||
"github.com/alcionai/corso/src/cli/flags"
|
"github.com/alcionai/canario/src/cli/flags"
|
||||||
"github.com/alcionai/corso/src/pkg/selectors"
|
"github.com/alcionai/canario/src/pkg/selectors"
|
||||||
)
|
)
|
||||||
|
|
||||||
type GroupsOpts struct {
|
type GroupsOpts struct {
|
||||||
|
|||||||
@ -6,12 +6,12 @@ import (
|
|||||||
"github.com/stretchr/testify/assert"
|
"github.com/stretchr/testify/assert"
|
||||||
"github.com/stretchr/testify/suite"
|
"github.com/stretchr/testify/suite"
|
||||||
|
|
||||||
"github.com/alcionai/corso/src/cli/flags"
|
"github.com/alcionai/canario/src/cli/flags"
|
||||||
"github.com/alcionai/corso/src/cli/utils"
|
"github.com/alcionai/canario/src/cli/utils"
|
||||||
"github.com/alcionai/corso/src/internal/tester"
|
"github.com/alcionai/canario/src/internal/tester"
|
||||||
"github.com/alcionai/corso/src/pkg/dttm"
|
"github.com/alcionai/canario/src/pkg/dttm"
|
||||||
"github.com/alcionai/corso/src/pkg/path"
|
"github.com/alcionai/canario/src/pkg/path"
|
||||||
"github.com/alcionai/corso/src/pkg/selectors"
|
"github.com/alcionai/canario/src/pkg/selectors"
|
||||||
)
|
)
|
||||||
|
|
||||||
type GroupsUtilsSuite struct {
|
type GroupsUtilsSuite struct {
|
||||||
|
|||||||
@ -4,8 +4,8 @@ import (
|
|||||||
"github.com/alcionai/clues"
|
"github.com/alcionai/clues"
|
||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
|
|
||||||
"github.com/alcionai/corso/src/cli/flags"
|
"github.com/alcionai/canario/src/cli/flags"
|
||||||
"github.com/alcionai/corso/src/pkg/selectors"
|
"github.com/alcionai/canario/src/pkg/selectors"
|
||||||
)
|
)
|
||||||
|
|
||||||
type OneDriveOpts struct {
|
type OneDriveOpts struct {
|
||||||
|
|||||||
@ -6,9 +6,9 @@ import (
|
|||||||
"github.com/stretchr/testify/assert"
|
"github.com/stretchr/testify/assert"
|
||||||
"github.com/stretchr/testify/suite"
|
"github.com/stretchr/testify/suite"
|
||||||
|
|
||||||
"github.com/alcionai/corso/src/cli/utils"
|
"github.com/alcionai/canario/src/cli/utils"
|
||||||
"github.com/alcionai/corso/src/internal/tester"
|
"github.com/alcionai/canario/src/internal/tester"
|
||||||
"github.com/alcionai/corso/src/pkg/path"
|
"github.com/alcionai/canario/src/pkg/path"
|
||||||
)
|
)
|
||||||
|
|
||||||
type OneDriveUtilsSuite struct {
|
type OneDriveUtilsSuite struct {
|
||||||
|
|||||||
@ -1,9 +1,9 @@
|
|||||||
package utils
|
package utils
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/alcionai/corso/src/cli/flags"
|
"github.com/alcionai/canario/src/cli/flags"
|
||||||
"github.com/alcionai/corso/src/pkg/config"
|
"github.com/alcionai/canario/src/pkg/config"
|
||||||
"github.com/alcionai/corso/src/pkg/control"
|
"github.com/alcionai/canario/src/pkg/control"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Control produces the control options based on the user's flags.
|
// Control produces the control options based on the user's flags.
|
||||||
|
|||||||
@ -9,8 +9,8 @@ import (
|
|||||||
"github.com/stretchr/testify/require"
|
"github.com/stretchr/testify/require"
|
||||||
"github.com/stretchr/testify/suite"
|
"github.com/stretchr/testify/suite"
|
||||||
|
|
||||||
"github.com/alcionai/corso/src/cli/flags"
|
"github.com/alcionai/canario/src/cli/flags"
|
||||||
"github.com/alcionai/corso/src/internal/tester"
|
"github.com/alcionai/canario/src/internal/tester"
|
||||||
)
|
)
|
||||||
|
|
||||||
type OptionsUnitSuite struct {
|
type OptionsUnitSuite struct {
|
||||||
|
|||||||
@ -7,10 +7,10 @@ import (
|
|||||||
"github.com/alcionai/clues"
|
"github.com/alcionai/clues"
|
||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
|
|
||||||
"github.com/alcionai/corso/src/cli/flags"
|
"github.com/alcionai/canario/src/cli/flags"
|
||||||
. "github.com/alcionai/corso/src/cli/print"
|
. "github.com/alcionai/canario/src/cli/print"
|
||||||
"github.com/alcionai/corso/src/pkg/control"
|
"github.com/alcionai/canario/src/pkg/control"
|
||||||
"github.com/alcionai/corso/src/pkg/dttm"
|
"github.com/alcionai/canario/src/pkg/dttm"
|
||||||
)
|
)
|
||||||
|
|
||||||
type RestoreCfgOpts struct {
|
type RestoreCfgOpts struct {
|
||||||
|
|||||||
@ -7,9 +7,9 @@ import (
|
|||||||
"github.com/stretchr/testify/assert"
|
"github.com/stretchr/testify/assert"
|
||||||
"github.com/stretchr/testify/suite"
|
"github.com/stretchr/testify/suite"
|
||||||
|
|
||||||
"github.com/alcionai/corso/src/cli/flags"
|
"github.com/alcionai/canario/src/cli/flags"
|
||||||
"github.com/alcionai/corso/src/internal/tester"
|
"github.com/alcionai/canario/src/internal/tester"
|
||||||
"github.com/alcionai/corso/src/pkg/control"
|
"github.com/alcionai/canario/src/pkg/control"
|
||||||
)
|
)
|
||||||
|
|
||||||
type RestoreCfgUnitSuite struct {
|
type RestoreCfgUnitSuite struct {
|
||||||
|
|||||||
@ -6,9 +6,9 @@ import (
|
|||||||
"github.com/alcionai/clues"
|
"github.com/alcionai/clues"
|
||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
|
|
||||||
"github.com/alcionai/corso/src/cli/flags"
|
"github.com/alcionai/canario/src/cli/flags"
|
||||||
"github.com/alcionai/corso/src/internal/common/ptr"
|
"github.com/alcionai/canario/src/internal/common/ptr"
|
||||||
"github.com/alcionai/corso/src/pkg/control/repository"
|
"github.com/alcionai/canario/src/pkg/control/repository"
|
||||||
)
|
)
|
||||||
|
|
||||||
type retentionCfgOpts struct {
|
type retentionCfgOpts struct {
|
||||||
|
|||||||
@ -10,11 +10,11 @@ import (
|
|||||||
"github.com/stretchr/testify/require"
|
"github.com/stretchr/testify/require"
|
||||||
"github.com/stretchr/testify/suite"
|
"github.com/stretchr/testify/suite"
|
||||||
|
|
||||||
"github.com/alcionai/corso/src/cli/flags"
|
"github.com/alcionai/canario/src/cli/flags"
|
||||||
"github.com/alcionai/corso/src/cli/utils"
|
"github.com/alcionai/canario/src/cli/utils"
|
||||||
"github.com/alcionai/corso/src/internal/common/ptr"
|
"github.com/alcionai/canario/src/internal/common/ptr"
|
||||||
"github.com/alcionai/corso/src/internal/tester"
|
"github.com/alcionai/canario/src/internal/tester"
|
||||||
"github.com/alcionai/corso/src/pkg/control/repository"
|
"github.com/alcionai/canario/src/pkg/control/repository"
|
||||||
)
|
)
|
||||||
|
|
||||||
type RetentionCfgUnitSuite struct {
|
type RetentionCfgUnitSuite struct {
|
||||||
|
|||||||
@ -8,9 +8,9 @@ import (
|
|||||||
"github.com/alcionai/clues"
|
"github.com/alcionai/clues"
|
||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
|
|
||||||
"github.com/alcionai/corso/src/cli/flags"
|
"github.com/alcionai/canario/src/cli/flags"
|
||||||
"github.com/alcionai/corso/src/pkg/logger"
|
"github.com/alcionai/canario/src/pkg/logger"
|
||||||
"github.com/alcionai/corso/src/pkg/selectors"
|
"github.com/alcionai/canario/src/pkg/selectors"
|
||||||
)
|
)
|
||||||
|
|
||||||
type SharePointOpts struct {
|
type SharePointOpts struct {
|
||||||
|
|||||||
@ -6,12 +6,12 @@ import (
|
|||||||
"github.com/stretchr/testify/assert"
|
"github.com/stretchr/testify/assert"
|
||||||
"github.com/stretchr/testify/suite"
|
"github.com/stretchr/testify/suite"
|
||||||
|
|
||||||
"github.com/alcionai/corso/src/cli/flags"
|
"github.com/alcionai/canario/src/cli/flags"
|
||||||
"github.com/alcionai/corso/src/cli/utils"
|
"github.com/alcionai/canario/src/cli/utils"
|
||||||
"github.com/alcionai/corso/src/internal/tester"
|
"github.com/alcionai/canario/src/internal/tester"
|
||||||
"github.com/alcionai/corso/src/pkg/dttm"
|
"github.com/alcionai/canario/src/pkg/dttm"
|
||||||
"github.com/alcionai/corso/src/pkg/path"
|
"github.com/alcionai/canario/src/pkg/path"
|
||||||
"github.com/alcionai/corso/src/pkg/selectors"
|
"github.com/alcionai/canario/src/pkg/selectors"
|
||||||
)
|
)
|
||||||
|
|
||||||
type SharePointUtilsSuite struct {
|
type SharePointUtilsSuite struct {
|
||||||
|
|||||||
@ -6,8 +6,8 @@ import (
|
|||||||
"github.com/alcionai/clues"
|
"github.com/alcionai/clues"
|
||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
|
|
||||||
"github.com/alcionai/corso/src/cli/flags"
|
"github.com/alcionai/canario/src/cli/flags"
|
||||||
"github.com/alcionai/corso/src/pkg/selectors"
|
"github.com/alcionai/canario/src/pkg/selectors"
|
||||||
)
|
)
|
||||||
|
|
||||||
type TeamsChatsOpts struct {
|
type TeamsChatsOpts struct {
|
||||||
|
|||||||
22
src/cli/utils/testdata/opts.go
vendored
22
src/cli/utils/testdata/opts.go
vendored
@ -7,17 +7,17 @@ import (
|
|||||||
|
|
||||||
"github.com/alcionai/clues"
|
"github.com/alcionai/clues"
|
||||||
|
|
||||||
"github.com/alcionai/corso/src/cli/flags"
|
"github.com/alcionai/canario/src/cli/flags"
|
||||||
"github.com/alcionai/corso/src/cli/utils"
|
"github.com/alcionai/canario/src/cli/utils"
|
||||||
"github.com/alcionai/corso/src/pkg/backup"
|
"github.com/alcionai/canario/src/pkg/backup"
|
||||||
"github.com/alcionai/corso/src/pkg/backup/details"
|
"github.com/alcionai/canario/src/pkg/backup/details"
|
||||||
"github.com/alcionai/corso/src/pkg/backup/details/testdata"
|
"github.com/alcionai/canario/src/pkg/backup/details/testdata"
|
||||||
"github.com/alcionai/corso/src/pkg/dttm"
|
"github.com/alcionai/canario/src/pkg/dttm"
|
||||||
"github.com/alcionai/corso/src/pkg/fault"
|
"github.com/alcionai/canario/src/pkg/fault"
|
||||||
ftd "github.com/alcionai/corso/src/pkg/fault/testdata"
|
ftd "github.com/alcionai/canario/src/pkg/fault/testdata"
|
||||||
"github.com/alcionai/corso/src/pkg/path"
|
"github.com/alcionai/canario/src/pkg/path"
|
||||||
"github.com/alcionai/corso/src/pkg/selectors"
|
"github.com/alcionai/canario/src/pkg/selectors"
|
||||||
"github.com/alcionai/corso/src/pkg/store"
|
"github.com/alcionai/canario/src/pkg/store"
|
||||||
)
|
)
|
||||||
|
|
||||||
type ExchangeOptionsTest struct {
|
type ExchangeOptionsTest struct {
|
||||||
|
|||||||
@ -5,12 +5,12 @@ import (
|
|||||||
|
|
||||||
"github.com/alcionai/clues"
|
"github.com/alcionai/clues"
|
||||||
|
|
||||||
"github.com/alcionai/corso/src/internal/common/idname"
|
"github.com/alcionai/canario/src/internal/common/idname"
|
||||||
"github.com/alcionai/corso/src/pkg/account"
|
"github.com/alcionai/canario/src/pkg/account"
|
||||||
"github.com/alcionai/corso/src/pkg/control"
|
"github.com/alcionai/canario/src/pkg/control"
|
||||||
"github.com/alcionai/corso/src/pkg/count"
|
"github.com/alcionai/canario/src/pkg/count"
|
||||||
"github.com/alcionai/corso/src/pkg/fault"
|
"github.com/alcionai/canario/src/pkg/fault"
|
||||||
"github.com/alcionai/corso/src/pkg/services/m365/api"
|
"github.com/alcionai/canario/src/pkg/services/m365/api"
|
||||||
)
|
)
|
||||||
|
|
||||||
// UsersMap retrieves all users in the tenant and returns them in an idname.Cacher
|
// UsersMap retrieves all users in the tenant and returns them in an idname.Cacher
|
||||||
|
|||||||
@ -10,16 +10,16 @@ import (
|
|||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
"github.com/spf13/pflag"
|
"github.com/spf13/pflag"
|
||||||
|
|
||||||
"github.com/alcionai/corso/src/cli/flags"
|
"github.com/alcionai/canario/src/cli/flags"
|
||||||
"github.com/alcionai/corso/src/internal/events"
|
"github.com/alcionai/canario/src/internal/events"
|
||||||
"github.com/alcionai/corso/src/pkg/account"
|
"github.com/alcionai/canario/src/pkg/account"
|
||||||
"github.com/alcionai/corso/src/pkg/config"
|
"github.com/alcionai/canario/src/pkg/config"
|
||||||
"github.com/alcionai/corso/src/pkg/control"
|
"github.com/alcionai/canario/src/pkg/control"
|
||||||
"github.com/alcionai/corso/src/pkg/logger"
|
"github.com/alcionai/canario/src/pkg/logger"
|
||||||
"github.com/alcionai/corso/src/pkg/path"
|
"github.com/alcionai/canario/src/pkg/path"
|
||||||
"github.com/alcionai/corso/src/pkg/repository"
|
"github.com/alcionai/canario/src/pkg/repository"
|
||||||
"github.com/alcionai/corso/src/pkg/selectors"
|
"github.com/alcionai/canario/src/pkg/selectors"
|
||||||
"github.com/alcionai/corso/src/pkg/storage"
|
"github.com/alcionai/canario/src/pkg/storage"
|
||||||
)
|
)
|
||||||
|
|
||||||
type RepoDetailsAndOpts struct {
|
type RepoDetailsAndOpts struct {
|
||||||
|
|||||||
@ -8,8 +8,8 @@ import (
|
|||||||
"github.com/stretchr/testify/assert"
|
"github.com/stretchr/testify/assert"
|
||||||
"github.com/stretchr/testify/suite"
|
"github.com/stretchr/testify/suite"
|
||||||
|
|
||||||
"github.com/alcionai/corso/src/internal/tester"
|
"github.com/alcionai/canario/src/internal/tester"
|
||||||
"github.com/alcionai/corso/src/pkg/selectors"
|
"github.com/alcionai/canario/src/pkg/selectors"
|
||||||
)
|
)
|
||||||
|
|
||||||
type CliUtilsSuite struct {
|
type CliUtilsSuite struct {
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user