Add model name generator tags

Signed-off-by: Joe Betz <jpbetz@google.com>
This commit is contained in:
Joe Betz
2025-09-10 15:52:58 -04:00
parent cfbe326e3a
commit e910c181cb
102 changed files with 146 additions and 2 deletions

View File

@@ -18,6 +18,7 @@ limitations under the License.
// +k8s:conversion-gen=k8s.io/kubernetes/pkg/apis/abac
// +k8s:openapi-gen=true
// +k8s:defaulter-gen=TypeMeta
// +k8s:openapi-model-package=pkg.apis.abac.v1beta1
// +groupName=abac.authorization.kubernetes.io

View File

@@ -18,6 +18,8 @@ limitations under the License.
// +k8s:protobuf-gen=package
// +k8s:openapi-gen=false
// +k8s:prerelease-lifecycle-gen=true
// +k8s:openapi-model-package=io.k8s.api.admission.v1
// +groupName=admission.k8s.io
package v1

View File

@@ -18,6 +18,7 @@ limitations under the License.
// +k8s:protobuf-gen=package
// +k8s:openapi-gen=false
// +k8s:prerelease-lifecycle-gen=true
// +k8s:openapi-model-package=io.k8s.api.admission.v1beta1
// +groupName=admission.k8s.io

View File

@@ -18,6 +18,8 @@ limitations under the License.
// +k8s:protobuf-gen=package
// +k8s:openapi-gen=true
// +k8s:prerelease-lifecycle-gen=true
// +k8s:openapi-model-package=io.k8s.api.admissionregistration.v1
// +groupName=admissionregistration.k8s.io
// Package v1 is the v1 version of the API.

View File

@@ -18,6 +18,8 @@ limitations under the License.
// +k8s:protobuf-gen=package
// +k8s:openapi-gen=true
// +k8s:prerelease-lifecycle-gen=true
// +k8s:openapi-model-package=io.k8s.api.admissionregistration.v1alpha1
// +groupName=admissionregistration.k8s.io
// Package v1alpha1 is the v1alpha1 version of the API.

View File

@@ -18,6 +18,8 @@ limitations under the License.
// +k8s:protobuf-gen=package
// +k8s:openapi-gen=true
// +k8s:prerelease-lifecycle-gen=true
// +k8s:openapi-model-package=io.k8s.api.admissionregistration.v1beta1
// +groupName=admissionregistration.k8s.io
// Package v1beta1 is the v1beta1 version of the API.

View File

@@ -18,6 +18,8 @@ limitations under the License.
// +k8s:protobuf-gen=package
// +k8s:openapi-gen=true
// +k8s:prerelease-lifecycle-gen=true
// +k8s:openapi-model-package=io.k8s.api.apidiscovery.v2
// +groupName=apidiscovery.k8s.io
package v2

View File

@@ -18,6 +18,7 @@ limitations under the License.
// +k8s:protobuf-gen=package
// +k8s:openapi-gen=true
// +k8s:prerelease-lifecycle-gen=true
// +k8s:openapi-model-package=io.k8s.api.apidiscovery.v2beta1
// +groupName=apidiscovery.k8s.io

View File

@@ -17,6 +17,7 @@ limitations under the License.
// +k8s:deepcopy-gen=package
// +k8s:protobuf-gen=package
// +k8s:openapi-gen=true
// +k8s:openapi-model-package=io.k8s.api.apiserverinternal.v1alpha1
// +groupName=internal.apiserver.k8s.io

View File

@@ -18,5 +18,6 @@ limitations under the License.
// +k8s:protobuf-gen=package
// +k8s:openapi-gen=true
// +k8s:prerelease-lifecycle-gen=true
// +k8s:openapi-model-package=io.k8s.api.apps.v1
package v1

View File

@@ -18,5 +18,6 @@ limitations under the License.
// +k8s:protobuf-gen=package
// +k8s:openapi-gen=true
// +k8s:prerelease-lifecycle-gen=true
// +k8s:openapi-model-package=io.k8s.api.apps.v1beta1
package v1beta1

View File

@@ -18,5 +18,6 @@ limitations under the License.
// +k8s:protobuf-gen=package
// +k8s:openapi-gen=true
// +k8s:prerelease-lifecycle-gen=true
// +k8s:openapi-model-package=io.k8s.api.apps.v1beta2
package v1beta2

View File

@@ -19,5 +19,6 @@ limitations under the License.
// +groupName=authentication.k8s.io
// +k8s:openapi-gen=true
// +k8s:prerelease-lifecycle-gen=true
// +k8s:openapi-model-package=io.k8s.api.authentication.v1
package v1

