envoy_extensions_filters_network_sip_proxy_v4alpha

package
v0.9.11 Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2021 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_envoy_extensions_filters_network_sip_proxy_v4alpha_route_proto protoreflect.FileDescriptor
View Source
var File_envoy_extensions_filters_network_sip_proxy_v4alpha_sip_proxy_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Route

type Route struct {
	Match *RouteMatch  `protobuf:"bytes,1,opt,name=match,proto3" json:"match,omitempty"`
	Route *RouteAction `protobuf:"bytes,2,opt,name=route,proto3" json:"route,omitempty"`
	// contains filtered or unexported fields
}

func (*Route) Descriptor deprecated

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

Deprecated: Use Route.ProtoReflect.Descriptor instead.

func (*Route) GetMatch

func (x *Route) GetMatch() *RouteMatch

func (*Route) GetRoute

func (x *Route) GetRoute() *RouteAction

func (*Route) ProtoMessage

func (*Route) ProtoMessage()

func (*Route) ProtoReflect

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

func (*Route) Reset

func (x *Route) Reset()

func (*Route) String

func (x *Route) String() string

func (*Route) Validate

func (m *Route) Validate() error

Validate checks the field values on Route with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type RouteAction

type RouteAction struct {

	// Types that are assignable to ClusterSpecifier:
	//	*RouteAction_Cluster
	//	*RouteAction_ClusterHeader
	ClusterSpecifier isRouteAction_ClusterSpecifier `protobuf_oneof:"cluster_specifier"`
	// Optional endpoint metadata match criteria used by the subset load balancer. Only endpoints in
	// the upstream cluster with metadata matching what is set in this field will be considered.
	// Note that this will be merged with what's provided in :ref:`WeightedCluster.metadata_match
	// <envoy_api_field_extensions.filters.network.thrift_proxy.v3.WeightedCluster.ClusterWeight.metadata_match>`,
	// with values there taking precedence. Keys and values should be provided under the "envoy.lb"
	// metadata key.
	MetadataMatch *v4alpha1.Metadata `protobuf:"bytes,3,opt,name=metadata_match,json=metadataMatch,proto3" json:"metadata_match,omitempty"`
	// Specifies a set of rate limit configurations that could be applied to the route.
	// N.B. Thrift service or method name matching can be achieved by specifying a RequestHeaders
	// action with the header name ":method-name".
	RateLimits []*v4alpha.RateLimit `protobuf:"bytes,4,rep,name=rate_limits,json=rateLimits,proto3" json:"rate_limits,omitempty"`
	// Strip the service prefix from the method name, if there's a prefix. For
	// example, the method call Service:method would end up being just method.
	StripServiceName bool `protobuf:"varint,5,opt,name=strip_service_name,json=stripServiceName,proto3" json:"strip_service_name,omitempty"`
	// contains filtered or unexported fields
}

func (*RouteAction) Descriptor deprecated

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

Deprecated: Use RouteAction.ProtoReflect.Descriptor instead.

func (*RouteAction) GetCluster

func (x *RouteAction) GetCluster() string

func (*RouteAction) GetClusterHeader

func (x *RouteAction) GetClusterHeader() string

func (*RouteAction) GetClusterSpecifier

func (m *RouteAction) GetClusterSpecifier() isRouteAction_ClusterSpecifier

func (*RouteAction) GetMetadataMatch

func (x *RouteAction) GetMetadataMatch() *v4alpha1.Metadata

func (*RouteAction) GetRateLimits

func (x *RouteAction) GetRateLimits() []*v4alpha.RateLimit

func (*RouteAction) GetStripServiceName

func (x *RouteAction) GetStripServiceName() bool

func (*RouteAction) ProtoMessage

func (*RouteAction) ProtoMessage()

func (*RouteAction) ProtoReflect

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

func (*RouteAction) Reset

func (x *RouteAction) Reset()

func (*RouteAction) String

func (x *RouteAction) String() string

func (*RouteAction) Validate

func (m *RouteAction) Validate() error

Validate checks the field values on RouteAction with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type RouteActionValidationError

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

RouteActionValidationError is the validation error returned by RouteAction.Validate if the designated constraints aren't met.

func (RouteActionValidationError) Cause

Cause function returns cause value.

func (RouteActionValidationError) Error

Error satisfies the builtin error interface

func (RouteActionValidationError) ErrorName

func (e RouteActionValidationError) ErrorName() string

ErrorName returns error name.

func (RouteActionValidationError) Field

Field function returns field value.

func (RouteActionValidationError) Key

Key function returns key value.

