Skip to content
This repository has been archived by the owner on Nov 6, 2018. It is now read-only.

Commit

Permalink
Merge pull request #305 from iocanel/type-meta
Browse files Browse the repository at this point in the history
feat: Add additional types that are needed to support extensions.
  • Loading branch information
Hrishikesh Shinde authored May 29, 2018
2 parents 5b4da8c + c865648 commit cfa5048
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cmd/generate/generate.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,9 @@ type Schema struct {
Info apimachineryversion.Info
BaseKubernetesList kapi.List
ObjectMeta metav1.ObjectMeta
TypeMeta metav1.TypeMeta
Initializer metav1.Initializer
Initializers metav1.Initializers
PodList kapi.PodList
PodTemplateList kapi.PodTemplateList
ReplicationControllerList kapi.ReplicationControllerList
Expand Down
12 changes: 12 additions & 0 deletions kubernetes-model/src/main/resources/schema/kube-schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -14511,6 +14511,14 @@
"$ref": "#/definitions/kubernetes_extensions_IngressList",
"javaType": "io.fabric8.kubernetes.api.model.extensions.IngressList"
},
"Initializer": {
"$ref": "#/definitions/k8s_io_apimachinery_Initializer",
"javaType": "io.fabric8.kubernetes.api.model.Initializer"
},
"Initializers": {
"$ref": "#/definitions/k8s_io_apimachinery_Initializers",
"javaType": "io.fabric8.kubernetes.api.model.Initializers"
},
"Job": {
"$ref": "#/definitions/kubernetes_batch_Job",
"javaType": "io.fabric8.kubernetes.api.model.Job"
Expand Down Expand Up @@ -14815,6 +14823,10 @@
"$ref": "#/definitions/kubernetes_Toleration",
"javaType": "io.fabric8.kubernetes.api.model.Toleration"
},
"TypeMeta": {
"$ref": "#/definitions/k8s_io_apimachinery_TypeMeta",
"javaType": "io.fabric8.kubernetes.api.model.TypeMeta"
},
"User": {
"$ref": "#/definitions/os_user_User",
"javaType": "io.fabric8.openshift.api.model.User"
Expand Down

0 comments on commit cfa5048

Please sign in to comment.