Split velero plugin client into its own package

Signed-off-by: Carlisia <carlisiac@vmware.com>
This commit is contained in:
Carlisia
2019-03-19 16:05:37 -07:00
parent 1eac10ca9f
commit a71e43b2b7
32 changed files with 75 additions and 65 deletions
@@ -35,7 +35,7 @@ import (
informers "github.com/heptio/velero/pkg/generated/informers/externalversions"
"github.com/heptio/velero/pkg/persistence"
persistencemocks "github.com/heptio/velero/pkg/persistence/mocks"
"github.com/heptio/velero/pkg/plugin"
"github.com/heptio/velero/pkg/plugin/clientmgmt"
pluginmocks "github.com/heptio/velero/pkg/plugin/mocks"
"github.com/heptio/velero/pkg/util/stringslice"
velerotest "github.com/heptio/velero/pkg/util/test"
@@ -193,7 +193,7 @@ func TestBackupSyncControllerRun(t *testing.T) {
time.Duration(0),
test.namespace,
"",
func(logrus.FieldLogger) plugin.Manager { return pluginManager },
func(logrus.FieldLogger) clientmgmt.Manager { return pluginManager },
velerotest.NewLogger(),
).(*backupSyncController)