func (RouteActionValidationError) Reason

Reason function returns reason value.

type RouteAction_Cluster

type RouteAction_Cluster struct {
	// Indicates a single upstream cluster to which the request should be routed
	// to.
	Cluster string `protobuf:"bytes,1,opt,name=cluster,proto3,oneof"`
}

type RouteAction_ClusterHeader

type RouteAction_ClusterHeader struct {
	// Envoy will determine the cluster to route to by reading the value of the
	// Thrift header named by cluster_header from the request headers. If the
	// header is not found or the referenced cluster does not exist Envoy will
	// respond with an unknown method exception or an internal error exception,
	// respectively
	ClusterHeader string `protobuf:"bytes,6,opt,name=cluster_header,json=clusterHeader,proto3,oneof"`
}

type RouteConfiguration

type RouteConfiguration struct {
	Name   string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Routes []*Route `protobuf:"bytes,2,rep,name=routes,proto3" json:"routes,omitempty"`
	// contains filtered or unexported fields
}

func (*RouteConfiguration) Descriptor deprecated

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

Deprecated: Use RouteConfiguration.ProtoReflect.Descriptor instead.

func (*RouteConfiguration) GetName

func (x *RouteConfiguration) GetName() string

func (*RouteConfiguration) GetRoutes

func (x *RouteConfiguration) GetRoutes() []*Route

func (*RouteConfiguration) ProtoMessage

func (*RouteConfiguration) ProtoMessage()

func (*RouteConfiguration) ProtoReflect

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

func (*RouteConfiguration) Reset

func (x *RouteConfiguration) Reset()

func (*RouteConfiguration) String

func (x *RouteConfiguration) String() string

func (*RouteConfiguration) Validate

func (m *RouteConfiguration) Validate() error

Validate checks the field values on RouteConfiguration with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type RouteConfigurationValidationError

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

RouteConfigurationValidationError is the validation error returned by RouteConfiguration.Validate if the designated constraints aren't met.

func (RouteConfigurationValidationError) Cause

Cause function returns cause value.

func (RouteConfigurationValidationError) Error

Error satisfies the builtin error interface

func (RouteConfigurationValidationError) ErrorName

ErrorName returns error name.

func (RouteConfigurationValidationError) Field

Field function returns field value.

func (RouteConfigurationValidationError) Key

Key function returns key value.

func (RouteConfigurationValidationError) Reason

Reason function returns reason value.

type RouteMatch

type RouteMatch struct {

	// Types that are assignable to MatchSpecifier:
	//	*RouteMatch_Domain
	MatchSpecifier isRouteMatch_MatchSpecifier `protobuf_oneof:"match_specifier"`
	// Inverts whatever matching is done in the :ref:`method_name
	// <envoy_api_field_extensions.filters.network.thrift_proxy.v3.RouteMatch.method_name>` or
	// :ref:`service_name
	// <envoy_api_field_extensions.filters.network.thrift_proxy.v3.RouteMatch.service_name>` fields.
	// Cannot be combined with wildcard matching as that would result in routes never being matched.
	//
	// .. note::
	//
	//   This does not invert matching done as part of the :ref:`headers field
	//   <envoy_api_field_extensions.filters.network.thrift_proxy.v3.RouteMatch.headers>` field. To
	//   invert header matching, see :ref:`invert_match
	//   <envoy_api_field_config.route.v3.HeaderMatcher.invert_match>`.
	Invert bool `protobuf:"varint,2,opt,name=invert,proto3" json:"invert,omitempty"`
	// Specifies a set of headers that the route should match on. The router will check the request’s
	// headers against all the specified headers in the route config. A match will happen if all the
	// headers in the route are present in the request with the same values (or based on presence if
	// the value field is not in the config). Note that this only applies for Thrift transports and/or
	// protocols that support headers
	Headers []*v4alpha.HeaderMatcher `protobuf:"bytes,3,rep,name=headers,proto3" json:"headers,omitempty"`
	// contains filtered or unexported fields
}

func (*RouteMatch) Descriptor deprecated

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

Deprecated: Use RouteMatch.ProtoReflect.Descriptor instead.

func (*RouteMatch) GetDomain

func (x *RouteMatch) GetDomain() string

func (*RouteMatch) GetHeaders

func (x *RouteMatch) GetHeaders() []*v4alpha.HeaderMatcher

func (*RouteMatch) GetInvert

func (x *RouteMatch) GetInvert() bool

func (*RouteMatch) GetMatchSpecifier

func (m *RouteMatch) GetMatchSpecifier() isRouteMatch_MatchSpecifier

