@kubernetes-models/keda
Version:
KEDA(Kubernetes Event-driven Autoscaling) models
25 lines (24 loc) • 1.48 kB
TypeScript
import { IComGithubKedacoreKedaV2ApisKedaV1alpha1AuthenticationRef } from "../../keda.sh/v1alpha1/AuthenticationRef.js";
import { IComGithubKedacoreKedaV2ApisEventingV1alpha1Destination } from "./Destination.js";
import { IComGithubKedacoreKedaV2ApisEventingV1alpha1EventSubscription } from "./EventSubscription.js";
import { ModelData, Model } from "@kubernetes-models/base";
/**
* CloudEventSourceSpec defines the spec of CloudEventSource
*/
export interface ICloudEventSourceSpec {
"authenticationRef"?: IComGithubKedacoreKedaV2ApisKedaV1alpha1AuthenticationRef;
"clusterName"?: string;
"destination": IComGithubKedacoreKedaV2ApisEventingV1alpha1Destination;
"eventSubscription"?: IComGithubKedacoreKedaV2ApisEventingV1alpha1EventSubscription;
}
/**
* CloudEventSourceSpec defines the spec of CloudEventSource
*/
export declare class CloudEventSourceSpec extends Model<ICloudEventSourceSpec> implements ICloudEventSourceSpec {
"authenticationRef"?: IComGithubKedacoreKedaV2ApisKedaV1alpha1AuthenticationRef;
"clusterName"?: string;
"destination": IComGithubKedacoreKedaV2ApisEventingV1alpha1Destination;
"eventSubscription"?: IComGithubKedacoreKedaV2ApisEventingV1alpha1EventSubscription;
constructor(data?: ModelData<ICloudEventSourceSpec>);
}
export type { ICloudEventSourceSpec as IComGithubKedacoreKedaV2ApisEventingV1alpha1CloudEventSourceSpec, CloudEventSourceSpec as ComGithubKedacoreKedaV2ApisEventingV1alpha1CloudEventSourceSpec };