1
0
mirror of https://github.com/rancher/norman.git synced 2025-06-30 01:02:04 +00:00

Fix imports

This commit is contained in:
Darren Shepherd 2017-11-28 14:53:16 -07:00
parent 389d27b3e5
commit c93f63f15e

View File

@ -3,13 +3,13 @@ package generator
var controllerTemplate = `package {{.schema.Version.Version}} var controllerTemplate = `package {{.schema.Version.Version}}
import ( import (
"sync"
"context" "context"
{{.importPackage}} {{.importPackage}}
"github.com/rancher/norman/clientbase" "github.com/rancher/norman/clientbase"
"github.com/rancher/norman/controller" "github.com/rancher/norman/controller"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"k8s.io/apimachinery/pkg/label"
"k8s.io/apimachinery/pkg/runtime" "k8s.io/apimachinery/pkg/runtime"
"k8s.io/apimachinery/pkg/runtime/schema" "k8s.io/apimachinery/pkg/runtime/schema"
"k8s.io/apimachinery/pkg/watch" "k8s.io/apimachinery/pkg/watch"