Add +k8s:openapi-gen tag to API types

This commit is contained in:
mbohlool
2016-08-25 14:58:23 -07:00
parent 6ba271b9ae
commit 702f55e61d
38 changed files with 62 additions and 3 deletions

View File

@@ -14,6 +14,7 @@ See the License for the specific language governing permissions and
limitations under the License.
*/
// +k8s:openapi-gen=true
package abac
import "k8s.io/kubernetes/pkg/api/unversioned"

View File

@@ -14,6 +14,7 @@ See the License for the specific language governing permissions and
limitations under the License.
*/
// +k8s:openapi-gen=true
package v0
import "k8s.io/kubernetes/pkg/api/unversioned"

View File

@@ -14,6 +14,7 @@ See the License for the specific language governing permissions and
limitations under the License.
*/
// +k8s:openapi-gen=true
package v1beta1
import "k8s.io/kubernetes/pkg/api/unversioned"

View File

@@ -15,5 +15,6 @@ limitations under the License.
*/
// +k8s:deepcopy-gen=package,register
// +k8s:openapi-gen=true
package apps // import "k8s.io/kubernetes/pkg/apis/apps"

View File

@@ -16,5 +16,6 @@ limitations under the License.
// +k8s:deepcopy-gen=package,register
// +k8s:conversion-gen=k8s.io/kubernetes/pkg/apis/apps
// +k8s:openapi-gen=true
package v1alpha1 // import "k8s.io/kubernetes/pkg/apis/apps/v1alpha1"

View File

@@ -16,4 +16,5 @@ limitations under the License.
// +k8s:deepcopy-gen=package,register
// +groupName=authentication.k8s.io
// +k8s:openapi-gen=true
package authentication // import "k8s.io/kubernetes/pkg/apis/authentication"

View File

@@ -17,4 +17,5 @@ limitations under the License.
// +k8s:deepcopy-gen=package,register
// +k8s:conversion-gen=k8s.io/kubernetes/pkg/apis/authentication
// +groupName=authentication.k8s.io
// +k8s:openapi-gen=true
package v1beta1 // import "k8s.io/kubernetes/pkg/apis/authentication/v1beta1"

View File

@@ -15,6 +15,7 @@ limitations under the License.
*/
// +k8s:deepcopy-gen=package,register
// +k8s:openapi-gen=true
// +groupName=authorization.k8s.io
package authorization // import "k8s.io/kubernetes/pkg/apis/authorization"

View File

@@ -16,6 +16,7 @@ limitations under the License.
// +k8s:deepcopy-gen=package,register
// +k8s:conversion-gen=k8s.io/kubernetes/pkg/apis/authorization
// +k8s:openapi-gen=true
// +groupName=authorization.k8s.io
package v1beta1 // import "k8s.io/kubernetes/pkg/apis/authorization/v1beta1"

View File

@@ -15,5 +15,6 @@ limitations under the License.
*/
// +k8s:deepcopy-gen=package,register
// +k8s:openapi-gen=true
package autoscaling // import "k8s.io/kubernetes/pkg/apis/autoscaling"

View File

@@ -16,5 +16,6 @@ limitations under the License.
// +k8s:deepcopy-gen=package,register
// +k8s:conversion-gen=k8s.io/kubernetes/pkg/apis/autoscaling
// +k8s:openapi-gen=true
package v1 // import "k8s.io/kubernetes/pkg/apis/autoscaling/v1"

View File

@@ -15,5 +15,6 @@ limitations under the License.
*/
// +k8s:deepcopy-gen=package,register
// +k8s:openapi-gen=true
package batch // import "k8s.io/kubernetes/pkg/apis/batch"

View File

@@ -16,5 +16,6 @@ limitations under the License.
// +k8s:deepcopy-gen=package,register
// +k8s:conversion-gen=k8s.io/kubernetes/pkg/apis/batch
// +k8s:openapi-gen=true
package v1 // import "k8s.io/kubernetes/pkg/apis/batch/v1"

View File

@@ -16,5 +16,6 @@ limitations under the License.
// +k8s:deepcopy-gen=package,register
// +k8s:conversion-gen=k8s.io/kubernetes/pkg/apis/batch
// +k8s:openapi-gen=true
package v2alpha1 // import "k8s.io/kubernetes/pkg/apis/batch/v2alpha1"

View File

@@ -15,6 +15,7 @@ limitations under the License.
*/
// +k8s:deepcopy-gen=package,register
// +k8s:openapi-gen=true
// +groupName=certificates.k8s.io
package certificates // import "k8s.io/kubernetes/pkg/apis/certificates"

