Documentation ¶
Index ¶
- Constants
- type Filter
- func (f *Filter) Append(ctx context.Context, headers api.HeaderMap, buf buffer.IoBuffer, ...) api.StreamFilterStatus
- func (f *Filter) GetHttpRequestBody() common.IoBuffer
- func (f *Filter) GetHttpRequestHeader() common.HeaderMap
- func (f *Filter) GetHttpRequestTrailer() common.HeaderMap
- func (f *Filter) GetHttpResponseBody() common.IoBuffer
- func (f *Filter) GetHttpResponseHeader() common.HeaderMap
- func (f *Filter) GetHttpResponseTrailer() common.HeaderMap
- func (f *Filter) GetPluginConfig() common.IoBuffer
- func (f *Filter) GetRootContextID() int32
- func (f *Filter) GetVmConfig() common.IoBuffer
- func (f *Filter) OnDestroy()
- func (f *Filter) OnReceive(ctx context.Context, headers api.HeaderMap, buf buffer.IoBuffer, ...) api.StreamFilterStatus
- func (f *Filter) SetReceiveFilterHandler(handler api.StreamReceiverFilterHandler)
- func (f *Filter) SetSenderFilterHandler(handler api.StreamSenderFilterHandler)
- type FilterConfigFactory
- func (f *FilterConfigFactory) CreateFilterChain(context context.Context, callbacks api.StreamFilterChainFactoryCallbacks)
- func (f *FilterConfigFactory) GetPluginConfig() common.IoBuffer
- func (f *FilterConfigFactory) GetRootContextID() int32
- func (f *FilterConfigFactory) GetVmConfig() common.IoBuffer
- func (f *FilterConfigFactory) OnConfigUpdate(config v2.WasmPluginConfig)
- func (f *FilterConfigFactory) OnPluginDestroy(plugin types.WasmPlugin)
- func (f *FilterConfigFactory) OnPluginStart(plugin types.WasmPlugin)
Constants ¶
View Source
const ProxyWasm = "proxywasm"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Filter ¶
type Filter struct { proxywasm010.DefaultImportsHandler // contains filtered or unexported fields }
func (*Filter) GetHttpRequestBody ¶
func (*Filter) GetHttpRequestHeader ¶
func (*Filter) GetHttpRequestTrailer ¶
func (*Filter) GetHttpResponseBody ¶
func (*Filter) GetHttpResponseHeader ¶
func (*Filter) GetHttpResponseTrailer ¶
func (*Filter) GetPluginConfig ¶
func (*Filter) GetRootContextID ¶
func (*Filter) GetVmConfig ¶
func (*Filter) SetReceiveFilterHandler ¶
func (f *Filter) SetReceiveFilterHandler(handler api.StreamReceiverFilterHandler)
func (*Filter) SetSenderFilterHandler ¶
func (f *Filter) SetSenderFilterHandler(handler api.StreamSenderFilterHandler)
type FilterConfigFactory ¶
type FilterConfigFactory struct { proxywasm010.DefaultImportsHandler // contains filtered or unexported fields }
func (*FilterConfigFactory) CreateFilterChain ¶
func (f *FilterConfigFactory) CreateFilterChain(context context.Context, callbacks api.StreamFilterChainFactoryCallbacks)
func (*FilterConfigFactory) GetPluginConfig ¶
func (f *FilterConfigFactory) GetPluginConfig() common.IoBuffer
func (*FilterConfigFactory) GetRootContextID ¶
func (f *FilterConfigFactory) GetRootContextID() int32
func (*FilterConfigFactory) GetVmConfig ¶
func (f *FilterConfigFactory) GetVmConfig() common.IoBuffer
func (*FilterConfigFactory) OnConfigUpdate ¶
func (f *FilterConfigFactory) OnConfigUpdate(config v2.WasmPluginConfig)
func (*FilterConfigFactory) OnPluginDestroy ¶
func (f *FilterConfigFactory) OnPluginDestroy(plugin types.WasmPlugin)
func (*FilterConfigFactory) OnPluginStart ¶
func (f *FilterConfigFactory) OnPluginStart(plugin types.WasmPlugin)
Click to show internal directories.
Click to hide internal directories.