From 1f21268d9bb02765691eb1c24043befc2f947b8c Mon Sep 17 00:00:00 2001 From: Tamal Saha Date: Wed, 8 May 2019 23:11:41 -0700 Subject: [PATCH] Update package path to stash.appscode.dev/stash (#776) Signed-off-by: Tamal Saha --- backup.go | 12 ++++++------ backup_mongo.go | 4 ++-- backup_mysql.go | 4 ++-- backup_pg.go | 4 ++-- backup_pvc.go | 6 +++--- check.go | 4 ++-- cli/backup-pv.go | 2 +- cli/cli.go | 8 ++++---- cli/copy_repository.go | 4 ++-- cli/delete_snapshot.go | 6 +++--- cli/download.go | 6 +++--- cli/trigger_backup.go | 6 +++--- cli/unlock_local_repository.go | 2 +- cli/unlock_repository.go | 8 ++++---- create_backupsession.go | 10 +++++----- docker/delete_snapshot.go | 2 +- docker/docker.go | 2 +- docker/download.go | 2 +- docker/unlock_repository.go | 2 +- forget.go | 4 ++-- recover.go | 4 ++-- restore.go | 6 +++--- restore_mongo.go | 4 ++-- restore_mysql.go | 4 ++-- restore_pg.go | 4 ++-- restore_pvc.go | 4 ++-- root.go | 10 +++++----- run.go | 2 +- run_backup.go | 10 +++++----- scaledown.go | 2 +- server/options.go | 8 ++++---- server/start.go | 6 +++--- snapshot.go | 4 ++-- update_status.go | 6 +++--- 34 files changed, 86 insertions(+), 86 deletions(-) diff --git a/backup.go b/backup.go index fa4ad47d8..3df0f2b85 100644 --- a/backup.go +++ b/backup.go @@ -7,17 +7,17 @@ import ( "github.com/appscode/go/log" v "github.com/appscode/go/version" - "github.com/appscode/stash/apis" - cs "github.com/appscode/stash/client/clientset/versioned" - "github.com/appscode/stash/pkg/backup" - "github.com/appscode/stash/pkg/docker" - "github.com/appscode/stash/pkg/scale" - "github.com/appscode/stash/pkg/util" "github.com/spf13/cobra" "k8s.io/client-go/kubernetes" "k8s.io/client-go/tools/clientcmd" "kmodules.xyz/client-go/meta" "kmodules.xyz/client-go/tools/cli" + "stash.appscode.dev/stash/apis" + cs "stash.appscode.dev/stash/client/clientset/versioned" + "stash.appscode.dev/stash/pkg/backup" + "stash.appscode.dev/stash/pkg/docker" + "stash.appscode.dev/stash/pkg/scale" + "stash.appscode.dev/stash/pkg/util" ) func NewCmdBackup() *cobra.Command { diff --git a/backup_mongo.go b/backup_mongo.go index 7a93ad037..c6b2df2d8 100644 --- a/backup_mongo.go +++ b/backup_mongo.go @@ -5,14 +5,14 @@ import ( "path/filepath" "github.com/appscode/go/flags" - "github.com/appscode/stash/pkg/restic" - "github.com/appscode/stash/pkg/util" "github.com/spf13/cobra" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/util/errors" "k8s.io/client-go/kubernetes" "k8s.io/client-go/tools/clientcmd" appcatalog_cs "kmodules.xyz/custom-resources/client/clientset/versioned" + "stash.appscode.dev/stash/pkg/restic" + "stash.appscode.dev/stash/pkg/util" ) const ( diff --git a/backup_mysql.go b/backup_mysql.go index a7f5970e9..b5182398f 100644 --- a/backup_mysql.go +++ b/backup_mysql.go @@ -4,14 +4,14 @@ import ( "path/filepath" "github.com/appscode/go/flags" - "github.com/appscode/stash/pkg/restic" - "github.com/appscode/stash/pkg/util" "github.com/spf13/cobra" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/util/errors" "k8s.io/client-go/kubernetes" "k8s.io/client-go/tools/clientcmd" appcatalog_cs "kmodules.xyz/custom-resources/client/clientset/versioned" + "stash.appscode.dev/stash/pkg/restic" + "stash.appscode.dev/stash/pkg/util" ) const ( diff --git a/backup_pg.go b/backup_pg.go index 297b80a49..badead4ab 100644 --- a/backup_pg.go +++ b/backup_pg.go @@ -8,14 +8,14 @@ import ( "github.com/appscode/go/flags" "github.com/appscode/go/log" - "github.com/appscode/stash/pkg/restic" - "github.com/appscode/stash/pkg/util" "github.com/spf13/cobra" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/util/errors" "k8s.io/client-go/kubernetes" "k8s.io/client-go/tools/clientcmd" appcatalog_cs "kmodules.xyz/custom-resources/client/clientset/versioned" + "stash.appscode.dev/stash/pkg/restic" + "stash.appscode.dev/stash/pkg/util" ) const ( diff --git a/backup_pvc.go b/backup_pvc.go index 19e333c79..d3d443f04 100644 --- a/backup_pvc.go +++ b/backup_pvc.go @@ -5,11 +5,11 @@ import ( "github.com/appscode/go/flags" "github.com/appscode/go/log" - api_v1beta1 "github.com/appscode/stash/apis/stash/v1beta1" - "github.com/appscode/stash/pkg/restic" - "github.com/appscode/stash/pkg/util" "github.com/spf13/cobra" "k8s.io/apimachinery/pkg/util/errors" + api_v1beta1 "stash.appscode.dev/stash/apis/stash/v1beta1" + "stash.appscode.dev/stash/pkg/restic" + "stash.appscode.dev/stash/pkg/util" ) const ( diff --git a/check.go b/check.go index 512be7668..0aae82f32 100644 --- a/check.go +++ b/check.go @@ -2,12 +2,12 @@ package cmds import ( "github.com/appscode/go/log" - cs "github.com/appscode/stash/client/clientset/versioned/typed/stash/v1alpha1" - "github.com/appscode/stash/pkg/check" "github.com/spf13/cobra" "k8s.io/client-go/kubernetes" "k8s.io/client-go/tools/clientcmd" "kmodules.xyz/client-go/meta" + cs "stash.appscode.dev/stash/client/clientset/versioned/typed/stash/v1alpha1" + "stash.appscode.dev/stash/pkg/check" ) func NewCmdCheck() *cobra.Command { diff --git a/cli/backup-pv.go b/cli/backup-pv.go index a2a232147..4174cb84c 100644 --- a/cli/backup-pv.go +++ b/cli/backup-pv.go @@ -6,10 +6,10 @@ import ( "github.com/appscode/go/flags" "github.com/appscode/go/log" - "github.com/appscode/stash/apis/stash/v1beta1" "github.com/spf13/cobra" core "k8s.io/api/core/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "stash.appscode.dev/stash/apis/stash/v1beta1" ) func NewBackupPVCmd() *cobra.Command { diff --git a/cli/cli.go b/cli/cli.go index c5adea53f..3246d6cb4 100644 --- a/cli/cli.go +++ b/cli/cli.go @@ -5,10 +5,6 @@ import ( "os" "path/filepath" - cs "github.com/appscode/stash/client/clientset/versioned" - "github.com/appscode/stash/pkg/cmds/docker" - docker_image "github.com/appscode/stash/pkg/docker" - "github.com/appscode/stash/pkg/restic" "github.com/spf13/cobra" core "k8s.io/api/core/v1" "k8s.io/client-go/kubernetes" @@ -16,6 +12,10 @@ import ( "k8s.io/client-go/util/homedir" meta_util "kmodules.xyz/client-go/meta" "kmodules.xyz/client-go/tools/clientcmd" + cs "stash.appscode.dev/stash/client/clientset/versioned" + "stash.appscode.dev/stash/pkg/cmds/docker" + docker_image "stash.appscode.dev/stash/pkg/docker" + "stash.appscode.dev/stash/pkg/restic" ) const ( diff --git a/cli/copy_repository.go b/cli/copy_repository.go index 1a6250ffa..217a61c5d 100644 --- a/cli/copy_repository.go +++ b/cli/copy_repository.go @@ -3,12 +3,12 @@ package cli import ( "github.com/appscode/go/flags" "github.com/appscode/go/log" - "github.com/appscode/stash/apis/stash/v1alpha1" - "github.com/appscode/stash/client/clientset/versioned/typed/stash/v1alpha1/util" "github.com/spf13/cobra" core "k8s.io/api/core/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" core_util "kmodules.xyz/client-go/core/v1" + "stash.appscode.dev/stash/apis/stash/v1alpha1" + "stash.appscode.dev/stash/client/clientset/versioned/typed/stash/v1alpha1/util" ) func NewCopyRepositoryCmd() *cobra.Command { diff --git a/cli/delete_snapshot.go b/cli/delete_snapshot.go index 4723e9c4b..b04ad7d0f 100644 --- a/cli/delete_snapshot.go +++ b/cli/delete_snapshot.go @@ -8,11 +8,11 @@ import ( "os/user" "github.com/appscode/go/log" - "github.com/appscode/stash/pkg/cmds/docker" - "github.com/appscode/stash/pkg/registry/snapshot" - "github.com/appscode/stash/pkg/util" "github.com/spf13/cobra" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "stash.appscode.dev/stash/pkg/cmds/docker" + "stash.appscode.dev/stash/pkg/registry/snapshot" + "stash.appscode.dev/stash/pkg/util" ) func NewDeleteSnapshotCmd() *cobra.Command { diff --git a/cli/download.go b/cli/download.go index 6a20ad92b..6aeca71a2 100644 --- a/cli/download.go +++ b/cli/download.go @@ -9,11 +9,11 @@ import ( "github.com/appscode/go/flags" "github.com/appscode/go/log" - "github.com/appscode/stash/pkg/cmds/docker" - "github.com/appscode/stash/pkg/restic" - "github.com/appscode/stash/pkg/util" "github.com/spf13/cobra" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "stash.appscode.dev/stash/pkg/cmds/docker" + "stash.appscode.dev/stash/pkg/restic" + "stash.appscode.dev/stash/pkg/util" ) func NewDownloadCmd() *cobra.Command { diff --git a/cli/trigger_backup.go b/cli/trigger_backup.go index 56e8cee05..521dea206 100644 --- a/cli/trigger_backup.go +++ b/cli/trigger_backup.go @@ -4,14 +4,14 @@ import ( "fmt" "github.com/appscode/go/log" - "github.com/appscode/stash/apis/stash/v1beta1" - stash_scheme "github.com/appscode/stash/client/clientset/versioned/scheme" - "github.com/appscode/stash/pkg/util" "github.com/spf13/cobra" v1 "k8s.io/api/core/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/tools/reference" core_util "kmodules.xyz/client-go/core/v1" + "stash.appscode.dev/stash/apis/stash/v1beta1" + stash_scheme "stash.appscode.dev/stash/client/clientset/versioned/scheme" + "stash.appscode.dev/stash/pkg/util" ) func NewTriggerBackupCmd() *cobra.Command { diff --git a/cli/unlock_local_repository.go b/cli/unlock_local_repository.go index c0b68ae81..2bbe4911e 100644 --- a/cli/unlock_local_repository.go +++ b/cli/unlock_local_repository.go @@ -3,8 +3,8 @@ package cli import ( "github.com/appscode/go/flags" "github.com/appscode/go/log" - "github.com/appscode/stash/pkg/restic" "github.com/spf13/cobra" + "stash.appscode.dev/stash/pkg/restic" ) func NewUnlockLocalRepositoryCmd() *cobra.Command { diff --git a/cli/unlock_repository.go b/cli/unlock_repository.go index 4c2c245d3..6c3d814f6 100644 --- a/cli/unlock_repository.go +++ b/cli/unlock_repository.go @@ -10,10 +10,6 @@ import ( "github.com/appscode/go/flags" "github.com/appscode/go/log" "github.com/appscode/go/types" - "github.com/appscode/stash/apis/stash/v1alpha1" - stash_scheme "github.com/appscode/stash/client/clientset/versioned/scheme" - "github.com/appscode/stash/pkg/cmds/docker" - "github.com/appscode/stash/pkg/util" "github.com/spf13/cobra" batch "k8s.io/api/batch/v1" core "k8s.io/api/core/v1" @@ -22,6 +18,10 @@ import ( batch_util "kmodules.xyz/client-go/batch/v1" v1 "kmodules.xyz/client-go/core/v1" "kmodules.xyz/client-go/tools/cli" + "stash.appscode.dev/stash/apis/stash/v1alpha1" + stash_scheme "stash.appscode.dev/stash/client/clientset/versioned/scheme" + "stash.appscode.dev/stash/pkg/cmds/docker" + "stash.appscode.dev/stash/pkg/util" ) const ( diff --git a/create_backupsession.go b/create_backupsession.go index 8b0334f1b..9c677180c 100644 --- a/create_backupsession.go +++ b/create_backupsession.go @@ -3,11 +3,6 @@ package cmds import ( "github.com/appscode/go/crypto/rand" "github.com/appscode/go/log" - api_v1beta1 "github.com/appscode/stash/apis/stash/v1beta1" - cs "github.com/appscode/stash/client/clientset/versioned" - stash_scheme "github.com/appscode/stash/client/clientset/versioned/scheme" - v1beta1_util "github.com/appscode/stash/client/clientset/versioned/typed/stash/v1beta1/util" - "github.com/appscode/stash/pkg/util" "github.com/spf13/cobra" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/kubernetes" @@ -15,6 +10,11 @@ import ( "k8s.io/client-go/tools/reference" core_util "kmodules.xyz/client-go/core/v1" "kmodules.xyz/client-go/meta" + api_v1beta1 "stash.appscode.dev/stash/apis/stash/v1beta1" + cs "stash.appscode.dev/stash/client/clientset/versioned" + stash_scheme "stash.appscode.dev/stash/client/clientset/versioned/scheme" + v1beta1_util "stash.appscode.dev/stash/client/clientset/versioned/typed/stash/v1beta1/util" + "stash.appscode.dev/stash/pkg/util" ) type options struct { diff --git a/docker/delete_snapshot.go b/docker/delete_snapshot.go index 757565b59..cb3679cc0 100644 --- a/docker/delete_snapshot.go +++ b/docker/delete_snapshot.go @@ -4,8 +4,8 @@ import ( "path/filepath" "github.com/appscode/go/log" - "github.com/appscode/stash/pkg/restic" "github.com/spf13/cobra" + "stash.appscode.dev/stash/pkg/restic" ) func NewDeleteSnapshotCmd() *cobra.Command { diff --git a/docker/docker.go b/docker/docker.go index b7699c0a5..d0e231eec 100644 --- a/docker/docker.go +++ b/docker/docker.go @@ -6,8 +6,8 @@ import ( "os" "path/filepath" - "github.com/appscode/stash/pkg/restic" "github.com/spf13/cobra" + "stash.appscode.dev/stash/pkg/restic" ) const ( diff --git a/docker/download.go b/docker/download.go index 71ac7ecf1..4274b87bf 100644 --- a/docker/download.go +++ b/docker/download.go @@ -4,8 +4,8 @@ import ( "path/filepath" "github.com/appscode/go/log" - "github.com/appscode/stash/pkg/restic" "github.com/spf13/cobra" + "stash.appscode.dev/stash/pkg/restic" ) func NewDownloadCmd() *cobra.Command { diff --git a/docker/unlock_repository.go b/docker/unlock_repository.go index b85a6a5b4..79e28c4f1 100644 --- a/docker/unlock_repository.go +++ b/docker/unlock_repository.go @@ -4,8 +4,8 @@ import ( "path/filepath" "github.com/appscode/go/log" - "github.com/appscode/stash/pkg/restic" "github.com/spf13/cobra" + "stash.appscode.dev/stash/pkg/restic" ) func NewUnlockRepositoryCmd() *cobra.Command { diff --git a/forget.go b/forget.go index 18a18b9d7..c9f4accdf 100644 --- a/forget.go +++ b/forget.go @@ -3,12 +3,12 @@ package cmds import ( "fmt" - cs "github.com/appscode/stash/client/clientset/versioned/typed/stash/v1alpha1" - "github.com/appscode/stash/pkg/registry/snapshot" "github.com/spf13/cobra" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/tools/clientcmd" "kmodules.xyz/client-go/meta" + cs "stash.appscode.dev/stash/client/clientset/versioned/typed/stash/v1alpha1" + "stash.appscode.dev/stash/pkg/registry/snapshot" ) func NewCmdForget() *cobra.Command { diff --git a/recover.go b/recover.go index 7382b8e2c..23b7dd7c0 100644 --- a/recover.go +++ b/recover.go @@ -4,12 +4,12 @@ import ( "time" "github.com/appscode/go/log" - cs "github.com/appscode/stash/client/clientset/versioned/typed/stash/v1alpha1" - "github.com/appscode/stash/pkg/recovery" "github.com/spf13/cobra" "k8s.io/client-go/kubernetes" "k8s.io/client-go/tools/clientcmd" "kmodules.xyz/client-go/meta" + cs "stash.appscode.dev/stash/client/clientset/versioned/typed/stash/v1alpha1" + "stash.appscode.dev/stash/pkg/recovery" ) func NewCmdRecover() *cobra.Command { diff --git a/restore.go b/restore.go index 4621da046..b40d4d35d 100644 --- a/restore.go +++ b/restore.go @@ -2,14 +2,14 @@ package cmds import ( "github.com/appscode/go/log" - cs "github.com/appscode/stash/client/clientset/versioned" - "github.com/appscode/stash/pkg/restic" - "github.com/appscode/stash/pkg/restore" "github.com/spf13/cobra" "k8s.io/apimachinery/pkg/util/errors" "k8s.io/client-go/kubernetes" "k8s.io/client-go/tools/clientcmd" "kmodules.xyz/client-go/meta" + cs "stash.appscode.dev/stash/client/clientset/versioned" + "stash.appscode.dev/stash/pkg/restic" + "stash.appscode.dev/stash/pkg/restore" ) func NewCmdRestore() *cobra.Command { diff --git a/restore_mongo.go b/restore_mongo.go index 01168d1f8..37ad42a01 100644 --- a/restore_mongo.go +++ b/restore_mongo.go @@ -5,14 +5,14 @@ import ( "path/filepath" "github.com/appscode/go/flags" - "github.com/appscode/stash/pkg/restic" - "github.com/appscode/stash/pkg/util" "github.com/spf13/cobra" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/util/errors" "k8s.io/client-go/kubernetes" "k8s.io/client-go/tools/clientcmd" appcatalog_cs "kmodules.xyz/custom-resources/client/clientset/versioned" + "stash.appscode.dev/stash/pkg/restic" + "stash.appscode.dev/stash/pkg/util" ) func NewCmdRestoreMongo() *cobra.Command { diff --git a/restore_mysql.go b/restore_mysql.go index 2f0132552..9dafe10d5 100644 --- a/restore_mysql.go +++ b/restore_mysql.go @@ -4,14 +4,14 @@ import ( "path/filepath" "github.com/appscode/go/flags" - "github.com/appscode/stash/pkg/restic" - "github.com/appscode/stash/pkg/util" "github.com/spf13/cobra" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/util/errors" "k8s.io/client-go/kubernetes" "k8s.io/client-go/tools/clientcmd" appcatalog_cs "kmodules.xyz/custom-resources/client/clientset/versioned" + "stash.appscode.dev/stash/pkg/restic" + "stash.appscode.dev/stash/pkg/util" ) func NewCmdRestoreMySql() *cobra.Command { diff --git a/restore_pg.go b/restore_pg.go index 076014daf..205623a9c 100644 --- a/restore_pg.go +++ b/restore_pg.go @@ -4,14 +4,14 @@ import ( "path/filepath" "github.com/appscode/go/flags" - "github.com/appscode/stash/pkg/restic" - "github.com/appscode/stash/pkg/util" "github.com/spf13/cobra" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/util/errors" "k8s.io/client-go/kubernetes" "k8s.io/client-go/tools/clientcmd" appcatalog_cs "kmodules.xyz/custom-resources/client/clientset/versioned" + "stash.appscode.dev/stash/pkg/restic" + "stash.appscode.dev/stash/pkg/util" ) func NewCmdRestorePG() *cobra.Command { diff --git a/restore_pvc.go b/restore_pvc.go index 235aab22e..3719e350e 100644 --- a/restore_pvc.go +++ b/restore_pvc.go @@ -4,10 +4,10 @@ import ( "path/filepath" "github.com/appscode/go/flags" - "github.com/appscode/stash/pkg/restic" - "github.com/appscode/stash/pkg/util" "github.com/spf13/cobra" "k8s.io/apimachinery/pkg/util/errors" + "stash.appscode.dev/stash/pkg/restic" + "stash.appscode.dev/stash/pkg/util" ) const ( diff --git a/root.go b/root.go index ab5521c23..d32273db8 100644 --- a/root.go +++ b/root.go @@ -7,11 +7,6 @@ import ( "github.com/appscode/go/flags" "github.com/appscode/go/log/golog" v "github.com/appscode/go/version" - "github.com/appscode/stash/apis" - "github.com/appscode/stash/client/clientset/versioned/scheme" - stash_cli "github.com/appscode/stash/pkg/cmds/cli" - "github.com/appscode/stash/pkg/cmds/docker" - "github.com/appscode/stash/pkg/util" "github.com/spf13/cobra" genericapiserver "k8s.io/apiserver/pkg/server" clientsetscheme "k8s.io/client-go/kubernetes/scheme" @@ -19,6 +14,11 @@ import ( "kmodules.xyz/client-go/logs" "kmodules.xyz/client-go/tools/cli" ocscheme "kmodules.xyz/openshift/client/clientset/versioned/scheme" + "stash.appscode.dev/stash/apis" + "stash.appscode.dev/stash/client/clientset/versioned/scheme" + stash_cli "stash.appscode.dev/stash/pkg/cmds/cli" + "stash.appscode.dev/stash/pkg/cmds/docker" + "stash.appscode.dev/stash/pkg/util" ) func NewRootCmd() *cobra.Command { diff --git a/run.go b/run.go index 15f485ac7..0cfa99a65 100644 --- a/run.go +++ b/run.go @@ -5,9 +5,9 @@ import ( "github.com/appscode/go/log" v "github.com/appscode/go/version" - "github.com/appscode/stash/pkg/cmds/server" "github.com/spf13/cobra" "kmodules.xyz/client-go/tools/cli" + "stash.appscode.dev/stash/pkg/cmds/server" ) func NewCmdRun(out, errOut io.Writer, stopCh <-chan struct{}) *cobra.Command { diff --git a/run_backup.go b/run_backup.go index 2702a8111..c60867d6b 100644 --- a/run_backup.go +++ b/run_backup.go @@ -4,16 +4,16 @@ import ( "time" "github.com/appscode/go/log" - cs "github.com/appscode/stash/client/clientset/versioned" - stashinformers "github.com/appscode/stash/client/informers/externalversions" - "github.com/appscode/stash/pkg/backup" - "github.com/appscode/stash/pkg/eventer" - "github.com/appscode/stash/pkg/restic" "github.com/golang/glog" "github.com/spf13/cobra" "k8s.io/client-go/kubernetes" "k8s.io/client-go/tools/clientcmd" "kmodules.xyz/client-go/meta" + cs "stash.appscode.dev/stash/client/clientset/versioned" + stashinformers "stash.appscode.dev/stash/client/informers/externalversions" + "stash.appscode.dev/stash/pkg/backup" + "stash.appscode.dev/stash/pkg/eventer" + "stash.appscode.dev/stash/pkg/restic" ) func NewCmdRunBackup() *cobra.Command { diff --git a/scaledown.go b/scaledown.go index 287f929e7..0a51c20fe 100644 --- a/scaledown.go +++ b/scaledown.go @@ -2,11 +2,11 @@ package cmds import ( "github.com/appscode/go/log" - "github.com/appscode/stash/pkg/scale" "github.com/spf13/cobra" "k8s.io/client-go/kubernetes" "k8s.io/client-go/tools/clientcmd" "kmodules.xyz/client-go/meta" + "stash.appscode.dev/stash/pkg/scale" ) func NewCmdScaleDown() *cobra.Command { diff --git a/server/options.go b/server/options.go index 19d69e65e..9087673b5 100644 --- a/server/options.go +++ b/server/options.go @@ -6,10 +6,6 @@ import ( stringz "github.com/appscode/go/strings" v "github.com/appscode/go/version" - "github.com/appscode/stash/apis" - cs "github.com/appscode/stash/client/clientset/versioned" - "github.com/appscode/stash/pkg/controller" - "github.com/appscode/stash/pkg/docker" "github.com/spf13/pflag" crd_cs "k8s.io/apiextensions-apiserver/pkg/client/clientset/clientset/typed/apiextensions/v1beta1" "k8s.io/client-go/kubernetes" @@ -17,6 +13,10 @@ import ( appcatalog_cs "kmodules.xyz/custom-resources/client/clientset/versioned" ocapps "kmodules.xyz/openshift/apis/apps/v1" oc_cs "kmodules.xyz/openshift/client/clientset/versioned" + "stash.appscode.dev/stash/apis" + cs "stash.appscode.dev/stash/client/clientset/versioned" + "stash.appscode.dev/stash/pkg/controller" + "stash.appscode.dev/stash/pkg/docker" ) type ExtraOptions struct { diff --git a/server/start.go b/server/start.go index 8ddae2024..b183ba038 100644 --- a/server/start.go +++ b/server/start.go @@ -5,9 +5,6 @@ import ( "io" "net" - "github.com/appscode/stash/apis/repositories/v1alpha1" - "github.com/appscode/stash/pkg/controller" - "github.com/appscode/stash/pkg/server" "github.com/spf13/pflag" admissionv1beta1 "k8s.io/api/admission/v1beta1" openapinamer "k8s.io/apiserver/pkg/endpoints/openapi" @@ -15,6 +12,9 @@ import ( genericoptions "k8s.io/apiserver/pkg/server/options" "kmodules.xyz/client-go/meta" "kmodules.xyz/client-go/tools/clientcmd" + "stash.appscode.dev/stash/apis/repositories/v1alpha1" + "stash.appscode.dev/stash/pkg/controller" + "stash.appscode.dev/stash/pkg/server" ) const defaultEtcdPathPrefix = "/registry/stash.appscode.com" diff --git a/snapshot.go b/snapshot.go index ea29d82cd..c969ccdcd 100644 --- a/snapshot.go +++ b/snapshot.go @@ -4,12 +4,12 @@ import ( "encoding/json" "fmt" - cs "github.com/appscode/stash/client/clientset/versioned/typed/stash/v1alpha1" - "github.com/appscode/stash/pkg/registry/snapshot" "github.com/spf13/cobra" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/tools/clientcmd" "kmodules.xyz/client-go/meta" + cs "stash.appscode.dev/stash/client/clientset/versioned/typed/stash/v1alpha1" + "stash.appscode.dev/stash/pkg/registry/snapshot" ) func NewCmdSnapshots() *cobra.Command { diff --git a/update_status.go b/update_status.go index 16ee4c2a9..213b79deb 100644 --- a/update_status.go +++ b/update_status.go @@ -4,12 +4,12 @@ import ( "fmt" "github.com/appscode/go/flags" - cs "github.com/appscode/stash/client/clientset/versioned" - "github.com/appscode/stash/pkg/restic" - "github.com/appscode/stash/pkg/status" "github.com/spf13/cobra" "k8s.io/client-go/kubernetes" "k8s.io/client-go/tools/clientcmd" + cs "stash.appscode.dev/stash/client/clientset/versioned" + "stash.appscode.dev/stash/pkg/restic" + "stash.appscode.dev/stash/pkg/status" ) func NewCmdUpdateStatus() *cobra.Command {