Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[OSS] proxystate: add proxystate protos #18216

Merged
merged 8 commits into from
Jul 21, 2023
18 changes: 18 additions & 0 deletions proto-public/pbmesh/v1alpha1/access_logs.pb.binary.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

319 changes: 319 additions & 0 deletions proto-public/pbmesh/v1alpha1/access_logs.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

32 changes: 32 additions & 0 deletions proto-public/pbmesh/v1alpha1/access_logs.proto
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;
}
18 changes: 18 additions & 0 deletions proto-public/pbmesh/v1alpha1/address.pb.binary.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading