Skip to content
Open
Show file tree
Hide file tree
Changes from 2 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
908 changes: 908 additions & 0 deletions extensions/v1alpha1/extension_filter.pb.go

Large diffs are not rendered by default.

565 changes: 565 additions & 0 deletions extensions/v1alpha1/extension_filter.pb.html

Large diffs are not rendered by default.

521 changes: 521 additions & 0 deletions extensions/v1alpha1/extension_filter.proto

Large diffs are not rendered by default.

90 changes: 90 additions & 0 deletions extensions/v1alpha1/extension_filter_deepcopy.gen.go

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

56 changes: 56 additions & 0 deletions extensions/v1alpha1/extension_filter_json.gen.go

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

19 changes: 11 additions & 8 deletions extensions/v1alpha1/wasm.proto
Original file line number Diff line number Diff line change
Expand Up @@ -356,6 +356,17 @@ message WasmPlugin {
// More details can be found [here](https://www.envoyproxy.io/docs/envoy/latest/api-v3/extensions/wasm/v3/wasm.proto#extensions-wasm-v3-vmconfig).
VmConfig vm_config = 11;

// Specifies the criteria to determine which traffic is passed to WasmPlugin.
// If a traffic satisfies any of TrafficSelectors,
// the traffic passes the WasmPlugin.
repeated TrafficSelector match = 12;

// Specifies the type of Wasm Extension to be used.
PluginType type = 14;

/* NOTE: This nested type is intentionally kept for backward compatibility.
The canonical definition is the top-level TrafficSelector in
extension_filter.proto. */
// TrafficSelector provides a mechanism to select a specific traffic flow
// for which this Wasm Plugin will be enabled.
// When all the sub conditions in the TrafficSelector are satisfied, the
Expand All @@ -379,14 +390,6 @@ message WasmPlugin {
// +listMapKey=number
repeated istio.type.v1beta1.PortSelector ports = 2;
}

// Specifies the criteria to determine which traffic is passed to WasmPlugin.
// If a traffic satisfies any of TrafficSelectors,
// the traffic passes the WasmPlugin.
repeated TrafficSelector match = 12;

// Specifies the type of Wasm Extension to be used.
PluginType type = 14;
}

// PluginType indicates the type of Wasm extension to be used.
Expand Down
Loading