sdk

package
v0.0.0-...-fa68fb6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 10, 2026 License: Apache-2.0 Imports: 2 Imported by: 17

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetHttpFilterConfigFactory

func GetHttpFilterConfigFactory(name string) shared.HttpFilterConfigFactory

GetHttpFilterConfigFactory gets the plugin config factory for the given plugin name.

func GetListenerFilterConfigFactory

func GetListenerFilterConfigFactory(name string) shared.ListenerFilterConfigFactory

GetListenerFilterConfigFactory gets the listener filter config factory for the given plugin name.

func GetNetworkFilterConfigFactory

func GetNetworkFilterConfigFactory(name string) shared.NetworkFilterConfigFactory

GetNetworkFilterConfigFactory gets the network filter config factory for the given plugin name.

func GetStatSinkConfigFactory

func GetStatSinkConfigFactory(name string) shared.StatSinkConfigFactory

GetStatSinkConfigFactory gets the stat sink config factory for the given sink name.

func NewHttpFilterFactory

func NewHttpFilterFactory(handle shared.HttpFilterConfigHandle, name string,
	unparsedConfig []byte) (shared.HttpFilterFactory, error)

NewHttpFilterFactory creates a new plugin factory for the given plugin name and unparsed config.

func NewListenerFilterFactory

func NewListenerFilterFactory(handle shared.ListenerFilterConfigHandle, name string,
	unparsedConfig []byte) (shared.ListenerFilterFactory, error)

NewListenerFilterFactory creates a new listener filter factory for the given plugin name and unparsed config.

func NewNetworkFilterFactory

func NewNetworkFilterFactory(handle shared.NetworkFilterConfigHandle, name string,
	unparsedConfig []byte) (shared.NetworkFilterFactory, error)

NewNetworkFilterFactory creates a new network filter factory for the given plugin name and unparsed config.

func NewStatSink

func NewStatSink(handle shared.StatSinkHandle, name string,
	unparsedConfig []byte) (shared.StatSink, error)

NewStatSink creates a new StatSink for the given sink name and unparsed config bytes.

func RegisterHttpFilterConfigFactories

func RegisterHttpFilterConfigFactories(factories map[string]shared.HttpFilterConfigFactory)

RegisterHttpFilterConfigFactories registers plugin config factories for plugins in the composer binary itself. This function MUST only be called from init() functions.

func RegisterListenerFilterConfigFactories

func RegisterListenerFilterConfigFactories(factories map[string]shared.ListenerFilterConfigFactory)

RegisterListenerFilterConfigFactories registers listener filter config factories for plugins in the composer binary itself. This function MUST only be called from init() functions.

func RegisterNetworkFilterConfigFactories

func RegisterNetworkFilterConfigFactories(factories map[string]shared.NetworkFilterConfigFactory)

RegisterNetworkFilterConfigFactories registers network filter config factories for plugins in the composer binary itself. This function MUST only be called from init() functions.

func RegisterStatSinkConfigFactories

func RegisterStatSinkConfigFactories(factories map[string]shared.StatSinkConfigFactory)

RegisterStatSinkConfigFactories registers stat sink config factories for plugins in the composer binary itself. This function MUST only be called from init() functions.

Types

This section is empty.

Directories

Path Synopsis
internal
buffer
Package buffer holds SDK-internal helpers for decoding runtime values into caller-provided byte buffers.
Package buffer holds SDK-internal helpers for decoding runtime values into caller-provided byte buffers.
mocks
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL