Module sozu_command_lib::proto::command
source · Expand description
Contains all types received by and sent from Sōzu
Modules§
- Nested message and enum types in
FilteredMetrics
. - Nested message and enum types in
Request
. - Nested message and enum types in
ResponseContent
.
Structs§
- add a backend
- Add a new TLS certificate to an HTTPs listener
- Aggregated metrics of main process & workers
- lists of available metrics in a worker, or in the main process (in which case there are no cluster metrics)
- domain name and fingerprint of a certificate
- Summaries of certificates for a given address
- to reply to several certificate queries
- A cluster is what binds a frontend to backends with routing rules
- Information about a given cluster Contains types usually used in requests, because they are readily available in protobuf
- the metrics of a given cluster, with several backends
- list the frontends, filtered by protocol and/or domain
- details of an HTTP listener
- details of an HTTPS listener
- Used by workers to reply to some certificate queries
- lists of frontends present in the state
- All listeners, listed
- A filter for the path of incoming requests
- Should be either a domain name or a fingerprint. These filter do not compound, use either one but not both. If none of them is specified, all certificates will be returned.
- Options when querying metrics
- remove an existing backend
- A message received by Sōzu to change its state or query information
- An HTTP or HTTPS frontend, as order to, or received from, Sōzu
- Response to a request
- content of a response
- details of an TCP listener
- Information about a worker with id, pid, runstate
- A list of worker infos
- All metrics of a worker: proxy and clusters Populated by Options so partial results can be sent
- a map of worker_id -> ResponseContent
Enums§
- how sozu measures which backend is less loaded
- options to configure metrics collection
- The kind of filter used for path rules
- TODO: find a proper definition for this
- Runstate of a worker