View Source GoogleApi.TrafficDirector.V3.Model.ClustersConfigDump (google_api_traffic_director v0.3.0)

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.

Attributes

  • dynamicActiveClusters (type: list(GoogleApi.TrafficDirector.V3.Model.DynamicCluster.t), default: nil) - The dynamically loaded active clusters. These are clusters that are available to service data plane traffic.
  • dynamicWarmingClusters (type: list(GoogleApi.TrafficDirector.V3.Model.DynamicCluster.t), default: nil) - The dynamically loaded warming clusters. These are clusters that are currently undergoing warming in preparation to service data plane traffic. Note that if attempting to recreate an Envoy configuration from a configuration dump, the warming clusters should generally be discarded.
  • staticClusters (type: list(GoogleApi.TrafficDirector.V3.Model.StaticCluster.t), default: nil) - The statically loaded cluster configs.
  • versionInfo (type: String.t, default: nil) - This is the :ref:version_info in the last processed CDS discovery response. If there are only static bootstrap clusters, this field will be "".

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.TrafficDirector.V3.Model.ClustersConfigDump{
  dynamicActiveClusters:
    [GoogleApi.TrafficDirector.V3.Model.DynamicCluster.t()] | nil,
  dynamicWarmingClusters:
    [GoogleApi.TrafficDirector.V3.Model.DynamicCluster.t()] | nil,
  staticClusters: [GoogleApi.TrafficDirector.V3.Model.StaticCluster.t()] | nil,
  versionInfo: String.t() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.