Skip to content

Commit

Permalink
More generated code
Browse files Browse the repository at this point in the history
  • Loading branch information
0xmichalis committed Sep 29, 2016
1 parent d3caa5a commit 2f86bfa
Show file tree
Hide file tree
Showing 2 changed files with 101 additions and 11 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

93 changes: 88 additions & 5 deletions api/swagger-spec/openshift-openapi-spec.json
Original file line number Diff line number Diff line change
Expand Up @@ -32199,6 +32199,64 @@
}
]
},
"/oapi/v1/namespaces/{namespace}/deploymentconfigs/{name}/instantiate": {
"post": {
"description": "create instantiate of a DeploymentRequest",
"consumes": [
"*/*"
],
"produces": [
"application/json",
"application/yaml",
"application/vnd.kubernetes.protobuf"
],
"schemes": [
"https"
],
"operationId": "createNamespacedDeploymentRequestInstantiate",
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/v1.DeploymentRequest"
}
}
}
},
"parameters": [
{
"name": "body",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/v1.DeploymentRequest"
}
},
{
"uniqueItems": true,
"type": "string",
"description": "name of the DeploymentRequest",
"name": "name",
"in": "path",
"required": true
},
{
"uniqueItems": true,
"type": "string",
"description": "object name and auth scope, such as for teams and projects",
"name": "namespace",
"in": "path",
"required": true
},
{
"uniqueItems": true,
"type": "string",
"description": "If 'true', then the output is pretty printed.",
"name": "pretty",
"in": "query"
}
]
},
"/oapi/v1/namespaces/{namespace}/deploymentconfigs/{name}/log": {
"get": {
"description": "read log of the specified DeploymentLog",
Expand Down Expand Up @@ -45924,6 +45982,36 @@
}
}
},
"v1.DeploymentRequest": {
"description": "DeploymentRequest is a request to a deployment config for a new deployment.",
"required": [
"name",
"latest",
"force"
],
"properties": {
"apiVersion": {
"description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/release-1.4/docs/devel/api-conventions.md#resources",
"type": "string"
},
"force": {
"description": "Force will try to force a new deployment to run. If the deployment config is paused, then setting this to true will return an Invalid error.",
"type": "boolean"
},
"kind": {
"description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/release-1.4/docs/devel/api-conventions.md#types-kinds",
"type": "string"
},
"latest": {
"description": "Latest will update the deployment config with the latest state from all triggers.",
"type": "boolean"
},
"name": {
"description": "Name of the deployment config for requesting a new deployment.",
"type": "string"
}
}
},
"v1.DeploymentStrategy": {
"description": "DeploymentStrategy describes how to perform a deployment.",
"properties": {
Expand Down Expand Up @@ -50511,11 +50599,6 @@
"type": "integer",
"format": "int64"
},
"updatePercent": {
"description": "UpdatePercent is the percentage of replicas to scale up or down each interval. If nil, one replica will be scaled up and down each interval. If negative, the scale order will be down/up instead of up/down. DEPRECATED: Use MaxUnavailable/MaxSurge instead.",
"type": "integer",
"format": "int32"
},
"updatePeriodSeconds": {
"description": "UpdatePeriodSeconds is the time to wait between individual pod updates. If the value is nil, a default will be used.",
"type": "integer",
Expand Down

0 comments on commit 2f86bfa

Please sign in to comment.