UNPKG

@cerbos/core

Version:

Common types used by the @cerbos/grpc, @cerbos/http, and @cerbos/embedded client libraries

33 lines (24 loc) 680 B
// Code generated by protoc-gen-ts_proto. DO NOT EDIT. // source: grpc/health/v1/health.proto /* eslint-disable */ export const protobufPackage = "grpc.health.v1"; export interface HealthCheckRequest { service: string; } export interface HealthCheckResponse { status: HealthCheckResponse_ServingStatus; } export enum HealthCheckResponse_ServingStatus { UNKNOWN = 0, SERVING = 1, NOT_SERVING = 2, SERVICE_UNKNOWN = 3, } export interface HealthListRequest {} export interface HealthListResponse { statuses: { [key: string]: HealthCheckResponse }; } export interface HealthListResponse_StatusesEntry { key: string; value: HealthCheckResponse | undefined; }