Skip to content

Commit

Permalink
Generated code for RS/RC conditions
Browse files Browse the repository at this point in the history
  • Loading branch information
0xmichalis committed Oct 10, 2016
1 parent 63a6ce3 commit 5589469
Show file tree
Hide file tree
Showing 24 changed files with 34,414 additions and 30,134 deletions.
80 changes: 80 additions & 0 deletions api/openapi-spec/root_swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -28176,6 +28176,39 @@
}
}
},
"v1.ReplicationControllerCondition": {
"description": "ReplicationControllerCondition describes the state of a replication controller at a certain point.",
"required": [
"type",
"status"
],
"properties": {
"lastProbeTime": {
"description": "Last time we probed the condition.",
"$ref": "#/definitions/unversioned.Time"
},
"lastTransitionTime": {
"description": "The last time the condition transitioned from one status to another.",
"$ref": "#/definitions/unversioned.Time"
},
"message": {
"description": "A human readable message indicating details about the transition.",
"type": "string"
},
"reason": {
"description": "The reason for the condition's last transition.",
"type": "string"
},
"status": {
"description": "Status of the condition, one of True, False, Unknown.",
"type": "string"
},
"type": {
"description": "Type of replication controller condition.",
"type": "string"
}
}
},
"v1.ReplicationControllerList": {
"description": "ReplicationControllerList is a collection of replication controllers.",
"required": [
Expand Down Expand Up @@ -28232,6 +28265,13 @@
"type": "integer",
"format": "int32"
},
"conditions": {
"description": "Represents the latest available observations of a replication controller's current state.",
"type": "array",
"items": {
"$ref": "#/definitions/v1.ReplicationControllerCondition"
}
},
"fullyLabeledReplicas": {
"description": "The number of pods that have labels matching the labels of the pod template of the replication controller.",
"type": "integer",
Expand Down Expand Up @@ -30052,6 +30092,39 @@
}
}
},
"v1beta1.ReplicaSetCondition": {
"description": "ReplicaSetCondition describes the state of a replica set at a certain point.",
"required": [
"type",
"status"
],
"properties": {
"lastProbeTime": {
"description": "Last time we probed the condition.",
"$ref": "#/definitions/unversioned.Time"
},
"lastTransitionTime": {
"description": "The last time the condition transitioned from one status to another.",
"$ref": "#/definitions/unversioned.Time"
},
"message": {
"description": "A human readable message indicating details about the transition.",
"type": "string"
},
"reason": {
"description": "The reason for the condition's last transition.",
"type": "string"
},
"status": {
"description": "Status of the condition, one of True, False, Unknown.",
"type": "string"
},
"type": {
"description": "Type of replica set condition.",
"type": "string"
}
}
},
"v1beta1.ReplicaSetList": {
"description": "ReplicaSetList is a collection of ReplicaSets.",
"required": [
Expand Down Expand Up @@ -30105,6 +30178,13 @@
"type": "integer",
"format": "int32"
},
"conditions": {
"description": "Represents the latest available observations of a replica set's current state.",
"type": "array",
"items": {
"$ref": "#/definitions/v1beta1.ReplicaSetCondition"
}
},
"fullyLabeledReplicas": {
"description": "The number of pods that have labels matching the labels of the pod template of the replicaset.",
"type": "integer",
Expand Down
40 changes: 40 additions & 0 deletions api/openapi-spec/v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -14679,6 +14679,39 @@
}
}
},
"v1.ReplicationControllerCondition": {
"description": "ReplicationControllerCondition describes the state of a replication controller at a certain point.",
"required": [
"type",
"status"
],
"properties": {
"lastProbeTime": {
"description": "Last time we probed the condition.",
"$ref": "#/definitions/unversioned.Time"
},
"lastTransitionTime": {
"description": "The last time the condition transitioned from one status to another.",
"$ref": "#/definitions/unversioned.Time"
},
"message": {
"description": "A human readable message indicating details about the transition.",
"type": "string"
},
"reason": {
"description": "The reason for the condition's last transition.",
"type": "string"
},
"status": {
"description": "Status of the condition, one of True, False, Unknown.",
"type": "string"
},
"type": {
"description": "Type of replication controller condition.",
"type": "string"
}
}
},
"v1.ReplicationControllerList": {
"description": "ReplicationControllerList is a collection of replication controllers.",
"required": [
Expand Down Expand Up @@ -14735,6 +14768,13 @@
"type": "integer",
"format": "int32"
},
"conditions": {
"description": "Represents the latest available observations of a replication controller's current state.",
"type": "array",
"items": {
"$ref": "#/definitions/v1.ReplicationControllerCondition"
}
},
"fullyLabeledReplicas": {
"description": "The number of pods that have labels matching the labels of the pod template of the replication controller.",
"type": "integer",
Expand Down
40 changes: 40 additions & 0 deletions api/openapi-spec/v1beta1.extensions.json
Original file line number Diff line number Diff line change
Expand Up @@ -7798,6 +7798,39 @@
}
}
},
"v1beta1.ReplicaSetCondition": {
"description": "ReplicaSetCondition describes the state of a replica set at a certain point.",
"required": [
"type",
"status"
],
"properties": {
"lastProbeTime": {
"description": "Last time we probed the condition.",
"$ref": "#/definitions/unversioned.Time"
},
"lastTransitionTime": {
"description": "The last time the condition transitioned from one status to another.",
"$ref": "#/definitions/unversioned.Time"
},
"message": {
"description": "A human readable message indicating details about the transition.",
"type": "string"
},
"reason": {
"description": "The reason for the condition's last transition.",
"type": "string"
},
"status": {
"description": "Status of the condition, one of True, False, Unknown.",
"type": "string"
},
"type": {
"description": "Type of replica set condition.",
"type": "string"
}
}
},
"v1beta1.ReplicaSetList": {
"description": "ReplicaSetList is a collection of ReplicaSets.",
"required": [
Expand Down Expand Up @@ -7851,6 +7884,13 @@
"type": "integer",
"format": "int32"
},
"conditions": {
"description": "Represents the latest available observations of a replica set's current state.",
"type": "array",
"items": {
"$ref": "#/definitions/v1beta1.ReplicaSetCondition"
}
},
"fullyLabeledReplicas": {
"description": "The number of pods that have labels matching the labels of the pod template of the replicaset.",
"type": "integer",
Expand Down
43 changes: 43 additions & 0 deletions api/swagger-spec/extensions_v1beta1.json
Original file line number Diff line number Diff line change
Expand Up @@ -10348,6 +10348,49 @@
"type": "integer",
"format": "int64",
"description": "ObservedGeneration reflects the generation of the most recently observed ReplicaSet."
},
"conditions": {
"type": "array",
"items": {
"$ref": "v1beta1.ReplicaSetCondition"
},
"description": "Represents the latest available observations of a replica set's current state."
}
}
},
"v1beta1.ReplicaSetCondition": {
"id": "v1beta1.ReplicaSetCondition",
"description": "ReplicaSetCondition describes the state of a replica set at a certain point.",
"required": [
"type",
"status"
],
"properties": {
"type": {
"type": "string",
"description": "Type of replica set condition."
},
"status": {
"type": "string",
"description": "Status of the condition, one of True, False, Unknown."
},
"lastProbeTime": {
"type": "string",
"format": "date-time",
"description": "Last time we probed the condition."
},
"lastTransitionTime": {
"type": "string",
"format": "date-time",
"description": "The last time the condition transitioned from one status to another."
},
"reason": {
"type": "string",
"description": "The reason for the condition's last transition."
},
"message": {
"type": "string",
"description": "A human readable message indicating details about the transition."
}
}
},
Expand Down
43 changes: 43 additions & 0 deletions api/swagger-spec/v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -19135,6 +19135,49 @@
"type": "integer",
"format": "int64",
"description": "ObservedGeneration reflects the generation of the most recently observed replication controller."
},
"conditions": {
"type": "array",
"items": {
"$ref": "v1.ReplicationControllerCondition"
},
"description": "Represents the latest available observations of a replication controller's current state."
}
}
},
"v1.ReplicationControllerCondition": {
"id": "v1.ReplicationControllerCondition",
"description": "ReplicationControllerCondition describes the state of a replication controller at a certain point.",
"required": [
"type",
"status"
],
"properties": {
"type": {
"type": "string",
"description": "Type of replication controller condition."
},
"status": {
"type": "string",
"description": "Status of the condition, one of True, False, Unknown."
},
"lastProbeTime": {
"type": "string",
"format": "date-time",
"description": "Last time we probed the condition."
},
"lastTransitionTime": {
"type": "string",
"format": "date-time",
"description": "The last time the condition transitioned from one status to another."
},
"reason": {
"type": "string",
"description": "The reason for the condition's last transition."
},
"message": {
"type": "string",
"description": "A human readable message indicating details about the transition."
}
}
},
Expand Down
Loading

0 comments on commit 5589469

Please sign in to comment.