View File

@@ -17,5 +17,6 @@ limitations under the License.
// +groupName=certificates.k8s.io
// +k8s:deepcopy-gen=package,register
// +k8s:conversion-gen=k8s.io/kubernetes/pkg/apis/certificates
// +k8s:openapi-gen=true
package v1alpha1 // import "k8s.io/kubernetes/pkg/apis/certificates/v1alpha1"

View File

@@ -15,5 +15,6 @@ limitations under the License.
*/
// +k8s:deepcopy-gen=package,register
// +k8s:openapi-gen=true
package componentconfig // import "k8s.io/kubernetes/pkg/apis/componentconfig"

View File

@@ -16,5 +16,6 @@ limitations under the License.
// +k8s:deepcopy-gen=package,register
// +k8s:conversion-gen=k8s.io/kubernetes/pkg/apis/componentconfig
// +k8s:openapi-gen=true
package v1alpha1 // import "k8s.io/kubernetes/pkg/apis/componentconfig/v1alpha1"

View File

@@ -15,5 +15,6 @@ limitations under the License.
*/
// +k8s:deepcopy-gen=package,register
// +k8s:openapi-gen=true
package extensions // import "k8s.io/kubernetes/pkg/apis/extensions"

View File

@@ -18,5 +18,6 @@ limitations under the License.
// +k8s:conversion-gen=k8s.io/kubernetes/pkg/apis/extensions
// +k8s:conversion-gen=k8s.io/kubernetes/pkg/apis/autoscaling
// +k8s:conversion-gen=k8s.io/kubernetes/pkg/apis/batch
// +k8s:openapi-gen=true
package v1beta1 // import "k8s.io/kubernetes/pkg/apis/extensions/v1beta1"

View File

@@ -16,5 +16,6 @@ limitations under the License.
// +k8s:deepcopy-gen=package,register
// +groupName=imagepolicy.k8s.io
// +k8s:openapi-gen=true
package imagepolicy // import "k8s.io/kubernetes/pkg/apis/imagepolicy"

View File

@@ -17,5 +17,6 @@ limitations under the License.
// +groupName=imagepolicy.k8s.io
// +k8s:deepcopy-gen=package,register
// +k8s:conversion-gen=k8s.io/kubernetes/pkg/apis/imagepolicy
// +k8s:openapi-gen=true
package v1alpha1 // import "k8s.io/kubernetes/pkg/apis/imagepolicy/v1alpha1"

View File

@@ -15,5 +15,6 @@ limitations under the License.
*/
// +k8s:deepcopy-gen=package,register
// +k8s:openapi-gen=true
package policy // import "k8s.io/kubernetes/pkg/apis/policy"

View File

@@ -20,4 +20,5 @@ limitations under the License.
// Package policy is for any kind of policy object. Suitable examples, even if
// they aren't all here, are PodDisruptionBudget, PodSecurityPolicy,
// NetworkPolicy, etc.
// +k8s:openapi-gen=true
package v1alpha1 // import "k8s.io/kubernetes/pkg/apis/policy/v1alpha1"

View File

@@ -15,6 +15,7 @@ limitations under the License.
*/
// +k8s:deepcopy-gen=package,register
// +k8s:openapi-gen=true
// +groupName=rbac.authorization.k8s.io
package rbac // import "k8s.io/kubernetes/pkg/apis/rbac"

View File

@@ -17,5 +17,6 @@ limitations under the License.
// +groupName=rbac.authorization.k8s.io
// +k8s:deepcopy-gen=package,register
// +k8s:conversion-gen=k8s.io/kubernetes/pkg/apis/rbac
// +k8s:openapi-gen=true
package v1alpha1 // import "k8s.io/kubernetes/pkg/apis/rbac/v1alpha1"

View File

@@ -16,4 +16,5 @@ limitations under the License.
// +k8s:deepcopy-gen=package,register
// +groupName=storage.k8s.io
// +g8k:openapi-gen=true
package storage // import "k8s.io/kubernetes/pkg/apis/storage"

View File

@@ -17,4 +17,5 @@ limitations under the License.
// +k8s:deepcopy-gen=package,register
// +k8s:conversion-gen=k8s.io/kubernetes/pkg/apis/storage
// +groupName=storage.k8s.io
// +k8s:openapi-gen=true
package v1beta1 // import "k8s.io/kubernetes/pkg/apis/storage/v1beta1"