|
|
|
syntax = "proto3";
|
|
|
|
|
|
|
|
package envoy.admin.v2alpha;
|
|
|
|
|
|
|
|
import "google/protobuf/duration.proto";
|
|
|
|
|
|
|
|
option java_package = "io.envoyproxy.envoy.admin.v2alpha";
|
|
|
|
option java_outer_classname = "ServerInfoProto";
|
|
|
|
option java_multiple_files = true;
|
|
|
|
|
|
|
|
// [#protodoc-title: Server State]
|
|
|
|
|
|
|
|
// Proto representation of the value returned by /server_info, containing
|
|
|
|
// server version/server status information.
|
|
|
|
// [#next-free-field: 7]
|
|
|
|
message ServerInfo {
|
|
|
|
enum State {
|
|
|
|
// Server is live and serving traffic.
|
|
|
|
LIVE = 0;
|
api: protoxform tool and API reformat. (#8309)
This patch introduces a new tool, protoxform, that will be the basis of
the v2 -> v3 migration tooling. It operates as a Python protoc plugin,
within the same framework as protodoc, and provides the ability to
operate on protoc AST input and generate proto output.
As a first step, the tool is applied reflexively on v2, and functions as
a formatting tool. In later patches, this will be added to
check_format/fix_format scripts and CI.
Part of #8082.
Risk level: medium (it's possible that some inadvertent wire changes
occur, if they do, this patch should be rolled back).
Testing: manual inspection of diff, bazel test //test/..., some
grep/diff scripts to ensure we haven't lost any comments.
Signed-off-by: Harvey Tuch <htuch@google.com>
Mirrored from https://github.com/envoyproxy/envoy @ 08b123a8321d359ea66cbbc0e2926545798dabd3
5 years ago
|
|
|
|
|
|
|
// Server is draining listeners in response to external health checks failing.
|
|
|
|
DRAINING = 1;
|
api: protoxform tool and API reformat. (#8309)
This patch introduces a new tool, protoxform, that will be the basis of
the v2 -> v3 migration tooling. It operates as a Python protoc plugin,
within the same framework as protodoc, and provides the ability to
operate on protoc AST input and generate proto output.
As a first step, the tool is applied reflexively on v2, and functions as
a formatting tool. In later patches, this will be added to
check_format/fix_format scripts and CI.
Part of #8082.
Risk level: medium (it's possible that some inadvertent wire changes
occur, if they do, this patch should be rolled back).
Testing: manual inspection of diff, bazel test //test/..., some
grep/diff scripts to ensure we haven't lost any comments.
Signed-off-by: Harvey Tuch <htuch@google.com>
Mirrored from https://github.com/envoyproxy/envoy @ 08b123a8321d359ea66cbbc0e2926545798dabd3
5 years ago
|
|
|
|
|
|
|
// Server has not yet completed cluster manager initialization.
|
|
|
|
PRE_INITIALIZING = 2;
|
api: protoxform tool and API reformat. (#8309)
This patch introduces a new tool, protoxform, that will be the basis of
the v2 -> v3 migration tooling. It operates as a Python protoc plugin,
within the same framework as protodoc, and provides the ability to
operate on protoc AST input and generate proto output.
As a first step, the tool is applied reflexively on v2, and functions as
a formatting tool. In later patches, this will be added to
check_format/fix_format scripts and CI.
Part of #8082.
Risk level: medium (it's possible that some inadvertent wire changes
occur, if they do, this patch should be rolled back).
Testing: manual inspection of diff, bazel test //test/..., some
grep/diff scripts to ensure we haven't lost any comments.
Signed-off-by: Harvey Tuch <htuch@google.com>
Mirrored from https://github.com/envoyproxy/envoy @ 08b123a8321d359ea66cbbc0e2926545798dabd3
5 years ago
|
|
|
|
|
|
|
// Server is running the cluster manager initialization callbacks (e.g., RDS).
|
|
|
|
INITIALIZING = 3;
|
|
|
|
}
|
|
|
|
|
api: protoxform tool and API reformat. (#8309)
This patch introduces a new tool, protoxform, that will be the basis of
the v2 -> v3 migration tooling. It operates as a Python protoc plugin,
within the same framework as protodoc, and provides the ability to
operate on protoc AST input and generate proto output.
As a first step, the tool is applied reflexively on v2, and functions as
a formatting tool. In later patches, this will be added to
check_format/fix_format scripts and CI.
Part of #8082.
Risk level: medium (it's possible that some inadvertent wire changes
occur, if they do, this patch should be rolled back).
Testing: manual inspection of diff, bazel test //test/..., some
grep/diff scripts to ensure we haven't lost any comments.
Signed-off-by: Harvey Tuch <htuch@google.com>
Mirrored from https://github.com/envoyproxy/envoy @ 08b123a8321d359ea66cbbc0e2926545798dabd3
5 years ago
|
|
|
// Server version.
|
|
|
|
string version = 1;
|
|
|
|
|
|
|
|
// State of the server.
|
|
|
|
State state = 2;
|
|
|
|
|
|
|
|
// Uptime since current epoch was started.
|
|
|
|
google.protobuf.Duration uptime_current_epoch = 3;
|
|
|
|
|
|
|
|
// Uptime since the start of the first epoch.
|
|
|
|
google.protobuf.Duration uptime_all_epochs = 4;
|
|
|
|
|
|
|
|
// Hot restart version.
|
|
|
|
string hot_restart_version = 5;
|
|
|
|
|
|
|
|
// Command line options the server is currently running with.
|
|
|
|
CommandLineOptions command_line_options = 6;
|
|
|
|
}
|
|
|
|
|
|
|
|
// [#next-free-field: 29]
|
|
|
|
message CommandLineOptions {
|
api: protoxform tool and API reformat. (#8309)
This patch introduces a new tool, protoxform, that will be the basis of
the v2 -> v3 migration tooling. It operates as a Python protoc plugin,
within the same framework as protodoc, and provides the ability to
operate on protoc AST input and generate proto output.
As a first step, the tool is applied reflexively on v2, and functions as
a formatting tool. In later patches, this will be added to
check_format/fix_format scripts and CI.
Part of #8082.
Risk level: medium (it's possible that some inadvertent wire changes
occur, if they do, this patch should be rolled back).
Testing: manual inspection of diff, bazel test //test/..., some
grep/diff scripts to ensure we haven't lost any comments.
Signed-off-by: Harvey Tuch <htuch@google.com>
Mirrored from https://github.com/envoyproxy/envoy @ 08b123a8321d359ea66cbbc0e2926545798dabd3
5 years ago
|
|
|
enum IpVersion {
|
|
|
|
v4 = 0;
|
|
|
|
v6 = 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
enum Mode {
|
|
|
|
// Validate configs and then serve traffic normally.
|
|
|
|
Serve = 0;
|
|
|
|
|
|
|
|
// Validate configs and exit.
|
|
|
|
Validate = 1;
|
|
|
|
|
|
|
|
// Completely load and initialize the config, and then exit without running the listener loop.
|
|
|
|
InitOnly = 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
reserved 12;
|
|
|
|
|
|
|
|
// See :option:`--base-id` for details.
|
|
|
|
uint64 base_id = 1;
|
|
|
|
|
|
|
|
// See :option:`--concurrency` for details.
|
|
|
|
uint32 concurrency = 2;
|
|
|
|
|
|
|
|
// See :option:`--config-path` for details.
|
|
|
|
string config_path = 3;
|
|
|
|
|
|
|
|
// See :option:`--config-yaml` for details.
|
|
|
|
string config_yaml = 4;
|
|
|
|
|
|
|
|
// See :option:`--allow-unknown-static-fields` for details.
|
|
|
|
bool allow_unknown_static_fields = 5;
|
|
|
|
|
|
|
|
// See :option:`--reject-unknown-dynamic-fields` for details.
|
|
|
|
bool reject_unknown_dynamic_fields = 26;
|
|
|
|
|
|
|
|
// See :option:`--admin-address-path` for details.
|
|
|
|
string admin_address_path = 6;
|
|
|
|
|
|
|
|
// See :option:`--local-address-ip-version` for details.
|
|
|
|
IpVersion local_address_ip_version = 7;
|
|
|
|
|
|
|
|
// See :option:`--log-level` for details.
|
|
|
|
string log_level = 8;
|
|
|
|
|
|
|
|
// See :option:`--component-log-level` for details.
|
|
|
|
string component_log_level = 9;
|
|
|
|
|
|
|
|
// See :option:`--log-format` for details.
|
|
|
|
string log_format = 10;
|
|
|
|
|
|
|
|
// See :option:`--log-format-escaped` for details.
|
|
|
|
bool log_format_escaped = 27;
|
|
|
|
|
|
|
|
// See :option:`--log-path` for details.
|
|
|
|
string log_path = 11;
|
|
|
|
|
|
|
|
// See :option:`--service-cluster` for details.
|
|
|
|
string service_cluster = 13;
|
|
|
|
|
|
|
|
// See :option:`--service-node` for details.
|
|
|
|
string service_node = 14;
|
|
|
|
|
|
|
|
// See :option:`--service-zone` for details.
|
|
|
|
string service_zone = 15;
|
|
|
|
|
|
|
|
// See :option:`--file-flush-interval-msec` for details.
|
|
|
|
google.protobuf.Duration file_flush_interval = 16;
|
|
|
|
|
|
|
|
// See :option:`--drain-time-s` for details.
|
|
|
|
google.protobuf.Duration drain_time = 17;
|
|
|
|
|
|
|
|
// See :option:`--parent-shutdown-time-s` for details.
|
|
|
|
google.protobuf.Duration parent_shutdown_time = 18;
|
|
|
|
|
|
|
|
// See :option:`--mode` for details.
|
|
|
|
Mode mode = 19;
|
|
|
|
|
|
|
|
// max_stats and max_obj_name_len are now unused and have no effect.
|
|
|
|
uint64 max_stats = 20 [deprecated = true];
|
api: protoxform tool and API reformat. (#8309)
This patch introduces a new tool, protoxform, that will be the basis of
the v2 -> v3 migration tooling. It operates as a Python protoc plugin,
within the same framework as protodoc, and provides the ability to
operate on protoc AST input and generate proto output.
As a first step, the tool is applied reflexively on v2, and functions as
a formatting tool. In later patches, this will be added to
check_format/fix_format scripts and CI.
Part of #8082.
Risk level: medium (it's possible that some inadvertent wire changes
occur, if they do, this patch should be rolled back).
Testing: manual inspection of diff, bazel test //test/..., some
grep/diff scripts to ensure we haven't lost any comments.
Signed-off-by: Harvey Tuch <htuch@google.com>
Mirrored from https://github.com/envoyproxy/envoy @ 08b123a8321d359ea66cbbc0e2926545798dabd3
5 years ago
|
|
|
|
|
|
|
uint64 max_obj_name_len = 21 [deprecated = true];
|
|
|
|
|
|
|
|
// See :option:`--disable-hot-restart` for details.
|
|
|
|
bool disable_hot_restart = 22;
|
|
|
|
|
|
|
|
// See :option:`--enable-mutex-tracing` for details.
|
|
|
|
bool enable_mutex_tracing = 23;
|
|
|
|
|
|
|
|
// See :option:`--restart-epoch` for details.
|
|
|
|
uint32 restart_epoch = 24;
|
|
|
|
|
|
|
|
// See :option:`--cpuset-threads` for details.
|
|
|
|
bool cpuset_threads = 25;
|
|
|
|
|
|
|
|
// See :option:`--disable-extensions` for details.
|
|
|
|
repeated string disabled_extensions = 28;
|
|
|
|
}
|