Class: Google::Apis::TrafficdirectorV3::PerXdsConfig
- Inherits:
-
Object
- Object
- Google::Apis::TrafficdirectorV3::PerXdsConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/trafficdirector_v3/classes.rb,
lib/google/apis/trafficdirector_v3/representations.rb,
lib/google/apis/trafficdirector_v3/representations.rb
Overview
Detailed config (per xDS) with status. [#next-free-field: 8]
Instance Attribute Summary collapse
-
#client_status ⇒ String
Client config status is populated by xDS clients.
-
#cluster_config ⇒ Google::Apis::TrafficdirectorV3::ClustersConfigDump
Envoy's cluster manager fills this message with all currently known clusters.
-
#endpoint_config ⇒ Google::Apis::TrafficdirectorV3::EndpointsConfigDump
Envoy's admin fill this message with all currently known endpoints.
-
#listener_config ⇒ Google::Apis::TrafficdirectorV3::ListenersConfigDump
Envoy's listener manager fills this message with all currently known listeners.
-
#route_config ⇒ Google::Apis::TrafficdirectorV3::RoutesConfigDump
Envoy's RDS implementation fills this message with all currently loaded routes, as described by their RouteConfiguration objects.
-
#scoped_route_config ⇒ Google::Apis::TrafficdirectorV3::ScopedRoutesConfigDump
Envoy's scoped RDS implementation fills this message with all currently loaded route configuration scopes (defined via ScopedRouteConfigurationsSet protos).
-
#status ⇒ String
Config status generated by management servers.
Instance Method Summary collapse
-
#initialize(**args) ⇒ PerXdsConfig
constructor
A new instance of PerXdsConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ PerXdsConfig
Returns a new instance of PerXdsConfig.
1168 1169 1170 |
# File 'lib/google/apis/trafficdirector_v3/classes.rb', line 1168 def initialize(**args) update!(**args) end |
Instance Attribute Details
#client_status ⇒ String
Client config status is populated by xDS clients. Will not be present if the
CSDS server is an xDS server. No matter what the client config status is, xDS
clients should always dump the most recent accepted xDS config. .. attention::
This field is deprecated. Use :ref:ClientResourceStatus for per-resource
config status instead.
Corresponds to the JSON property clientStatus
1116 1117 1118 |
# File 'lib/google/apis/trafficdirector_v3/classes.rb', line 1116 def client_status @client_status end |
#cluster_config ⇒ Google::Apis::TrafficdirectorV3::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.
Corresponds to the JSON property clusterConfig
1124 1125 1126 |
# File 'lib/google/apis/trafficdirector_v3/classes.rb', line 1124 def cluster_config @cluster_config end |
#endpoint_config ⇒ Google::Apis::TrafficdirectorV3::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.
Corresponds to the JSON property endpointConfig
1132 1133 1134 |
# File 'lib/google/apis/trafficdirector_v3/classes.rb', line 1132 def endpoint_config @endpoint_config end |
#listener_config ⇒ Google::Apis::TrafficdirectorV3::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.
Corresponds to the JSON property listenerConfig
1140 1141 1142 |
# File 'lib/google/apis/trafficdirector_v3/classes.rb', line 1140 def listener_config @listener_config end |
#route_config ⇒ Google::Apis::TrafficdirectorV3::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.
Corresponds to the JSON property routeConfig
1151 1152 1153 |
# File 'lib/google/apis/trafficdirector_v3/classes.rb', line 1151 def route_config @route_config end |
#scoped_route_config ⇒ Google::Apis::TrafficdirectorV3::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.
Corresponds to the JSON property scopedRouteConfig
1160 1161 1162 |
# File 'lib/google/apis/trafficdirector_v3/classes.rb', line 1160 def scoped_route_config @scoped_route_config end |
#status ⇒ String
Config status generated by management servers. Will not be present if the CSDS
server is an xDS client.
Corresponds to the JSON property status
1166 1167 1168 |
# File 'lib/google/apis/trafficdirector_v3/classes.rb', line 1166 def status @status end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1173 1174 1175 1176 1177 1178 1179 1180 1181 |
# File 'lib/google/apis/trafficdirector_v3/classes.rb', line 1173 def update!(**args) @client_status = args[:client_status] if args.key?(:client_status) @cluster_config = args[:cluster_config] if args.key?(:cluster_config) @endpoint_config = args[:endpoint_config] if args.key?(:endpoint_config) @listener_config = args[:listener_config] if args.key?(:listener_config) @route_config = args[:route_config] if args.key?(:route_config) @scoped_route_config = args[:scoped_route_config] if args.key?(:scoped_route_config) @status = args[:status] if args.key?(:status) end |