Skip to content

Commit

Permalink
make update
Browse files Browse the repository at this point in the history
  • Loading branch information
petr-muller committed Sep 3, 2024
1 parent 6ebc6e0 commit 7c1d5de
Show file tree
Hide file tree
Showing 8 changed files with 574 additions and 140 deletions.
109 changes: 90 additions & 19 deletions openapi/generated_openapi/zz_generated.openapi.go

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

59 changes: 48 additions & 11 deletions openapi/openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -36697,20 +36697,13 @@
"properties": {
"previous": {
"description": "Previous is the version of the control plane before the update",
"type": "string"
},
"previousPartial": {
"description": "IsPreviousPartial is true if the update was initiated in a state where the previous upgrade (to the original version) was not fully completed",
"type": "boolean"
"default": {},
"$ref": "#/definitions/com.github.openshift.api.update.v1alpha1.UpdateEdgeVersion"
},
"target": {
"description": "Target is the version of the control plane after the update",
"type": "string",
"default": ""
},
"targetInstall": {
"description": "IsTargetInstall is true if the current (or last completed) work is an installation, not an upgrade",
"type": "boolean"
"default": {},
"$ref": "#/definitions/com.github.openshift.api.update.v1alpha1.UpdateEdgeVersion"
}
}
},
Expand Down Expand Up @@ -36945,6 +36938,27 @@
}
}
},
"com.github.openshift.api.update.v1alpha1.UpdateEdgeVersion": {
"type": "object",
"properties": {
"metadata": {
"description": "Metadata is a list of metadata associated with the version",
"type": "array",
"items": {
"default": {},
"$ref": "#/definitions/com.github.openshift.api.update.v1alpha1.VersionMetadata"
},
"x-kubernetes-list-map-keys": [
"key"
],
"x-kubernetes-list-type": "map"
},
"version": {
"description": "Version is the version of the edge",
"type": "string"
}
}
},
"com.github.openshift.api.update.v1alpha1.UpdateHealthInsight": {
"description": "UpdateHealthInsight is a piece of actionable information produced by an insight producer about the health of the cluster or an update",
"type": "object",
Expand Down Expand Up @@ -37213,6 +37227,29 @@
}
}
},
"com.github.openshift.api.update.v1alpha1.VersionMetadata": {
"type": "object",
"required": [
"key",
"type"
],
"properties": {
"bool": {
"type": "boolean"
},
"key": {
"type": "string",
"default": ""
},
"string": {
"type": "string"
},
"type": {
"type": "string",
"default": ""
}
}
},
"com.github.openshift.api.user.v1.Group": {
"description": "Group represents a referenceable set of Users\n\nCompatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer).",
"type": "object",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -480,22 +480,57 @@ spec:
previous:
description: Previous is the version of the
control plane before the update
type: string
previousPartial:
description: IsPreviousPartial is true if
the update was initiated in a state where
the previous upgrade (to the original version)
was not fully completed
type: boolean
properties:
metadata:
description: Metadata is a list of metadata
associated with the version
items:
properties:
bool:
type: boolean
key:
type: string
string:
type: string
type:
type: string
type: object
type: array
x-kubernetes-list-map-keys:
- key
x-kubernetes-list-type: map
version:
description: Version is the version of
the edge
type: string
type: object
target:
description: Target is the version of the
control plane after the update
type: string
targetInstall:
description: IsTargetInstall is true if the
current (or last completed) work is an installation,
not an upgrade
type: boolean
properties:
metadata:
description: Metadata is a list of metadata
associated with the version
items:
properties:
bool:
type: boolean
key:
type: string
string:
type: string
type:
type: string
type: object
type: array
x-kubernetes-list-map-keys:
- key
x-kubernetes-list-type: map
version:
description: Version is the version of
the edge
type: string
type: object
type: object
type: object
health:
Expand Down Expand Up @@ -1312,22 +1347,57 @@ spec:
previous:
description: Previous is the version of
the control plane before the update
type: string
previousPartial:
description: IsPreviousPartial is true if
the update was initiated in a state where
the previous upgrade (to the original
version) was not fully completed
type: boolean
properties:
metadata:
description: Metadata is a list of metadata
associated with the version
items:
properties:
bool:
type: boolean
key:
type: string
string:
type: string
type:
type: string
type: object
type: array
x-kubernetes-list-map-keys:
- key
x-kubernetes-list-type: map
version:
description: Version is the version
of the edge
type: string
type: object
target:
description: Target is the version of the
control plane after the update
type: string
targetInstall:
description: IsTargetInstall is true if
the current (or last completed) work is
an installation, not an upgrade
type: boolean
properties:
metadata:
description: Metadata is a list of metadata
associated with the version
items:
properties:
bool:
type: boolean
key:
type: string
string:
type: string
type:
type: string
type: object
type: array
x-kubernetes-list-map-keys:
- key
x-kubernetes-list-type: map
version:
description: Version is the version
of the edge
type: string
type: object
type: object
type: object
health:
Expand Down
Loading

0 comments on commit 7c1d5de

Please sign in to comment.