Swagger changes for storing image properties
@@ -171,11 +171,7 @@ paths:
201:
description: Success.
schema:
- type: object
- properties:
- imageId:
- type: string
- format: uuid
+ $ref: '#/definitions/cluster'
400:
description: Error.
schema:
@@ -184,6 +180,8 @@ paths:
description: Error.
schema:
$ref: '#/definitions/error'
+ 409:
+ description: Error.
500:
description: Error.
schema:
@@ -203,11 +201,6 @@ paths:
type: string
format: uuid
required: true
- - in: query
- name: image_id
- type: string
- format: uuid
- required: true
responses:
200:
description: Success.
@@ -929,6 +922,7 @@ definitions:
- kind
- id
- href
+ - image_info
- status
- status_info
properties:
@@ -951,6 +945,9 @@ definitions:
type: string
enum: ['4.4', '4.5']
description: Version of the OpenShift cluster.
+ image_info:
+ $ref: '#/definitions/image_info'
+ x-go-custom-tag: gorm:"embedded;embedded_prefix:image_"
base_dns_domain:
type: string
description: Base domain of the cluster. All DNS records must be sub-domains of this base and include the cluster name.
@@ -1028,6 +1025,22 @@ definitions:
x-go-custom-tag: gorm:"type:datetime;default:0"
description: The time that this cluster completed installation.
+ image_info:
+ type: object
+ properties:
+ proxy_url:
+ type: string
+ description: |
+ The URL of the HTTP/S proxy that agents should use to access the discovery service
+ http://\<user\>:\<password\>@\<server\>:\<port\>/
+ ssh_public_key:
+ type: string
+ description: SSH public key for debugging the installation
+ created_at:
+ type: string
+ format: date-time
+ x-go-custom-tag: gorm:"type:datetime"
+
cluster-list:
type: array
items:
