import { IDevKnativePkgApisDuckV1SourceSpec } from "../../duck.knative.dev/v1/SourceSpec.js"; import { IDevKnativePkgApisDuckV1CloudEventOverrides } from "../../duck.knative.dev/v1/CloudEventOverrides.js"; import { IDevKnativePkgApisDuckV1Destination } from "../../duck.knative.dev/v1/Destination.js"; import { ModelData, Model } from "@kubernetes-models/base"; /** * PingSourceSpec defines the desired state of the PingSource. */ export interface IPingSourceSpec extends IDevKnativePkgApisDuckV1SourceSpec { /** * ContentType is the media type of Data or DataBase64. Default is empty. */ "contentType"?: string; /** * Data is data used as the body of the event posted to the sink. Default is empty. * Mutually exclusive with DataBase64. */ "data"?: string; /** * DataBase64 is the base64-encoded string of the actual event's body posted to the sink. Default is empty. * Mutually exclusive with Data. */ "dataBase64"?: string; /** * Schedule is the cron schedule. Defaults to `\* \* \* \* \*`. */ "schedule"?: string; /** * Timezone modifies the actual time relative to the specified timezone. * Defaults to the system time zone. * More general information about time zones: https://www.iana.org/time-zones * List of valid timezone values: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones */ "timezone"?: string; } /** * PingSourceSpec defines the desired state of the PingSource. */ export declare class PingSourceSpec extends Model implements IPingSourceSpec { "ceOverrides"?: IDevKnativePkgApisDuckV1CloudEventOverrides; "sink"?: IDevKnativePkgApisDuckV1Destination; "contentType"?: string; "data"?: string; "dataBase64"?: string; "schedule"?: string; "timezone"?: string; constructor(data?: ModelData); } export type { IPingSourceSpec as IDevKnativeEventingPkgApisSourcesV1PingSourceSpec, PingSourceSpec as DevKnativeEventingPkgApisSourcesV1PingSourceSpec };