compositev3

package
v1.33.0-20240426201503... Latest Latest
Warning

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

Go to latest
Published: unknown License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_envoy_extensions_filters_http_composite_v3_composite_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Composite

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

:ref:`Composite filter <config_http_filters_composite>` config. The composite filter config allows delegating filter handling to another filter as determined by matching on the request headers. This makes it possible to use different filters or filter configurations based on the incoming request.

This is intended to be used with :ref:`ExtensionWithMatcher <envoy_v3_api_msg_extensions.common.matching.v3.ExtensionWithMatcher>` where a match tree is specified that indicates (via :ref:`ExecuteFilterAction <envoy_v3_api_msg_extensions.filters.http.composite.v3.ExecuteFilterAction>`) which filter configuration to create and delegate to.

func (*Composite) Descriptor deprecated

func (*Composite) Descriptor() ([]byte, []int)

Deprecated: Use Composite.ProtoReflect.Descriptor instead.

func (*Composite) ProtoMessage

func (*Composite) ProtoMessage()

func (*Composite) ProtoReflect

func (x *Composite) ProtoReflect() protoreflect.Message

func (*Composite) Reset

func (x *Composite) Reset()

func (*Composite) String

func (x *Composite) String() string

type DynamicConfig

type DynamicConfig struct {

	// The name of the extension configuration. It also serves as a resource name in ExtensionConfigDS.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Configuration source specifier for an extension configuration discovery
	// service. In case of a failure and without the default configuration,
	// 500(Internal Server Error) will be returned.
	ConfigDiscovery *v3.ExtensionConfigSource `protobuf:"bytes,2,opt,name=config_discovery,json=configDiscovery,proto3" json:"config_discovery,omitempty"`
	// contains filtered or unexported fields
}

Configuration for an extension configuration discovery service with name.

func (*DynamicConfig) Descriptor deprecated

func (*DynamicConfig) Descriptor() ([]byte, []int)

Deprecated: Use DynamicConfig.ProtoReflect.Descriptor instead.

func (*DynamicConfig) GetConfigDiscovery

func (x *DynamicConfig) GetConfigDiscovery() *v3.ExtensionConfigSource

func (*DynamicConfig) GetName

func (x *DynamicConfig) GetName() string

func (*DynamicConfig) ProtoMessage

func (*DynamicConfig) ProtoMessage()

func (*DynamicConfig) ProtoReflect

func (x *DynamicConfig) ProtoReflect() protoreflect.Message

func (*DynamicConfig) Reset

func (x *DynamicConfig) Reset()

func (*DynamicConfig) String

func (x *DynamicConfig) String() string

type ExecuteFilterAction

type ExecuteFilterAction struct {

	// Filter specific configuration which depends on the filter being
	// instantiated. See the supported filters for further documentation.
	// Only one of “typed_config“ or “dynamic_config“ can be set.
	// [#extension-category: envoy.filters.http]
	TypedConfig *v3.TypedExtensionConfig `protobuf:"bytes,1,opt,name=typed_config,json=typedConfig,proto3" json:"typed_config,omitempty"`
	// Dynamic configuration of filter obtained via extension configuration discovery service.
	// Only one of “typed_config“ or “dynamic_config“ can be set.
	DynamicConfig *DynamicConfig `protobuf:"bytes,2,opt,name=dynamic_config,json=dynamicConfig,proto3" json:"dynamic_config,omitempty"`
	// contains filtered or unexported fields
}

Composite match action (see :ref:`matching docs <arch_overview_matching_api>` for more info on match actions). This specifies the filter configuration of the filter that the composite filter should delegate filter interactions to.

func (*ExecuteFilterAction) Descriptor deprecated

func (*ExecuteFilterAction) Descriptor() ([]byte, []int)

Deprecated: Use ExecuteFilterAction.ProtoReflect.Descriptor instead.

func (*ExecuteFilterAction) GetDynamicConfig

func (x *ExecuteFilterAction) GetDynamicConfig() *DynamicConfig

func (*ExecuteFilterAction) GetTypedConfig

func (x *ExecuteFilterAction) GetTypedConfig() *v3.TypedExtensionConfig

func (*ExecuteFilterAction) ProtoMessage

func (*ExecuteFilterAction) ProtoMessage()

func (*ExecuteFilterAction) ProtoReflect

func (x *ExecuteFilterAction) ProtoReflect() protoreflect.Message

func (*ExecuteFilterAction) Reset

func (x *ExecuteFilterAction) Reset()

func (*ExecuteFilterAction) String

func (x *ExecuteFilterAction) String() string

Jump to

Keyboard shortcuts

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