GoogleApi.Run.V1.Model.Revision (google_api_run v0.24.5) 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

Specs

t() :: %GoogleApi.Run.V1.Model.Revision{
  apiVersion: String.t() | nil,
  kind: String.t() | nil,
  metadata: GoogleApi.Run.V1.Model.ObjectMeta.t() | nil,
  spec: GoogleApi.Run.V1.Model.RevisionSpec.t() | nil,
  status: GoogleApi.Run.V1.Model.RevisionStatus.t() | nil
}

Link to this section Functions

Specs

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

Unwrap a decoded JSON object into its complex fields.