Skip to content

Commit

Permalink
[OSS] proxystate: add proxystate protos (#18216)
Browse files Browse the repository at this point in the history
* proxystate: add proxystate protos to pbmesh and resolve imports and conflicts between message names
  • Loading branch information
ndhanushkodi authored Jul 21, 2023
1 parent 926db9c commit c932d79
Show file tree
Hide file tree
Showing 38 changed files with 11,604 additions and 58 deletions.
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

0 comments on commit c932d79

Please sign in to comment.