v3alpha

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Jan 2, 2024 License: Apache-2.0 Imports: 21 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_contrib_envoy_extensions_filters_network_sip_proxy_v3alpha_route_proto protoreflect.FileDescriptor
View Source
var File_contrib_envoy_extensions_filters_network_sip_proxy_v3alpha_sip_proxy_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Cache added in v0.10.2

type Cache struct {

	// Affinity local cache item max number
	MaxCacheItem int32 `protobuf:"varint,1,opt,name=max_cache_item,json=maxCacheItem,proto3" json:"max_cache_item,omitempty"`
	// Whether query result can be added to local cache
	AddQueryToCache bool `protobuf:"varint,2,opt,name=add_query_to_cache,json=addQueryToCache,proto3" json:"add_query_to_cache,omitempty"`
	// contains filtered or unexported fields
}

func (*Cache) Descriptor deprecated added in v0.10.2

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

Deprecated: Use Cache.ProtoReflect.Descriptor instead.

func (*Cache) GetAddQueryToCache added in v0.10.2

func (x *Cache) GetAddQueryToCache() bool

func (*Cache) GetMaxCacheItem added in v0.10.2

func (x *Cache) GetMaxCacheItem() int32

func (*Cache) ProtoMessage added in v0.10.2

func (*Cache) ProtoMessage()

func (*Cache) ProtoReflect added in v0.10.2

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

func (*Cache) Reset added in v0.10.2

func (x *Cache) Reset()

func (*Cache) String added in v0.10.2

func (x *Cache) String() string

func (*Cache) Validate added in v0.10.2

func (m *Cache) Validate() error

Validate checks the field values on Cache with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Cache) ValidateAll added in v0.10.2

func (m *Cache) ValidateAll() error

ValidateAll checks the field values on Cache with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CacheMultiError, or nil if none found.

type CacheMultiError added in v0.10.2

type CacheMultiError []error

CacheMultiError is an error wrapping multiple validation errors returned by Cache.ValidateAll() if the designated constraints aren't met.

func (CacheMultiError) AllErrors added in v0.10.2

func (m CacheMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CacheMultiError) Error added in v0.10.2

func (m CacheMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type CacheValidationError added in v0.10.2

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

CacheValidationError is the validation error returned by Cache.Validate if the designated constraints aren't met.

func (CacheValidationError) Cause added in v0.10.2

func (e CacheValidationError) Cause() error

Cause function returns cause value.

func (CacheValidationError) Error added in v0.10.2

func (e CacheValidationError) Error() string

Error satisfies the builtin error interface

func (CacheValidationError) ErrorName added in v0.10.2

func (e CacheValidationError) ErrorName() string

ErrorName returns error name.

func (CacheValidationError) Field added in v0.10.2

func (e CacheValidationError) Field() string

Field function returns field value.

func (CacheValidationError) Key added in v0.10.2

func (e CacheValidationError) Key() bool

Key function returns key value.

func (CacheValidationError) Reason added in v0.10.2

func (e CacheValidationError) Reason() string

Reason function returns reason value.

type CustomizedAffinity added in v0.10.2

type CustomizedAffinity struct {

	// Affinity rules to conclude the upstream endpoint
	Entries []*CustomizedAffinityEntry `protobuf:"bytes,1,rep,name=entries,proto3" json:"entries,omitempty"`
	// Configures whether load balance should be stopped or continued after affinity handling.
	StopLoadBalance bool `protobuf:"varint,2,opt,name=stop_load_balance,json=stopLoadBalance,proto3" json:"stop_load_balance,omitempty"`
	// contains filtered or unexported fields
}

For affinity

func (*CustomizedAffinity) Descriptor deprecated added in v0.10.2

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

Deprecated: Use CustomizedAffinity.ProtoReflect.Descriptor instead.

func (*CustomizedAffinity) GetEntries added in v0.10.2

func (x *CustomizedAffinity) GetEntries() []*CustomizedAffinityEntry

func (*CustomizedAffinity) GetStopLoadBalance added in v0.10.2

func (x *CustomizedAffinity) GetStopLoadBalance() bool

func (*CustomizedAffinity) ProtoMessage added in v0.10.2

func (*CustomizedAffinity) ProtoMessage()

func (*CustomizedAffinity) ProtoReflect added in v0.10.2

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

func (*CustomizedAffinity) Reset added in v0.10.2

func (x *CustomizedAffinity) Reset()

func (*CustomizedAffinity) String added in v0.10.2

func (x *CustomizedAffinity) String() string

func (*CustomizedAffinity) Validate added in v0.10.2

func (m *CustomizedAffinity) Validate() error

Validate checks the field values on CustomizedAffinity with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*CustomizedAffinity) ValidateAll added in v0.10.2

