Documentation ¶
Index ¶
- Constants
- type Filter
- func (f *Filter) Append(ctx context.Context, headers api.HeaderMap, buf buffer.IoBuffer, ...) api.StreamFilterStatus
- 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) 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 {
// contains filtered or unexported fields
}
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 {
// 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) 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.