Documentation ¶
Index ¶
- Variables
- type PluginConfig
- func (*PluginConfig) Descriptor() ([]byte, []int)deprecated
- func (x *PluginConfig) GetConfiguration() *any.Any
- func (x *PluginConfig) GetFailOpen() bool
- func (x *PluginConfig) GetInlineVmConfig() *VmConfig
- func (x *PluginConfig) GetName() string
- func (x *PluginConfig) GetRootId() string
- func (m *PluginConfig) GetVmConfig() isPluginConfig_VmConfig
- func (*PluginConfig) ProtoMessage()
- func (x *PluginConfig) ProtoReflect() protoreflect.Message
- func (x *PluginConfig) Reset()
- func (x *PluginConfig) String() string
- func (m *PluginConfig) Validate() error
- type PluginConfigValidationError
- func (e PluginConfigValidationError) Cause() error
- func (e PluginConfigValidationError) Error() string
- func (e PluginConfigValidationError) ErrorName() string
- func (e PluginConfigValidationError) Field() string
- func (e PluginConfigValidationError) Key() bool
- func (e PluginConfigValidationError) Reason() string
- type PluginConfig_InlineVmConfig
- type VmConfig
- func (*VmConfig) Descriptor() ([]byte, []int)deprecated
- func (x *VmConfig) GetAllowPrecompiled() bool
- func (x *VmConfig) GetCode() *v3.AsyncDataSource
- func (x *VmConfig) GetConfiguration() *any.Any
- func (x *VmConfig) GetNackOnCodeCacheMiss() bool
- func (x *VmConfig) GetRuntime() string
- func (x *VmConfig) GetVmId() string
- func (*VmConfig) ProtoMessage()
- func (x *VmConfig) ProtoReflect() protoreflect.Message
- func (x *VmConfig) Reset()
- func (x *VmConfig) String() string
- func (m *VmConfig) Validate() error
- type VmConfigValidationError
- type WasmService
- func (*WasmService) Descriptor() ([]byte, []int)deprecated
- func (x *WasmService) GetConfig() *PluginConfig
- func (x *WasmService) GetSingleton() bool
- func (*WasmService) ProtoMessage()
- func (x *WasmService) ProtoReflect() protoreflect.Message
- func (x *WasmService) Reset()
- func (x *WasmService) String() string
- func (m *WasmService) Validate() error
- type WasmServiceValidationError
- func (e WasmServiceValidationError) Cause() error
- func (e WasmServiceValidationError) Error() string
- func (e WasmServiceValidationError) ErrorName() string
- func (e WasmServiceValidationError) Field() string
- func (e WasmServiceValidationError) Key() bool
- func (e WasmServiceValidationError) Reason() string
Constants ¶
This section is empty.
Variables ¶
var File_envoy_extensions_wasm_v3_wasm_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type PluginConfig ¶
type PluginConfig struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` RootId string `protobuf:"bytes,2,opt,name=root_id,json=rootId,proto3" json:"root_id,omitempty"` // Types that are assignable to VmConfig: // *PluginConfig_InlineVmConfig VmConfig isPluginConfig_VmConfig `protobuf_oneof:"vm_config"` Configuration *any.Any `protobuf:"bytes,4,opt,name=configuration,proto3" json:"configuration,omitempty"` FailOpen bool `protobuf:"varint,5,opt,name=fail_open,json=failOpen,proto3" json:"fail_open,omitempty"` // contains filtered or unexported fields }
func (*PluginConfig) Descriptor
deprecated
func (*PluginConfig) Descriptor() ([]byte, []int)
Deprecated: Use PluginConfig.ProtoReflect.Descriptor instead.
func (*PluginConfig) GetConfiguration ¶
func (x *PluginConfig) GetConfiguration() *any.Any
func (*PluginConfig) GetFailOpen ¶
func (x *PluginConfig) GetFailOpen() bool
func (*PluginConfig) GetInlineVmConfig ¶
func (x *PluginConfig) GetInlineVmConfig() *VmConfig
func (*PluginConfig) GetName ¶
func (x *PluginConfig) GetName() string
func (*PluginConfig) GetRootId ¶
func (x *PluginConfig) GetRootId() string
func (*PluginConfig) GetVmConfig ¶
func (m *PluginConfig) GetVmConfig() isPluginConfig_VmConfig
func (*PluginConfig) ProtoMessage ¶
func (*PluginConfig) ProtoMessage()
func (*PluginConfig) ProtoReflect ¶
func (x *PluginConfig) ProtoReflect() protoreflect.Message
func (*PluginConfig) Reset ¶
func (x *PluginConfig) Reset()
func (*PluginConfig) String ¶
func (x *PluginConfig) String() string
func (*PluginConfig) Validate ¶
func (m *PluginConfig) Validate() error
Validate checks the field values on PluginConfig with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type PluginConfigValidationError ¶
type PluginConfigValidationError struct {
// contains filtered or unexported fields
}
PluginConfigValidationError is the validation error returned by PluginConfig.Validate if the designated constraints aren't met.
func (PluginConfigValidationError) Cause ¶
func (e PluginConfigValidationError) Cause() error
Cause function returns cause value.
func (PluginConfigValidationError) Error ¶
func (e PluginConfigValidationError) Error() string
Error satisfies the builtin error interface
func (PluginConfigValidationError) ErrorName ¶
func (e PluginConfigValidationError) ErrorName() string
ErrorName returns error name.
func (PluginConfigValidationError) Field ¶
func (e PluginConfigValidationError) Field() string
Field function returns field value.
func (PluginConfigValidationError) Key ¶
func (e PluginConfigValidationError) Key() bool
Key function returns key value.
func (PluginConfigValidationError) Reason ¶
func (e PluginConfigValidationError) Reason() string
Reason function returns reason value.
type PluginConfig_InlineVmConfig ¶
type PluginConfig_InlineVmConfig struct {
InlineVmConfig *VmConfig `protobuf:"bytes,3,opt,name=inline_vm_config,json=inlineVmConfig,proto3,oneof"`
}
type VmConfig ¶
type VmConfig struct { VmId string `protobuf:"bytes,1,opt,name=vm_id,json=vmId,proto3" json:"vm_id,omitempty"` Runtime string `protobuf:"bytes,2,opt,name=runtime,proto3" json:"runtime,omitempty"` Code *v3.AsyncDataSource `protobuf:"bytes,3,opt,name=code,proto3" json:"code,omitempty"` Configuration *any.Any `protobuf:"bytes,4,opt,name=configuration,proto3" json:"configuration,omitempty"` AllowPrecompiled bool `protobuf:"varint,5,opt,name=allow_precompiled,json=allowPrecompiled,proto3" json:"allow_precompiled,omitempty"` NackOnCodeCacheMiss bool `protobuf:"varint,6,opt,name=nack_on_code_cache_miss,json=nackOnCodeCacheMiss,proto3" json:"nack_on_code_cache_miss,omitempty"` // contains filtered or unexported fields }
func (*VmConfig) Descriptor
deprecated
func (*VmConfig) GetAllowPrecompiled ¶
func (*VmConfig) GetCode ¶
func (x *VmConfig) GetCode() *v3.AsyncDataSource
func (*VmConfig) GetConfiguration ¶
func (*VmConfig) GetNackOnCodeCacheMiss ¶
func (*VmConfig) GetRuntime ¶
func (*VmConfig) ProtoMessage ¶
func (*VmConfig) ProtoMessage()
func (*VmConfig) ProtoReflect ¶
func (x *VmConfig) ProtoReflect() protoreflect.Message
type VmConfigValidationError ¶
type VmConfigValidationError struct {
// contains filtered or unexported fields
}
VmConfigValidationError is the validation error returned by VmConfig.Validate if the designated constraints aren't met.
func (VmConfigValidationError) Cause ¶
func (e VmConfigValidationError) Cause() error
Cause function returns cause value.
func (VmConfigValidationError) Error ¶
func (e VmConfigValidationError) Error() string
Error satisfies the builtin error interface
func (VmConfigValidationError) ErrorName ¶
func (e VmConfigValidationError) ErrorName() string
ErrorName returns error name.
func (VmConfigValidationError) Field ¶
func (e VmConfigValidationError) Field() string
Field function returns field value.
func (VmConfigValidationError) Key ¶
func (e VmConfigValidationError) Key() bool
Key function returns key value.
func (VmConfigValidationError) Reason ¶
func (e VmConfigValidationError) Reason() string
Reason function returns reason value.
type WasmService ¶
type WasmService struct { Config *PluginConfig `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"` Singleton bool `protobuf:"varint,2,opt,name=singleton,proto3" json:"singleton,omitempty"` // contains filtered or unexported fields }
func (*WasmService) Descriptor
deprecated
func (*WasmService) Descriptor() ([]byte, []int)
Deprecated: Use WasmService.ProtoReflect.Descriptor instead.
func (*WasmService) GetConfig ¶
func (x *WasmService) GetConfig() *PluginConfig
func (*WasmService) GetSingleton ¶
func (x *WasmService) GetSingleton() bool
func (*WasmService) ProtoMessage ¶
func (*WasmService) ProtoMessage()
func (*WasmService) ProtoReflect ¶
func (x *WasmService) ProtoReflect() protoreflect.Message
func (*WasmService) Reset ¶
func (x *WasmService) Reset()
func (*WasmService) String ¶
func (x *WasmService) String() string
func (*WasmService) Validate ¶
func (m *WasmService) Validate() error
Validate checks the field values on WasmService with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type WasmServiceValidationError ¶
type WasmServiceValidationError struct {
// contains filtered or unexported fields
}
WasmServiceValidationError is the validation error returned by WasmService.Validate if the designated constraints aren't met.
func (WasmServiceValidationError) Cause ¶
func (e WasmServiceValidationError) Cause() error
Cause function returns cause value.
func (WasmServiceValidationError) Error ¶
func (e WasmServiceValidationError) Error() string
Error satisfies the builtin error interface
func (WasmServiceValidationError) ErrorName ¶
func (e WasmServiceValidationError) ErrorName() string
ErrorName returns error name.
func (WasmServiceValidationError) Field ¶
func (e WasmServiceValidationError) Field() string
Field function returns field value.
func (WasmServiceValidationError) Key ¶
func (e WasmServiceValidationError) Key() bool
Key function returns key value.
func (WasmServiceValidationError) Reason ¶
func (e WasmServiceValidationError) Reason() string
Reason function returns reason value.