Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Kopia CLI repository status command (#2665)
* Add safecli dependency * add new flag implementations based on the safecli package for the Kopia CLI * apply go fmt Signed-off-by: pavel.larkin <[email protected]> * Add common Kopia args and flags * Add Kopia storage core flags * Add kopia filesystem storage flags * cleanup storage tests * Add kopia GCS storage flags * add gcs flag tests * Add kopia azure storage flags * Add kopia s3 and s3 compliant storage flags * Use test.FlagSuite for storage tests * Fix typo * Add kopia CLI repository connect command * Add kopia CLI repository connect command * Add kopia CLI repository connect server command * Add kopia CLI repository set-parameters command * Add kopia CLI repository status command * Fix Apply and test.Suit Signed-off-by: pavel.larkin <[email protected]> * Remove variadic args for Common and Cache flags Signed-off-by: pavel.larkin <[email protected]> * pkg/kopia/cli/internal/flag is implemented in the [email protected] now Signed-off-by: pavel.larkin <[email protected]> * Add pkg/kopia/cli package Signed-off-by: pavel.larkin <[email protected]> * go mod tidy Signed-off-by: pavel.larkin <[email protected]> * Add Kopia storage helpers Signed-off-by: pavel.larkin <[email protected]> * Implement Kopia storage Filesystem opts Signed-off-by: pavel.larkin <[email protected]> * Add (c) headers Signed-off-by: pavel.larkin <[email protected]> * Remove unused error Signed-off-by: pavel.larkin <[email protected]> * Reorganize imports Signed-off-by: pavel.larkin <[email protected]> * Add Kopia GCS storage opts Signed-off-by: pavel.larkin <[email protected]> * Reorganize imports Signed-off-by: pavel.larkin <[email protected]> * Add Kopia Azure storage opts Signed-off-by: pavel.larkin <[email protected]> * Fix gcs test Signed-off-by: pavel.larkin <[email protected]> * Add Kopia S3 and S3 compliant storage opts Signed-off-by: pavel.larkin <[email protected]> * Add Kopia S3 and S3 compliant storage opts Signed-off-by: pavel.larkin <[email protected]> * Cleanup tests Signed-off-by: pavel.larkin <[email protected]> * Add Kopia repository create command Signed-off-by: pavel.larkin <[email protected]> * Cleanup Signed-off-by: pavel.larkin <[email protected]> * Reorganize tests Signed-off-by: pavel.larkin <[email protected]> * Add Kopia repository connect command Signed-off-by: pavel.larkin <[email protected]> * Add opts tests Signed-off-by: pavel.larkin <[email protected]> * Add opts tests Signed-off-by: pavel.larkin <[email protected]> * Convert common flags from vars to funcs Signed-off-by: pavel.larkin <[email protected]> * Add safecli dependency * add new flag implementations based on the safecli package for the Kopia CLI * apply go fmt Signed-off-by: pavel.larkin <[email protected]> * Fix Apply and test.Suit Signed-off-by: pavel.larkin <[email protected]> * pkg/kopia/cli/internal/flag is implemented in the [email protected] now Signed-off-by: pavel.larkin <[email protected]> * Add pkg/kopia/cli package Signed-off-by: pavel.larkin <[email protected]> * go mod tidy Signed-off-by: pavel.larkin <[email protected]> * Update safecli to v0.0.5 Signed-off-by: pavel.larkin <[email protected]> * Update safecli to v0.0.6 Signed-off-by: pavel.larkin <[email protected]> * Fix tests Signed-off-by: pavel.larkin <[email protected]> * Add Location.IsPointInTypeSupported Signed-off-by: pavel.larkin <[email protected]> * Add tests for Location.IsPointInTypeSupported Signed-off-by: pavel.larkin <[email protected]> * Fix s3 options Signed-off-by: pavel.larkin <[email protected]> * Fix s3 options Signed-off-by: pavel.larkin <[email protected]> * Fix options to return errors for empty args Signed-off-by: pavel.larkin <[email protected]> * Fix options to return errors for empty args Signed-off-by: pavel.larkin <[email protected]> * Fix options to return errors for empty args Signed-off-by: pavel.larkin <[email protected]> * Support empty prefix Signed-off-by: pavel.larkin <[email protected]> * Support empty prefix Signed-off-by: pavel.larkin <[email protected]> * Support empty prefix Signed-off-by: pavel.larkin <[email protected]> * Support empty prefix Signed-off-by: pavel.larkin <[email protected]> * Support empty argument for hostname and username options Signed-off-by: pavel.larkin <[email protected]> * Support PIT option for Azure and S3 only Signed-off-by: pavel.larkin <[email protected]> * Server URL option is required Signed-off-by: pavel.larkin <[email protected]> * Fix formatting Signed-off-by: pavel.larkin <[email protected]> * organize imports Signed-off-by: pavel.larkin <[email protected]> * organize imports Signed-off-by: pavel.larkin <[email protected]> * organize imports Signed-off-by: pavel.larkin <[email protected]> * Add missed copyright headers Signed-off-by: pavel.larkin <[email protected]> * Fix s3 tests Signed-off-by: pavel.larkin <[email protected]> * Fix imports Signed-off-by: pavel.larkin <[email protected]> --------- Signed-off-by: pavel.larkin <[email protected]>
- Loading branch information