import { IComGithubExternalSecretsExternalSecretsApisGeneratorsV1alpha1AuthorizationProtocol } from "./AuthorizationProtocol.js"; import { IComGithubExternalSecretsExternalSecretsApisGeneratorsV1alpha1WebhookCAProvider } from "./WebhookCAProvider.js"; import { IComGithubExternalSecretsExternalSecretsApisGeneratorsV1alpha1WebhookResult } from "./WebhookResult.js"; import { IComGithubExternalSecretsExternalSecretsApisGeneratorsV1alpha1WebhookSecret } from "./WebhookSecret.js"; import { ModelData, Model } from "@kubernetes-models/base"; /** * WebhookSpec controls the behavior of the external generator. Any body parameters should be passed to the server through the parameters field. */ export interface IWebhookSpec { /** * Auth specifies a authorization protocol. Only one protocol may be set. */ "auth"?: IComGithubExternalSecretsExternalSecretsApisGeneratorsV1alpha1AuthorizationProtocol; /** * Body */ "body"?: string; /** * PEM encoded CA bundle used to validate webhook server certificate. Only used * if the Server URL is using HTTPS protocol. This parameter is ignored for * plain HTTP protocol connection. If not set the system root certificates * are used to validate the TLS connection. */ "caBundle"?: string; /** * The provider for the CA bundle to use to validate webhook server certificate. */ "caProvider"?: IComGithubExternalSecretsExternalSecretsApisGeneratorsV1alpha1WebhookCAProvider; /** * Headers */ "headers"?: { [key: string]: string; }; /** * Webhook Method */ "method"?: string; /** * Result formatting */ "result": IComGithubExternalSecretsExternalSecretsApisGeneratorsV1alpha1WebhookResult; /** * Secrets to fill in templates * These secrets will be passed to the templating function as key value pairs under the given name */ "secrets"?: Array; "timeout"?: string; /** * Webhook url to call */ "url": string; } /** * WebhookSpec controls the behavior of the external generator. Any body parameters should be passed to the server through the parameters field. */ export declare class WebhookSpec extends Model implements IWebhookSpec { "auth"?: IComGithubExternalSecretsExternalSecretsApisGeneratorsV1alpha1AuthorizationProtocol; "body"?: string; "caBundle"?: string; "caProvider"?: IComGithubExternalSecretsExternalSecretsApisGeneratorsV1alpha1WebhookCAProvider; "headers"?: { [key: string]: string; }; "method"?: string; "result": IComGithubExternalSecretsExternalSecretsApisGeneratorsV1alpha1WebhookResult; "secrets"?: Array; "timeout"?: string; "url": string; constructor(data?: ModelData); } export type { IWebhookSpec as IComGithubExternalSecretsExternalSecretsApisGeneratorsV1alpha1WebhookSpec, WebhookSpec as ComGithubExternalSecretsExternalSecretsApisGeneratorsV1alpha1WebhookSpec };