View File

@@ -19,5 +19,6 @@ limitations under the License.
// +groupName=authentication.k8s.io
// +k8s:openapi-gen=true
// +k8s:prerelease-lifecycle-gen=true
// +k8s:openapi-model-package=io.k8s.api.authentication.v1alpha1
package v1alpha1

View File

@@ -19,5 +19,6 @@ limitations under the License.
// +groupName=authentication.k8s.io
// +k8s:openapi-gen=true
// +k8s:prerelease-lifecycle-gen=true
// +k8s:openapi-model-package=io.k8s.api.authentication.v1beta1
package v1beta1

View File

@@ -18,6 +18,8 @@ limitations under the License.
// +k8s:protobuf-gen=package
// +k8s:openapi-gen=true
// +k8s:prerelease-lifecycle-gen=true
// +k8s:openapi-model-package=io.k8s.api.authorization.v1
// +groupName=authorization.k8s.io
package v1

View File

@@ -18,6 +18,7 @@ limitations under the License.
// +k8s:protobuf-gen=package
// +k8s:openapi-gen=true
// +k8s:prerelease-lifecycle-gen=true
// +k8s:openapi-model-package=io.k8s.api.authorization.v1beta1
// +groupName=authorization.k8s.io

View File

@@ -18,5 +18,6 @@ limitations under the License.
// +k8s:protobuf-gen=package
// +k8s:openapi-gen=true
// +k8s:prerelease-lifecycle-gen=true
// +k8s:openapi-model-package=io.k8s.api.autoscaling.v1
package v1

View File

@@ -18,5 +18,6 @@ limitations under the License.
// +k8s:protobuf-gen=package
// +k8s:openapi-gen=true
// +k8s:prerelease-lifecycle-gen=true
// +k8s:openapi-model-package=io.k8s.api.autoscaling.v2
package v2

View File

@@ -18,5 +18,6 @@ limitations under the License.
// +k8s:protobuf-gen=package
// +k8s:openapi-gen=true
// +k8s:prerelease-lifecycle-gen=true
// +k8s:openapi-model-package=io.k8s.api.autoscaling.v2beta1
package v2beta1

View File

@@ -18,5 +18,6 @@ limitations under the License.
// +k8s:protobuf-gen=package
// +k8s:openapi-gen=true
// +k8s:prerelease-lifecycle-gen=true
// +k8s:openapi-model-package=io.k8s.api.autoscaling.v2beta2
package v2beta2

View File

@@ -18,4 +18,6 @@ limitations under the License.
// +k8s:protobuf-gen=package
// +k8s:openapi-gen=true
// +k8s:prerelease-lifecycle-gen=true
// +k8s:openapi-model-package=io.k8s.api.batch.v1
package v1

View File

@@ -18,5 +18,6 @@ limitations under the License.
// +k8s:protobuf-gen=package
// +k8s:openapi-gen=true
// +k8s:prerelease-lifecycle-gen=true
// +k8s:openapi-model-package=io.k8s.api.batch.v1beta1
package v1beta1

View File

@@ -18,6 +18,8 @@ limitations under the License.
// +k8s:protobuf-gen=package
// +k8s:openapi-gen=true
// +k8s:prerelease-lifecycle-gen=true
// +k8s:openapi-model-package=io.k8s.api.certificates.v1
// +groupName=certificates.k8s.io
package v1

View File

@@ -18,6 +18,7 @@ limitations under the License.
// +k8s:protobuf-gen=package
// +k8s:openapi-gen=true
// +k8s:prerelease-lifecycle-gen=true
// +k8s:openapi-model-package=io.k8s.api.certificates.v1alpha1
// +groupName=certificates.k8s.io

View File

@@ -18,6 +18,7 @@ limitations under the License.
// +k8s:protobuf-gen=package
// +k8s:openapi-gen=true
// +k8s:prerelease-lifecycle-gen=true
// +k8s:openapi-model-package=io.k8s.api.certificates.v1beta1
// +groupName=certificates.k8s.io

View File

@@ -18,6 +18,7 @@ limitations under the License.
// +k8s:protobuf-gen=package
// +k8s:openapi-gen=true
// +k8s:prerelease-lifecycle-gen=true
// +k8s:openapi-model-package=io.k8s.api.coordination.v1
// +groupName=coordination.k8s.io

View File