func (m *CustomizedAffinity) ValidateAll() error

ValidateAll checks the field values on CustomizedAffinity with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CustomizedAffinityMultiError, or nil if none found.

type CustomizedAffinityEntry added in v0.10.2

type CustomizedAffinityEntry struct {

	// The header name to match, e.g. "From", if not specified, default is "Route"
	Header string `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	// Affinity key for TRA query/subscribe, e.g. "lskpmc", if key_name is "text" means use the header content as key.
	KeyName string `protobuf:"bytes,2,opt,name=key_name,json=keyName,proto3" json:"key_name,omitempty"`
	// Whether subscribe to TRA is required
	Subscribe bool `protobuf:"varint,3,opt,name=subscribe,proto3" json:"subscribe,omitempty"`
	// Whether query to TRA is required
	Query bool `protobuf:"varint,4,opt,name=query,proto3" json:"query,omitempty"`
	// Local cache
	Cache *Cache `protobuf:"bytes,5,opt,name=cache,proto3" json:"cache,omitempty"`
	// contains filtered or unexported fields
}

[#next-free-field: 6]

func (*CustomizedAffinityEntry) Descriptor deprecated added in v0.10.2

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

Deprecated: Use CustomizedAffinityEntry.ProtoReflect.Descriptor instead.

func (*CustomizedAffinityEntry) GetCache added in v0.10.2

func (x *CustomizedAffinityEntry) GetCache() *Cache

func (*CustomizedAffinityEntry) GetHeader added in v0.10.2

func (x *CustomizedAffinityEntry) GetHeader() string

func (*CustomizedAffinityEntry) GetKeyName added in v0.10.2

func (x *CustomizedAffinityEntry) GetKeyName() string

func (*CustomizedAffinityEntry) GetQuery added in v0.10.2

func (x *CustomizedAffinityEntry) GetQuery() bool

func (*CustomizedAffinityEntry) GetSubscribe added in v0.10.2

func (x *CustomizedAffinityEntry) GetSubscribe() bool

func (*CustomizedAffinityEntry) ProtoMessage added in v0.10.2

func (*CustomizedAffinityEntry) ProtoMessage()

func (*CustomizedAffinityEntry) ProtoReflect added in v0.10.2

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

func (*CustomizedAffinityEntry) Reset added in v0.10.2

func (x *CustomizedAffinityEntry) Reset()

func (*CustomizedAffinityEntry) String added in v0.10.2

func (x *CustomizedAffinityEntry) String() string

func (*CustomizedAffinityEntry) Validate added in v0.10.2

func (m *CustomizedAffinityEntry) Validate() error

Validate checks the field values on CustomizedAffinityEntry with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*CustomizedAffinityEntry) ValidateAll added in v0.10.2

func (m *CustomizedAffinityEntry) ValidateAll() error

ValidateAll checks the field values on CustomizedAffinityEntry with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CustomizedAffinityEntryMultiError, or nil if none found.

type CustomizedAffinityEntryMultiError added in v0.10.2

type CustomizedAffinityEntryMultiError []error

CustomizedAffinityEntryMultiError is an error wrapping multiple validation errors returned by CustomizedAffinityEntry.ValidateAll() if the designated constraints aren't met.

func (CustomizedAffinityEntryMultiError) AllErrors added in v0.10.2

func (m CustomizedAffinityEntryMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CustomizedAffinityEntryMultiError) Error added in v0.10.2

Error returns a concatenation of all the error messages it wraps.

type CustomizedAffinityEntryValidationError added in v0.10.2

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

CustomizedAffinityEntryValidationError is the validation error returned by CustomizedAffinityEntry.Validate if the designated constraints aren't met.

func (CustomizedAffinityEntryValidationError) Cause added in v0.10.2

Cause function returns cause value.

func (CustomizedAffinityEntryValidationError) Error added in v0.10.2

Error satisfies the builtin error interface

func (CustomizedAffinityEntryValidationError) ErrorName added in v0.10.2

ErrorName returns error name.

func (CustomizedAffinityEntryValidationError) Field added in v0.10.2

Field function returns field value.

func (CustomizedAffinityEntryValidationError) Key added in v0.10.2

Key function returns key value.

func (CustomizedAffinityEntryValidationError) Reason added in v0.10.2

Reason function returns reason value.

type CustomizedAffinityMultiError added in v0.10.2

type CustomizedAffinityMultiError []error

CustomizedAffinityMultiError is an error wrapping multiple validation errors returned by CustomizedAffinity.ValidateAll() if the designated constraints aren't met.

func (CustomizedAffinityMultiError) AllErrors added in v0.10.2

func (m CustomizedAffinityMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CustomizedAffinityMultiError) Error added in v0.10.2

Error returns a concatenation of all the error messages it wraps.

type CustomizedAffinityValidationError added in v0.10.2

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

CustomizedAffinityValidationError is the validation error returned by CustomizedAffinity.Validate if the designated constraints aren't met.

func (CustomizedAffinityValidationError) Cause added in v0.10.2

Cause function returns cause value.

func (CustomizedAffinityValidationError) Error added in v0.10.2

Error satisfies the builtin error interface

func (CustomizedAffinityValidationError) ErrorName added in v0.10.2

ErrorName returns error name.

func (CustomizedAffinityValidationError) Field added in v0.10.2

Field function returns field value.

func (CustomizedAffinityValidationError) Key added in v0.10.2

Key function returns key value.

func (CustomizedAffinityValidationError) Reason added in v0.10.2

Reason function returns reason value.

type LocalService added in v0.10.2

type LocalService struct {

	// The domain need to matched
	Domain string `protobuf:"bytes,1,opt,name=domain,proto3" json:"domain,omitempty"`
	// The parameter to get domain
	Parameter string `protobuf:"bytes,2,opt,name=parameter,proto3" json:"parameter,omitempty"`
	// contains filtered or unexported fields
}

Local Service

func (*LocalService) Descriptor deprecated added in v0.10.2

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

Deprecated: Use LocalService.ProtoReflect.Descriptor instead.

func (*LocalService) GetDomain added in v0.10.2

func (x *LocalService) GetDomain() string

func (*LocalService) GetParameter added in v0.10.2

func (x *LocalService) GetParameter() string

func (*LocalService) ProtoMessage added in v0.10.2

func (*LocalService) ProtoMessage()

func (*LocalService) ProtoReflect added in v0.10.2

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

func (*LocalService) Reset added in v0.10.2

func (x *LocalService) Reset()

func (*LocalService) String added in v0.10.2

func (x *LocalService) String() string

func (*LocalService) Validate added in v0.10.2

func (m *LocalService) Validate() error

Validate checks the field values on LocalService with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*LocalService) ValidateAll added in v0.10.2

func (m *LocalService) ValidateAll() error

ValidateAll checks the field values on LocalService with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in LocalServiceMultiError, or nil if none found.

type LocalServiceMultiError added in v0.10.2

type LocalServiceMultiError []error

LocalServiceMultiError is an error wrapping multiple validation errors returned by LocalService.ValidateAll() if the designated constraints aren't met.

func (LocalServiceMultiError) AllErrors added in v0.10.2

func (m LocalServiceMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (LocalServiceMultiError) Error added in v0.10.2

func (m LocalServiceMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type LocalServiceValidationError added in v0.10.2

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

LocalServiceValidationError is the validation error returned by LocalService.Validate if the designated constraints aren't met.

func (LocalServiceValidationError) Cause added in v0.10.2

Cause function returns cause value.

func (LocalServiceValidationError) Error added in v0.10.2

Error satisfies the builtin error interface

func (LocalServiceValidationError) ErrorName added in v0.10.2

func (e LocalServiceValidationError) ErrorName() string

ErrorName returns error name.

func (LocalServiceValidationError) Field added in v0.10.2

Field function returns field value.

func (LocalServiceValidationError) Key added in v0.10.2

Key function returns key value.

func (LocalServiceValidationError) Reason added in v0.10.2

Reason function returns reason value.

type Route

type Route struct {

	// Route matching parameters.
	Match *RouteMatch `protobuf:"bytes,1,opt,name=match,proto3" json:"match,omitempty"`
	// Route request to some upstream cluster.
	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, the first error encountered is returned, or nil if there are no violations.

func (*Route) ValidateAll

func (m *Route) ValidateAll() error

ValidateAll checks the field values on Route with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in RouteMultiError, or nil if none found.

type RouteAction

type RouteAction struct {

	// Types that are assignable to ClusterSpecifier:
	//
	//	*RouteAction_Cluster
	ClusterSpecifier isRouteAction_ClusterSpecifier `protobuf_oneof:"cluster_specifier"`
	// 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) GetClusterSpecifier

func (m *RouteAction) GetClusterSpecifier() isRouteAction_ClusterSpecifier

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, the first error encountered is returned, or nil if there are no violations.

func (*RouteAction) ValidateAll

func (m *RouteAction) ValidateAll() error

ValidateAll checks the field values on RouteAction with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in RouteActionMultiError, or nil if none found.

type RouteActionMultiError

type RouteActionMultiError []error

RouteActionMultiError is an error wrapping multiple validation errors returned by RouteAction.ValidateAll() if the designated constraints aren't met.

func (RouteActionMultiError) AllErrors

func (m RouteActionMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (RouteActionMultiError) Error

func (m RouteActionMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

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 RouteConfiguration

type RouteConfiguration struct {

	// The name of the route configuration. Reserved for future use in asynchronous route discovery.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The list of routes that will be matched, in order, against incoming requests. The first route
	// that matches will be used.
	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, the first error encountered is returned, or nil if there are no violations.

func (*RouteConfiguration) ValidateAll

func (m *RouteConfiguration) ValidateAll() error

ValidateAll checks the field values on RouteConfiguration with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in RouteConfigurationMultiError, or nil if none found.

type RouteConfigurationMultiError

type RouteConfigurationMultiError []error

RouteConfigurationMultiError is an error wrapping multiple validation errors returned by RouteConfiguration.ValidateAll() if the designated constraints aren't met.

func (RouteConfigurationMultiError) AllErrors

func (m RouteConfigurationMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (RouteConfigurationMultiError) Error

Error returns a concatenation of all the error messages it wraps.

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"`
	// The header to get match parameter, default is "Route".
	Header string `protobuf:"bytes,2,opt,name=header,proto3" json:"header,omitempty"`
	// The parameter to get domain, default is "host".
	Parameter string `protobuf:"bytes,3,opt,name=parameter,proto3" json:"parameter,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) GetHeader added in v0.10.2

func (x *RouteMatch) GetHeader() string

func (*RouteMatch) GetMatchSpecifier

func (m *RouteMatch) GetMatchSpecifier() isRouteMatch_MatchSpecifier

func (*RouteMatch) GetParameter added in v0.10.2

func (x *RouteMatch) GetParameter() string

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, the first error encountered is returned, or nil if there are no violations.

func (*RouteMatch) ValidateAll

func (m *RouteMatch) ValidateAll() error

ValidateAll checks the field values on RouteMatch with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in RouteMatchMultiError, or nil if none found.

type RouteMatchMultiError

type RouteMatchMultiError []error

RouteMatchMultiError is an error wrapping multiple validation errors returned by RouteMatch.ValidateAll() if the designated constraints aren't met.

func (RouteMatchMultiError) AllErrors

func (m RouteMatchMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (RouteMatchMultiError) Error

func (m RouteMatchMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

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 {
	// The domain from Request URI or Route Header.
	Domain string `protobuf:"bytes,1,opt,name=domain,proto3,oneof"`
}

type RouteMultiError

type RouteMultiError []error

RouteMultiError is an error wrapping multiple validation errors returned by Route.ValidateAll() if the designated constraints aren't met.

func (RouteMultiError) AllErrors

func (m RouteMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (RouteMultiError) Error

func (m RouteMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

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:
	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() *any1.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, the first error encountered is returned, or nil if there are no violations.

func (*SipFilter) ValidateAll

func (m *SipFilter) ValidateAll() error

ValidateAll checks the field values on SipFilter with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SipFilterMultiError, or nil if none found.

type SipFilterMultiError

type SipFilterMultiError []error

SipFilterMultiError is an error wrapping multiple validation errors returned by SipFilter.ValidateAll() if the designated constraints aren't met.

func (SipFilterMultiError) AllErrors

func (m SipFilterMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (SipFilterMultiError) Error

func (m SipFilterMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

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 *any1.Any `protobuf:"bytes,3,opt,name=typed_config,json=typedConfig,proto3,oneof"`
}

type SipProtocolOptions

type SipProtocolOptions struct {

	// All sip messages in one dialog should go to the same endpoint.
	SessionAffinity bool `protobuf:"varint,1,opt,name=session_affinity,json=sessionAffinity,proto3" json:"session_affinity,omitempty"`
	// The Register with Authorization header should go to the same endpoint which send out the 401 Unauthorized.
	RegistrationAffinity bool `protobuf:"varint,2,opt,name=registration_affinity,json=registrationAffinity,proto3" json:"registration_affinity,omitempty"`
	// Customized affinity
	CustomizedAffinity *CustomizedAffinity `protobuf:"bytes,3,opt,name=customized_affinity,json=customizedAffinity,proto3" json:"customized_affinity,omitempty"`
	// contains filtered or unexported fields
}

SipProtocolOptions specifies Sip upstream protocol options. This object is used in :ref:`typed_extension_protocol_options<envoy_v3_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) GetCustomizedAffinity added in v0.10.2

