import { IDevKnativePkgApisDuckV1KReference } from "./KReference.js"; import { IDevKnativePkgApisURL } from "../../knative.dev/pkg/apis/URL.js"; import { ModelData, Model } from "@kubernetes-models/base"; /** * Destination represents a target of an invocation over HTTP. */ export interface IDestination { /** * CACerts are Certification Authority (CA) certificates in PEM format * according to https://www.rfc-editor.org/rfc/rfc7468. * If set, these CAs are appended to the set of CAs provided * by the Addressable target, if any. */ "CACerts"?: string; /** * Audience is the OIDC audience. * This need only be set, if the target is not an Addressable * and thus the Audience can't be received from the Addressable itself. * In case the Addressable specifies an Audience too, the Destinations * Audience takes preference. */ "audience"?: string; /** * Ref points to an Addressable. */ "ref"?: IDevKnativePkgApisDuckV1KReference; /** * URI can be an absolute URL(non-empty scheme and non-empty host) pointing to the target or a relative URI. Relative URIs will be resolved using the base URI retrieved from Ref. */ "uri"?: IDevKnativePkgApisURL; } /** * Destination represents a target of an invocation over HTTP. */ export declare class Destination extends Model implements IDestination { "CACerts"?: string; "audience"?: string; "ref"?: IDevKnativePkgApisDuckV1KReference; "uri"?: IDevKnativePkgApisURL; constructor(data?: ModelData); } export type { IDestination as IDevKnativePkgApisDuckV1Destination, Destination as DevKnativePkgApisDuckV1Destination };