mirror of
https://github.com/jenkinsci/kubernetes-operator.git
synced 2026-10-21 21:50:43 +02:00
@@ -2,6 +2,8 @@ package apis
|
||||
|
||||
import (
|
||||
"github.com/jenkinsci/kubernetes-operator/pkg/apis/jenkins/v1alpha2"
|
||||
routev1 "github.com/openshift/api/route/v1"
|
||||
appsv1 "k8s.io/api/apps/v1"
|
||||
|
||||
"k8s.io/apimachinery/pkg/runtime"
|
||||
)
|
||||
@@ -17,4 +19,6 @@ func AddToScheme(s *runtime.Scheme) error {
|
||||
func init() {
|
||||
// Register the types with the Scheme so the components can map objects to GroupVersionKinds and back
|
||||
AddToSchemes = append(AddToSchemes, v1alpha2.SchemeBuilder.AddToScheme)
|
||||
AddToSchemes = append(AddToSchemes, routev1.Install)
|
||||
AddToSchemes = append(AddToSchemes, appsv1.AddToScheme)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user