ServiceSpec class

ServiceSpec holds the desired state of the Route (from the client), which is used to manipulate the underlying Route and Configuration(s).

Constructors

ServiceSpec()
ServiceSpec.fromJson(Map _json)

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
template RevisionTemplate
Template holds the latest specification for the Revision to be stamped out.
read / write
traffic List<TrafficTarget>
Traffic specifies how to distribute traffic over a collection of Knative Revisions and Configurations.
read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toJson() Map<String, Object>
toString() String
Returns a string representation of this object.
inherited

Operators

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