-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for Proxy-Wasm extensions.
Signed-off-by: John Plevyak <jplevyak@gmail.com> Signed-off-by: Piotr Sikora <piotrsikora@google.com>
- Loading branch information
1 parent
c155e8c
commit a74e733
Showing
213 changed files
with
16,321 additions
and
1,746 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# 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 = [ | ||
"//envoy/extensions/wasm/v3:pkg", | ||
"@com_github_cncf_udpa//udpa/annotations:pkg", | ||
], | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
syntax = "proto3"; | ||
|
||
package envoy.extensions.stat_sinks.wasm.v3; | ||
|
||
import "envoy/extensions/wasm/v3/wasm.proto"; | ||
|
||
import "udpa/annotations/status.proto"; | ||
import "udpa/annotations/versioning.proto"; | ||
import "validate/validate.proto"; | ||
|
||
option java_package = "io.envoyproxy.envoy.extensions.stat_sinks.wasm.v3"; | ||
option java_outer_classname = "WasmProto"; | ||
option java_multiple_files = true; | ||
option (udpa.annotations.file_status).package_version_status = ACTIVE; | ||
|
||
// [#protodoc-title: Wasm] | ||
// Wasm :ref:`configuration overview <config_stat_sinks_wasm>`. | ||
// [#extension: envoy.stat_sinks.wasm] | ||
|
||
message Wasm { | ||
// General Plugin configuration. | ||
envoy.extensions.wasm.v3.PluginConfig config = 1; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,113 @@ | ||
""" | ||
cargo-raze crate workspace functions | ||
DO NOT EDIT! Replaced on runs of cargo-raze | ||
""" | ||
|
||
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") | ||
load("@bazel_tools//tools/build_defs/repo:git.bzl", "new_git_repository") | ||
|
||
def _new_http_archive(name, **kwargs): | ||
if not native.existing_rule(name): | ||
http_archive(name = name, **kwargs) | ||
|
||
def _new_git_repository(name, **kwargs): | ||
if not native.existing_rule(name): | ||
new_git_repository(name = name, **kwargs) | ||
|
||
def raze_fetch_remote_crates(): | ||
_new_http_archive( | ||
name = "raze__ahash__0_3_8", | ||
url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/ahash/ahash-0.3.8.crate", | ||
type = "tar.gz", | ||
strip_prefix = "ahash-0.3.8", | ||
build_file = Label("//bazel/external/cargo/remote:ahash-0.3.8.BUILD"), | ||
) | ||
|
||
_new_http_archive( | ||
name = "raze__autocfg__1_0_0", | ||
url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/autocfg/autocfg-1.0.0.crate", | ||
type = "tar.gz", | ||
strip_prefix = "autocfg-1.0.0", | ||
build_file = Label("//bazel/external/cargo/remote:autocfg-1.0.0.BUILD"), | ||
) | ||
|
||
_new_http_archive( | ||
name = "raze__cfg_if__0_1_10", | ||
url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/cfg-if/cfg-if-0.1.10.crate", | ||
type = "tar.gz", | ||
strip_prefix = "cfg-if-0.1.10", | ||
build_file = Label("//bazel/external/cargo/remote:cfg-if-0.1.10.BUILD"), | ||
) | ||
|
||
_new_http_archive( | ||
name = "raze__hashbrown__0_7_2", | ||
url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/hashbrown/hashbrown-0.7.2.crate", | ||
type = "tar.gz", | ||
strip_prefix = "hashbrown-0.7.2", | ||
build_file = Label("//bazel/external/cargo/remote:hashbrown-0.7.2.BUILD"), | ||
) | ||
|
||
_new_http_archive( | ||
name = "raze__libc__0_2_74", | ||
url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/libc/libc-0.2.74.crate", | ||
type = "tar.gz", | ||
strip_prefix = "libc-0.2.74", | ||
build_file = Label("//bazel/external/cargo/remote:libc-0.2.74.BUILD"), | ||
) | ||
|
||
_new_http_archive( | ||
name = "raze__log__0_4_11", | ||
url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/log/log-0.4.11.crate", | ||
type = "tar.gz", | ||
strip_prefix = "log-0.4.11", | ||
build_file = Label("//bazel/external/cargo/remote:log-0.4.11.BUILD"), | ||
) | ||
|
||
_new_http_archive( | ||
name = "raze__memory_units__0_4_0", | ||
url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/memory_units/memory_units-0.4.0.crate", | ||
type = "tar.gz", | ||
strip_prefix = "memory_units-0.4.0", | ||
build_file = Label("//bazel/external/cargo/remote:memory_units-0.4.0.BUILD"), | ||
) | ||
|
||
_new_http_archive( | ||
name = "raze__proxy_wasm__0_1_2", | ||
url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/proxy-wasm/proxy-wasm-0.1.2.crate", | ||
type = "tar.gz", | ||
strip_prefix = "proxy-wasm-0.1.2", | ||
build_file = Label("//bazel/external/cargo/remote:proxy-wasm-0.1.2.BUILD"), | ||
) | ||
|
||
_new_http_archive( | ||
name = "raze__wee_alloc__0_4_5", | ||
url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/wee_alloc/wee_alloc-0.4.5.crate", | ||
type = "tar.gz", | ||
strip_prefix = "wee_alloc-0.4.5", | ||
build_file = Label("//bazel/external/cargo/remote:wee_alloc-0.4.5.BUILD"), | ||
) | ||
|
||
_new_http_archive( | ||
name = "raze__winapi__0_3_9", | ||
url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/winapi/winapi-0.3.9.crate", | ||
type = "tar.gz", | ||
strip_prefix = "winapi-0.3.9", | ||
build_file = Label("//bazel/external/cargo/remote:winapi-0.3.9.BUILD"), | ||
) | ||
|
||
_new_http_archive( | ||
name = "raze__winapi_i686_pc_windows_gnu__0_4_0", | ||
url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/winapi-i686-pc-windows-gnu/winapi-i686-pc-windows-gnu-0.4.0.crate", | ||
type = "tar.gz", | ||
strip_prefix = "winapi-i686-pc-windows-gnu-0.4.0", | ||
build_file = Label("//bazel/external/cargo/remote:winapi-i686-pc-windows-gnu-0.4.0.BUILD"), | ||
) | ||
|
||
_new_http_archive( | ||
name = "raze__winapi_x86_64_pc_windows_gnu__0_4_0", | ||
url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/winapi-x86_64-pc-windows-gnu/winapi-x86_64-pc-windows-gnu-0.4.0.crate", | ||
type = "tar.gz", | ||
strip_prefix = "winapi-x86_64-pc-windows-gnu-0.4.0", | ||
build_file = Label("//bazel/external/cargo/remote:winapi-x86_64-pc-windows-gnu-0.4.0.BUILD"), | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.