Skip to content

Commit

Permalink
Update conditions api (#85)
Browse files Browse the repository at this point in the history
Signed-off-by: Tamal Saha <tamal@appscode.com>
  • Loading branch information
tamalsaha authored Jul 22, 2023
1 parent d45cf33 commit fb4e4b8
Show file tree
Hide file tree
Showing 34 changed files with 647 additions and 579 deletions.
23 changes: 12 additions & 11 deletions api/openapi-spec/swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -23892,42 +23892,43 @@
}
},
"xyz.kmodules.client-go.api.v1.Condition": {
"description": "Condition defines an observation of a object operational state.",
"type": "object",
"required": [
"type",
"status",
"lastTransitionTime",
"reason",
"message"
"lastTransitionTime"
],
"properties": {
"lastTransitionTime": {
"description": "Last time the condition transitioned from one status to another. This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable.",
"description": "Last time the condition transitioned from one status to another. This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable.",
"default": {},
"$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time"
},
"message": {
"description": "A human readable message indicating details about the transition. This field may be empty.",
"type": "string",
"default": ""
"description": "A human-readable message indicating details about the transition. This field may be empty.",
"type": "string"
},
"observedGeneration": {
"description": "If set, this represents the .metadata.generation that the condition was set based upon. For instance, if .metadata.generation is currently 12, but the .status.condition[x].observedGeneration is 9, the condition is out of date with respect to the current state of the instance.",
"type": "integer",
"format": "int64"
},
"reason": {
"description": "The reason for the condition's last transition in CamelCase. The specific API may choose whether or not this field is considered a guaranteed API. This field may not be empty.",
"type": "string",
"default": ""
"description": "The reason for the condition's last transition in CamelCase. The specific API may choose whether this field is considered a guaranteed API. This field may not be empty.",
"type": "string"
},
"severity": {
"description": "Severity provides an explicit classification of Reason code, so the users or machines can immediately understand the current situation and act accordingly. The Severity field MUST be set only when Status=False.",
"type": "string"
},
"status": {
"description": "Status of the condition, one of True, False, Unknown.",
"type": "string",
"default": ""
},
"type": {
"description": "Type of condition in CamelCase or in foo.example.com/CamelCase. Many .condition.type values are consistent across resources like Available, but because arbitrary conditions can be useful (see .node.status.conditions), the ability to deconflict is important.",
"description": "Type of condition in CamelCase or in foo.example.com/CamelCase. Many .condition.type values are consistent across resources like Available, but because arbitrary util can be useful (see .node.status.util), the ability to deconflict is important.",
"type": "string",
"default": ""
}
Expand Down
22 changes: 14 additions & 8 deletions apis/catalog/v1alpha1/openapi_generated.go

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

22 changes: 14 additions & 8 deletions apis/config/v1alpha1/openapi_generated.go

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

22 changes: 14 additions & 8 deletions apis/engine/v1alpha1/openapi_generated.go

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

22 changes: 14 additions & 8 deletions apis/kubevault/v1alpha1/openapi_generated.go

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

Loading

0 comments on commit fb4e4b8

Please sign in to comment.