@soft-stech/flux-cd
Version:
69 lines (68 loc) • 3.8 kB
TypeScript
import { z } from "zod";
/**
* Provider is the Schema for the providers API.
*/
export declare const IProviderSchema: z.ZodObject<{
apiVersion: z.ZodLiteral<"notification.toolkit.fluxcd.io/v1beta2">;
kind: z.ZodLiteral<"Provider">;
metadata: z.ZodOptional<z.ZodObject<{
annotations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
creationTimestamp: z.ZodOptional<z.ZodNullable<z.ZodString>>;
deletionGracePeriodSeconds: z.ZodOptional<z.ZodNumber>;
deletionTimestamp: z.ZodOptional<z.ZodNullable<z.ZodString>>;
finalizers: z.ZodOptional<z.ZodArray<z.ZodString>>;
generateName: z.ZodOptional<z.ZodString>;
generation: z.ZodOptional<z.ZodNumber>;
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
managedFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
apiVersion: z.ZodOptional<z.ZodString>;
fieldsType: z.ZodOptional<z.ZodString>;
fieldsV1: z.ZodOptional<z.ZodObject<{}, z.core.$strip>>;
manager: z.ZodOptional<z.ZodString>;
operation: z.ZodOptional<z.ZodString>;
subresource: z.ZodOptional<z.ZodString>;
time: z.ZodOptional<z.ZodNullable<z.ZodString>>;
}, z.core.$strip>>>;
name: z.ZodOptional<z.ZodString>;
namespace: z.ZodOptional<z.ZodString>;
ownerReferences: z.ZodOptional<z.ZodArray<z.ZodObject<{
apiVersion: z.ZodString;
blockOwnerDeletion: z.ZodOptional<z.ZodBoolean>;
controller: z.ZodOptional<z.ZodBoolean>;
kind: z.ZodString;
name: z.ZodString;
uid: z.ZodString;
}, z.core.$strip>>>;
resourceVersion: z.ZodOptional<z.ZodString>;
selfLink: z.ZodOptional<z.ZodString>;
uid: z.ZodOptional<z.ZodString>;
}, z.core.$strip>>;
spec: z.ZodOptional<z.ZodObject<{
address: z.ZodOptional<z.ZodString>;
certSecretRef: z.ZodOptional<z.ZodObject<{
name: z.ZodString;
}, z.core.$strip>>;
channel: z.ZodOptional<z.ZodString>;
interval: z.ZodOptional<z.ZodString>;
proxy: z.ZodOptional<z.ZodString>;
secretRef: z.ZodOptional<z.ZodObject<{
name: z.ZodString;
}, z.core.$strip>>;
suspend: z.ZodOptional<z.ZodBoolean>;
timeout: z.ZodOptional<z.ZodString>;
type: z.ZodUnion<readonly [z.ZodLiteral<"slack">, z.ZodLiteral<"discord">, z.ZodLiteral<"msteams">, z.ZodLiteral<"rocket">, z.ZodLiteral<"generic">, z.ZodLiteral<"generic-hmac">, z.ZodLiteral<"github">, z.ZodLiteral<"gitlab">, z.ZodLiteral<"gitea">, z.ZodLiteral<"bitbucketserver">, z.ZodLiteral<"bitbucket">, z.ZodLiteral<"azuredevops">, z.ZodLiteral<"googlechat">, z.ZodLiteral<"googlepubsub">, z.ZodLiteral<"webex">, z.ZodLiteral<"sentry">, z.ZodLiteral<"azureeventhub">, z.ZodLiteral<"telegram">, z.ZodLiteral<"lark">, z.ZodLiteral<"matrix">, z.ZodLiteral<"opsgenie">, z.ZodLiteral<"alertmanager">, z.ZodLiteral<"grafana">, z.ZodLiteral<"githubdispatch">, z.ZodLiteral<"pagerduty">, z.ZodLiteral<"datadog">]>;
username: z.ZodOptional<z.ZodString>;
}, z.core.$strip>>;
status: z.ZodOptional<z.ZodObject<{
conditions: z.ZodOptional<z.ZodArray<z.ZodObject<{
lastTransitionTime: z.ZodNullable<z.ZodISODateTime>;
message: z.ZodString;
observedGeneration: z.ZodOptional<z.ZodNumber>;
reason: z.ZodString;
status: z.ZodUnion<readonly [z.ZodLiteral<"True">, z.ZodLiteral<"False">, z.ZodLiteral<"Unknown">]>;
type: z.ZodString;
}, z.core.$strip>>>;
lastHandledReconcileAt: z.ZodOptional<z.ZodString>;
observedGeneration: z.ZodOptional<z.ZodNumber>;
}, z.core.$strip>>;
}, z.core.$strip>;