move go module to v2

With the advent of Podman 2.0.0 we crossed the magical barrier of go
modules.  While we were able to continue importing all packages inside
of the project, the project could not be vendored anymore from the
outside.

Move the go module to new major version and change all imports to
`github.com/containers/libpod/v2`.  The renaming of the imports
was done via `gomove` [1].

[1] https://github.com/KSubedi/gomove

Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
This commit is contained in:
Valentin Rothberg
2020-07-06 15:38:20 +02:00
parent 9bccb0f091
commit 8489dc4345
579 changed files with 1495 additions and 1495 deletions
cmd/podman
go.mod
hack/podman-registry-go
libpod
boltdb_state.goboltdb_state_internal.goboltdb_state_linux.gocommon_test.gocontainer.gocontainer_api.gocontainer_commit.gocontainer_exec.gocontainer_graph.gocontainer_graph_test.gocontainer_inspect.gocontainer_internal.gocontainer_internal_linux.gocontainer_internal_unsupported.gocontainer_log.gocontainer_log_linux.gocontainer_log_unsupported.gocontainer_top_linux.gocontainer_top_unsupported.gocontainer_validate.go
define
diff.goevents.go
events
filters
healthcheck.gohealthcheck_linux.gohealthcheck_unsupported.go
image
in_memory_state.goinfo.gokube.go
lock
logs
networking_linux.gonetworking_unsupported.gooci.gooci_attach_linux.gooci_attach_unsupported.gooci_conmon_exec_linux.gooci_conmon_linux.gooci_conmon_unsupported.gooci_missing.gooci_util.gooptions.gopod.gopod_api.gopod_internal.gopod_status.gopod_top_linux.gopod_top_unsupported.goreset.goruntime.goruntime_cstorage.goruntime_ctr.goruntime_img.goruntime_img_test.goruntime_migrate.goruntime_pod.goruntime_pod_infra_linux.goruntime_pod_linux.goruntime_pod_unsupported.goruntime_renumber.goruntime_volume.goruntime_volume_linux.goruntime_volume_unsupported.gostate_test.gostats.gostats_unsupported.gostorage.goutil.goutil_linux.goutil_test.goutil_unsupported.govolume.govolume_inspect.govolume_internal.govolume_internal_linux.govolume_internal_unsupported.go
pkg
api
autoupdate
bindings
cgroups
checkpoint
domain
hooks
inspect
netns
network
parallel
ps
registrar
registries
resolvconf
rootless
spec
specgen
systemd
util
varlinkapi
test
e2e
attach_test.gobuild_test.gocheckpoint_test.gocommit_test.gocommon_test.gocontainer_inspect_test.gocontainers_conf_test.gocp_test.gocreate_staticip_test.gocreate_staticmac_test.gocreate_test.godiff_test.goevents_test.goexec_test.goexists_test.goexport_test.gogenerate_kube_test.gogenerate_systemd_test.gohealthcheck_run_test.gohistory_test.goimages_test.goimport_test.goinfo_test.goinit_test.goinspect_test.gokill_test.golibpod_suite_remote_test.golibpod_suite_varlink_test.goload_test.gologin_logout_test.gologs_test.gomanifest_test.gomount_test.gonamespace_test.gonegative_test.gonetwork_create_test.gonetwork_test.gopause_test.goplay_kube_test.gopod_create_test.gopod_infra_container_test.gopod_inspect_test.gopod_kill_test.gopod_pause_test.gopod_pod_namespaces.gopod_prune_test.gopod_ps_test.gopod_restart_test.gopod_rm_test.gopod_start_test.gopod_stats_test.gopod_stop_test.gopod_top_test.goport_test.goprune_test.gops_test.gopull_test.gopush_test.gorestart_test.gorm_test.gormi_test.gorun_cgroup_parent_test.gorun_cleanup_test.gorun_cpu_test.gorun_device_test.gorun_dns_test.gorun_entrypoint_test.gorun_env_test.gorun_exit_test.gorun_memory_test.gorun_networking_test.gorun_ns_test.gorun_passwd_test.gorun_privileged_test.gorun_restart_test.gorun_seccomp.gorun_security_labels.gorun_selinux_test.gorun_signal_test.gorun_staticip_test.gorun_test.gorun_userns_test.gorun_volume_test.gorunlabel_test.gosave_test.gosearch_test.gostart_test.gostats_test.gostop_test.gosystem_df_test.gosystem_reset_test.gosystemd_test.gotag_test.gotop_test.gotree_test.gotrust_test.gounshare_test.gountag_test.goversion_test.govolume_create_test.govolume_inspect_test.govolume_ls_test.govolume_prune_test.govolume_rm_test.gowait_test.go
endpoint
utils
utils

@ -5,7 +5,7 @@ import (
"os"
"path/filepath"
. "github.com/containers/libpod/test/utils"
. "github.com/containers/libpod/v2/test/utils"
. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
)