Documentation ¶
Index ¶
- Variables
- type OnDemand
- type OnDemandCds
- func (*OnDemandCds) Descriptor() ([]byte, []int)deprecated
- func (x *OnDemandCds) GetResourcesLocator() string
- func (x *OnDemandCds) GetSource() *v3.ConfigSource
- func (x *OnDemandCds) GetTimeout() *durationpb.Duration
- func (*OnDemandCds) ProtoMessage()
- func (x *OnDemandCds) ProtoReflect() protoreflect.Message
- func (x *OnDemandCds) Reset()
- func (x *OnDemandCds) String() string
- type PerRouteConfig
Constants ¶
This section is empty.
Variables ¶
View Source
var File_envoy_extensions_filters_http_on_demand_v3_on_demand_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type OnDemand ¶
type OnDemand struct { // An optional configuration for on-demand cluster discovery // service. If not specified, the on-demand cluster discovery will // be disabled. When it's specified, the filter will pause the // request to an unknown cluster and will begin a cluster discovery // process. When the discovery is finished (successfully or not), the // request will be resumed for further processing. Odcds *OnDemandCds `protobuf:"bytes,1,opt,name=odcds,proto3" json:"odcds,omitempty"` // contains filtered or unexported fields }
On Demand Discovery filter config.
func (*OnDemand) GetOdcds ¶
func (x *OnDemand) GetOdcds() *OnDemandCds
func (*OnDemand) ProtoReflect ¶
func (x *OnDemand) ProtoReflect() protoreflect.Message
type OnDemandCds ¶
type OnDemandCds struct { // A configuration source for the service that will be used for // on-demand cluster discovery. Source *v3.ConfigSource `protobuf:"bytes,1,opt,name=source,proto3" json:"source,omitempty"` // xdstp:// resource locator for on-demand cluster collection. ResourcesLocator string `protobuf:"bytes,2,opt,name=resources_locator,json=resourcesLocator,proto3" json:"resources_locator,omitempty"` // The timeout for on demand cluster lookup. If not set, defaults to 5 seconds. Timeout *durationpb.Duration `protobuf:"bytes,3,opt,name=timeout,proto3" json:"timeout,omitempty"` // contains filtered or unexported fields }
Configuration of on-demand CDS.
func (*OnDemandCds) Descriptor
deprecated
func (*OnDemandCds) Descriptor() ([]byte, []int)
Deprecated: Use OnDemandCds.ProtoReflect.Descriptor instead.
func (*OnDemandCds) GetResourcesLocator ¶
func (x *OnDemandCds) GetResourcesLocator() string
func (*OnDemandCds) GetSource ¶
func (x *OnDemandCds) GetSource() *v3.ConfigSource
func (*OnDemandCds) GetTimeout ¶
func (x *OnDemandCds) GetTimeout() *durationpb.Duration
func (*OnDemandCds) ProtoMessage ¶
func (*OnDemandCds) ProtoMessage()
func (*OnDemandCds) ProtoReflect ¶
func (x *OnDemandCds) ProtoReflect() protoreflect.Message
func (*OnDemandCds) Reset ¶
func (x *OnDemandCds) Reset()
func (*OnDemandCds) String ¶
func (x *OnDemandCds) String() string
type PerRouteConfig ¶
type PerRouteConfig struct { // An optional configuration for on-demand cluster discovery // service. If not specified, the on-demand cluster discovery will // be disabled. When it's specified, the filter will pause the // request to an unknown cluster and will begin a cluster discovery // process. When the discovery is finished (successfully or not), the // request will be resumed for further processing. Odcds *OnDemandCds `protobuf:"bytes,1,opt,name=odcds,proto3" json:"odcds,omitempty"` // contains filtered or unexported fields }
Per-route configuration for On Demand Discovery.
func (*PerRouteConfig) Descriptor
deprecated
func (*PerRouteConfig) Descriptor() ([]byte, []int)
Deprecated: Use PerRouteConfig.ProtoReflect.Descriptor instead.
func (*PerRouteConfig) GetOdcds ¶
func (x *PerRouteConfig) GetOdcds() *OnDemandCds
func (*PerRouteConfig) ProtoMessage ¶
func (*PerRouteConfig) ProtoMessage()
func (*PerRouteConfig) ProtoReflect ¶
func (x *PerRouteConfig) ProtoReflect() protoreflect.Message
func (*PerRouteConfig) Reset ¶
func (x *PerRouteConfig) Reset()
func (*PerRouteConfig) String ¶
func (x *PerRouteConfig) String() string
Click to show internal directories.
Click to hide internal directories.