Created
January 24, 2018 11:23
-
-
Save bwplotka/2638c836700a76247a84f5ee65199ae5 to your computer and use it in GitHub Desktop.
Kedge's backend proto that specifies "how" to proxy to the backend.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/// Backend data will be used to set up a pool of HTTP connection to the specified endpoint that will be kept open. | |
message Backend { | |
/// name is the string identifying the backend in all other configs. | |
string name = 1; | |
/// balancer decides which load balancing policy to use. | |
Balancer balancer = 2; | |
/// security controls the TLS connection details for the backend (HTTPS). If not present, insecure HTTP mode is used. | |
Security security = 3; | |
oneof resolver { | |
common.resolvers.SrvResolver srv = 10; | |
common.resolvers.K8sResolver k8s = 11; | |
common.resolvers.HostResolver host = 12; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment