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

feat: Add additional types that are needed to support extensions. #305

Merged
merged 1 commit into from
May 29, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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