import { IDevKnativeServingPkgApisServingV1ConfigurationSpec } from "./ConfigurationSpec.js"; import { IDevKnativeServingPkgApisServingV1RouteSpec } from "./RouteSpec.js"; import { IDevKnativeServingPkgApisServingV1RevisionTemplateSpec } from "./RevisionTemplateSpec.js"; import { IDevKnativeServingPkgApisServingV1TrafficTarget } from "./TrafficTarget.js"; import { ModelData, Model } from "@kubernetes-models/base"; /** * ServiceSpec represents the configuration for the Service object. * A Service's specification is the union of the specifications for a Route * and Configuration. The Service restricts what can be expressed in these * fields, e.g. the Route must reference the provided Configuration; * however, these limitations also enable friendlier defaulting, * e.g. Route never needs a Configuration name, and may be defaulted to * the appropriate "run latest" spec. */ export interface IServiceSpec extends IDevKnativeServingPkgApisServingV1ConfigurationSpec, IDevKnativeServingPkgApisServingV1RouteSpec { } /** * ServiceSpec represents the configuration for the Service object. * A Service's specification is the union of the specifications for a Route * and Configuration. The Service restricts what can be expressed in these * fields, e.g. the Route must reference the provided Configuration; * however, these limitations also enable friendlier defaulting, * e.g. Route never needs a Configuration name, and may be defaulted to * the appropriate "run latest" spec. */ export declare class ServiceSpec extends Model implements IServiceSpec { "template"?: IDevKnativeServingPkgApisServingV1RevisionTemplateSpec; "traffic"?: Array; constructor(data?: ModelData); } export type { IServiceSpec as IDevKnativeServingPkgApisServingV1ServiceSpec, ServiceSpec as DevKnativeServingPkgApisServingV1ServiceSpec };