|
| 1 | +/* |
| 2 | +Copyright 2016 The Kubernetes Authors. |
| 3 | +
|
| 4 | +Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | +you may not use this file except in compliance with the License. |
| 6 | +You may obtain a copy of the License at |
| 7 | +
|
| 8 | + http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | +
|
| 10 | +Unless required by applicable law or agreed to in writing, software |
| 11 | +distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | +See the License for the specific language governing permissions and |
| 14 | +limitations under the License. |
| 15 | +*/ |
| 16 | + |
| 17 | +// +k8s:deepcopy-gen=package |
| 18 | +// +k8s:conversion-gen=k8s.io/kube-aggregator/pkg/apis/apiregistration |
| 19 | +// +k8s:openapi-gen=true |
| 20 | + |
| 21 | +// Package v1beta1 contains the API Registration API, which is responsible for |
| 22 | +// registering an API `Group`/`Version` with another kubernetes like API server. |
| 23 | +// The `APIService` holds information about the other API server in |
| 24 | +// `APIServiceSpec` type as well as general `TypeMeta` and `ObjectMeta`. The |
| 25 | +// `APIServiceSpec` type have the main configuration needed to do the |
| 26 | +// aggregation. Any request coming for specified `Group`/`Version` will be |
| 27 | +// directed to the service defined by `ServiceReference` (on port 443) after |
| 28 | +// validating the target using provided `CABundle` or skipping validation |
| 29 | +// if development flag `InsecureSkipTLSVerify` is set. `Priority` is controlling |
| 30 | +// the order of this API group in the overall discovery document. |
| 31 | +// The return status is a set of conditions for this aggregation. Currently |
| 32 | +// there is only one condition named "Available", if true, it means the |
| 33 | +// api/server requests will be redirected to specified API server. |
| 34 | +// |
| 35 | +// +groupName=apiregistration.k8s.io |
| 36 | +package v1 // import "k8s.io/kube-aggregator/pkg/apis/apiregistration/v1" |
0 commit comments