Revision class

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/specs/blob/main/specs/serving/overview.md#revision

Constructors

Revision({String? apiVersion, String? kind, ObjectMeta? metadata, RevisionSpec? spec, RevisionStatus? status})
Revision.fromJson(Map json_)

Properties

apiVersion String?
The API version for this call such as "serving.knative.dev/v1".
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
kind String?
The kind of this resource, in this case "Revision".
getter/setter pair
metadata ObjectMeta?
Metadata associated with this Revision, including name, namespace, labels, and annotations.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
spec RevisionSpec?
Spec holds the desired state of the Revision (from the client).
getter/setter pair
status RevisionStatus?
Status communicates the observed state of the Revision (from the controller).
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited