@kubernetes-models/flux-cd
Version:
27 lines (26 loc) • 1.26 kB
TypeScript
import { IIoK8sApimachineryPkgApisMetaV1ObjectMeta } from "@kubernetes-models/apimachinery/apis/meta/v1/ObjectMeta";
import { IComGithubFluxcdNotificationControllerApiV1beta3AlertSpec } from "./AlertSpec.js";
import { ModelData, TypeMeta, Model } from "@kubernetes-models/base";
/**
* Alert is the Schema for the alerts API
*/
export interface IAlert extends TypeMeta {
"apiVersion": "notification.toolkit.fluxcd.io/v1beta3";
"kind": "Alert";
"metadata"?: IIoK8sApimachineryPkgApisMetaV1ObjectMeta;
"spec"?: IComGithubFluxcdNotificationControllerApiV1beta3AlertSpec;
}
/**
* Alert is the Schema for the alerts API
*/
export declare class Alert extends Model<IAlert> implements IAlert {
"apiVersion": "notification.toolkit.fluxcd.io/v1beta3";
"kind": "Alert";
"metadata"?: IIoK8sApimachineryPkgApisMetaV1ObjectMeta;
"spec"?: IComGithubFluxcdNotificationControllerApiV1beta3AlertSpec;
static apiVersion: IAlert["apiVersion"];
static kind: IAlert["kind"];
static is: import("@kubernetes-models/base").TypeMetaGuard<IAlert>;
constructor(data?: ModelData<IAlert>);
}
export type { IAlert as IComGithubFluxcdNotificationControllerApiV1beta3Alert, Alert as ComGithubFluxcdNotificationControllerApiV1beta3Alert };