redis.proto 999 B

1234567891011121314151617181920212223
  1. syntax = "proto3";
  2. package envoy.config.health_checker.redis.v2;
  3. import "udpa/annotations/status.proto";
  4. option java_package = "io.envoyproxy.envoy.config.health_checker.redis.v2";
  5. option java_outer_classname = "RedisProto";
  6. option java_multiple_files = true;
  7. option go_package = "github.com/envoyproxy/go-control-plane/envoy/config/health_checker/redis/v2;redisv2";
  8. option (udpa.annotations.file_status).package_version_status = ACTIVE;
  9. // [#protodoc-title: Redis]
  10. // Redis health checker :ref:`configuration overview <config_health_checkers_redis>`.
  11. // [#extension: envoy.health_checkers.redis]
  12. message Redis {
  13. // If set, optionally perform ``EXISTS <key>`` instead of ``PING``. A return value
  14. // from Redis of 0 (does not exist) is considered a passing healthcheck. A return value other
  15. // than 0 is considered a failure. This allows the user to mark a Redis instance for maintenance
  16. // by setting the specified key to any value and waiting for traffic to drain.
  17. string key = 1;
  18. }