import { IIoK8sApiCoreV1PodSpec } from "kubernetes-models/v1/PodSpec"; import { IIoK8sApiCoreV1Affinity } from "kubernetes-models/v1/Affinity"; import { IIoK8sApiCoreV1Container } from "kubernetes-models/v1/Container"; import { IIoK8sApiCoreV1PodDNSConfig } from "kubernetes-models/v1/PodDNSConfig"; import { IIoK8sApiCoreV1EphemeralContainer } from "kubernetes-models/v1/EphemeralContainer"; import { IIoK8sApiCoreV1HostAlias } from "kubernetes-models/v1/HostAlias"; import { IIoK8sApiCoreV1LocalObjectReference } from "kubernetes-models/v1/LocalObjectReference"; import { IIoK8sApiCoreV1PodOS } from "kubernetes-models/v1/PodOS"; import { IIoK8sApimachineryPkgApiResourceQuantity } from "@kubernetes-models/apimachinery/api/resource/Quantity"; import { IIoK8sApiCoreV1PodReadinessGate } from "kubernetes-models/v1/PodReadinessGate"; import { IIoK8sApiCoreV1PodResourceClaim } from "kubernetes-models/v1/PodResourceClaim"; import { IIoK8sApiCoreV1ResourceRequirements } from "kubernetes-models/v1/ResourceRequirements"; import { IIoK8sApiCoreV1PodSchedulingGate } from "kubernetes-models/v1/PodSchedulingGate"; import { IIoK8sApiCoreV1PodSecurityContext } from "kubernetes-models/v1/PodSecurityContext"; import { IIoK8sApiCoreV1Toleration } from "kubernetes-models/v1/Toleration"; import { IIoK8sApiCoreV1TopologySpreadConstraint } from "kubernetes-models/v1/TopologySpreadConstraint"; import { IIoK8sApiCoreV1Volume } from "kubernetes-models/v1/Volume"; import { ModelData, Model } from "@kubernetes-models/base"; /** * RevisionSpec holds the desired state of the Revision (from the client). */ export interface IRevisionSpec extends IIoK8sApiCoreV1PodSpec { /** * ContainerConcurrency specifies the maximum allowed in-flight (concurrent) * requests per container of the Revision. Defaults to `0` which means * concurrency to the application is not limited, and the system decides the * target concurrency for the autoscaler. */ "containerConcurrency"?: number; /** * IdleTimeoutSeconds is the maximum duration in seconds a request will be allowed * to stay open while not receiving any bytes from the user's application. If * unspecified, a system default will be provided. */ "idleTimeoutSeconds"?: number; /** * ResponseStartTimeoutSeconds is the maximum duration in seconds that the request * routing layer will wait for a request delivered to a container to begin * sending any network traffic. */ "responseStartTimeoutSeconds"?: number; /** * TimeoutSeconds is the maximum duration in seconds that the request instance * is allowed to respond to a request. If unspecified, a system default will * be provided. */ "timeoutSeconds"?: number; } /** * RevisionSpec holds the desired state of the Revision (from the client). */ export declare class RevisionSpec extends Model implements IRevisionSpec { "activeDeadlineSeconds"?: number; "affinity"?: IIoK8sApiCoreV1Affinity; "automountServiceAccountToken"?: boolean; "containers": Array; "dnsConfig"?: IIoK8sApiCoreV1PodDNSConfig; "dnsPolicy"?: "ClusterFirst" | "ClusterFirstWithHostNet" | "Default" | "None"; "enableServiceLinks"?: boolean; "ephemeralContainers"?: Array; "hostAliases"?: Array; "hostIPC"?: boolean; "hostNetwork"?: boolean; "hostPID"?: boolean; "hostUsers"?: boolean; "hostname"?: string; "hostnameOverride"?: string; "imagePullSecrets"?: Array; "initContainers"?: Array; "nodeName"?: string; "nodeSelector"?: { [key: string]: string; }; "os"?: IIoK8sApiCoreV1PodOS; "overhead"?: { [key: string]: IIoK8sApimachineryPkgApiResourceQuantity; }; "preemptionPolicy"?: "Never" | "PreemptLowerPriority"; "priority"?: number; "priorityClassName"?: string; "readinessGates"?: Array; "resourceClaims"?: Array; "resources"?: IIoK8sApiCoreV1ResourceRequirements; "restartPolicy"?: "Always" | "Never" | "OnFailure"; "runtimeClassName"?: string; "schedulerName"?: string; "schedulingGates"?: Array; "securityContext"?: IIoK8sApiCoreV1PodSecurityContext; "serviceAccount"?: string; "serviceAccountName"?: string; "setHostnameAsFQDN"?: boolean; "shareProcessNamespace"?: boolean; "subdomain"?: string; "terminationGracePeriodSeconds"?: number; "tolerations"?: Array; "topologySpreadConstraints"?: Array; "volumes"?: Array; "containerConcurrency"?: number; "idleTimeoutSeconds"?: number; "responseStartTimeoutSeconds"?: number; "timeoutSeconds"?: number; constructor(data?: ModelData); } export type { IRevisionSpec as IDevKnativeServingPkgApisServingV1RevisionSpec, RevisionSpec as DevKnativeServingPkgApisServingV1RevisionSpec };