func (*RouteMatch) ProtoMessage

func (*RouteMatch) ProtoMessage()

func (*RouteMatch) ProtoReflect

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

func (*RouteMatch) Reset

func (x *RouteMatch) Reset()

func (*RouteMatch) String

func (x *RouteMatch) String() string

func (*RouteMatch) Validate

func (m *RouteMatch) Validate() error

Validate checks the field values on RouteMatch with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type RouteMatchValidationError

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

RouteMatchValidationError is the validation error returned by RouteMatch.Validate if the designated constraints aren't met.

func (RouteMatchValidationError) Cause

func (e RouteMatchValidationError) Cause() error

Cause function returns cause value.

func (RouteMatchValidationError) Error

Error satisfies the builtin error interface

func (RouteMatchValidationError) ErrorName

func (e RouteMatchValidationError) ErrorName() string

ErrorName returns error name.

func (RouteMatchValidationError) Field

Field function returns field value.

func (RouteMatchValidationError) Key

Key function returns key value.

func (RouteMatchValidationError) Reason

func (e RouteMatchValidationError) Reason() string

Reason function returns reason value.

type RouteMatch_Domain

type RouteMatch_Domain struct {
	Domain string `protobuf:"bytes,1,opt,name=domain,proto3,oneof"`
}

type RouteValidationError

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

RouteValidationError is the validation error returned by Route.Validate if the designated constraints aren't met.

func (RouteValidationError) Cause

func (e RouteValidationError) Cause() error

Cause function returns cause value.

func (RouteValidationError) Error

func (e RouteValidationError) Error() string

Error satisfies the builtin error interface

func (RouteValidationError) ErrorName

func (e RouteValidationError) ErrorName() string

ErrorName returns error name.

func (RouteValidationError) Field

func (e RouteValidationError) Field() string

Field function returns field value.

func (RouteValidationError) Key

func (e RouteValidationError) Key() bool

Key function returns key value.

func (RouteValidationError) Reason

func (e RouteValidationError) Reason() string

Reason function returns reason value.

type SipFilter

type SipFilter struct {

	// The name of the filter to instantiate. The name must match a supported
	// filter. The built-in filters are:
	//
	// [#comment:TODO(zuercher): Auto generate the following list]
	// * :ref:`envoy.filters.sip.router <config_sip_filters_router>`
	// * :ref:`envoy.filters.sip.rate_limit <config_sip_filters_rate_limit>`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Filter specific configuration which depends on the filter being instantiated. See the supported
	// filters for further documentation.
	//
	// Types that are assignable to ConfigType:
	//	*SipFilter_TypedConfig
	ConfigType isSipFilter_ConfigType `protobuf_oneof:"config_type"`
	// contains filtered or unexported fields
}

SipFilter configures a Sip filter.

func (*SipFilter) Descriptor deprecated

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

Deprecated: Use SipFilter.ProtoReflect.Descriptor instead.

func (*SipFilter) GetConfigType

func (m *SipFilter) GetConfigType() isSipFilter_ConfigType

func (*SipFilter) GetName

func (x *SipFilter) GetName() string

func (*SipFilter) GetTypedConfig

func (x *SipFilter) GetTypedConfig() *any.Any

func (*SipFilter) ProtoMessage

func (*SipFilter) ProtoMessage()

func (*SipFilter) ProtoReflect

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

func (*SipFilter) Reset

func (x *SipFilter) Reset()

func (*SipFilter) String

func (x *SipFilter) String() string

func (*SipFilter) Validate

func (m *SipFilter) Validate() error

Validate checks the field values on SipFilter with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type SipFilterValidationError

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

SipFilterValidationError is the validation error returned by SipFilter.Validate if the designated constraints aren't met.

func (SipFilterValidationError) Cause

func (e SipFilterValidationError) Cause() error

Cause function returns cause value.

func (SipFilterValidationError) Error

func (e SipFilterValidationError) Error() string

Error satisfies the builtin error interface

func (SipFilterValidationError) ErrorName

func (e SipFilterValidationError) ErrorName() string

ErrorName returns error name.

func (SipFilterValidationError) Field

func (e SipFilterValidationError) Field() string

Field function returns field value.

func (SipFilterValidationError) Key

Key function returns key value.

func (SipFilterValidationError) Reason

func (e SipFilterValidationError) Reason() string

Reason function returns reason value.

type SipFilter_TypedConfig

type SipFilter_TypedConfig struct {
	TypedConfig *any.Any `protobuf:"bytes,3,opt,name=typed_config,json=typedConfig,proto3,oneof"`
}

