Interface CapabilityRestrictionConfigOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CapabilityRestrictionConfig,CapabilityRestrictionConfig.Builder
public interface CapabilityRestrictionConfigOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleanThe Proxy-Wasm capabilities which will be allowed.Deprecated.intThe Proxy-Wasm capabilities which will be allowed.The Proxy-Wasm capabilities which will be allowed.getAllowedCapabilitiesOrDefault(String key, SanitizationConfig defaultValue) The Proxy-Wasm capabilities which will be allowed.The Proxy-Wasm capabilities which will be allowed.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getAllowedCapabilitiesCount
int getAllowedCapabilitiesCount()The Proxy-Wasm capabilities which will be allowed. Capabilities are mapped by name. The ``SanitizationConfig`` which each capability maps to is currently unimplemented and ignored, and so should be left empty. The capability names are given in the `Proxy-Wasm ABI <https://github.com/proxy-wasm/spec/tree/master/abi-versions/vNEXT>`_. Additionally, the following WASI capabilities from `this list <https://github.com/WebAssembly/WASI/blob/master/phases/snapshot/docs.md#modules>`_ are implemented and can be allowed: ``fd_write``, ``fd_read``, ``fd_seek``, ``fd_close``, ``fd_fdstat_get``, ``environ_get``, ``environ_sizes_get``, ``args_get``, ``args_sizes_get``, ``proc_exit``, ``clock_time_get``, ``random_get``.
map<string, .envoy.extensions.wasm.v3.SanitizationConfig> allowed_capabilities = 1; -
containsAllowedCapabilities
The Proxy-Wasm capabilities which will be allowed. Capabilities are mapped by name. The ``SanitizationConfig`` which each capability maps to is currently unimplemented and ignored, and so should be left empty. The capability names are given in the `Proxy-Wasm ABI <https://github.com/proxy-wasm/spec/tree/master/abi-versions/vNEXT>`_. Additionally, the following WASI capabilities from `this list <https://github.com/WebAssembly/WASI/blob/master/phases/snapshot/docs.md#modules>`_ are implemented and can be allowed: ``fd_write``, ``fd_read``, ``fd_seek``, ``fd_close``, ``fd_fdstat_get``, ``environ_get``, ``environ_sizes_get``, ``args_get``, ``args_sizes_get``, ``proc_exit``, ``clock_time_get``, ``random_get``.
map<string, .envoy.extensions.wasm.v3.SanitizationConfig> allowed_capabilities = 1; -
getAllowedCapabilities
Deprecated.UsegetAllowedCapabilitiesMap()instead. -
getAllowedCapabilitiesMap
Map<String,SanitizationConfig> getAllowedCapabilitiesMap()The Proxy-Wasm capabilities which will be allowed. Capabilities are mapped by name. The ``SanitizationConfig`` which each capability maps to is currently unimplemented and ignored, and so should be left empty. The capability names are given in the `Proxy-Wasm ABI <https://github.com/proxy-wasm/spec/tree/master/abi-versions/vNEXT>`_. Additionally, the following WASI capabilities from `this list <https://github.com/WebAssembly/WASI/blob/master/phases/snapshot/docs.md#modules>`_ are implemented and can be allowed: ``fd_write``, ``fd_read``, ``fd_seek``, ``fd_close``, ``fd_fdstat_get``, ``environ_get``, ``environ_sizes_get``, ``args_get``, ``args_sizes_get``, ``proc_exit``, ``clock_time_get``, ``random_get``.
map<string, .envoy.extensions.wasm.v3.SanitizationConfig> allowed_capabilities = 1; -
getAllowedCapabilitiesOrDefault
The Proxy-Wasm capabilities which will be allowed. Capabilities are mapped by name. The ``SanitizationConfig`` which each capability maps to is currently unimplemented and ignored, and so should be left empty. The capability names are given in the `Proxy-Wasm ABI <https://github.com/proxy-wasm/spec/tree/master/abi-versions/vNEXT>`_. Additionally, the following WASI capabilities from `this list <https://github.com/WebAssembly/WASI/blob/master/phases/snapshot/docs.md#modules>`_ are implemented and can be allowed: ``fd_write``, ``fd_read``, ``fd_seek``, ``fd_close``, ``fd_fdstat_get``, ``environ_get``, ``environ_sizes_get``, ``args_get``, ``args_sizes_get``, ``proc_exit``, ``clock_time_get``, ``random_get``.
map<string, .envoy.extensions.wasm.v3.SanitizationConfig> allowed_capabilities = 1; -
getAllowedCapabilitiesOrThrow
The Proxy-Wasm capabilities which will be allowed. Capabilities are mapped by name. The ``SanitizationConfig`` which each capability maps to is currently unimplemented and ignored, and so should be left empty. The capability names are given in the `Proxy-Wasm ABI <https://github.com/proxy-wasm/spec/tree/master/abi-versions/vNEXT>`_. Additionally, the following WASI capabilities from `this list <https://github.com/WebAssembly/WASI/blob/master/phases/snapshot/docs.md#modules>`_ are implemented and can be allowed: ``fd_write``, ``fd_read``, ``fd_seek``, ``fd_close``, ``fd_fdstat_get``, ``environ_get``, ``environ_sizes_get``, ``args_get``, ``args_sizes_get``, ``proc_exit``, ``clock_time_get``, ``random_get``.
map<string, .envoy.extensions.wasm.v3.SanitizationConfig> allowed_capabilities = 1;
-