1 package api
2
3 import (
4 kadmissionv1 "k8s.io/api/admission/v1"
5 kadmissionv1beta1 "k8s.io/api/admission/v1beta1"
6 kadmissionregistrationv1 "k8s.io/api/admissionregistration/v1"
7 kadmissionregistrationv1beta1 "k8s.io/api/admissionregistration/v1beta1"
8 kappsv1 "k8s.io/api/apps/v1"
9 kappsv1beta1 "k8s.io/api/apps/v1beta1"
10 kappsv1beta2 "k8s.io/api/apps/v1beta2"
11 kauthenticationv1 "k8s.io/api/authentication/v1"
12 kauthenticationv1beta1 "k8s.io/api/authentication/v1beta1"
13 kauthorizationv1 "k8s.io/api/authorization/v1"
14 kauthorizationv1beta1 "k8s.io/api/authorization/v1beta1"
15 kautoscalingv1 "k8s.io/api/autoscaling/v1"
16 kautoscalingv2 "k8s.io/api/autoscaling/v2"
17 kautoscalingv2beta1 "k8s.io/api/autoscaling/v2beta1"
18 kautoscalingv2beta2 "k8s.io/api/autoscaling/v2beta2"
19 kbatchv1 "k8s.io/api/batch/v1"
20 kbatchv1beta1 "k8s.io/api/batch/v1beta1"
21 kcertificatesv1 "k8s.io/api/certificates/v1"
22 kcertificatesv1beta1 "k8s.io/api/certificates/v1beta1"
23 kcoordinationv1 "k8s.io/api/coordination/v1"
24 kcoordinationv1beta1 "k8s.io/api/coordination/v1beta1"
25 kcorev1 "k8s.io/api/core/v1"
26 keventsv1 "k8s.io/api/events/v1"
27 keventsv1beta1 "k8s.io/api/events/v1beta1"
28 kextensionsv1beta1 "k8s.io/api/extensions/v1beta1"
29 kflowcontrolv1alpha1 "k8s.io/api/flowcontrol/v1alpha1"
30 kflowcontrolv1beta1 "k8s.io/api/flowcontrol/v1beta1"
31 kflowcontrolv1beta2 "k8s.io/api/flowcontrol/v1beta2"
32 kimagepolicyv1alpha1 "k8s.io/api/imagepolicy/v1alpha1"
33 knetworkingv1 "k8s.io/api/networking/v1"
34 knetworkingv1beta1 "k8s.io/api/networking/v1beta1"
35 knodev1 "k8s.io/api/node/v1"
36 knodev1alpha1 "k8s.io/api/node/v1alpha1"
37 knodev1beta1 "k8s.io/api/node/v1beta1"
38 kpolicyv1 "k8s.io/api/policy/v1"
39 kpolicyv1beta1 "k8s.io/api/policy/v1beta1"
40 krbacv1 "k8s.io/api/rbac/v1"
41 krbacv1alpha1 "k8s.io/api/rbac/v1alpha1"
42 krbacv1beta1 "k8s.io/api/rbac/v1beta1"
43 kschedulingv1 "k8s.io/api/scheduling/v1"
44 kschedulingv1alpha1 "k8s.io/api/scheduling/v1alpha1"
45 kschedulingv1beta1 "k8s.io/api/scheduling/v1beta1"
46 kstoragev1 "k8s.io/api/storage/v1"
47 kstoragev1alpha1 "k8s.io/api/storage/v1alpha1"
48 kstoragev1beta1 "k8s.io/api/storage/v1beta1"
49 "k8s.io/apimachinery/pkg/runtime"
50
51 "github.com/openshift/api/apiserver"
52 "github.com/openshift/api/apps"
53 "github.com/openshift/api/authorization"
54 "github.com/openshift/api/build"
55 "github.com/openshift/api/cloudnetwork"
56 "github.com/openshift/api/config"
57 "github.com/openshift/api/console"
58 "github.com/openshift/api/helm"
59 "github.com/openshift/api/image"
60 "github.com/openshift/api/imageregistry"
61 "github.com/openshift/api/kubecontrolplane"
62 "github.com/openshift/api/machine"
63 "github.com/openshift/api/monitoring"
64 "github.com/openshift/api/network"
65 "github.com/openshift/api/networkoperator"
66 "github.com/openshift/api/oauth"
67 "github.com/openshift/api/openshiftcontrolplane"
68 "github.com/openshift/api/operator"
69 "github.com/openshift/api/operatorcontrolplane"
70 "github.com/openshift/api/osin"
71 "github.com/openshift/api/project"
72 "github.com/openshift/api/quota"
73 "github.com/openshift/api/route"
74 "github.com/openshift/api/samples"
75 "github.com/openshift/api/security"
76 "github.com/openshift/api/servicecertsigner"
77 "github.com/openshift/api/sharedresource"
78 "github.com/openshift/api/template"
79 "github.com/openshift/api/user"
80
81
82 _ "github.com/openshift/api/legacyconfig/v1"
83 )
84
85 var (
86 schemeBuilder = runtime.NewSchemeBuilder(
87 apiserver.Install,
88 apps.Install,
89 authorization.Install,
90 build.Install,
91 config.Install,
92 console.Install,
93 helm.Install,
94 image.Install,
95 imageregistry.Install,
96 kubecontrolplane.Install,
97 cloudnetwork.Install,
98 network.Install,
99 networkoperator.Install,
100 oauth.Install,
101 openshiftcontrolplane.Install,
102 operator.Install,
103 operatorcontrolplane.Install,
104 osin.Install,
105 project.Install,
106 quota.Install,
107 route.Install,
108 samples.Install,
109 security.Install,
110 servicecertsigner.Install,
111 sharedresource.Install,
112 template.Install,
113 user.Install,
114 machine.Install,
115 monitoring.Install,
116 )
117
118 Install = schemeBuilder.AddToScheme
119
120 kubeSchemeBuilder = runtime.NewSchemeBuilder(
121 kadmissionv1.AddToScheme,
122 kadmissionv1beta1.AddToScheme,
123 kadmissionregistrationv1.AddToScheme,
124 kadmissionregistrationv1beta1.AddToScheme,
125 kappsv1.AddToScheme,
126 kappsv1beta1.AddToScheme,
127 kappsv1beta2.AddToScheme,
128 kauthenticationv1.AddToScheme,
129 kauthenticationv1beta1.AddToScheme,
130 kauthorizationv1.AddToScheme,
131 kauthorizationv1beta1.AddToScheme,
132 kautoscalingv1.AddToScheme,
133 kautoscalingv2.AddToScheme,
134 kautoscalingv2beta1.AddToScheme,
135 kautoscalingv2beta2.AddToScheme,
136 kbatchv1.AddToScheme,
137 kbatchv1beta1.AddToScheme,
138 kcertificatesv1.AddToScheme,
139 kcertificatesv1beta1.AddToScheme,
140 kcorev1.AddToScheme,
141 kcoordinationv1.AddToScheme,
142 kcoordinationv1beta1.AddToScheme,
143 keventsv1.AddToScheme,
144 keventsv1beta1.AddToScheme,
145 kextensionsv1beta1.AddToScheme,
146 kflowcontrolv1alpha1.AddToScheme,
147 kflowcontrolv1beta1.AddToScheme,
148 kflowcontrolv1beta2.AddToScheme,
149 kimagepolicyv1alpha1.AddToScheme,
150 knetworkingv1.AddToScheme,
151 knetworkingv1beta1.AddToScheme,
152 knodev1.AddToScheme,
153 knodev1alpha1.AddToScheme,
154 knodev1beta1.AddToScheme,
155 kpolicyv1.AddToScheme,
156 kpolicyv1beta1.AddToScheme,
157 krbacv1.AddToScheme,
158 krbacv1beta1.AddToScheme,
159 krbacv1alpha1.AddToScheme,
160 kschedulingv1.AddToScheme,
161 kschedulingv1alpha1.AddToScheme,
162 kschedulingv1beta1.AddToScheme,
163 kstoragev1.AddToScheme,
164 kstoragev1beta1.AddToScheme,
165 kstoragev1alpha1.AddToScheme,
166 )
167
168 InstallKube = kubeSchemeBuilder.AddToScheme
169 )
170
View as plain text