ServiceSpecResponse class

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

Constructors

ServiceSpecResponse({required Input<RevisionTemplateResponse> template, required Input<List<TrafficTargetResponse>> traffic})
Creates a new ServiceSpecResponse. template Holds the latest specification for the Revision to be stamped out. traffic Specifies how to distribute traffic over a collection of Knative Revisions and Configurations to the Service's main URL.
const
ServiceSpecResponse.fromMap(Map<String, dynamic> map)
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
template → Input<RevisionTemplateResponse>
Holds the latest specification for the Revision to be stamped out.
final
traffic → Input<List<TrafficTargetResponse>>
Specifies how to distribute traffic over a collection of Knative Revisions and Configurations to the Service's main URL.
final

Methods

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

Operators

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