import { IDevKnativePkgApisDuckV1Addressable } from "../../duck.knative.dev/v1/Addressable.js"; import { IDevKnativeServingPkgApisServingV1TrafficTarget } from "./TrafficTarget.js"; import { IDevKnativePkgApisURL } from "../../knative.dev/pkg/apis/URL.js"; import { ModelData, Model } from "@kubernetes-models/base"; /** * RouteStatusFields holds the fields of Route's status that * are not generally shared. This is defined separately and inlined so that * other types can readily consume these fields via duck typing. */ export interface IRouteStatusFields { /** * Address holds the information needed for a Route to be the target of an event. */ "address"?: IDevKnativePkgApisDuckV1Addressable; /** * Traffic holds the configured traffic distribution. * These entries will always contain RevisionName references. * When ConfigurationName appears in the spec, this will hold the * LatestReadyRevisionName that we last observed. */ "traffic"?: Array; /** * URL holds the url that will distribute traffic over the provided traffic targets. * It generally has the form http[s]://{route-name}.{route-namespace}.{cluster-level-suffix} */ "url"?: IDevKnativePkgApisURL; } /** * RouteStatusFields holds the fields of Route's status that * are not generally shared. This is defined separately and inlined so that * other types can readily consume these fields via duck typing. */ export declare class RouteStatusFields extends Model implements IRouteStatusFields { "address"?: IDevKnativePkgApisDuckV1Addressable; "traffic"?: Array; "url"?: IDevKnativePkgApisURL; constructor(data?: ModelData); } export type { IRouteStatusFields as IDevKnativeServingPkgApisServingV1RouteStatusFields, RouteStatusFields as DevKnativeServingPkgApisServingV1RouteStatusFields };