Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
124 changes: 124 additions & 0 deletions kubernetes/customresourcedefinitions.gen.yaml

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

662 changes: 377 additions & 285 deletions networking/v1alpha3/destination_rule.pb.go

Large diffs are not rendered by default.

52 changes: 51 additions & 1 deletion networking/v1alpha3/destination_rule.pb.html

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

11 changes: 11 additions & 0 deletions networking/v1alpha3/destination_rule.proto
Original file line number Diff line number Diff line change
@@ -447,6 +447,15 @@ message LoadBalancerSettings {
// Increasing the table size reduces the amount of disruption.
uint64 table_size = 1;
};

// CookieAttribute defines an API for adding additional attributes for a HTTP cookie.
message CookieAttribute {
// The name of the cookie attribute.
string name = 1 [(google.api.field_behavior) = REQUIRED];
// The optional value of the cookie attribute.
string value = 2;
}

// Describes a HTTP cookie that will be used as the hash key for the
// Consistent Hash load balancer.
message HTTPCookie {
@@ -458,6 +467,8 @@ message LoadBalancerSettings {
// generated if the cookie is not present. If the TTL is present and zero,
// the generated cookie will be a session cookie.
google.protobuf.Duration ttl = 3;
// Additional attributes for the cookie. They will be used when generating a new cookie.
repeated CookieAttribute attributes = 4;
};

// The hash key to use.
21 changes: 21 additions & 0 deletions networking/v1alpha3/destination_rule_deepcopy.gen.go
11 changes: 11 additions & 0 deletions networking/v1alpha3/destination_rule_json.gen.go
660 changes: 376 additions & 284 deletions networking/v1beta1/destination_rule.pb.go

Large diffs are not rendered by default.

11 changes: 11 additions & 0 deletions networking/v1beta1/destination_rule.proto
Original file line number Diff line number Diff line change
@@ -422,6 +422,15 @@ message LoadBalancerSettings {
// Increasing the table size reduces the amount of disruption.
uint64 table_size = 1;
};

// CookieAttribute defines an API for adding additional attributes for a HTTP cookie.
message CookieAttribute {
// The name of the cookie attribute.
string name = 1 [(google.api.field_behavior) = REQUIRED];
// The optional value of the cookie attribute.
string value = 2;
}

// Describes a HTTP cookie that will be used as the hash key for the
// Consistent Hash load balancer.
message HTTPCookie {
@@ -433,6 +442,8 @@ message LoadBalancerSettings {
// generated if the cookie is not present. If the TTL is present and zero,
// the generated cookie will be a session cookie.
google.protobuf.Duration ttl = 3;
// Additional attributes for the cookie. They will be used when generating a new cookie.
repeated CookieAttribute attributes = 4;
};

// The hash key to use.
21 changes: 21 additions & 0 deletions networking/v1beta1/destination_rule_deepcopy.gen.go
11 changes: 11 additions & 0 deletions networking/v1beta1/destination_rule_json.gen.go