Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

Usage

import * as mod from "https://googleapis.deno.dev/v1/trafficdirector:v3.ts";

§Classes

GoogleAuth
TrafficDirector

§Variables

auth

§Interfaces

Address

Addresses specify either a logical or physical address and port, which are used to tell Envoy where to bind/listen, connect to upstream and find management servers.

BuildVersion

BuildVersion combines SemVer version of extension with free-form build information (i.e. 'alpha', 'private-build') as a set of strings.

ClientConfig

All xds configs for a particular client.

ClientStatusRequest

Request for client status of clients identified by a list of NodeMatchers.

ClientStatusResponse
ClustersConfigDump

Envoy's cluster manager fills this message with all currently known clusters. Cluster configuration information can be used to recreate an Envoy configuration by populating all clusters as static clusters or by returning them in a CDS response.

ContextParams

Additional parameters that can be used to select resource variants. These include any global context parameters, per-resource type client feature capabilities and per-resource type functional attributes. All per-resource type attributes will be xds.resource. prefixed and some of these are documented below: xds.resource.listening_address: The value is "IP:port" (e.g. "10.1.1.3:8080") which is the listening address of a Listener. Used in a Listener resource query.

CredentialsClient

Defines the root interface for all clients that generate credentials for calling Google APIs. All clients should implement this interface.

DoubleMatcher

Specifies the way to match a double value.

DoubleRange

Specifies the double start and end of the range using half-open interval semantics [start, end).

DynamicCluster

Describes a dynamically loaded cluster via the CDS API. [#next-free-field: 6]

DynamicEndpointConfig

[#next-free-field: 6]

DynamicListener

Describes a dynamically loaded listener via the LDS API. [#next-free-field: 7]

DynamicListenerState
DynamicRouteConfig

[#next-free-field: 6]

DynamicScopedRouteConfigs

[#next-free-field: 7]

EndpointsConfigDump

Envoy's admin fill this message with all currently known endpoints. Endpoint configuration information can be used to recreate an Envoy configuration by populating all endpoints as static endpoints or by returning them in an EDS response.

EnvoyInternalAddress

The address represents an envoy internal listener. [#comment:

Extension

Version and identification for an Envoy extension. [#next-free-field: 7]

GenericXdsConfig

GenericXdsConfig is used to specify the config status and the dump of any xDS resource identified by their type URL. It is the generalized version of the now deprecated ListenersConfigDump, ClustersConfigDump etc [#next-free-field: 10]

GoogleRE2

Google's RE2 _ regex engine. The regex string must adhere to the documented syntax _. The engine is designed to complete execution in linear time as well as limit the amount of memory used. Envoy supports program size checking via runtime. The runtime keys re2.max_program_size.error_level and re2.max_program_size.warn_level can be set to integers as the maximum program size or complexity that a compiled regex can have before an exception is thrown or a warning is logged, respectively. re2.max_program_size.error_level defaults to 100, and re2.max_program_size.warn_level has no default if unset (will not check/log a warning). Envoy emits two stats for tracking the program size of regexes: the histogram re2.program_size, which records the program size, and the counter re2.exceeded_warn_level, which is incremented each time the program size exceeds the warn level threshold.

InlineScopedRouteConfigs
ListenersConfigDump

Envoy's listener manager fills this message with all currently known listeners. Listener configuration information can be used to recreate an Envoy configuration by populating all listeners as static listeners or by returning them in a LDS response.

ListMatcher

Specifies the way to match a list value.

Locality

Identifies location of where either Envoy runs or where upstream hosts run.

Node

Identifies a specific Envoy instance. The node identifier is presented to the management server, which may use this identifier to distinguish per Envoy configuration for serving. [#next-free-field: 13]

NodeMatcher

Specifies the way to match a Node. The match follows AND semantics.

NullMatch

NullMatch is an empty message to specify a null value.

OrMatcher

Specifies a list of alternatives for the match.

PathSegment

Specifies the segment in a path to retrieve value from Struct.

PerXdsConfig

Detailed config (per xDS) with status. [#next-free-field: 8]

Pipe
RegexMatcher

A regex matcher designed for safety when used with untrusted input.

RoutesConfigDump

Envoy's RDS implementation fills this message with all currently loaded routes, as described by their RouteConfiguration objects. Static routes that are either defined in the bootstrap configuration or defined inline while configuring listeners are separated from those configured dynamically via RDS. Route configuration information can be used to recreate an Envoy configuration by populating all routes as static routes or by returning them in RDS responses.

ScopedRoutesConfigDump

Envoy's scoped RDS implementation fills this message with all currently loaded route configuration scopes (defined via ScopedRouteConfigurationsSet protos). This message lists both the scopes defined inline with the higher order object (i.e., the HttpConnectionManager) and the dynamically obtained scopes via the SRDS API.

SemanticVersion

Envoy uses SemVer (https://semver.org/). Major/minor versions indicate expected behaviors and APIs, the patch version field is used only for security fixes and can be generally ignored.

SocketAddress

[#next-free-field: 7]

StaticCluster

Describes a statically loaded cluster.

StaticEndpointConfig
StaticListener

Describes a statically loaded listener.

StaticRouteConfig
StringMatcher

Specifies the way to match a string. [#next-free-field: 9]

StructMatcher

StructMatcher provides a general interface to check if a given value is matched in google.protobuf.Struct. It uses path to retrieve the value from the struct and then check if it's matched to the specified value. For example, for the following Struct: .. code-block:: yaml fields: a: struct_value: fields: b: struct_value: fields: c: string_value: pro t: list_value: values: - string_value: m - string_value: n The following MetadataMatcher is matched as the path [a, b, c] will retrieve a string value "pro" from the Metadata which is matched to the specified prefix match. .. code-block:: yaml path: - key: a - key: b - key: c value: string_match: prefix: pr The following StructMatcher is matched as the code will match one of the string values in the list at the path [a, t]. .. code-block:: yaml path: - key: a - key: t value: list_match: one_of: string_match: exact: m An example use of StructMatcher is to match metadata in envoy.v*.core.Node.

TypedExtensionConfig

Message type for extension configuration.

UpdateFailureState
ValueMatcher

Specifies the way to match a ProtobufWkt::Value. Primitive values and ListValue are supported. StructValue is not supported and is always not matched. [#next-free-field: 8]