package command

Mouse Melon logoGet desktop application:
View/edit binary Protocol Buffers messages

message ActivateListener

command.proto:207

Used in: Request

message AddBackend

command.proto:405

add a backend

Used in: ClusterInformation, Request

message AddCertificate

command.proto:294

Add a new TLS certificate to an HTTPs listener

Used in: Request

message AggregatedMetrics

command.proto:580

Aggregated metrics of main process & workers

Used in: ResponseContent

message AvailableMetrics

command.proto:574

lists of available metrics in a worker, or in the main process (in which case there are no cluster metrics)

Used in: ResponseContent

message BackendMetrics

command.proto:612

Used in: ClusterMetrics

message Bucket

command.proto:658

a prometheus histogram bucket

Used in: FilteredHistogram

message CertificateAndKey

command.proto:316

Used in: AddCertificate, CertificatesWithFingerprints, ReplaceCertificate

message CertificateSummary

command.proto:337

domain name and fingerprint of a certificate

Used in: CertificatesByAddress

message CertificatesByAddress

command.proto:349

Summaries of certificates for a given address

Used in: ListOfCertificatesByAddress

message CertificatesWithFingerprints

command.proto:355

to reply to several certificate queries

Used in: ResponseContent

message Cluster

command.proto:370

A cluster is what binds a frontend to backends with routing rules

Used in: ClusterInformation, Request

message ClusterHashes

command.proto:542

Used in: ResponseContent

message ClusterInformation

command.proto:519

Information about a given cluster Contains types usually used in requests, because they are readily available in protobuf

Used in: ClusterInformations

message ClusterInformations

command.proto:513

Used in: ResponseContent

message ClusterMetrics

command.proto:605

the metrics of a given cluster, with several backends

Used in: AggregatedMetrics, WorkerMetrics

message CountRequests

command.proto:114

Used in: Request

(message has no fields)

message CustomHttpAnswers

command.proto:183

custom HTTP answers, useful for 404, 503 pages

Used in: HttpListenerConfig, HttpsListenerConfig

message DeactivateListener

command.proto:213

Used in: Request

message Event

command.proto:528

an event produced by a worker to notify about backends status

Used in: ResponseContent

enum EventKind

command.proto:535

Used in: Event

message FilteredHistogram

command.proto:651

a histogram meant to be translated to prometheus

Used in: FilteredMetrics

message FilteredMetrics

command.proto:618

A metric, in a "filtered" format, which means: sendable to outside programs.

Used in: AggregatedMetrics, BackendMetrics, ClusterMetrics, WorkerMetrics

message FilteredTimeSerie

command.proto:632

Used in: FilteredMetrics

message FrontendFilters

command.proto:261

list the frontends, filtered by protocol and/or domain

Used in: Request

message HardStop

command.proto:112

Used in: Request

(message has no fields)

message HttpEndpoint

command.proto:807

Used in: ProtobufEndpoint

message HttpListenerConfig

command.proto:117

details of an HTTP listener

Used in: ListenersList, Request

message HttpsListenerConfig

command.proto:136

details of an HTTPS listener

Used in: ListenersList, Request

message InitialState

command.proto:752

the Sōzu state, passed to a new worker. Consists in a collection of worker requests

message IpAddress

command.proto:676

Used in: SocketAddress

message ListListeners

command.proto:106

Used in: Request

(message has no fields)

message ListOfCertificatesByAddress

command.proto:344

Used by workers to reply to some certificate queries

Used in: ResponseContent

message ListWorkers

command.proto:105

Used in: Request

(message has no fields)

message ListedFrontends

command.proto:507

lists of frontends present in the state

Used in: ResponseContent

enum ListenerType

command.proto:224

Used in: ActivateListener, DeactivateListener, RemoveListener

message ListenersCount

command.proto:741

Addresses of listeners, passed to new workers

message ListenersList

command.proto:231

All listeners, listed

Used in: ResponseContent

enum LoadBalancingAlgorithms

command.proto:381

Used in: Cluster

message LoadBalancingParams

command.proto:423

Used in: AddBackend

enum LoadMetric

command.proto:395

how sozu measures which backend is less loaded

Used in: Cluster

enum MetricsConfiguration

command.proto:449

options to configure metrics collection

