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
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description booleancontainsAllowedCapabilities(String key)The Proxy-Wasm capabilities which will be allowed.Map<String,SanitizationConfig>getAllowedCapabilities()Deprecated.intgetAllowedCapabilitiesCount()The Proxy-Wasm capabilities which will be allowed.Map<String,SanitizationConfig>getAllowedCapabilitiesMap()The Proxy-Wasm capabilities which will be allowed.SanitizationConfiggetAllowedCapabilitiesOrDefault(String key, SanitizationConfig defaultValue)The Proxy-Wasm capabilities which will be allowed.SanitizationConfiggetAllowedCapabilitiesOrThrow(String key)The Proxy-Wasm capabilities which will be allowed.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
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
boolean containsAllowedCapabilities(String key)
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 Map<String,SanitizationConfig> 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
SanitizationConfig getAllowedCapabilitiesOrDefault(String key, SanitizationConfig defaultValue)
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
SanitizationConfig getAllowedCapabilitiesOrThrow(String key)
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;
-
-