Skip to content

Commit

Permalink
update test project
Browse files Browse the repository at this point in the history
  • Loading branch information
Mengqi Yu committed Oct 19, 2018
1 parent 331d228 commit d19d1ad
Show file tree
Hide file tree
Showing 23 changed files with 14 additions and 19 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ import (

// Add creates a new FirstMate Controller and adds it to the Manager with default RBAC. The Manager will set fields on the Controller
// and Start it when the Manager is Started.
// USER ACTION REQUIRED: update cmd/manager/main.go to call this crew.Add(mgr) to install this Controller
func Add(mgr manager.Manager) error {
return add(mgr, newReconciler(mgr))
}
Expand Down
1 change: 0 additions & 1 deletion test/project/pkg/controller/frigate/frigate_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ import (

// Add creates a new Frigate Controller and adds it to the Manager with default RBAC. The Manager will set fields on the Controller
// and Start it when the Manager is Started.
// USER ACTION REQUIRED: update cmd/manager/main.go to call this ship.Add(mgr) to install this Controller
func Add(mgr manager.Manager) error {
return add(mgr, newReconciler(mgr))
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ import (

// Add creates a new HealthCheckPolicy Controller and adds it to the Manager with default RBAC. The Manager will set fields on the Controller
// and Start it when the Manager is Started.
// USER ACTION REQUIRED: update cmd/manager/main.go to call this policy.Add(mgr) to install this Controller
func Add(mgr manager.Manager) error {
return add(mgr, newReconciler(mgr))
}
Expand Down
1 change: 0 additions & 1 deletion test/project/pkg/controller/kraken/kraken_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ import (

// Add creates a new Kraken Controller and adds it to the Manager with default RBAC. The Manager will set fields on the Controller
// and Start it when the Manager is Started.
// USER ACTION REQUIRED: update cmd/manager/main.go to call this creatures.Add(mgr) to install this Controller
func Add(mgr manager.Manager) error {
return add(mgr, newReconciler(mgr))
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ import (

// Add creates a new Namespace Controller and adds it to the Manager with default RBAC. The Manager will set fields on the Controller
// and Start it when the Manager is Started.
// USER ACTION REQUIRED: update cmd/manager/main.go to call this core.Add(mgr) to install this Controller
func Add(mgr manager.Manager) error {
return add(mgr, newReconciler(mgr))
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ package defaultserver
import (
"fmt"

"sigs.k8s.io/kubebuilder/test/project/pkg/webhook/default_server/firstmates/mutating"
"sigs.k8s.io/kubebuilder/test/project/pkg/webhook/default_server/firstmate/mutating"
)

func init() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ package defaultserver
import (
"fmt"

"sigs.k8s.io/kubebuilder/test/project/pkg/webhook/default_server/namespaces/mutating"
"sigs.k8s.io/kubebuilder/test/project/pkg/webhook/default_server/namespace/mutating"
)

func init() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ package defaultserver
import (
"fmt"

"sigs.k8s.io/kubebuilder/test/project/pkg/webhook/default_server/frigates/validating"
"sigs.k8s.io/kubebuilder/test/project/pkg/webhook/default_server/frigate/validating"
)

func init() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ package defaultserver
import (
"fmt"

"sigs.k8s.io/kubebuilder/test/project/pkg/webhook/default_server/krakens/validating"
"sigs.k8s.io/kubebuilder/test/project/pkg/webhook/default_server/kraken/validating"
)

func init() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import (
)

func init() {
builderName := "mutating-create-update-firstmates"
builderName := "mutating-create-update-firstmate"
Builders[builderName] = builder.
NewWebhookBuilder().
Name(builderName+".testproject.org").
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import (
)

func init() {
builderName := "mutating-delete-firstmates"
builderName := "mutating-delete-firstmate"
Builders[builderName] = builder.
NewWebhookBuilder().
Name(builderName + ".testproject.org").
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ import (
)

func init() {
webhookName := "mutating-create-update-firstmates"
webhookName := "mutating-create-update-firstmate"
if HandlerMap[webhookName] == nil {
HandlerMap[webhookName] = []admission.Handler{}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ import (
)

func init() {
webhookName := "mutating-delete-firstmates"
webhookName := "mutating-delete-firstmate"
if HandlerMap[webhookName] == nil {
HandlerMap[webhookName] = []admission.Handler{}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ import (
)

func init() {
webhookName := "validating-update-frigates"
webhookName := "validating-update-frigate"
if HandlerMap[webhookName] == nil {
HandlerMap[webhookName] = []admission.Handler{}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import (
)

func init() {
builderName := "validating-update-frigates"
builderName := "validating-update-frigate"
Builders[builderName] = builder.
NewWebhookBuilder().
Name(builderName + ".testproject.org").
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import (
)

func init() {
builderName := "validating-create-krakens"
builderName := "validating-create-kraken"
Builders[builderName] = builder.
NewWebhookBuilder().
Name(builderName + ".testproject.org").
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ import (
)

func init() {
webhookName := "validating-create-krakens"
webhookName := "validating-create-kraken"
if HandlerMap[webhookName] == nil {
HandlerMap[webhookName] = []admission.Handler{}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ import (
)

func init() {
webhookName := "mutating-update-namespaces"
webhookName := "mutating-update-namespace"
if HandlerMap[webhookName] == nil {
HandlerMap[webhookName] = []admission.Handler{}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import (
)

func init() {
builderName := "mutating-update-namespaces"
builderName := "mutating-update-namespace"
Builders[builderName] = builder.
NewWebhookBuilder().
Name(builderName + ".testproject.org").
Expand Down

0 comments on commit d19d1ad

Please sign in to comment.