func (x *SipProtocolOptions) GetCustomizedAffinity() *CustomizedAffinity

func (*SipProtocolOptions) GetRegistrationAffinity

func (x *SipProtocolOptions) GetRegistrationAffinity() bool

func (*SipProtocolOptions) GetSessionAffinity

func (x *SipProtocolOptions) GetSessionAffinity() bool

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, the first error encountered is returned, or nil if there are no violations.

func (*SipProtocolOptions) ValidateAll

func (m *SipProtocolOptions) ValidateAll() error

ValidateAll checks the field values on SipProtocolOptions with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SipProtocolOptionsMultiError, or nil if none found.

type SipProtocolOptionsMultiError

type SipProtocolOptionsMultiError []error

SipProtocolOptionsMultiError is an error wrapping multiple validation errors returned by SipProtocolOptions.ValidateAll() if the designated constraints aren't met.

func (SipProtocolOptionsMultiError) AllErrors

func (m SipProtocolOptionsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (SipProtocolOptionsMultiError) Error

Error returns a concatenation of all the error messages it wraps.

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.
	// [#extension-category: envoy.sip_proxy.filters]
	SipFilters []*SipFilter          `protobuf:"bytes,3,rep,name=sip_filters,json=sipFilters,proto3" json:"sip_filters,omitempty"`
	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, the first error encountered is returned, or nil if there are no violations.

func (*SipProxy) ValidateAll

func (m *SipProxy) ValidateAll() error

ValidateAll checks the field values on SipProxy with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SipProxyMultiError, or nil if none found.

type SipProxyMultiError

type SipProxyMultiError []error

SipProxyMultiError is an error wrapping multiple validation errors returned by SipProxy.ValidateAll() if the designated constraints aren't met.

func (SipProxyMultiError) AllErrors

func (m SipProxyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (SipProxyMultiError) Error

func (m SipProxyMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

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 {

	// transaction timeout timer [Timer B] unit is milliseconds, default value 64*T1.
	//
	// # Session Initiation Protocol (SIP) timer summary
	//
	// +---------+-------------------------+----------+------------------------------------------------------------------------------+
	// | 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 re-transmission 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 re-transmission 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 re-transmissions                                      |
	// |         | 0 sec. for TCP and SCTP |          |                                                                              |
	// +---------+-------------------------+----------+------------------------------------------------------------------------------+
	// | Timer E | initially T1            | 17.1.2.2 | Non-INVITE request re-transmission 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 re-transmission 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 re-transmissions                                           |
	// |         | 0 sec. for TCP and SCTP |          |                                                                              |
	// +---------+-------------------------+----------+------------------------------------------------------------------------------+
	// | Timer J | 64*T1 for UDP           | 17.2.2   | Wait time for re-transmissions of non-INVITE requests                        |
	// |         | 0 sec. for TCP and SCTP |          |                                                                              |
	// +---------+-------------------------+----------+------------------------------------------------------------------------------+
	// | Timer K | T4 for UDP              | 17.1.2.2 | Wait time for response re-transmissions                                      |
	// |         | 0 sec. for TCP and SCTP |          |                                                                              |
	// +---------+-------------------------+----------+------------------------------------------------------------------------------+
	TransactionTimeout *duration.Duration `protobuf:"bytes,1,opt,name=transaction_timeout,json=transactionTimeout,proto3" json:"transaction_timeout,omitempty"`
	// The service to match for ep insert
	LocalServices    []*LocalService           `protobuf:"bytes,2,rep,name=local_services,json=localServices,proto3" json:"local_services,omitempty"`
	TraServiceConfig *v3alpha.TraServiceConfig `protobuf:"bytes,3,opt,name=tra_service_config,json=traServiceConfig,proto3" json:"tra_service_config,omitempty"`
	// Whether via header is operated, including add via for request and pop via for response
	// False: sip service proxy
	// True:  sip load balancer
	OperateVia bool `protobuf:"varint,4,opt,name=operate_via,json=operateVia,proto3" json:"operate_via,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) GetLocalServices added in v0.10.2

func (x *SipProxy_SipSettings) GetLocalServices() []*LocalService

func (*SipProxy_SipSettings) GetOperateVia added in v0.10.2

func (x *SipProxy_SipSettings) GetOperateVia() bool

func (*SipProxy_SipSettings) GetTraServiceConfig added in v0.10.2

func (x *SipProxy_SipSettings) GetTraServiceConfig() *v3alpha.TraServiceConfig

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, the first error encountered is returned, or nil if there are no violations.

func (*SipProxy_SipSettings) ValidateAll

func (m *SipProxy_SipSettings) ValidateAll() error

ValidateAll checks the field values on SipProxy_SipSettings with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SipProxy_SipSettingsMultiError, or nil if none found.

type SipProxy_SipSettingsMultiError

type SipProxy_SipSettingsMultiError []error

SipProxy_SipSettingsMultiError is an error wrapping multiple validation errors returned by SipProxy_SipSettings.ValidateAll() if the designated constraints aren't met.

func (SipProxy_SipSettingsMultiError) AllErrors

func (m SipProxy_SipSettingsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (SipProxy_SipSettingsMultiError) Error

Error returns a concatenation of all the error messages it wraps.

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