Skip to content

Commit 6d9cf14

Browse files
committed
replace example-inc with jianzhangbjz
1 parent 7175fe1 commit 6d9cf14

File tree

6 files changed

+13
-14
lines changed

6 files changed

+13
-14
lines changed

cmd/manager/main.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ import (
1111
_ "k8s.io/client-go/plugin/pkg/client/auth"
1212
"k8s.io/client-go/rest"
1313

14-
"github.com/example-inc/learn-operator/pkg/apis"
15-
"github.com/example-inc/learn-operator/pkg/controller"
16-
"github.com/example-inc/learn-operator/version"
14+
"github.com/jianzhangbjz/learn-operator/pkg/apis"
15+
"github.com/jianzhangbjz/learn-operator/pkg/controller"
16+
"github.com/jianzhangbjz/learn-operator/version"
1717

1818
"github.com/operator-framework/operator-sdk/pkg/k8sutil"
1919
kubemetrics "github.com/operator-framework/operator-sdk/pkg/kube-metrics"

go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module github.com/example-inc/learn-operator
1+
module github.com/jianzhangbjz/learn-operator
22

33
go 1.13
44

pkg/apis/addtoscheme_app_v1.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package apis
22

33
import (
4-
v1 "github.com/example-inc/learn-operator/pkg/apis/app/v1"
4+
v1 "github.com/jianzhangbjz/learn-operator/pkg/apis/app/v1"
55
)
66

77
func init() {

pkg/apis/app/v1/zz_generated.openapi.go

+6-6
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ import (
1111

1212
func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenAPIDefinition {
1313
return map[string]common.OpenAPIDefinition{
14-
"github.com/example-inc/learn-operator/pkg/apis/app/v1.Learn": schema_pkg_apis_app_v1_Learn(ref),
15-
"github.com/example-inc/learn-operator/pkg/apis/app/v1.LearnSpec": schema_pkg_apis_app_v1_LearnSpec(ref),
16-
"github.com/example-inc/learn-operator/pkg/apis/app/v1.LearnStatus": schema_pkg_apis_app_v1_LearnStatus(ref),
14+
"github.com/jianzhangbjz/learn-operator/pkg/apis/app/v1.Learn": schema_pkg_apis_app_v1_Learn(ref),
15+
"github.com/jianzhangbjz/learn-operator/pkg/apis/app/v1.LearnSpec": schema_pkg_apis_app_v1_LearnSpec(ref),
16+
"github.com/jianzhangbjz/learn-operator/pkg/apis/app/v1.LearnStatus": schema_pkg_apis_app_v1_LearnStatus(ref),
1717
}
1818
}
1919

@@ -45,19 +45,19 @@ func schema_pkg_apis_app_v1_Learn(ref common.ReferenceCallback) common.OpenAPIDe
4545
},
4646
"spec": {
4747
SchemaProps: spec.SchemaProps{
48-
Ref: ref("github.com/example-inc/learn-operator/pkg/apis/app/v1.LearnSpec"),
48+
Ref: ref("github.com/jianzhangbjz/learn-operator/pkg/apis/app/v1.LearnSpec"),
4949
},
5050
},
5151
"status": {
5252
SchemaProps: spec.SchemaProps{
53-
Ref: ref("github.com/example-inc/learn-operator/pkg/apis/app/v1.LearnStatus"),
53+
Ref: ref("github.com/jianzhangbjz/learn-operator/pkg/apis/app/v1.LearnStatus"),
5454
},
5555
},
5656
},
5757
},
5858
},
5959
Dependencies: []string{
60-
"github.com/example-inc/learn-operator/pkg/apis/app/v1.LearnSpec", "github.com/example-inc/learn-operator/pkg/apis/app/v1.LearnStatus", "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"},
60+
"github.com/jianzhangbjz/learn-operator/pkg/apis/app/v1.LearnSpec", "github.com/jianzhangbjz/learn-operator/pkg/apis/app/v1.LearnStatus", "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"},
6161
}
6262
}
6363

pkg/controller/add_learn.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package controller
22

33
import (
4-
"github.com/example-inc/learn-operator/pkg/controller/learn"
4+
"github.com/jianzhangbjz/learn-operator/pkg/controller/learn"
55
)
66

77
func init() {

pkg/controller/learn/learn_controller.go

+1-2
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,8 @@ package learn
22

33
import (
44
"context"
5-
appv1 "github.com/example-inc/learn-operator/pkg/apis/app/v1"
5+
appv1 "github.com/jianzhangbjz/learn-operator/pkg/apis/app/v1"
66
"reflect"
7-
// appv1 "github.com/example-inc/learn-operator/pkg/apis/cache/v1alpha1"
87

98
appsv1 "k8s.io/api/apps/v1"
109
corev1 "k8s.io/api/core/v1"

0 commit comments

Comments
 (0)