|
42 | 42 | import io.fabric8.knative.client.sources.v1beta1.internal.SinkBindingOperationsImpl; |
43 | 43 | import io.fabric8.knative.eventing.contrib.awssqs.v1alpha1.AwsSqsSource; |
44 | 44 | import io.fabric8.knative.eventing.contrib.awssqs.v1alpha1.AwsSqsSourceList; |
45 | | -import io.fabric8.knative.eventing.contrib.awssqs.v1alpha1.DoneableAwsSqsSource; |
46 | 45 | import io.fabric8.knative.eventing.contrib.couchdb.v1alpha1.CouchDbSource; |
47 | 46 | import io.fabric8.knative.eventing.contrib.couchdb.v1alpha1.CouchDbSourceList; |
48 | | -import io.fabric8.knative.eventing.contrib.couchdb.v1alpha1.DoneableCouchDbSource; |
49 | | -import io.fabric8.knative.eventing.contrib.github.v1alpha1.DoneableGitHubBinding; |
50 | | -import io.fabric8.knative.eventing.contrib.github.v1alpha1.DoneableGitHubSource; |
51 | 47 | import io.fabric8.knative.eventing.contrib.github.v1alpha1.GitHubBinding; |
52 | 48 | import io.fabric8.knative.eventing.contrib.github.v1alpha1.GitHubBindingList; |
53 | 49 | import io.fabric8.knative.eventing.contrib.github.v1alpha1.GitHubSource; |
54 | 50 | import io.fabric8.knative.eventing.contrib.github.v1alpha1.GitHubSourceList; |
55 | | -import io.fabric8.knative.eventing.contrib.gitlab.v1alpha1.DoneableGitLabBinding; |
56 | | -import io.fabric8.knative.eventing.contrib.gitlab.v1alpha1.DoneableGitLabSource; |
57 | 51 | import io.fabric8.knative.eventing.contrib.gitlab.v1alpha1.GitLabBinding; |
58 | 52 | import io.fabric8.knative.eventing.contrib.gitlab.v1alpha1.GitLabBindingList; |
59 | 53 | import io.fabric8.knative.eventing.contrib.gitlab.v1alpha1.GitLabSource; |
60 | 54 | import io.fabric8.knative.eventing.contrib.gitlab.v1alpha1.GitLabSourceList; |
61 | | -import io.fabric8.knative.eventing.contrib.kafka.v1beta1.DoneableKafkaBinding; |
62 | | -import io.fabric8.knative.eventing.contrib.kafka.v1beta1.DoneableKafkaChannel; |
63 | | -import io.fabric8.knative.eventing.contrib.kafka.v1beta1.DoneableKafkaSource; |
64 | 55 | import io.fabric8.knative.eventing.contrib.kafka.v1beta1.KafkaBinding; |
65 | 56 | import io.fabric8.knative.eventing.contrib.kafka.v1beta1.KafkaBindingList; |
66 | 57 | import io.fabric8.knative.eventing.contrib.kafka.v1beta1.KafkaChannel; |
67 | 58 | import io.fabric8.knative.eventing.contrib.kafka.v1beta1.KafkaChannelList; |
68 | 59 | import io.fabric8.knative.eventing.contrib.kafka.v1beta1.KafkaSource; |
69 | 60 | import io.fabric8.knative.eventing.contrib.kafka.v1beta1.KafkaSourceList; |
70 | | -import io.fabric8.knative.eventing.contrib.prometheus.v1alpha1.DoneablePrometheusSource; |
71 | 61 | import io.fabric8.knative.eventing.contrib.prometheus.v1alpha1.PrometheusSource; |
72 | 62 | import io.fabric8.knative.eventing.contrib.prometheus.v1alpha1.PrometheusSourceList; |
73 | 63 | import io.fabric8.knative.eventing.v1.Broker; |
74 | 64 | import io.fabric8.knative.eventing.v1.BrokerList; |
75 | | -import io.fabric8.knative.eventing.v1.DoneableBroker; |
76 | | -import io.fabric8.knative.eventing.v1.DoneableTrigger; |
77 | 65 | import io.fabric8.knative.eventing.v1.Trigger; |
78 | 66 | import io.fabric8.knative.eventing.v1.TriggerList; |
79 | | -import io.fabric8.knative.eventing.v1beta1.DoneableEventType; |
80 | 67 | import io.fabric8.knative.eventing.v1beta1.EventType; |
81 | 68 | import io.fabric8.knative.eventing.v1beta1.EventTypeList; |
82 | | -import io.fabric8.knative.flows.v1.DoneableSequence; |
83 | 69 | import io.fabric8.knative.flows.v1.Sequence; |
84 | 70 | import io.fabric8.knative.flows.v1.SequenceList; |
85 | 71 | import io.fabric8.knative.messaging.v1.Channel; |
86 | 72 | import io.fabric8.knative.messaging.v1.ChannelList; |
87 | | -import io.fabric8.knative.messaging.v1.DoneableChannel; |
88 | | -import io.fabric8.knative.messaging.v1.DoneableInMemoryChannel; |
89 | | -import io.fabric8.knative.messaging.v1.DoneableSubscription; |
90 | 73 | import io.fabric8.knative.messaging.v1.InMemoryChannel; |
91 | 74 | import io.fabric8.knative.messaging.v1.InMemoryChannelList; |
92 | 75 | import io.fabric8.knative.messaging.v1.Subscription; |
93 | 76 | import io.fabric8.knative.messaging.v1.SubscriptionList; |
94 | 77 | import io.fabric8.knative.serving.v1.Configuration; |
95 | 78 | import io.fabric8.knative.serving.v1.ConfigurationList; |
96 | | -import io.fabric8.knative.serving.v1.DoneableConfiguration; |
97 | | -import io.fabric8.knative.serving.v1.DoneableRevision; |
98 | | -import io.fabric8.knative.serving.v1.DoneableRoute; |
99 | | -import io.fabric8.knative.serving.v1.DoneableService; |
100 | 79 | import io.fabric8.knative.serving.v1.Revision; |
101 | 80 | import io.fabric8.knative.serving.v1.RevisionList; |
102 | 81 | import io.fabric8.knative.serving.v1.Route; |
|
107 | 86 | import io.fabric8.knative.sources.v1beta1.ApiServerSourceList; |
108 | 87 | import io.fabric8.knative.sources.v1beta1.ContainerSource; |
109 | 88 | import io.fabric8.knative.sources.v1beta1.ContainerSourceList; |
110 | | -import io.fabric8.knative.sources.v1beta1.DoneableApiServerSource; |
111 | | -import io.fabric8.knative.sources.v1beta1.DoneableContainerSource; |
112 | | -import io.fabric8.knative.sources.v1beta1.DoneablePingSource; |
113 | | -import io.fabric8.knative.sources.v1beta1.DoneableSinkBinding; |
114 | 89 | import io.fabric8.knative.sources.v1beta1.PingSource; |
115 | 90 | import io.fabric8.knative.sources.v1beta1.PingSourceList; |
116 | 91 | import io.fabric8.knative.sources.v1beta1.SinkBinding; |
@@ -157,127 +132,127 @@ public FunctionCallable<NamespacedKnativeClient> withRequestConfig(RequestConfig |
157 | 132 | } |
158 | 133 |
|
159 | 134 | @Override |
160 | | - public MixedOperation<Service, ServiceList, DoneableService, Resource<Service, DoneableService>> services() { |
| 135 | + public MixedOperation<Service, ServiceList, Resource<Service>> services() { |
161 | 136 | return new ServiceOperationsImpl(this.getHttpClient(), this.getConfiguration()); |
162 | 137 | } |
163 | 138 |
|
164 | 139 | @Override |
165 | | - public MixedOperation<Route, RouteList, DoneableRoute, Resource<Route, DoneableRoute>> routes() { |
| 140 | + public MixedOperation<Route, RouteList, Resource<Route>> routes() { |
166 | 141 | return new RouteOperationsImpl(this.getHttpClient(), this.getConfiguration()); |
167 | 142 | } |
168 | 143 |
|
169 | 144 | @Override |
170 | | - public MixedOperation<Revision, RevisionList, DoneableRevision, Resource<Revision, DoneableRevision>> revisions() { |
| 145 | + public MixedOperation<Revision, RevisionList, Resource<Revision>> revisions() { |
171 | 146 | return new RevisionOperationsImpl(this.getHttpClient(), this.getConfiguration()); |
172 | 147 | } |
173 | 148 |
|
174 | 149 | @Override |
175 | | - public MixedOperation<Configuration, ConfigurationList, DoneableConfiguration, Resource<Configuration, DoneableConfiguration>> configurations() { |
| 150 | + public MixedOperation<Configuration, ConfigurationList, Resource<Configuration>> configurations() { |
176 | 151 | return new ConfigurationOperationsImpl(this.getHttpClient(), this.getConfiguration()); |
177 | 152 | } |
178 | 153 |
|
179 | 154 | @Override |
180 | | - public MixedOperation<Broker, BrokerList, DoneableBroker, Resource<Broker, DoneableBroker>> brokers() { |
| 155 | + public MixedOperation<Broker, BrokerList, Resource<Broker>> brokers() { |
181 | 156 | return new BrokerOperationsImpl(this.getHttpClient(), this.getConfiguration()); |
182 | 157 | } |
183 | 158 |
|
184 | 159 | @Override |
185 | | - public MixedOperation<Trigger, TriggerList, DoneableTrigger, Resource<Trigger, DoneableTrigger>> triggers() { |
| 160 | + public MixedOperation<Trigger, TriggerList, Resource<Trigger>> triggers() { |
186 | 161 | return new TriggerOperationsImpl(this.getHttpClient(), this.getConfiguration()); |
187 | 162 | } |
188 | 163 |
|
189 | 164 | @Override |
190 | | - public MixedOperation<Channel, ChannelList, DoneableChannel, Resource<Channel, DoneableChannel>> channels() { |
| 165 | + public MixedOperation<Channel, ChannelList, Resource<Channel>> channels() { |
191 | 166 | return new ChannelOperationsImpl(this.getHttpClient(), this.getConfiguration()); |
192 | 167 | } |
193 | 168 |
|
194 | 169 | @Override |
195 | | - public MixedOperation<Subscription, SubscriptionList, DoneableSubscription, Resource<Subscription, DoneableSubscription>> subscriptions() { |
| 170 | + public MixedOperation<Subscription, SubscriptionList, Resource<Subscription>> subscriptions() { |
196 | 171 | return new SubscriptionOperationsImpl(this.getHttpClient(), this.getConfiguration()); |
197 | 172 | } |
198 | 173 |
|
199 | 174 | @Override |
200 | | - public MixedOperation<EventType, EventTypeList, DoneableEventType, Resource<EventType, DoneableEventType>> eventTypes() { |
| 175 | + public MixedOperation<EventType, EventTypeList, Resource<EventType>> eventTypes() { |
201 | 176 | return new EventTypeOperationsImpl(this.getHttpClient(), this.getConfiguration()); |
202 | 177 | } |
203 | 178 |
|
204 | 179 | @Override |
205 | | - public MixedOperation<Sequence, SequenceList, DoneableSequence, Resource<Sequence, DoneableSequence>> sequences() { |
| 180 | + public MixedOperation<Sequence, SequenceList, Resource<Sequence>> sequences() { |
206 | 181 | return new SequenceOperationsImpl(this.getHttpClient(), this.getConfiguration()); |
207 | 182 | } |
208 | 183 |
|
209 | 184 | @Override |
210 | | - public MixedOperation<InMemoryChannel, InMemoryChannelList, DoneableInMemoryChannel, Resource<InMemoryChannel, DoneableInMemoryChannel>> inMemoryChannels() { |
| 185 | + public MixedOperation<InMemoryChannel, InMemoryChannelList, Resource<InMemoryChannel>> inMemoryChannels() { |
211 | 186 | return new InMemoryChannelOperationsImpl(this.getHttpClient(), this.getConfiguration()); |
212 | 187 | } |
213 | 188 |
|
214 | 189 | @Override |
215 | | - public MixedOperation<PingSource, PingSourceList, DoneablePingSource, Resource<PingSource, DoneablePingSource>> pingSources() { |
| 190 | + public MixedOperation<PingSource, PingSourceList, Resource<PingSource>> pingSources() { |
216 | 191 | return new PingSourceOperationsImpl(this.getHttpClient(), this.getConfiguration()); |
217 | 192 | } |
218 | 193 |
|
219 | 194 | @Override |
220 | | - public MixedOperation<SinkBinding, SinkBindingList, DoneableSinkBinding, Resource<SinkBinding, DoneableSinkBinding>> sinkBindings() { |
| 195 | + public MixedOperation<SinkBinding, SinkBindingList, Resource<SinkBinding>> sinkBindings() { |
221 | 196 | return new SinkBindingOperationsImpl(this.getHttpClient(), this.getConfiguration()); |
222 | 197 | } |
223 | 198 |
|
224 | 199 | @Override |
225 | | - public MixedOperation<ContainerSource, ContainerSourceList, DoneableContainerSource, Resource<ContainerSource, DoneableContainerSource>> containerSources() { |
| 200 | + public MixedOperation<ContainerSource, ContainerSourceList, Resource<ContainerSource>> containerSources() { |
226 | 201 | return new ContainerSourceOperationsImpl(this.getHttpClient(), this.getConfiguration()); |
227 | 202 | } |
228 | 203 |
|
229 | 204 | @Override |
230 | | - public MixedOperation<ApiServerSource, ApiServerSourceList, DoneableApiServerSource, Resource<ApiServerSource, DoneableApiServerSource>> apiServerSources() { |
| 205 | + public MixedOperation<ApiServerSource, ApiServerSourceList, Resource<ApiServerSource>> apiServerSources() { |
231 | 206 | return new ApiServerSourceOperationsImpl(this.getHttpClient(), this.getConfiguration()); |
232 | 207 | } |
233 | 208 |
|
234 | 209 | @Override |
235 | | - public MixedOperation<AwsSqsSource, AwsSqsSourceList, DoneableAwsSqsSource, Resource<AwsSqsSource, DoneableAwsSqsSource>> awsSqsSources() { |
| 210 | + public MixedOperation<AwsSqsSource, AwsSqsSourceList, Resource<AwsSqsSource>> awsSqsSources() { |
236 | 211 | return new AwsSqsSourceOperationsImpl(this.getHttpClient(), this.getConfiguration()); |
237 | 212 | } |
238 | 213 |
|
239 | 214 | @Override |
240 | | - public MixedOperation<CouchDbSource, CouchDbSourceList, DoneableCouchDbSource, Resource<CouchDbSource, DoneableCouchDbSource>> couchDbSources() { |
| 215 | + public MixedOperation<CouchDbSource, CouchDbSourceList, Resource<CouchDbSource>> couchDbSources() { |
241 | 216 | return new CouchDbSourceOperationsImpl(this.getHttpClient(), this.getConfiguration()); |
242 | 217 | } |
243 | 218 |
|
244 | 219 | @Override |
245 | | - public MixedOperation<GitHubSource, GitHubSourceList, DoneableGitHubSource, Resource<GitHubSource, DoneableGitHubSource>> gitHubSources() { |
| 220 | + public MixedOperation<GitHubSource, GitHubSourceList, Resource<GitHubSource>> gitHubSources() { |
246 | 221 | return new GitHubSourceOperationsImpl(this.getHttpClient(), this.getConfiguration()); |
247 | 222 | } |
248 | 223 |
|
249 | 224 | @Override |
250 | | - public MixedOperation<GitHubBinding, GitHubBindingList, DoneableGitHubBinding, Resource<GitHubBinding, DoneableGitHubBinding>> gitHubBindings() { |
| 225 | + public MixedOperation<GitHubBinding, GitHubBindingList, Resource<GitHubBinding>> gitHubBindings() { |
251 | 226 | return new GitHubBindingOperationsImpl(this.getHttpClient(), this.getConfiguration()); |
252 | 227 | } |
253 | 228 |
|
254 | 229 | @Override |
255 | | - public MixedOperation<GitLabSource, GitLabSourceList, DoneableGitLabSource, Resource<GitLabSource, DoneableGitLabSource>> gitLabSources() { |
| 230 | + public MixedOperation<GitLabSource, GitLabSourceList, Resource<GitLabSource>> gitLabSources() { |
256 | 231 | return new GitLabSourceOperationsImpl(this.getHttpClient(), this.getConfiguration()); |
257 | 232 | } |
258 | 233 |
|
259 | 234 | @Override |
260 | | - public MixedOperation<GitLabBinding, GitLabBindingList, DoneableGitLabBinding, Resource<GitLabBinding, DoneableGitLabBinding>> gitLabBindings() { |
| 235 | + public MixedOperation<GitLabBinding, GitLabBindingList, Resource<GitLabBinding>> gitLabBindings() { |
261 | 236 | return new GitLabBindingOperationsImpl(this.getHttpClient(), this.getConfiguration()); |
262 | 237 | } |
263 | 238 |
|
264 | 239 | @Override |
265 | | - public MixedOperation<PrometheusSource, PrometheusSourceList, DoneablePrometheusSource, Resource<PrometheusSource, DoneablePrometheusSource>> prometheusSources() { |
| 240 | + public MixedOperation<PrometheusSource, PrometheusSourceList, Resource<PrometheusSource>> prometheusSources() { |
266 | 241 | return new PrometheusSourceOperationsImpl(this.getHttpClient(), this.getConfiguration()); |
267 | 242 | } |
268 | 243 |
|
269 | 244 | @Override |
270 | | - public MixedOperation<KafkaChannel, KafkaChannelList, DoneableKafkaChannel, Resource<KafkaChannel, DoneableKafkaChannel>> kafkaChannels() { |
| 245 | + public MixedOperation<KafkaChannel, KafkaChannelList, Resource<KafkaChannel>> kafkaChannels() { |
271 | 246 | return new KafkaChannelOperationsImpl(this.getHttpClient(), this.getConfiguration()); |
272 | 247 | } |
273 | 248 |
|
274 | 249 | @Override |
275 | | - public MixedOperation<KafkaSource, KafkaSourceList, DoneableKafkaSource, Resource<KafkaSource, DoneableKafkaSource>> kafkasSources() { |
| 250 | + public MixedOperation<KafkaSource, KafkaSourceList, Resource<KafkaSource>> kafkasSources() { |
276 | 251 | return new KafkaSourceOperationsImpl(this.getHttpClient(), this.getConfiguration()); |
277 | 252 | } |
278 | 253 |
|
279 | 254 | @Override |
280 | | - public MixedOperation<KafkaBinding, KafkaBindingList, DoneableKafkaBinding, Resource<KafkaBinding, DoneableKafkaBinding>> kafkaBindings() { |
| 255 | + public MixedOperation<KafkaBinding, KafkaBindingList, Resource<KafkaBinding>> kafkaBindings() { |
281 | 256 | return new KafkaBindingOperationsImpl(this.getHttpClient(), this.getConfiguration()); |
282 | 257 | } |
283 | 258 | } |
0 commit comments