@@ -18,6 +18,7 @@ limitations under the License.
// +k8s:protobuf-gen=package
// +k8s:openapi-gen=true
// +k8s:prerelease-lifecycle-gen=true
// +k8s:openapi-model-package=io.k8s.api.coordination.v1alpha2
// +groupName=coordination.k8s.io

View File

@@ -18,6 +18,7 @@ limitations under the License.
// +k8s:protobuf-gen=package
// +k8s:openapi-gen=true
// +k8s:prerelease-lifecycle-gen=true
// +k8s:openapi-model-package=io.k8s.api.coordination.v1beta1
// +groupName=coordination.k8s.io

View File

@@ -18,6 +18,8 @@ limitations under the License.
// +k8s:deepcopy-gen=package
// +k8s:protobuf-gen=package
// +k8s:prerelease-lifecycle-gen=true
// +k8s:openapi-model-package=io.k8s.api.core.v1
// +groupName=
// Package v1 is the v1 version of the core API.

View File

@@ -18,6 +18,8 @@ limitations under the License.
// +k8s:protobuf-gen=package
// +k8s:openapi-gen=true
// +k8s:prerelease-lifecycle-gen=true
// +k8s:openapi-model-package=io.k8s.api.discovery.v1
// +groupName=discovery.k8s.io
package v1

View File

@@ -18,6 +18,8 @@ limitations under the License.
// +k8s:protobuf-gen=package
// +k8s:openapi-gen=true
// +k8s:prerelease-lifecycle-gen=true
// +k8s:openapi-model-package=io.k8s.api.discovery.v1beta1
// +groupName=discovery.k8s.io
package v1beta1

View File

@@ -18,6 +18,8 @@ limitations under the License.
// +k8s:protobuf-gen=package
// +k8s:openapi-gen=true
// +k8s:prerelease-lifecycle-gen=true
// +k8s:openapi-model-package=io.k8s.api.events.v1
// +groupName=events.k8s.io
package v1

View File

@@ -18,6 +18,7 @@ limitations under the License.
// +k8s:protobuf-gen=package
// +k8s:openapi-gen=true
// +k8s:prerelease-lifecycle-gen=true
// +k8s:openapi-model-package=io.k8s.api.events.v1beta1
// +groupName=events.k8s.io

View File

@@ -18,6 +18,7 @@ limitations under the License.
// +k8s:protobuf-gen=package
// +k8s:openapi-gen=true
// +k8s:prerelease-lifecycle-gen=true
// +k8s:openapi-model-package=io.k8s.api.extensions.v1beta1
// +k8s:validation-gen=TypeMeta
// +k8s:validation-gen-input=k8s.io/api/extensions/v1beta1

View File

@@ -18,6 +18,7 @@ limitations under the License.
// +k8s:protobuf-gen=package
// +k8s:openapi-gen=true
// +k8s:prerelease-lifecycle-gen=true
// +k8s:openapi-model-package=io.k8s.api.flowcontrol.v1
// +groupName=flowcontrol.apiserver.k8s.io

View File

@@ -18,6 +18,7 @@ limitations under the License.
// +k8s:protobuf-gen=package
// +k8s:openapi-gen=true
// +k8s:prerelease-lifecycle-gen=true
// +k8s:openapi-model-package=io.k8s.api.flowcontrol.v1beta1
// +groupName=flowcontrol.apiserver.k8s.io

View File

@@ -18,6 +18,7 @@ limitations under the License.
// +k8s:protobuf-gen=package
// +k8s:openapi-gen=true
// +k8s:prerelease-lifecycle-gen=true
// +k8s:openapi-model-package=io.k8s.api.flowcontrol.v1beta2
// +groupName=flowcontrol.apiserver.k8s.io

View File

@@ -18,6 +18,7 @@ limitations under the License.
// +k8s:protobuf-gen=package
// +k8s:openapi-gen=true
// +k8s:prerelease-lifecycle-gen=true
// +k8s:openapi-model-package=io.k8s.api.flowcontrol.v1beta3
// +groupName=flowcontrol.apiserver.k8s.io

View File

@@ -17,6 +17,7 @@ limitations under the License.
// +k8s:deepcopy-gen=package
// +k8s:protobuf-gen=package
// +k8s:openapi-gen=true
// +k8s:openapi-model-package=io.k8s.api.imagepolicy.v1alpha1
// +groupName=imagepolicy.k8s.io

View File

@@ -18,6 +18,8 @@ limitations under the License.
// +k8s:protobuf-gen=package
// +k8s:openapi-gen=true
// +k8s:prerelease-lifecycle-gen=true
// +k8s:openapi-model-package=io.k8s.api.networking.v1
// +groupName=networking.k8s.io
package v1

