on_demandv3

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: 8 Imported by: 0

Documentation

Index

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) Descriptor deprecated

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

Deprecated: Use OnDemand.ProtoReflect.Descriptor instead.

func (*OnDemand) GetOdcds

func (x *OnDemand) GetOdcds() *OnDemandCds

func (*OnDemand) ProtoMessage

func (*OnDemand) ProtoMessage()

func (*OnDemand) ProtoReflect

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

func (*OnDemand) Reset

func (x *OnDemand) Reset()

func (*OnDemand) String

func (x *OnDemand) String() string

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

Jump to

Keyboard shortcuts

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