controlplane

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2025 License: Apache-2.0 Imports: 32 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	FeatureTestEnvoyDynamicCluster = "x-test-envoy-dynamic-cluster"
	DynamicClusterHeader           = "Cluster-Name"
)

Functions

func FilterManagerConfigToTypedStruct

func FilterManagerConfigToTypedStruct(fmc *filtermanager.FilterManagerConfig) *xds.TypedStruct

func NewPluginConfig added in v0.4.0

func NewPluginConfig(plugins []*model.FilterConfig) *filtermanager.FilterManagerConfig

func NewSinglePluginConfig added in v0.4.0

func NewSinglePluginConfig(name string, config interface{}) *filtermanager.FilterManagerConfig

Types

type ControlPlane

type ControlPlane struct {
	// contains filtered or unexported fields
}

func NewControlPlane

func NewControlPlane() *ControlPlane

func (*ControlPlane) Start

func (cp *ControlPlane) Start()

func (*ControlPlane) UseGoPluginConfig

func (cp *ControlPlane) UseGoPluginConfig(t *testing.T, config *filtermanager.FilterManagerConfig, dp *dataplane.DataPlane)

type Resources

type Resources map[resource.Type][]types.Resource

Jump to

Keyboard shortcuts

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