View File

@@ -18,6 +18,8 @@ limitations under the License.
// +k8s:protobuf-gen=package
// +k8s:openapi-gen=true
// +k8s:prerelease-lifecycle-gen=true
// +k8s:openapi-model-package=io.k8s.api.networking.v1beta1
// +groupName=networking.k8s.io
package v1beta1

View File

@@ -18,6 +18,8 @@ limitations under the License.
// +k8s:protobuf-gen=package
// +k8s:openapi-gen=true
// +k8s:prerelease-lifecycle-gen=true
// +k8s:openapi-model-package=io.k8s.api.node.v1
// +groupName=node.k8s.io
package v1

View File

@@ -17,6 +17,7 @@ limitations under the License.
// +k8s:deepcopy-gen=package
// +k8s:protobuf-gen=package
// +k8s:openapi-gen=true
// +k8s:openapi-model-package=io.k8s.api.node.v1alpha1
// +groupName=node.k8s.io

View File

@@ -18,6 +18,7 @@ limitations under the License.
// +k8s:protobuf-gen=package
// +k8s:openapi-gen=true
// +k8s:prerelease-lifecycle-gen=true
// +k8s:openapi-model-package=io.k8s.api.node.v1beta1
// +groupName=node.k8s.io

View File

@@ -18,6 +18,7 @@ limitations under the License.
// +k8s:protobuf-gen=package
// +k8s:openapi-gen=true
// +k8s:prerelease-lifecycle-gen=true
// +k8s:openapi-model-package=io.k8s.api.policy.v1
// Package policy is for any kind of policy object. Suitable examples, even if
// they aren't all here, are PodDisruptionBudget,

View File

@@ -18,6 +18,7 @@ limitations under the License.
// +k8s:protobuf-gen=package
// +k8s:openapi-gen=true
// +k8s:prerelease-lifecycle-gen=true
// +k8s:openapi-model-package=io.k8s.api.policy.v1beta1
// Package policy is for any kind of policy object. Suitable examples, even if
// they aren't all here, are PodDisruptionBudget,

View File

@@ -18,6 +18,8 @@ limitations under the License.
// +k8s:protobuf-gen=package
// +k8s:openapi-gen=true
// +k8s:prerelease-lifecycle-gen=true
// +k8s:openapi-model-package=io.k8s.api.rbac.v1
// +groupName=rbac.authorization.k8s.io
package v1

View File

@@ -17,6 +17,7 @@ limitations under the License.
// +k8s:deepcopy-gen=package
// +k8s:protobuf-gen=package
// +k8s:openapi-gen=true
// +k8s:openapi-model-package=io.k8s.api.rbac.v1alpha1
// +groupName=rbac.authorization.k8s.io

View File

@@ -18,6 +18,7 @@ limitations under the License.
// +k8s:protobuf-gen=package
// +k8s:openapi-gen=true
// +k8s:prerelease-lifecycle-gen=true
// +k8s:openapi-model-package=io.k8s.api.rbac.v1beta1
// +groupName=rbac.authorization.k8s.io

View File

@@ -18,6 +18,7 @@ limitations under the License.
// +k8s:deepcopy-gen=package
// +k8s:protobuf-gen=package
// +k8s:prerelease-lifecycle-gen=true
// +k8s:openapi-model-package=io.k8s.api.resource.v1
// +groupName=resource.k8s.io
// Package v1 is the v1 version of the resource API.

View File

@@ -18,6 +18,8 @@ limitations under the License.
// +k8s:deepcopy-gen=package
// +k8s:protobuf-gen=package
// +k8s:prerelease-lifecycle-gen=true
// +k8s:openapi-model-package=io.k8s.api.resource.v1alpha3
// +groupName=resource.k8s.io
// Package v1alpha3 is the v1alpha3 version of the resource API.

View File

@@ -18,6 +18,8 @@ limitations under the License.
// +k8s:deepcopy-gen=package
// +k8s:protobuf-gen=package
// +k8s:prerelease-lifecycle-gen=true
// +k8s:openapi-model-package=io.k8s.api.resource.v1beta1
// +groupName=resource.k8s.io
// Package v1beta1 is the v1beta1 version of the resource API.

View File

@@ -18,6 +18,8 @@ limitations under the License.
// +k8s:deepcopy-gen=package
// +k8s:protobuf-gen=package
// +k8s:prerelease-lifecycle-gen=true
// +k8s:openapi-model-package=io.k8s.api.resource.v1beta2
// +groupName=resource.k8s.io
// Package v1beta2 is the v1beta2 version of the resource API.

View File

@@ -18,6 +18,8 @@ limitations under the License.
// +k8s:protobuf-gen=package
// +k8s:openapi-gen=true
// +k8s:prerelease-lifecycle-gen=true
// +k8s:openapi-model-package=io.k8s.api.scheduling.v1
// +groupName=scheduling.k8s.io
package v1

View File

@@ -17,6 +17,7 @@ limitations under the License.
// +k8s:deepcopy-gen=package
// +k8s:protobuf-gen=package
// +k8s:openapi-gen=true
// +k8s:openapi-model-package=io.k8s.api.scheduling.v1alpha1
// +groupName=scheduling.k8s.io

View File

@@ -18,6 +18,7 @@ limitations under the License.
// +k8s:protobuf-gen=package
// +k8s:openapi-gen=true
// +k8s:prerelease-lifecycle-gen=true
// +k8s:openapi-model-package=io.k8s.api.scheduling.v1beta1
// +groupName=scheduling.k8s.io

View File

@@ -19,5 +19,6 @@ limitations under the License.
// +groupName=storage.k8s.io
// +k8s:openapi-gen=true
// +k8s:prerelease-lifecycle-gen=true
// +k8s:openapi-model-package=io.k8s.api.storage.v1
package v1

View File

@@ -19,5 +19,6 @@ limitations under the License.
// +groupName=storage.k8s.io
// +k8s:openapi-gen=true
// +k8s:prerelease-lifecycle-gen=true
// +k8s:openapi-model-package=io.k8s.api.storage.v1alpha1
package v1alpha1

View File

@@ -19,5 +19,6 @@ limitations under the License.
// +groupName=storage.k8s.io
// +k8s:openapi-gen=true
// +k8s:prerelease-lifecycle-gen=true
// +k8s:openapi-model-package=io.k8s.api.storage.v1beta1
package v1beta1

View File

@@ -18,6 +18,8 @@ limitations under the License.
// +k8s:protobuf-gen=package
// +k8s:openapi-gen=true
// +k8s:prerelease-lifecycle-gen=true
// +k8s:openapi-model-package=io.k8s.api.storagemigration.v1alpha1
// +groupName=storagemigration.k8s.io
package v1alpha1

View File

@@ -20,6 +20,8 @@ limitations under the License.
// +k8s:defaulter-gen=TypeMeta
// +k8s:openapi-gen=true
// +k8s:prerelease-lifecycle-gen=true
// +k8s:openapi-model-package=io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1
// +groupName=apiextensions.k8s.io
// Package v1 is the v1 version of the API.

View File

@@ -20,6 +20,8 @@ limitations under the License.
// +k8s:defaulter-gen=TypeMeta
// +k8s:openapi-gen=true
// +k8s:prerelease-lifecycle-gen=true
// +k8s:openapi-model-package=io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1
// +groupName=apiextensions.k8s.io
// Package v1beta1 is the v1beta1 version of the API.

View File

