Skip to content

Commit

Permalink
Merge pull request volcano-sh#296 from k82cn/rn_v1
Browse files Browse the repository at this point in the history
Rename client from v1 to v1alpha1.
  • Loading branch information
k82cn authored Jul 10, 2018
2 parents 6ced4b9 + 4429e91 commit c5171a1
Show file tree
Hide file tree
Showing 13 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion hack/.golint_failures
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ pkg/apis/v1alpha1
pkg/client
pkg/client/clientset
pkg/client/clientset/scheme
pkg/client/clientset/typed/v1
pkg/client/clientset/typed/v1alpha1
pkg/client/informers/internalinterfaces
pkg/karcli/job
pkg/scheduler
Expand Down
2 changes: 1 addition & 1 deletion pkg/client/clientset/clientset.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ limitations under the License.
package clientset

import (
"github.com/kubernetes-incubator/kube-arbitrator/pkg/client/clientset/typed/v1"
v1 "github.com/kubernetes-incubator/kube-arbitrator/pkg/client/clientset/typed/v1alpha1"

"k8s.io/client-go/rest"
)
Expand Down
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion pkg/client/informers/factory.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import (
"time"

"github.com/kubernetes-incubator/kube-arbitrator/pkg/client/informers/internalinterfaces"
arbclient "github.com/kubernetes-incubator/kube-arbitrator/pkg/client/informers/v1"
arbclient "github.com/kubernetes-incubator/kube-arbitrator/pkg/client/informers/v1alpha1"

"k8s.io/apimachinery/pkg/runtime"
"k8s.io/apimachinery/pkg/runtime/schema"
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import (

arbv1 "github.com/kubernetes-incubator/kube-arbitrator/pkg/apis/v1alpha1"
"github.com/kubernetes-incubator/kube-arbitrator/pkg/client/informers/internalinterfaces"
"github.com/kubernetes-incubator/kube-arbitrator/pkg/client/listers/v1"
v1 "github.com/kubernetes-incubator/kube-arbitrator/pkg/client/listers/v1alpha1"
)

// QueueJobInformer provides access to a shared informer and lister for
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import (

arbv1 "github.com/kubernetes-incubator/kube-arbitrator/pkg/apis/v1alpha1"
"github.com/kubernetes-incubator/kube-arbitrator/pkg/client/informers/internalinterfaces"
"github.com/kubernetes-incubator/kube-arbitrator/pkg/client/listers/v1"
v1 "github.com/kubernetes-incubator/kube-arbitrator/pkg/client/listers/v1alpha1"
)

// SchedulingSpecInformer provides access to a shared informer and lister for
Expand Down
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions pkg/controller/queuejob/queuejob_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ import (
"github.com/kubernetes-incubator/kube-arbitrator/pkg/client"
"github.com/kubernetes-incubator/kube-arbitrator/pkg/client/clientset"
arbinformers "github.com/kubernetes-incubator/kube-arbitrator/pkg/client/informers"
informersv1 "github.com/kubernetes-incubator/kube-arbitrator/pkg/client/informers/v1"
listersv1 "github.com/kubernetes-incubator/kube-arbitrator/pkg/client/listers/v1"
informersv1 "github.com/kubernetes-incubator/kube-arbitrator/pkg/client/informers/v1alpha1"
listersv1 "github.com/kubernetes-incubator/kube-arbitrator/pkg/client/listers/v1alpha1"
)

const (
Expand Down
2 changes: 1 addition & 1 deletion pkg/scheduler/cache/cache.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ import (

"github.com/kubernetes-incubator/kube-arbitrator/pkg/client"
informerfactory "github.com/kubernetes-incubator/kube-arbitrator/pkg/client/informers"
arbclient "github.com/kubernetes-incubator/kube-arbitrator/pkg/client/informers/v1"
arbclient "github.com/kubernetes-incubator/kube-arbitrator/pkg/client/informers/v1alpha1"
arbapi "github.com/kubernetes-incubator/kube-arbitrator/pkg/scheduler/api"
)

Expand Down

0 comments on commit c5171a1

Please sign in to comment.