View Source GoogleApi.TrafficDirector.V3.Model.DynamicListener (google_api_traffic_director v0.4.0)

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

Attributes

  • activeState (type: GoogleApi.TrafficDirector.V3.Model.DynamicListenerState.t, default: nil) - The listener state for any active listener by this name. These are listeners that are available to service data plane traffic.
  • clientStatus (type: String.t, default: nil) - The client status of this resource. [#not-implemented-hide:]
  • drainingState (type: GoogleApi.TrafficDirector.V3.Model.DynamicListenerState.t, default: nil) - The listener state for any draining listener by this name. These are listeners that are currently undergoing draining in preparation to stop servicing data plane traffic. Note that if attempting to recreate an Envoy configuration from a configuration dump, the draining listeners should generally be discarded.
  • errorState (type: GoogleApi.TrafficDirector.V3.Model.UpdateFailureState.t, default: nil) - Set if the last update failed, cleared after the next successful update. The error_state field contains the rejected version of this particular resource along with the reason and timestamp. For successfully updated or acknowledged resource, this field should be empty.
  • name (type: String.t, default: nil) - The name or unique id of this listener, pulled from the DynamicListenerState config.
  • warmingState (type: GoogleApi.TrafficDirector.V3.Model.DynamicListenerState.t, default: nil) - The listener state for any warming listener by this name. These are listeners 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 listeners should generally be discarded.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.TrafficDirector.V3.Model.DynamicListener{
  activeState:
    GoogleApi.TrafficDirector.V3.Model.DynamicListenerState.t() | nil,
  clientStatus: String.t() | nil,
  drainingState:
    GoogleApi.TrafficDirector.V3.Model.DynamicListenerState.t() | nil,
  errorState: GoogleApi.TrafficDirector.V3.Model.UpdateFailureState.t() | nil,
  name: String.t() | nil,
  warmingState:
    GoogleApi.TrafficDirector.V3.Model.DynamicListenerState.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.