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
IpAddress
. - Nested message and enum types in
ProtobufEndpoint
. - 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
- custom HTTP answers, useful for 404, 503 pages
- list the frontends, filtered by protocol and/or domain
- details of an HTTP listener
- details of an HTTPS listener
- the Sōzu state, passed to a new worker. Consists in a collection of worker requests
- Used by workers to reply to some certificate queries
- lists of frontends present in the state
- Addresses of listeners, passed to new workers
- All listeners, listed
- A filter for the path of incoming requests
- An access log, meant to be passed to another agent
- 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
- Used by a worker to start its server loop. The defaults should match those of the config module
- intended to workers
- matches std::net::SocketAddr in the Rust library beware that the ports are expressed with uint32 here, but they should NOT exceed uint16 value
- details of an TCP listener
- used to represent the 128 bits of an IPv6 address
- 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
- This is sent only from Sōzu to Sōzu
- A response as sent by a worker
- 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