-
Notifications
You must be signed in to change notification settings - Fork 4.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[OSS] proxystate: add proxystate protos (#18216)
* proxystate: add proxystate protos to pbmesh and resolve imports and conflicts between message names
- Loading branch information
1 parent
926db9c
commit c932d79
Showing
38 changed files
with
11,604 additions
and
58 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
// Copyright (c) HashiCorp, Inc. | ||
// SPDX-License-Identifier: MPL-2.0 | ||
|
||
syntax = "proto3"; | ||
|
||
package hashicorp.consul.mesh.v1alpha1; | ||
|
||
message AccessLogs { | ||
// enabled enables access logging. | ||
bool enabled = 1; | ||
// disable_listener_logs turns off just listener logs for connections rejected by Envoy because they don't | ||
// have a matching listener filter. | ||
bool disable_listener_logs = 2; | ||
// type selects the output for logs: "file", "stderr". "stdout" | ||
LogSinkType type = 3; | ||
// path is the output file to write logs | ||
string path = 4; | ||
// The presence of one format string or the other implies the access log string encoding. | ||
// Defining both is invalid. | ||
oneof format { | ||
string json = 5; | ||
string text = 6; | ||
} | ||
} | ||
|
||
enum LogSinkType { | ||
// buf:lint:ignore ENUM_ZERO_VALUE_SUFFIX | ||
LOG_SINK_TYPE_DEFAULT = 0; | ||
LOG_SINK_TYPE_FILE = 1; | ||
LOG_SINK_TYPE_STDERR = 2; | ||
LOG_SINK_TYPE_STDOUT = 3; | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.