Skip to content

Commit

Permalink
Helpers for supporting kando location push and pull using Kopia (#944)
Browse files Browse the repository at this point in the history
* Helper for finding the kopia repository object ID

* Helpers to read and write kopia snapshots

* Kopia location push and pull helpers

* Add backup ID flag to location pull

* Simplify return

Co-authored-by: Prasad Ghangal <prasad.ghangal@gmail.com>

* Fix args

Co-authored-by: Prasad Ghangal <prasad.ghangal@gmail.com>

* Run go mod tidy

* Add deadcode exception

* Add exception for unused lint check for now

Signed-off-by: Prasad Ghangal <prasad.ghangal@gmail.com>

* One more attempt at nolint

* Trigger build

Co-authored-by: Prasad Ghangal <prasad.ghangal@gmail.com>
  • Loading branch information
pavannd1 and PrasadG193 committed Apr 7, 2021
1 parent 1ca952e commit 3a653ff
Show file tree
Hide file tree
Showing 6 changed files with 549 additions and 253 deletions.
37 changes: 12 additions & 25 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,8 @@ replace (

require (
github.com/Azure/azure-sdk-for-go v49.1.0+incompatible
github.com/Azure/go-autorest/autorest v0.11.15
github.com/Azure/go-autorest/autorest/adal v0.9.10 // indirect
github.com/Azure/go-autorest/autorest/azure/auth v0.5.0
github.com/Azure/go-autorest/autorest v0.11.18
github.com/Azure/go-autorest/autorest/azure/auth v0.5.3
github.com/Azure/go-autorest/autorest/to v0.4.0
github.com/Azure/go-autorest/autorest/validation v0.3.1 // indirect
github.com/BurntSushi/toml v0.3.1
Expand All @@ -23,7 +22,7 @@ require (
github.com/Masterminds/sprig v2.15.0+incompatible
github.com/aokoli/goutils v1.1.0 // indirect
github.com/asaskevich/govalidator v0.0.0-20200907205600-7a23bdc65eef // indirect
github.com/aws/aws-sdk-go v1.34.29
github.com/aws/aws-sdk-go v1.38.1
github.com/dnaeon/go-vcr v1.0.1 // indirect
github.com/docker/spdystream v0.0.0-20181023171402-6480d4af844c // indirect
github.com/elazarl/goproxy v0.0.0-20190711103511-473e67f1d7d2 // indirect
Expand All @@ -32,55 +31,43 @@ require (
github.com/go-logr/logr v0.3.0 // indirect
github.com/go-openapi/strfmt v0.19.3
github.com/go-sql-driver/mysql v1.5.0
github.com/golang/mock v1.4.4
github.com/google/go-cmp v0.5.4 // indirect
github.com/golang/mock v1.5.0
github.com/google/gofuzz v1.2.0 // indirect
github.com/google/uuid v1.1.2
github.com/google/uuid v1.2.0
github.com/googleapis/gnostic v0.5.3 // indirect
github.com/graymeta/stow v0.0.0-00010101000000-000000000000
github.com/hashicorp/golang-lru v0.5.4 // indirect
github.com/huandu/xstrings v1.2.0 // indirect
github.com/imdario/mergo v0.3.11 // indirect
github.com/jarcoal/httpmock v1.0.4 // indirect
github.com/jpillora/backoff v1.0.0
github.com/json-iterator/go v1.1.10
github.com/kelseyhightower/envconfig v1.4.0 // indirect
github.com/kopia/kopia v0.7.4-0.20210217182901-23273af1cd0c
github.com/kopia/kopia v0.8.0-beta3.0.20210330134459-c9cc16936cae
github.com/kubernetes-csi/external-snapshotter/client/v4 v4.0.0
github.com/lib/pq v1.8.0
github.com/lib/pq v1.9.0
github.com/luci/go-render v0.0.0-20160219211803-9a04cc21af0f
github.com/mitchellh/mapstructure v1.4.0

//pinned openshift to release-4.5 branch
github.com/openshift/api v0.0.0-20200526144822-34f54f12813a
github.com/openshift/client-go v0.0.0-20200521150516-05eb9880269c
github.com/pkg/errors v0.9.1
github.com/prometheus/client_golang v1.9.0
github.com/prometheus/client_golang v1.10.0
github.com/renier/xmlrpc v0.0.0-20170708154548-ce4a1a486c03 // indirect
github.com/satori/go.uuid v1.2.0
github.com/segmentio/kafka-go v0.4.10
github.com/sirupsen/logrus v1.7.0
github.com/sirupsen/logrus v1.8.1
github.com/softlayer/softlayer-go v0.0.0-20190615201252-ba6e7f295217 // indirect
github.com/spf13/cobra v1.1.1
github.com/vmware/govmomi v0.21.1-0.20191008161538-40aebf13ba45
go.mongodb.org/mongo-driver v1.1.2 // indirect
go.uber.org/multierr v1.6.0 // indirect
go.uber.org/zap v1.16.0
golang.org/x/crypto v0.0.0-20201221181555-eec23a3978ad // indirect
golang.org/x/net v0.0.0-20201224014010-6772e930b67b // indirect
golang.org/x/oauth2 v0.0.0-20201208152858-08078c50e5b5
golang.org/x/sync v0.0.0-20201207232520-09787c993a3a // indirect
golang.org/x/sys v0.0.0-20201223074533-0d417f636930 // indirect
golang.org/x/term v0.0.0-20201210144234-2321bbc49cbf // indirect
golang.org/x/oauth2 v0.0.0-20210313182246-cd4f82c27b84
golang.org/x/time v0.0.0-20201208040808-7e3f01d25324 // indirect
google.golang.org/api v0.32.0
google.golang.org/appengine v1.6.7 // indirect
google.golang.org/genproto v0.0.0-20201214200347-8c77b98c765d // indirect
google.golang.org/grpc v1.34.0 // indirect
gopkg.in/check.v1 v1.0.0-20200227125254-8fa46927fb4f
google.golang.org/api v0.42.0
gopkg.in/check.v1 v1.0.0-20200902074654-038fdea0a05b
gopkg.in/tomb.v2 v2.0.0-20161208151619-d5d1b5820637
gopkg.in/yaml.v2 v2.4.0 // indirect
gopkg.in/yaml.v3 v3.0.0-20200615113413-eeeca48fe776 // indirect

//pinned k8s.io to v0.20.1 tag
k8s.io/api v0.20.1
Expand Down

0 comments on commit 3a653ff

Please sign in to comment.