ServiceSpec constructor
const
ServiceSpec({
- Input<
RevisionTemplate> ? template, - Input<
List< ? traffic,TrafficTarget> >
Creates a new ServiceSpec.
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.
Implementation
const ServiceSpec({
this.template,
this.traffic,
});