Interface CapabilityRestrictionConfigOrBuilder

    • 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;
      • 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;