1
0
mirror of https://github.com/rancher/norman.git synced 2025-09-02 07:44:51 +00:00

Move ObjectClient to different package

This commit is contained in:
Darren Shepherd
2018-04-03 12:49:20 -07:00
parent ebb7ecc23f
commit ff60298f31
6 changed files with 25 additions and 20 deletions

View File

@@ -9,7 +9,7 @@ import (
"github.com/juju/ratelimit"
errors2 "github.com/pkg/errors"
"github.com/rancher/norman/clientbase"
"github.com/rancher/norman/objectclient"
"github.com/rancher/norman/types"
"github.com/sirupsen/logrus"
"k8s.io/apimachinery/pkg/api/errors"
@@ -40,7 +40,7 @@ type GenericController interface {
type Backend interface {
List(opts metav1.ListOptions) (runtime.Object, error)
Watch(opts metav1.ListOptions) (watch.Interface, error)
ObjectFactory() clientbase.ObjectFactory
ObjectFactory() objectclient.ObjectFactory
}
type handlerDef struct {