Used in: Request

message PathRule

command.proto:269

A filter for the path of incoming requests

Used in: RequestHttpFrontend

enum PathRuleKind

command.proto:277

The kind of filter used for path rules

Used in: PathRule

message Percentiles

command.proto:638

Used in: FilteredMetrics

message ProtobufAccessLog

command.proto:757

An access log, meant to be passed to another agent

enum ProtobufAccessLogFormat

command.proto:735

Used in: ServerConfig

message ProtobufEndpoint

command.proto:800

Used in: ProtobufAccessLog

enum ProxyProtocolConfig

command.proto:388

Used in: Cluster

message QueryCertificatesFilters

command.proto:329

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.

Used in: Request

message QueryClusterByDomain

command.proto:427

Used in: Request

message QueryClustersHashes

command.proto:110

Used in: Request

(message has no fields)

message QueryMetricsOptions

command.proto:433

Options when querying metrics

Used in: Request

message RemoveBackend

command.proto:416

remove an existing backend

Used in: Request

message RemoveCertificate

command.proto:301

Used in: Request

message RemoveListener

command.proto:219

Used in: Request

message ReplaceCertificate

command.proto:307

Used in: Request

message Request

command.proto:5

A message received by Sōzu to change its state or query information

Used in: WorkerRequest

message RequestCounts

command.proto:664

Used in: ResponseContent

message RequestHttpFrontend

command.proto:241

An HTTP or HTTPS frontend, as order to, or received from, Sōzu

Used in: ClusterInformation, ListedFrontends, Request

message RequestTcpFrontend

command.proto:252

Used in: ClusterInformation, ListedFrontends, Request

message Response

command.proto:459

Response to a request

message ResponseContent

command.proto:470

content of a response

Used in: Response, WorkerResponse, WorkerResponses

enum ResponseStatus

command.proto:547

Used in: Response, WorkerResponse

message ReturnListenSockets

command.proto:113

Used in: Request

(message has no fields)

enum RulePosition

command.proto:287

TODO: find a proper definition for this

Used in: RequestHttpFrontend

enum RunState

command.proto:566

Runstate of a worker

Used in: WorkerInfo

message ServerConfig

command.proto:715

Used by a worker to start its server loop. The defaults should match those of the config module

message ServerMetricsConfig

command.proto:707

intended to workers

Used in: ServerConfig

message SocketAddress

command.proto:671

matches std::net::SocketAddr in the Rust library beware that the ports are expressed with uint32 here, but they should NOT exceed uint16 value

Used in: ActivateListener, AddBackend, AddCertificate, CertificatesByAddress, DeactivateListener, Event, HttpListenerConfig, HttpsListenerConfig, ProtobufAccessLog, RemoveBackend, RemoveCertificate, RemoveListener, ReplaceCertificate, RequestHttpFrontend, RequestTcpFrontend, TcpListenerConfig

message SoftStop

command.proto:111

Used in: Request

(message has no fields)

message Status

command.proto:109

Used in: Request

(message has no fields)

message SubscribeEvents

command.proto:108

Used in: Request

(message has no fields)

message TcpEndpoint

command.proto:817

Used in: ProtobufEndpoint

(message has no fields)

message TcpListenerConfig

command.proto:168

details of an TCP listener

Used in: ListenersList, Request

enum TlsVersion

command.proto:360

Used in: CertificateAndKey, HttpsListenerConfig

message Uint128

command.proto:684

used to represent the 128 bits of an IPv6 address

Used in: IpAddress, ProtobufAccessLog

message UpgradeMain

command.proto:107

Used in: Request

(message has no fields)

message WorkerInfo

command.proto:559

Information about a worker with id, pid, runstate

Used in: WorkerInfos

message WorkerInfos

command.proto:554

A list of worker infos

Used in: ResponseContent

message WorkerMetrics

command.proto:597

All metrics of a worker: proxy and clusters Populated by Options so partial results can be sent

Used in: AggregatedMetrics, ResponseContent

message WorkerRequest

command.proto:692

This is sent only from Sōzu to Sōzu

Used in: InitialState

message WorkerResponse

command.proto:698

A response as sent by a worker

message WorkerResponses

command.proto:502

a map of worker_id -> ResponseContent

Used in: ResponseContent