google_api_run v0.6.0 GoogleApi.Run.V1.Model.Revision View Source

Revision is an immutable snapshot of code and configuration. A revision references a container image. Revisions are created by updates to a Configuration.

See also: https://github.com/knative/serving/blob/master/docs/spec/overview.md#revision

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 "Revision".
  • metadata (type: GoogleApi.Run.V1.Model.ObjectMeta.t, default: nil) - Metadata associated with this Revision, including name, namespace, labels, and annotations.
  • spec (type: GoogleApi.Run.V1.Model.RevisionSpec.t, default: nil) - Spec holds the desired state of the Revision (from the client).
  • status (type: GoogleApi.Run.V1.Model.RevisionStatus.t, default: nil) - Status communicates the observed state of the Revision (from the controller).

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.Revision{
  apiVersion: String.t(),
  kind: String.t(),
  metadata: GoogleApi.Run.V1.Model.ObjectMeta.t(),
  spec: GoogleApi.Run.V1.Model.RevisionSpec.t(),
  status: GoogleApi.Run.V1.Model.RevisionStatus.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.