@@ -99,6 +99,7 @@ import (
// +protobuf.options.(gogoproto.goproto_stringer)=false
// +k8s:deepcopy-gen=true
// +k8s:openapi-gen=true
// +k8s:openapi-model-package=io.k8s.apimachinery.pkg.api.resource
type Quantity struct {
// i is the quantity in int64 scaled form, if d.Dec == nil
i int64Amount
@@ -858,6 +859,7 @@ func (q *Quantity) SetScaled(value int64, scale Scale) {
// +protobuf.options.marshal=false
// +protobuf.options.(gogoproto.goproto_stringer)=false
// +k8s:deepcopy-gen=true
// +k8s:openapi-model-package=io.k8s.apimachinery.pkg.api.resource
type QuantityValue struct {
Quantity
}

View File

@@ -18,6 +18,7 @@ limitations under the License.
// +k8s:deepcopy-gen=package
// +k8s:openapi-gen=true
// +k8s:defaulter-gen=TypeMeta
// +k8s:openapi-model-package=io.k8s.apimachinery.pkg.apis.meta.v1
// +groupName=meta.k8s.io

View File

@@ -17,6 +17,7 @@ limitations under the License.
// +k8s:deepcopy-gen=package
// +k8s:openapi-gen=true
// +k8s:defaulter-gen=TypeMeta
// +k8s:openapi-model-package=io.k8s.apimachinery.pkg.apis.meta.v1beta1
// +groupName=meta.k8s.io

View File

@@ -19,6 +19,7 @@ limitations under the License.
// +k8s:conversion-gen=k8s.io/apimachinery/pkg/apis/testapigroup
// +k8s:openapi-gen=false
// +k8s:defaulter-gen=TypeMeta
// +k8s:openapi-model-package=io.k8s.apimachinery.pkg.apis.testapigroup.v1
// +k8s:prerelease-lifecycle-gen=true
// +groupName=testapigroup.apimachinery.k8s.io

View File

@@ -14,6 +14,8 @@ See the License for the specific language governing permissions and
limitations under the License.
*/
// +k8s:openapi-model-package=io.k8s.apimachinery.pkg.runtime
// Package runtime includes helper functions for working with API objects
// that follow the kubernetes API object conventions, which are:
//

View File

@@ -38,6 +38,7 @@ import (
// +protobuf=true
// +protobuf.options.(gogoproto.goproto_stringer)=false
// +k8s:openapi-gen=true
// +k8s:openapi-model-package=io.k8s.apimachinery.pkg.util.intstr
type IntOrString struct {
Type Type `protobuf:"varint,1,opt,name=type,casttype=Type"`
IntVal int32 `protobuf:"varint,2,opt,name=intVal"`

View File

@@ -15,6 +15,8 @@ limitations under the License.
*/
// +k8s:openapi-gen=true
// +k8s:openapi-model-package=io.k8s.apimachinery.pkg.version
//
// Package version supplies the type for version information.
package version

View File

@@ -19,6 +19,7 @@ limitations under the License.
// +k8s:conversion-gen=k8s.io/apiserver/pkg/apis/audit
// +k8s:openapi-gen=true
// +k8s:defaulter-gen=TypeMeta
// +k8s:openapi-model-package=io.k8s.apiserver.pkg.apis.audit.v1
// +groupName=audit.k8s.io

View File

@@ -18,6 +18,7 @@ limitations under the License.
// +k8s:conversion-gen=k8s.io/client-go/pkg/apis/clientauthentication
// +k8s:openapi-gen=true
// +k8s:defaulter-gen=TypeMeta
// +k8s:openapi-model-package=io.k8s.client-go.pkg.apis.clientauthentication.v1
// +groupName=client.authentication.k8s.io

View File

@@ -18,6 +18,7 @@ limitations under the License.
// +k8s:conversion-gen=k8s.io/client-go/pkg/apis/clientauthentication
// +k8s:openapi-gen=true
// +k8s:defaulter-gen=TypeMeta
// +k8s:openapi-model-package=io.k8s.client-go.pkg.apis.clientauthentication.v1beta1
// +groupName=client.authentication.k8s.io

View File

@@ -27,6 +27,8 @@ limitations under the License.
// +k8s:conversion-gen=k8s.io/controller-manager/config/v1alpha1
// +k8s:openapi-gen=true
// +k8s:defaulter-gen=TypeMeta
// +k8s:openapi-model-package=io.k8s.cloud-provider.config.v1alpha1
// +groupName=cloudcontrollermanager.config.k8s.io
package v1alpha1

View File

@@ -17,5 +17,7 @@ limitations under the License.
// +k8s:deepcopy-gen=package
// +k8s:conversion-gen=k8s.io/cloud-provider/controllers/node/config
// +k8s:conversion-gen=k8s.io/cloud-provider/controllers/node/config/v1alpha1
// +k8s:openapi-gen=true
// +k8s:openapi-model-package=io.k8s.cloud-provider.controllers.node.config.v1alpha1
package v1alpha1

View File

@@ -17,5 +17,7 @@ limitations under the License.
// +k8s:deepcopy-gen=package
// +k8s:conversion-gen=k8s.io/cloud-provider/controllers/service/config
// +k8s:conversion-gen=k8s.io/cloud-provider/controllers/service/config/v1alpha1
// +k8s:openapi-gen=true
// +k8s:openapi-model-package=io.k8s.cloud-provider.controllers.service.config.v1alpha1
package v1alpha1

View File

@@ -19,5 +19,6 @@ limitations under the License.
// +k8s:defaulter-gen=TypeMeta
// +k8s:conversion-gen=k8s.io/code-generator/examples/apiserver/apis/core
// +groupName=
// +k8s:openapi-model-package=io.k8s.code-generator.examples.apiserver.apis.core.v1
package v1

View File

@@ -19,5 +19,6 @@ limitations under the License.
// +k8s:defaulter-gen=TypeMeta
// +k8s:conversion-gen=k8s.io/code-generator/examples/apiserver/apis/example
// +groupName=example.apiserver.code-generator.k8s.io
// +k8s:openapi-model-package=io.k8s.code-generator.examples.apiserver.apis.example.v1
package v1

View File

@@ -20,5 +20,6 @@ limitations under the License.
// +groupName=example.test.apiserver.code-generator.k8s.io
// +k8s:conversion-gen=k8s.io/code-generator/examples/apiserver/apis/example2
// +groupGoName=SecondExample
// +k8s:openapi-model-package=io.k8s.code-generator.examples.apiserver.apis.example2.v1
package v1

View File

@@ -20,5 +20,6 @@ limitations under the License.
// +groupName=example.dots.apiserver.code-generator.k8s.io
// +k8s:conversion-gen=k8s.io/code-generator/examples/apiserver/apis/example3.io
// +groupGoName=ThirdExample
// +k8s:openapi-model-package=io.k8s.code-generator.examples.apiserver.apis.example3.io.v1
package v1

View File

@@ -16,5 +16,7 @@ limitations under the License.
// +k8s:deepcopy-gen=package
// +k8s:conversion-gen=k8s.io/component-base/config
// +k8s:openapi-gen=true
// +k8s:openapi-model-package=io.k8s.component-base.config.v1alpha1
package v1alpha1

View File

@@ -15,6 +15,7 @@ limitations under the License.
*/
// +k8s:deepcopy-gen=package
// +k8s:openapi-model-package=io.k8s.component-base.logs.api.v1
// Package v1 contains the configuration API for logging.
//

View File

@@ -15,6 +15,8 @@ limitations under the License.
*/
// +k8s:deepcopy-gen=package
// +k8s:openapi-gen=true
// +k8s:openapi-model-package=io.k8s.component-base.tracing.api.v1
// Package v1 contains the configuration API for tracing.
//

View File

@@ -18,6 +18,8 @@ limitations under the License.
// +k8s:conversion-gen=k8s.io/controller-manager/config
// +k8s:conversion-gen=k8s.io/controller-manager/config/v1alpha1
// +k8s:openapi-gen=true
// +k8s:openapi-model-package=io.k8s.controller-manager.config.v1alpha1
// +groupName=controllermanager.config.k8s.io
package v1alpha1

View File

@@ -17,6 +17,8 @@ limitations under the License.
// +k8s:deepcopy-gen=package
// +k8s:conversion-gen=k8s.io/controller-manager/config
// +k8s:openapi-gen=true
// +k8s:openapi-model-package=io.k8s.controller-manager.config.v1beta1
// +groupName=controllermanager.config.k8s.io
package v1beta1

View File

@@ -18,9 +18,11 @@ limitations under the License.
// +k8s:protobuf-gen=package
// +k8s:conversion-gen=k8s.io/kube-aggregator/pkg/apis/apiregistration
// +k8s:openapi-gen=true
// +groupName=apiregistration.k8s.io
// +k8s:defaulter-gen=TypeMeta
// +k8s:prerelease-lifecycle-gen=true
// +k8s:openapi-model-package=io.k8s.kube-aggregator.pkg.apis.apiregistration.v1
// +groupName=apiregistration.k8s.io
// Package v1 contains the API Registration API, which is responsible for
// registering an API `Group`/`Version` with another kubernetes like API server.

View File

@@ -18,9 +18,11 @@ limitations under the License.
// +k8s:protobuf-gen=package
// +k8s:conversion-gen=k8s.io/kube-aggregator/pkg/apis/apiregistration
// +k8s:openapi-gen=true
// +groupName=apiregistration.k8s.io
// +k8s:defaulter-gen=TypeMeta
// +k8s:prerelease-lifecycle-gen=true
// +k8s:openapi-model-package=io.k8s.kube-aggregator.pkg.apis.apiregistration.v1beta1
// +groupName=apiregistration.k8s.io
// Package v1beta1 contains the API Registration API, which is responsible for
// registering an API `Group`/`Version` with another kubernetes like API server.

View File

@@ -16,6 +16,8 @@ limitations under the License.
// +k8s:deepcopy-gen=package
// +k8s:openapi-gen=true
// +k8s:openapi-model-package=io.k8s.kube-controller-manager.config.v1alpha1
// +groupName=kubecontrollermanager.config.k8s.io
package v1alpha1

View File

@@ -16,6 +16,8 @@ limitations under the License.
// +k8s:deepcopy-gen=package
// +k8s:openapi-gen=true
// +k8s:openapi-model-package=io.k8s.kube-proxy.config.v1alpha1
// +groupName=kubeproxy.config.k8s.io
package v1alpha1

View File

@@ -16,6 +16,8 @@ limitations under the License.
// +k8s:deepcopy-gen=package
// +k8s:openapi-gen=true
// +k8s:openapi-model-package=io.k8s.kube-scheduler.config.v1
// +groupName=kubescheduler.config.k8s.io
package v1

View File

@@ -19,5 +19,6 @@ limitations under the License.
// +groupName=kubectl.config.k8s.io
// +k8s:conversion-gen=k8s.io/kubectl/pkg/config
// +k8s:defaulter-gen=TypeMeta
// +k8s:openapi-model-package=io.k8s.kubectl.pkg.config.v1alpha1
package v1alpha1 // Package v1alpha1 import "k8s.io/kubectl/pkg/config/v1alpha1"

View File

@@ -16,6 +16,7 @@ limitations under the License.
// +k8s:deepcopy-gen=package
// +k8s:openapi-gen=true
// +k8s:openapi-model-package=io.k8s.kubectl.pkg.config.v1beta1
// +groupName=kubectl.config.k8s.io
// +k8s:conversion-gen=k8s.io/kubectl/pkg/config
// +k8s:defaulter-gen=TypeMeta

View File

@@ -16,6 +16,8 @@ limitations under the License.
// +k8s:deepcopy-gen=package
// +k8s:openapi-gen=true
// +k8s:openapi-model-package=io.k8s.kubelet.config.v1
// +groupName=kubelet.config.k8s.io
package v1

View File

@@ -16,6 +16,8 @@ limitations under the License.
// +k8s:deepcopy-gen=package
// +k8s:openapi-gen=true
// +k8s:openapi-model-package=io.k8s.kubelet.config.v1alpha1
// +groupName=kubelet.config.k8s.io
package v1alpha1

View File

@@ -16,6 +16,8 @@ limitations under the License.
// +k8s:deepcopy-gen=package
// +k8s:openapi-gen=true
// +k8s:openapi-model-package=io.k8s.kubelet.config.v1beta1
// +groupName=kubelet.config.k8s.io
package v1beta1

View File

@@ -18,6 +18,7 @@ limitations under the License.
// +k8s:protobuf-gen=package
// +k8s:conversion-gen=k8s.io/metrics/pkg/apis/custom_metrics
// +k8s:openapi-gen=true
// +k8s:openapi-model-package=io.k8s.metrics.pkg.apis.custom_metrics.v1beta1
// Package v1beta1 is the v1beta1 version of the custom_metrics API.
package v1beta1

View File

@@ -18,6 +18,7 @@ limitations under the License.
// +k8s:protobuf-gen=package
// +k8s:conversion-gen=k8s.io/metrics/pkg/apis/custom_metrics
// +k8s:openapi-gen=true
// +k8s:openapi-model-package=io.k8s.metrics.pkg.apis.custom_metrics.v1beta2
// Package v1beta2 is the v1beta2 version of the custom_metrics API.
package v1beta2

View File

@@ -18,6 +18,7 @@ limitations under the License.
// +k8s:protobuf-gen=package
// +k8s:conversion-gen=k8s.io/metrics/pkg/apis/external_metrics
// +k8s:openapi-gen=true
// +k8s:openapi-model-package=io.k8s.metrics.pkg.apis.external_metrics.v1beta1
// Package v1beta1 is the v1beta1 version of the external metrics API.
package v1beta1

View File

@@ -18,6 +18,8 @@ limitations under the License.
// +k8s:protobuf-gen=package
// +k8s:conversion-gen=k8s.io/metrics/pkg/apis/metrics
// +k8s:openapi-gen=true
// +k8s:openapi-model-package=io.k8s.metrics.pkg.apis.metrics.v1alpha1
// +groupName=metrics.k8s.io
// Package v1alpha1 is the v1alpha1 version of the metrics API.

View File

@@ -19,6 +19,7 @@ limitations under the License.
// +k8s:conversion-gen=k8s.io/metrics/pkg/apis/metrics
// +k8s:openapi-gen=true
// +groupName=metrics.k8s.io
// +k8s:openapi-model-package=io.k8s.metrics.pkg.apis.metrics.v1beta1
// Package v1beta1 is the v1beta1 version of the metrics API.
package v1beta1

Some files were not shown because too many files have changed in this diff Show More