GoogleApi.Run.V1.Model.Route (google_api_run v0.24.5) View Source

Route is responsible for configuring ingress over a collection of Revisions. Some of the Revisions a Route distributes traffic over may be specified by referencing the Configuration responsible for creating them; in these cases the Route is additionally responsible for monitoring the Configuration for "latest ready" revision changes, and smoothly rolling out latest revisions. See also: https://github.com/knative/serving/blob/master/docs/spec/overview.md#route Cloud Run currently supports referencing a single Configuration to automatically deploy the "latest ready" Revision from that Configuration.

Attributes

  • apiVersion (type: String.t, default: nil) - The API version for this call such as "serving.knative.dev/v1".
  • kind (type: String.t, default: nil) - The kind of this resource, in this case always "Route".
  • metadata (type: GoogleApi.Run.V1.Model.ObjectMeta.t, default: nil) - Metadata associated with this Route, including name, namespace, labels, and annotations.
  • spec (type: GoogleApi.Run.V1.Model.RouteSpec.t, default: nil) - Spec holds the desired state of the Route (from the client).
  • status (type: GoogleApi.Run.V1.Model.RouteStatus.t, default: nil) - Status communicates the observed state of the Route (from the controller).

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.Run.V1.Model.Route{
  apiVersion: String.t() | nil,
  kind: String.t() | nil,
  metadata: GoogleApi.Run.V1.Model.ObjectMeta.t() | nil,
  spec: GoogleApi.Run.V1.Model.RouteSpec.t() | nil,
  status: GoogleApi.Run.V1.Model.RouteStatus.t() | nil
}

Link to this section Functions

Specs

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

Unwrap a decoded JSON object into its complex fields.