getDeployHealthWithHttpInfo method
Health reports whether this deployment can observe the delivery plane.
Health reports whether this deployment can observe the delivery plane. 200 only when the Kubernetes API answers AND the App custom resource is served; 503 with the same shape otherwise, naming which half failed. It reports BOOLEANS and never the underlying error, because the route is unauthenticated — liveness must be probe-able without a token — and a raw client error can disclose the apiserver address or an RBAC detail. That detail is logged server-side instead.
Note: This method returns the HTTP Response.
Implementation
Future<Response> getDeployHealthWithHttpInfo() async {
// ignore: prefer_const_declarations
final path = r'/v1/deploy/health';
// ignore: prefer_final_locals
Object? postBody;
final queryParams = <QueryParam>[];
final headerParams = <String, String>{};
final formParams = <String, String>{};
const contentTypes = <String>[];
return apiClient.invokeAPI(
path,
'GET',
queryParams,
postBody,
headerParams,
formParams,
contentTypes.isEmpty ? null : contentTypes.first,
);
}