public interface VmConfigOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
boolean |
getAllowPrecompiled()
Allow the wasm file to include pre-compiled code on VMs which support it.
|
AsyncDataSource |
getCode()
The Wasm code that Envoy will execute.
|
AsyncDataSourceOrBuilder |
getCodeOrBuilder()
The Wasm code that Envoy will execute.
|
com.google.protobuf.Any |
getConfiguration()
The Wasm configuration used in initialization of a new VM
(proxy_on_start).
|
com.google.protobuf.AnyOrBuilder |
getConfigurationOrBuilder()
The Wasm configuration used in initialization of a new VM
(proxy_on_start).
|
boolean |
getNackOnCodeCacheMiss()
If true and the code needs to be remotely fetched and it is not in the cache then NACK the configuration
update and do a background fetch to fill the cache, otherwise fetch the code asynchronously and enter
warming state.
|
String |
getRuntime()
The Wasm runtime type (either "v8" or "null" for code compiled into Envoy).
|
com.google.protobuf.ByteString |
getRuntimeBytes()
The Wasm runtime type (either "v8" or "null" for code compiled into Envoy).
|
String |
getVmId()
An ID which will be used along with a hash of the wasm code (or the name of the registered Null
VM plugin) to determine which VM will be used for the plugin.
|
com.google.protobuf.ByteString |
getVmIdBytes()
An ID which will be used along with a hash of the wasm code (or the name of the registered Null
VM plugin) to determine which VM will be used for the plugin.
|
boolean |
hasCode()
The Wasm code that Envoy will execute.
|
boolean |
hasConfiguration()
The Wasm configuration used in initialization of a new VM
(proxy_on_start).
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofString getVmId()
An ID which will be used along with a hash of the wasm code (or the name of the registered Null VM plugin) to determine which VM will be used for the plugin. All plugins which use the same *vm_id* and code will use the same VM. May be left blank. Sharing a VM between plugins can reduce memory utilization and make sharing of data easier which may have security implications. See ref: "TODO: add ref" for details.
string vm_id = 1;com.google.protobuf.ByteString getVmIdBytes()
An ID which will be used along with a hash of the wasm code (or the name of the registered Null VM plugin) to determine which VM will be used for the plugin. All plugins which use the same *vm_id* and code will use the same VM. May be left blank. Sharing a VM between plugins can reduce memory utilization and make sharing of data easier which may have security implications. See ref: "TODO: add ref" for details.
string vm_id = 1;String getRuntime()
The Wasm runtime type (either "v8" or "null" for code compiled into Envoy).
string runtime = 2 [(.validate.rules) = { ... }com.google.protobuf.ByteString getRuntimeBytes()
The Wasm runtime type (either "v8" or "null" for code compiled into Envoy).
string runtime = 2 [(.validate.rules) = { ... }boolean hasCode()
The Wasm code that Envoy will execute.
.envoy.config.core.v3.AsyncDataSource code = 3;AsyncDataSource getCode()
The Wasm code that Envoy will execute.
.envoy.config.core.v3.AsyncDataSource code = 3;AsyncDataSourceOrBuilder getCodeOrBuilder()
The Wasm code that Envoy will execute.
.envoy.config.core.v3.AsyncDataSource code = 3;boolean hasConfiguration()
The Wasm configuration used in initialization of a new VM (proxy_on_start). `google.protobuf.Struct` is serialized as JSON before passing it to the plugin. `google.protobuf.BytesValue` and `google.protobuf.StringValue` are passed directly without the wrapper.
.google.protobuf.Any configuration = 4;com.google.protobuf.Any getConfiguration()
The Wasm configuration used in initialization of a new VM (proxy_on_start). `google.protobuf.Struct` is serialized as JSON before passing it to the plugin. `google.protobuf.BytesValue` and `google.protobuf.StringValue` are passed directly without the wrapper.
.google.protobuf.Any configuration = 4;com.google.protobuf.AnyOrBuilder getConfigurationOrBuilder()
The Wasm configuration used in initialization of a new VM (proxy_on_start). `google.protobuf.Struct` is serialized as JSON before passing it to the plugin. `google.protobuf.BytesValue` and `google.protobuf.StringValue` are passed directly without the wrapper.
.google.protobuf.Any configuration = 4;boolean getAllowPrecompiled()
Allow the wasm file to include pre-compiled code on VMs which support it. Warning: this should only be enable for trusted sources as the precompiled code is not verified.
bool allow_precompiled = 5;boolean getNackOnCodeCacheMiss()
If true and the code needs to be remotely fetched and it is not in the cache then NACK the configuration update and do a background fetch to fill the cache, otherwise fetch the code asynchronously and enter warming state.
bool nack_on_code_cache_miss = 6;Copyright © 2018–2020 The Envoy Project. All rights reserved.