type SipProtocolOptions

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

SipProtocolOptions specifies Sip upstream protocol options. This object is used in in :ref:`typed_extension_protocol_options<envoy_api_field_config.cluster.v3.Cluster.typed_extension_protocol_options>`, keyed by the name `envoy.filters.network.sip_proxy`.

func (*SipProtocolOptions) Descriptor deprecated

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

Deprecated: Use SipProtocolOptions.ProtoReflect.Descriptor instead.

func (*SipProtocolOptions) ProtoMessage

func (*SipProtocolOptions) ProtoMessage()

func (*SipProtocolOptions) ProtoReflect

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

func (*SipProtocolOptions) Reset

func (x *SipProtocolOptions) Reset()

func (*SipProtocolOptions) String

func (x *SipProtocolOptions) String() string

func (*SipProtocolOptions) Validate

func (m *SipProtocolOptions) Validate() error

Validate checks the field values on SipProtocolOptions with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type SipProtocolOptionsValidationError

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

SipProtocolOptionsValidationError is the validation error returned by SipProtocolOptions.Validate if the designated constraints aren't met.

func (SipProtocolOptionsValidationError) Cause

Cause function returns cause value.

func (SipProtocolOptionsValidationError) Error

Error satisfies the builtin error interface

func (SipProtocolOptionsValidationError) ErrorName

ErrorName returns error name.

func (SipProtocolOptionsValidationError) Field

Field function returns field value.

func (SipProtocolOptionsValidationError) Key

Key function returns key value.

func (SipProtocolOptionsValidationError) Reason

Reason function returns reason value.

type SipProxy

type SipProxy struct {

	// The human readable prefix to use when emitting statistics.
	StatPrefix string `protobuf:"bytes,1,opt,name=stat_prefix,json=statPrefix,proto3" json:"stat_prefix,omitempty"`
	// The route table for the connection manager is static and is specified in this property.
	RouteConfig *RouteConfiguration `protobuf:"bytes,2,opt,name=route_config,json=routeConfig,proto3" json:"route_config,omitempty"`
	// A list of individual Sip filters that make up the filter chain for requests made to the
	// Sip proxy. Order matters as the filters are processed sequentially. For backwards
	// compatibility, if no sip_filters are specified, a default Sip router filter
	// (`envoy.filters.sip.router`) is used.
	SipFilters []*SipFilter `protobuf:"bytes,3,rep,name=sip_filters,json=sipFilters,proto3" json:"sip_filters,omitempty"`
	// SipSettings settings = 4 [(validate.rules).message = {required: true}];
	Settings *SipProxy_SipSettings `protobuf:"bytes,4,opt,name=settings,proto3" json:"settings,omitempty"`
	// contains filtered or unexported fields
}

func (*SipProxy) Descriptor deprecated

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

Deprecated: Use SipProxy.ProtoReflect.Descriptor instead.

func (*SipProxy) GetRouteConfig

func (x *SipProxy) GetRouteConfig() *RouteConfiguration

func (*SipProxy) GetSettings

func (x *SipProxy) GetSettings() *SipProxy_SipSettings

func (*SipProxy) GetSipFilters

func (x *SipProxy) GetSipFilters() []*SipFilter

func (*SipProxy) GetStatPrefix

func (x *SipProxy) GetStatPrefix() string

func (*SipProxy) ProtoMessage

func (*SipProxy) ProtoMessage()

func (*SipProxy) ProtoReflect

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

func (*SipProxy) Reset

func (x *SipProxy) Reset()

func (*SipProxy) String

func (x *SipProxy) String() string

func (*SipProxy) Validate

func (m *SipProxy) Validate() error

Validate checks the field values on SipProxy with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type SipProxyValidationError

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

SipProxyValidationError is the validation error returned by SipProxy.Validate if the designated constraints aren't met.

func (SipProxyValidationError) Cause

func (e SipProxyValidationError) Cause() error

Cause function returns cause value.

func (SipProxyValidationError) Error

func (e SipProxyValidationError) Error() string

Error satisfies the builtin error interface

func (SipProxyValidationError) ErrorName

func (e SipProxyValidationError) ErrorName() string

ErrorName returns error name.

func (SipProxyValidationError) Field

func (e SipProxyValidationError) Field() string

Field function returns field value.

func (SipProxyValidationError) Key

func (e SipProxyValidationError) Key() bool

Key function returns key value.

func (SipProxyValidationError) Reason

func (e SipProxyValidationError) Reason() string

Reason function returns reason value.

type SipProxy_SipSettings

