Skip to content

Commit

Permalink
Use client-go 5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
tamalsaha committed Oct 20, 2017
1 parent e2488aa commit 5f6b7b2
Show file tree
Hide file tree
Showing 1,812 changed files with 293,868 additions and 700,067 deletions.
1 change: 0 additions & 1 deletion apis/stash/install/install.go
Expand Up @@ -15,7 +15,6 @@ func Install(groupFactoryRegistry announced.APIGroupFactoryRegistry, registry *r
&announced.GroupMetaFactoryArgs{
GroupName: sapi.GroupName,
VersionPreferenceOrder: []string{v1alpha1.SchemeGroupVersion.Version},
ImportPrefix: "github.com/appscode/stash/apis/stash",
RootScopedKinds: sets.NewString("CustomResourceDefinition"),
AddInternalObjectsToScheme: sapi.AddToScheme,
},
Expand Down
6 changes: 3 additions & 3 deletions apis/stash/types.go
@@ -1,8 +1,8 @@
package stash

import (
apiv1 "k8s.io/api/core/v1"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
apiv1 "k8s.io/client-go/pkg/api/v1"
)

const (
Expand All @@ -15,7 +15,7 @@ const (
ResourceTypeRecovery = "recoveries"
)

// +genclient=true
// +genclient
// +k8s:openapi-gen=true
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

Expand Down Expand Up @@ -54,7 +54,7 @@ type ResticList struct {
Items []Restic `json:"items,omitempty"`
}

// +genclient=true
// +genclient
// +k8s:openapi-gen=true
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

Expand Down
2 changes: 1 addition & 1 deletion apis/stash/v1alpha1/objectref.go
@@ -1,7 +1,7 @@
package v1alpha1

import (
apiv1 "k8s.io/client-go/pkg/api/v1"
apiv1 "k8s.io/api/core/v1"
)

func (r Restic) ObjectReference() *apiv1.ObjectReference {
Expand Down
78 changes: 0 additions & 78 deletions apis/stash/v1alpha1/prefix_type.generated.go

This file was deleted.

0 comments on commit 5f6b7b2

Please sign in to comment.