Skip to content

Commit

Permalink
Adding new schemas
Browse files Browse the repository at this point in the history
  • Loading branch information
Yann Hamon committed Oct 17, 2023
1 parent 5ff0284 commit d641497
Show file tree
Hide file tree
Showing 148 changed files with 12,497 additions and 0 deletions.
18 changes: 18 additions & 0 deletions master-local/_definitions.json
Original file line number Diff line number Diff line change
Expand Up @@ -7177,6 +7177,10 @@
"$ref": "#/definitions/io.k8s.api.core.v1.HTTPGetAction",
"description": "HTTPGet specifies the http request to perform."
},
"sleep": {
"$ref": "#/definitions/io.k8s.api.core.v1.SleepAction",
"description": "Sleep represents the duration that the container should sleep before being terminated."
},
"tcpSocket": {
"$ref": "#/definitions/io.k8s.api.core.v1.TCPSocketAction",
"description": "Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept for the backward compatibility. There are no validation of this field and lifecycle hooks will fail in runtime when tcp handler is specified."
Expand Down Expand Up @@ -10678,6 +10682,20 @@
},
"type": "object"
},
"io.k8s.api.core.v1.SleepAction": {
"description": "SleepAction describes a \"sleep\" action.",
"properties": {
"seconds": {
"description": "Seconds is the number of seconds to sleep.",
"format": "int64",
"type": "integer"
}
},
"required": [
"seconds"
],
"type": "object"
},
"io.k8s.api.core.v1.StorageOSPersistentVolumeSource": {
"description": "Represents a StorageOS persistent volume resource.",
"properties": {
Expand Down
3 changes: 3 additions & 0 deletions master-local/all.json
Original file line number Diff line number Diff line change
Expand Up @@ -1032,6 +1032,9 @@
{
"$ref": "_definitions.json#/definitions/io.k8s.api.core.v1.SessionAffinityConfig"
},
{
"$ref": "_definitions.json#/definitions/io.k8s.api.core.v1.SleepAction"
},
{
"$ref": "_definitions.json#/definitions/io.k8s.api.core.v1.StorageOSPersistentVolumeSource"
},
Expand Down
4 changes: 4 additions & 0 deletions master-local/lifecyclehandler-v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@
"$ref": "_definitions.json#/definitions/io.k8s.api.core.v1.HTTPGetAction",
"description": "HTTPGet specifies the http request to perform."
},
"sleep": {
"$ref": "_definitions.json#/definitions/io.k8s.api.core.v1.SleepAction",
"description": "Sleep represents the duration that the container should sleep before being terminated."
},
"tcpSocket": {
"$ref": "_definitions.json#/definitions/io.k8s.api.core.v1.TCPSocketAction",
"description": "Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept for the backward compatibility. There are no validation of this field and lifecycle hooks will fail in runtime when tcp handler is specified."
Expand Down
4 changes: 4 additions & 0 deletions master-local/lifecyclehandler.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@
"$ref": "_definitions.json#/definitions/io.k8s.api.core.v1.HTTPGetAction",
"description": "HTTPGet specifies the http request to perform."
},
"sleep": {
"$ref": "_definitions.json#/definitions/io.k8s.api.core.v1.SleepAction",
"description": "Sleep represents the duration that the container should sleep before being terminated."
},
"tcpSocket": {
"$ref": "_definitions.json#/definitions/io.k8s.api.core.v1.TCPSocketAction",
"description": "Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept for the backward compatibility. There are no validation of this field and lifecycle hooks will fail in runtime when tcp handler is specified."
Expand Down
18 changes: 18 additions & 0 deletions master-local/sleepaction-v1.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"description": "SleepAction describes a \"sleep\" action.",
"properties": {
"seconds": {
"description": "Seconds is the number of seconds to sleep.",
"format": "int64",
"type": [
"integer",
"null"
]
}
},
"required": [
"seconds"
],
"type": "object",
"$schema": "http://json-schema.org/schema#"
}
18 changes: 18 additions & 0 deletions master-local/sleepaction.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"description": "SleepAction describes a \"sleep\" action.",
"properties": {
"seconds": {
"description": "Seconds is the number of seconds to sleep.",
"format": "int64",
"type": [
"integer",
"null"
]
}
},
"required": [
"seconds"
],
"type": "object",
"$schema": "http://json-schema.org/schema#"
}
19 changes: 19 additions & 0 deletions master-standalone-strict/_definitions.json
Original file line number Diff line number Diff line change
Expand Up @@ -7414,6 +7414,10 @@
"$ref": "#/definitions/io.k8s.api.core.v1.HTTPGetAction",
"description": "HTTPGet specifies the http request to perform."
},
"sleep": {
"$ref": "#/definitions/io.k8s.api.core.v1.SleepAction",
"description": "Sleep represents the duration that the container should sleep before being terminated."
},
"tcpSocket": {
"$ref": "#/definitions/io.k8s.api.core.v1.TCPSocketAction",
"description": "Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept for the backward compatibility. There are no validation of this field and lifecycle hooks will fail in runtime when tcp handler is specified."
Expand Down Expand Up @@ -11021,6 +11025,21 @@
"type": "object",
"additionalProperties": false
},
"io.k8s.api.core.v1.SleepAction": {
"description": "SleepAction describes a \"sleep\" action.",
"properties": {
"seconds": {
"description": "Seconds is the number of seconds to sleep.",
"format": "int64",
"type": "integer"
}
},
"required": [
"seconds"
],
"type": "object",
"additionalProperties": false
},
"io.k8s.api.core.v1.StorageOSPersistentVolumeSource": {
"description": "Represents a StorageOS persistent volume resource.",
"properties": {
Expand Down
3 changes: 3 additions & 0 deletions master-standalone-strict/all.json
Original file line number Diff line number Diff line change
Expand Up @@ -1032,6 +1032,9 @@
{
"$ref": "_definitions.json#/definitions/io.k8s.api.core.v1.SessionAffinityConfig"
},
{
"$ref": "_definitions.json#/definitions/io.k8s.api.core.v1.SleepAction"
},
{
"$ref": "_definitions.json#/definitions/io.k8s.api.core.v1.StorageOSPersistentVolumeSource"
},
Expand Down
36 changes: 36 additions & 0 deletions master-standalone-strict/container-v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -394,6 +394,24 @@
],
"additionalProperties": false
},
"sleep": {
"description": "SleepAction describes a \"sleep\" action.",
"properties": {
"seconds": {
"description": "Seconds is the number of seconds to sleep.",
"format": "int64",
"type": "integer"
}
},
"required": [
"seconds"
],
"type": [
"object",
"null"
],
"additionalProperties": false
},
"tcpSocket": {
"description": "TCPSocketAction describes an action based on opening a socket",
"properties": {
Expand Down Expand Up @@ -542,6 +560,24 @@
],
"additionalProperties": false
},
"sleep": {
"description": "SleepAction describes a \"sleep\" action.",
"properties": {
"seconds": {
"description": "Seconds is the number of seconds to sleep.",
"format": "int64",
"type": "integer"
}
},
"required": [
"seconds"
],
"type": [
"object",
"null"
],
"additionalProperties": false
},
"tcpSocket": {
"description": "TCPSocketAction describes an action based on opening a socket",
"properties": {
Expand Down
36 changes: 36 additions & 0 deletions master-standalone-strict/container.json
Original file line number Diff line number Diff line change
Expand Up @@ -394,6 +394,24 @@
],
"additionalProperties": false
},
"sleep": {
"description": "SleepAction describes a \"sleep\" action.",
"properties": {
"seconds": {
"description": "Seconds is the number of seconds to sleep.",
"format": "int64",
"type": "integer"
}
},
"required": [
"seconds"
],
"type": [
"object",
"null"
],
"additionalProperties": false
},
"tcpSocket": {
"description": "TCPSocketAction describes an action based on opening a socket",
"properties": {
Expand Down Expand Up @@ -542,6 +560,24 @@
],
"additionalProperties": false
},
"sleep": {
"description": "SleepAction describes a \"sleep\" action.",
"properties": {
"seconds": {
"description": "Seconds is the number of seconds to sleep.",
"format": "int64",
"type": "integer"
}
},
"required": [
"seconds"
],
"type": [
"object",
"null"
],
"additionalProperties": false
},
"tcpSocket": {
"description": "TCPSocketAction describes an action based on opening a socket",
"properties": {
Expand Down
108 changes: 108 additions & 0 deletions master-standalone-strict/cronjob-batch-v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -2428,6 +2428,24 @@
],
"additionalProperties": false
},
"sleep": {
"description": "SleepAction describes a \"sleep\" action.",
"properties": {
"seconds": {
"description": "Seconds is the number of seconds to sleep.",
"format": "int64",
"type": "integer"
}
},
"required": [
"seconds"
],
"type": [
"object",
"null"
],
"additionalProperties": false
},
"tcpSocket": {
"description": "TCPSocketAction describes an action based on opening a socket",
"properties": {
Expand Down Expand Up @@ -2576,6 +2594,24 @@
],
"additionalProperties": false
},
"sleep": {
"description": "SleepAction describes a \"sleep\" action.",
"properties": {
"seconds": {
"description": "Seconds is the number of seconds to sleep.",
"format": "int64",
"type": "integer"
}
},
"required": [
"seconds"
],
"type": [
"object",
"null"
],
"additionalProperties": false
},
"tcpSocket": {
"description": "TCPSocketAction describes an action based on opening a socket",
"properties": {
Expand Down Expand Up @@ -4301,6 +4337,24 @@
],
"additionalProperties": false
},
"sleep": {
"description": "SleepAction describes a \"sleep\" action.",
"properties": {
"seconds": {
"description": "Seconds is the number of seconds to sleep.",
"format": "int64",
"type": "integer"
}
},
"required": [
"seconds"
],
"type": [
"object",
"null"
],
"additionalProperties": false
},
"tcpSocket": {
"description": "TCPSocketAction describes an action based on opening a socket",
"properties": {
Expand Down Expand Up @@ -4449,6 +4503,24 @@
],
"additionalProperties": false
},
"sleep": {
"description": "SleepAction describes a \"sleep\" action.",
"properties": {
"seconds": {
"description": "Seconds is the number of seconds to sleep.",
"format": "int64",
"type": "integer"
}
},
"required": [
"seconds"
],
"type": [
"object",
"null"
],
"additionalProperties": false
},
"tcpSocket": {
"description": "TCPSocketAction describes an action based on opening a socket",
"properties": {
Expand Down Expand Up @@ -6205,6 +6277,24 @@
],
"additionalProperties": false
},
"sleep": {
"description": "SleepAction describes a \"sleep\" action.",
"properties": {
"seconds": {
"description": "Seconds is the number of seconds to sleep.",
"format": "int64",
"type": "integer"
}
},
"required": [
"seconds"
],
"type": [
"object",
"null"
],
"additionalProperties": false
},
"tcpSocket": {
"description": "TCPSocketAction describes an action based on opening a socket",
"properties": {
Expand Down Expand Up @@ -6353,6 +6443,24 @@
],
"additionalProperties": false
},
"sleep": {
"description": "SleepAction describes a \"sleep\" action.",
"properties": {
"seconds": {
"description": "Seconds is the number of seconds to sleep.",
"format": "int64",
"type": "integer"
}
},
"required": [
"seconds"
],
"type": [
"object",
"null"
],
"additionalProperties": false
},
"tcpSocket": {
"description": "TCPSocketAction describes an action based on opening a socket",
"properties": {
Expand Down
Loading

0 comments on commit d641497

Please sign in to comment.