VirtualServiceSpec constructor

const VirtualServiceSpec({
  1. List<String>? hosts,
  2. List<String>? gateways,
  3. List<HTTPRoute>? http,
  4. List<TLSRoute>? tls,
  5. List<TCPRoute>? tcp,
  6. List<String>? exportTo,
})

The main constructor.

Implementation

const VirtualServiceSpec({
  this.hosts,
  this.gateways,
  this.http,
  this.tls,
  this.tcp,
  this.exportTo,
});