import { IComGithubExternalSecretsExternalSecretsApisExternalsecretsV1AuthorizationProtocol } from "./AuthorizationProtocol.js"; import { IComGithubExternalSecretsExternalSecretsApisExternalsecretsV1WebhookCAProvider } from "./WebhookCAProvider.js"; import { IComGithubExternalSecretsExternalSecretsApisExternalsecretsV1WebhookResult } from "./WebhookResult.js"; import { IComGithubExternalSecretsExternalSecretsApisExternalsecretsV1WebhookSecret } from "./WebhookSecret.js"; import { ModelData, Model } from "@kubernetes-models/base"; /** * WebHookProvider Configures an store to sync secrets from simple web apis. */ export interface IWebhookProvider { /** * Auth specifies a authorization protocol. Only one protocol may be set. */ "auth"?: IComGithubExternalSecretsExternalSecretsApisExternalsecretsV1AuthorizationProtocol; /** * 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"?: IComGithubExternalSecretsExternalSecretsApisExternalsecretsV1WebhookCAProvider; /** * Headers */ "headers"?: { [key: string]: string; }; /** * Webhook Method */ "method"?: string; /** * Result formatting */ "result": IComGithubExternalSecretsExternalSecretsApisExternalsecretsV1WebhookResult; /** * 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; } /** * WebHookProvider Configures an store to sync secrets from simple web apis. */ export declare class WebhookProvider extends Model implements IWebhookProvider { "auth"?: IComGithubExternalSecretsExternalSecretsApisExternalsecretsV1AuthorizationProtocol; "body"?: string; "caBundle"?: string; "caProvider"?: IComGithubExternalSecretsExternalSecretsApisExternalsecretsV1WebhookCAProvider; "headers"?: { [key: string]: string; }; "method"?: string; "result": IComGithubExternalSecretsExternalSecretsApisExternalsecretsV1WebhookResult; "secrets"?: Array; "timeout"?: string; "url": string; constructor(data?: ModelData); } export type { IWebhookProvider as IComGithubExternalSecretsExternalSecretsApisExternalsecretsV1WebhookProvider, WebhookProvider as ComGithubExternalSecretsExternalSecretsApisExternalsecretsV1WebhookProvider };