protos: Move simple_http_cache config proto to api (#16230)

Signed-off-by: Ryan Northey <ryan@synca.io>

Mirrored from https://github.com/envoyproxy/envoy @ dede3aace85684d732758dab02806f773bd56846
pull/624/head
data-plane-api(Azure Pipelines) 4 years ago
parent 3a6f986af2
commit 38ed9f8209
  1. 1
      BUILD
  2. 9
      envoy/extensions/cache/simple_http_cache/v3alpha/BUILD
  3. 16
      envoy/extensions/cache/simple_http_cache/v3alpha/config.proto
  4. 3
      envoy/extensions/filters/http/cache/v3alpha/cache.proto
  5. 3
      envoy/extensions/filters/http/cache/v4alpha/cache.proto
  6. 1
      versioning/BUILD

@ -158,6 +158,7 @@ proto_library(
"//envoy/extensions/access_loggers/open_telemetry/v3alpha:pkg",
"//envoy/extensions/access_loggers/stream/v3:pkg",
"//envoy/extensions/access_loggers/wasm/v3:pkg",
"//envoy/extensions/cache/simple_http_cache/v3alpha:pkg",
"//envoy/extensions/clusters/aggregate/v3:pkg",
"//envoy/extensions/clusters/dynamic_forward_proxy/v3:pkg",
"//envoy/extensions/clusters/redis/v3:pkg",

@ -0,0 +1,9 @@
# DO NOT EDIT. This file is generated by tools/proto_format/proto_sync.py.
load("@envoy_api//bazel:api_build_system.bzl", "api_proto_package")
licenses(["notice"]) # Apache 2
api_proto_package(
deps = ["@com_github_cncf_udpa//udpa/annotations:pkg"],
)

@ -0,0 +1,16 @@
syntax = "proto3";
package envoy.extensions.cache.simple_http_cache.v3alpha;
import "udpa/annotations/status.proto";
option java_package = "io.envoyproxy.envoy.extensions.cache.simple_http_cache.v3alpha";
option java_outer_classname = "ConfigProto";
option java_multiple_files = true;
option (udpa.annotations.file_status).package_version_status = ACTIVE;
// [#protodoc-title: SimpleHttpCache CacheFilter storage plugin]
// [#extension: envoy.cache.simple_http_cache]
message SimpleHttpCacheConfig {
}

@ -19,7 +19,7 @@ option (udpa.annotations.file_status).package_version_status = ACTIVE;
// [#protodoc-title: HTTP Cache Filter]
// [#extension: envoy.filters.http.cache.simple_http_cache]
// [#extension: envoy.filters.http.cache]
message CacheConfig {
option (udpa.annotations.versioning).previous_message_type =
"envoy.config.filter.http.cache.v2alpha.CacheConfig";
@ -50,6 +50,7 @@ message CacheConfig {
}
// Config specific to the cache storage implementation.
// [#extension-category: envoy.filters.http.cache]
google.protobuf.Any typed_config = 1 [(validate.rules).any = {required: true}];
// List of matching rules that defines allowed *Vary* headers.

@ -19,7 +19,7 @@ option (udpa.annotations.file_status).package_version_status = NEXT_MAJOR_VERSIO
// [#protodoc-title: HTTP Cache Filter]
// [#extension: envoy.filters.http.cache.simple_http_cache]
// [#extension: envoy.filters.http.cache]
message CacheConfig {
option (udpa.annotations.versioning).previous_message_type =
"envoy.extensions.filters.http.cache.v3alpha.CacheConfig";
@ -50,6 +50,7 @@ message CacheConfig {
}
// Config specific to the cache storage implementation.
// [#extension-category: envoy.filters.http.cache]
google.protobuf.Any typed_config = 1 [(validate.rules).any = {required: true}];
// List of matching rules that defines allowed *Vary* headers.

@ -41,6 +41,7 @@ proto_library(
"//envoy/extensions/access_loggers/open_telemetry/v3alpha:pkg",
"//envoy/extensions/access_loggers/stream/v3:pkg",
"//envoy/extensions/access_loggers/wasm/v3:pkg",
"//envoy/extensions/cache/simple_http_cache/v3alpha:pkg",
"//envoy/extensions/clusters/aggregate/v3:pkg",
"//envoy/extensions/clusters/dynamic_forward_proxy/v3:pkg",
"//envoy/extensions/clusters/redis/v3:pkg",

Loading…
Cancel
Save