GoogleApi.CloudRun.V1alpha1.Model.RouteStatus (google_api_cloud_run v0.42.0) View Source

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

Attributes

  • address (type: GoogleApi.CloudRun.V1alpha1.Model.Addressable.t, default: nil) - Similar to url, information on where the service is available on HTTP.
  • conditions (type: list(GoogleApi.CloudRun.V1alpha1.Model.RouteCondition.t), default: nil) - Conditions communicates information about ongoing/complete reconciliation processes that bring the "spec" inline with the observed state of the world.
  • domain (type: String.t, default: nil) - Deprecated - use url instead. Domain holds the top-level domain that will distribute traffic over the provided targets.
  • domainInternal (type: String.t, default: nil) - Deprecated - use address instead. For Cloud Run, identifical to domain.
  • 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.CloudRun.V1alpha1.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

Specs

t() :: %GoogleApi.CloudRun.V1alpha1.Model.RouteStatus{
  address: GoogleApi.CloudRun.V1alpha1.Model.Addressable.t(),
  conditions: [GoogleApi.CloudRun.V1alpha1.Model.RouteCondition.t()],
  domain: String.t(),
  domainInternal: String.t(),
  observedGeneration: integer(),
  traffic: [GoogleApi.CloudRun.V1alpha1.Model.TrafficTarget.t()],
  url: String.t()
}

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.