type SipProxy_SipSettings struct {

	// |---------|-------------------------|----------|------------------------------------------------------------------------------|
	// | Timer   | Default value           | Section  | Meaning                                                                      |
	// |---------|-------------------------|----------|------------------------------------------------------------------------------|
	// | T1      | 500 ms                  | 17.1.1.1 | Round-trip time (RTT) estimate                                               |
	// | T2      | 4 sec.                  | 17.1.2.2 | Maximum retransmission interval for non-INVITE requests and INVITE responses |
	// | T4      | 5 sec.                  | 17.1.2.2 | Maximum duration that a message can remain in the network                    |
	// | Timer A | initially T1            | 17.1.1.2 | INVITE request retransmission interval, for UDP only                         |
	// | Timer B | 64*T1                   | 17.1.1.2 | INVITE transaction timeout timer                                             |
	// | Timer D | > 32 sec. for UDP       | 17.1.1.2 | Wait time for response retransmissions                                       |
	// |         | 0 sec. for TCP and SCTP |          |                                                                              |
	// | Timer E | initially T1            | 17.1.2.2 | Non-INVITE request retransmission interval, UDP only                         |
	// | Timer F | 64*T1                   | 17.1.2.2 | Non-INVITE transaction timeout timer                                         |
	// | Timer G | initially T1            | 17.2.1   | INVITE response retransmission interval                                      |
	// | Timer H | 64*T1                   | 17.2.1   | Wait time for ACK receipt                                                    |
	// | Timer I | T4 for UDP              | 17.2.1   | Wait time for ACK retransmissions                                            |
	// |         | 0 sec. for TCP and SCTP |          |                                                                              |
	// | Timer J | 64*T1 for UDP           | 17.2.2   | Wait time for retransmissions of non-INVITE requests                         |
	// |         | 0 sec. for TCP and SCTP |          |                                                                              |
	// | Timer K | T4 for UDP              | 17.1.2.2 | Wait time for response retransmissions                                       |
	// |         | 0 sec. for TCP and SCTP |          |                                                                              |
	// |---------|-------------------------|----------|------------------------------------------------------------------------------|
	//
	// transaction timeout timer [Timer B] unit is milliseconds, default value 64*T1.
	TransactionTimeout *duration.Duration `protobuf:"bytes,1,opt,name=transaction_timeout,json=transactionTimeout,proto3" json:"transaction_timeout,omitempty"` //google.protobuf.Duration transaction_timeout = 1;
	// if SIP agents support session_stickness, there is no need to add "ep" in sip message,
	// otherwise, handle session_stickness with envoy. false means SIP agents don't support
	// session_stickness, so envoy will take over it. default is false.
	SessionStickness bool `protobuf:"varint,2,opt,name=session_stickness,json=sessionStickness,proto3" json:"session_stickness,omitempty"`
	// contains filtered or unexported fields
}

func (*SipProxy_SipSettings) Descriptor deprecated

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

Deprecated: Use SipProxy_SipSettings.ProtoReflect.Descriptor instead.

func (*SipProxy_SipSettings) GetSessionStickness

func (x *SipProxy_SipSettings) GetSessionStickness() bool

func (*SipProxy_SipSettings) GetTransactionTimeout

func (x *SipProxy_SipSettings) GetTransactionTimeout() *duration.Duration

func (*SipProxy_SipSettings) ProtoMessage

func (*SipProxy_SipSettings) ProtoMessage()

func (*SipProxy_SipSettings) ProtoReflect

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

func (*SipProxy_SipSettings) Reset

func (x *SipProxy_SipSettings) Reset()

func (*SipProxy_SipSettings) String

func (x *SipProxy_SipSettings) String() string

func (*SipProxy_SipSettings) Validate

func (m *SipProxy_SipSettings) Validate() error

Validate checks the field values on SipProxy_SipSettings with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type SipProxy_SipSettingsValidationError

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

SipProxy_SipSettingsValidationError is the validation error returned by SipProxy_SipSettings.Validate if the designated constraints aren't met.

func (SipProxy_SipSettingsValidationError) Cause

Cause function returns cause value.

func (SipProxy_SipSettingsValidationError) Error

Error satisfies the builtin error interface

func (SipProxy_SipSettingsValidationError) ErrorName

ErrorName returns error name.

func (SipProxy_SipSettingsValidationError) Field

Field function returns field value.

func (SipProxy_SipSettingsValidationError) Key

Key function returns key value.

func (SipProxy_SipSettingsValidationError) Reason

Reason function returns reason value.

Jump to

Keyboard shortcuts

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