google_api_run v0.10.0 GoogleApi.Run.V1.Model.RouteStatus View Source

RouteStatus communicates the observed state of the Route (from the controller).

Attributes

  • address (type: GoogleApi.Run.V1.Model.Addressable.t, default: nil) - Similar to url, information on where the service is available on HTTP.

  • conditions (type: list(GoogleApi.Run.V1.Model.GoogleCloudRunV1Condition.t), default: nil) - Conditions communicates information about ongoing/complete reconciliation processes that bring the "spec" inline with the observed state of the world.

  • observedGeneration (type: integer(), default: nil) - ObservedGeneration is the 'Generation' of the Route that was last processed by the controller.

    Clients polling for completed reconciliation should poll until observedGeneration = metadata.generation and the Ready condition's status is True or False.

    Note that providing a trafficTarget that only has a configurationName will result in a Route that does not increment either its metadata.generation or its observedGeneration, as new "latest ready" revisions from the Configuration are processed without an update to the Route's spec.

  • traffic (type: list(GoogleApi.Run.V1.Model.TrafficTarget.t), default: nil) - Traffic holds the configured traffic distribution. These entries will always contain RevisionName references. When ConfigurationName appears in the spec, this will hold the LatestReadyRevisionName that we last observed.

  • url (type: String.t, default: nil) - URL holds the url that will distribute traffic over the provided traffic targets. It generally has the form: https://{route-hash}-{project-hash}-{cluster-level-suffix}.a.run.app

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Link to this type

t()

View Source
t() :: %GoogleApi.Run.V1.Model.RouteStatus{
  address: GoogleApi.Run.V1.Model.Addressable.t(),
  conditions: [GoogleApi.Run.V1.Model.GoogleCloudRunV1Condition.t()],
  observedGeneration: integer(),
  traffic: [GoogleApi.Run.V1.Model.TrafficTarget.t()],
  url: String.t()
}

Link to this section Functions

Link to this function

decode(value, options)

View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.