import { IDevKnativePkgApisDuckV1AuthStatus } from "./AuthStatus.js"; import { IDevKnativeEventingPkgApisDuckV1DeliverySpec } from "./DeliverySpec.js"; import { IDevKnativePkgApisURL } from "../../knative.dev/pkg/apis/URL.js"; import { ModelData, Model } from "@kubernetes-models/base"; /** * SubscriberSpec defines a single subscriber to a Subscribable. * * At least one of SubscriberURI and ReplyURI must be present */ export interface ISubscriberSpec { /** * Auth contains the service account name for the subscription */ "auth"?: IDevKnativePkgApisDuckV1AuthStatus; /** * DeliverySpec contains options controlling the event delivery */ "delivery"?: IDevKnativeEventingPkgApisDuckV1DeliverySpec; /** * Generation of the origin of the subscriber with uid:UID. */ "generation"?: number; /** * Name is used to identify the original subscription object. */ "name"?: string; /** * ReplyAudience is the OIDC audience for the replyUri. */ "replyAudience"?: string; /** * ReplyCACerts is the Certification Authority (CA) certificates in PEM * format according to https://www.rfc-editor.org/rfc/rfc7468 for the * replyUri. */ "replyCACerts"?: string; /** * ReplyURI is the endpoint for the reply */ "replyUri"?: IDevKnativePkgApisURL; /** * SubscriberAudience is the OIDC audience for the subscriberUri. */ "subscriberAudience"?: string; /** * SubscriberCACerts is the Certification Authority (CA) certificates in PEM * format according to https://www.rfc-editor.org/rfc/rfc7468 for the * subscriberUri */ "subscriberCACerts"?: string; /** * SubscriberURI is the endpoint for the subscriber */ "subscriberUri"?: IDevKnativePkgApisURL; "uid"?: string; } /** * SubscriberSpec defines a single subscriber to a Subscribable. * * At least one of SubscriberURI and ReplyURI must be present */ export declare class SubscriberSpec extends Model implements ISubscriberSpec { "auth"?: IDevKnativePkgApisDuckV1AuthStatus; "delivery"?: IDevKnativeEventingPkgApisDuckV1DeliverySpec; "generation"?: number; "name"?: string; "replyAudience"?: string; "replyCACerts"?: string; "replyUri"?: IDevKnativePkgApisURL; "subscriberAudience"?: string; "subscriberCACerts"?: string; "subscriberUri"?: IDevKnativePkgApisURL; "uid"?: string; constructor(data?: ModelData); } export type { ISubscriberSpec as IDevKnativeEventingPkgApisDuckV1SubscriberSpec, SubscriberSpec as DevKnativeEventingPkgApisDuckV1SubscriberSpec };