import { IDevKnativePkgApisDuckV1KReference } from "../../duck.knative.dev/v1/KReference.js"; import { IDevKnativeServingPkgApisServingV1beta1SecretTLS } from "./SecretTLS.js"; import { ModelData, Model } from "@kubernetes-models/base"; /** * DomainMappingSpec describes the DomainMapping the user wishes to exist. */ export interface IDomainMappingSpec { /** * Ref specifies the target of the Domain Mapping. * * The object identified by the Ref must be an Addressable with a URL of the * form `{name}.{namespace}.{domain}` where `{domain}` is the cluster domain, * and `{name}` and `{namespace}` are the name and namespace of a Kubernetes * Service. * * This contract is satisfied by Knative types such as Knative Services and * Knative Routes, and by Kubernetes Services. */ "ref": IDevKnativePkgApisDuckV1KReference; /** * TLS allows the DomainMapping to terminate TLS traffic with an existing secret. */ "tls"?: IDevKnativeServingPkgApisServingV1beta1SecretTLS; } /** * DomainMappingSpec describes the DomainMapping the user wishes to exist. */ export declare class DomainMappingSpec extends Model implements IDomainMappingSpec { "ref": IDevKnativePkgApisDuckV1KReference; "tls"?: IDevKnativeServingPkgApisServingV1beta1SecretTLS; constructor(data?: ModelData); } export type { IDomainMappingSpec as IDevKnativeServingPkgApisServingV1beta1DomainMappingSpec, DomainMappingSpec as DevKnativeServingPkgApisServingV1beta1DomainMappingSpec };