Skip to content

Commit 51d1545

Browse files
committed
add comments/docs
1 parent 1959a32 commit 51d1545

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

go-routesapi/routes.pb.go

Lines changed: 7 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

routes.proto

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,8 +162,13 @@ message WorkloadRoutingRulesRequest {
162162
// TrafficManagerPolicy indicates the policy used to determine whether
163163
// or not to use the traffic manager for sandbox traffic.
164164
enum TrafficManagerPolicy {
165+
// UNSPECIFIED is the default value if not provided by the client,
166+
// matching all concrete tmPolicies.
165167
UNSPECIFIED = 0;
168+
// HEADER indicates the traffic manager will process traffic only
169+
// if the header is provided
166170
HEADER = 1;
171+
// ALL indicates all traffic goes to the traffic manager
167172
ALL = 2;
168173
}
169174

0 commit comments

Comments
 (0)