velero/pkg/test
Andrew Lavery a368370bef
k8s 1.18 import (#2651)
* k8s 1.18 import wip

backup, cmd, controller, generated, restic, restore, serverstatusrequest, test and util

Signed-off-by: Andrew Lavery <laverya@umich.edu>

* go mod tidy

Signed-off-by: Andrew Lavery <laverya@umich.edu>

* add changelog file

Signed-off-by: Andrew Lavery <laverya@umich.edu>

* go fmt

Signed-off-by: Andrew Lavery <laverya@umich.edu>

* update code-generator and controller-gen in CI

Signed-off-by: Andrew Lavery <laverya@umich.edu>

* checkout proper code-generator version, regen

Signed-off-by: Andrew Lavery <laverya@umich.edu>

* fix remaining calls

Signed-off-by: Andrew Lavery <laverya@umich.edu>

* regenerate CRDs with ./hack/update-generated-crd-code.sh

Signed-off-by: Andrew Lavery <laverya@umich.edu>

* use existing context in restic and server

Signed-off-by: Andrew Lavery <laverya@umich.edu>

* fix test cases by resetting resource version

also use main library go context, not golang.org/x/net/context, in pkg/restore/restore.go

Signed-off-by: Andrew Lavery <laverya@umich.edu>

* clarify changelog message

Signed-off-by: Andrew Lavery <laverya@umich.edu>

* use github.com/kubernetes-csi/external-snapshotter/v2@v2.2.0-rc1

Signed-off-by: Andrew Lavery <laverya@umich.edu>

* run 'go mod tidy' to remove old external-snapshotter version

Signed-off-by: Andrew Lavery <laverya@umich.edu>
2020-07-16 12:21:37 -04:00
..
api_server.go Updates for org move to vmware-tanzu (#1920) 2019-09-30 17:26:56 -04:00
comparisons.go move contents of pkg/util/test into pkg/test 2019-08-07 08:26:00 -06:00
discovery_client.go extract shared API test helpers to pkg/test 2019-06-20 14:57:31 -06:00
fake_discovery_helper.go Backup all groups and versions with backward compatibility (#2373) 2020-05-01 15:54:57 -04:00
fake_dynamic.go change dynamic client's List return type to UnstructuredList 2020-04-15 12:41:47 -06:00
fake_file_system.go Updates for org move to vmware-tanzu (#1920) 2019-09-30 17:26:56 -04:00
fake_mapper.go move contents of pkg/util/test into pkg/test 2019-08-07 08:26:00 -06:00
fake_namespace.go k8s 1.18 import (#2651) 2020-07-16 12:21:37 -04:00
fake_volume_snapshotter.go move contents of pkg/util/test into pkg/test 2019-08-07 08:26:00 -06:00
helpers.go move contents of pkg/util/test into pkg/test 2019-08-07 08:26:00 -06:00
mock_pod_command_executor.go Updates for org move to vmware-tanzu (#1920) 2019-09-30 17:26:56 -04:00
resources.go If includeClusterResources is nil/auto, pull in necessary CRDs (#1831) 2019-10-17 12:31:04 -06:00
test_logger.go move contents of pkg/util/test into pkg/test 2019-08-07 08:26:00 -06:00