@kubernetes-models/flux-cd
Version:
30 lines (29 loc) • 1.51 kB
TypeScript
import { IIoK8sApimachineryPkgApisMetaV1ObjectMeta } from "@kubernetes-models/apimachinery/apis/meta/v1/ObjectMeta";
import { IComGithubFluxcdNotificationControllerApiV1beta2AlertSpec } from "./AlertSpec.js";
import { IComGithubFluxcdNotificationControllerApiV1beta2AlertStatus } from "./AlertStatus.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/v1beta2";
"kind": "Alert";
"metadata"?: IIoK8sApimachineryPkgApisMetaV1ObjectMeta;
"spec"?: IComGithubFluxcdNotificationControllerApiV1beta2AlertSpec;
"status"?: IComGithubFluxcdNotificationControllerApiV1beta2AlertStatus;
}
/**
* Alert is the Schema for the alerts API
*/
export declare class Alert extends Model<IAlert> implements IAlert {
"apiVersion": "notification.toolkit.fluxcd.io/v1beta2";
"kind": "Alert";
"metadata"?: IIoK8sApimachineryPkgApisMetaV1ObjectMeta;
"spec"?: IComGithubFluxcdNotificationControllerApiV1beta2AlertSpec;
"status"?: IComGithubFluxcdNotificationControllerApiV1beta2AlertStatus;
static apiVersion: IAlert["apiVersion"];
static kind: IAlert["kind"];
static is: import("@kubernetes-models/base").TypeMetaGuard<IAlert>;
constructor(data?: ModelData<IAlert>);
}
export type { IAlert as IComGithubFluxcdNotificationControllerApiV1beta2Alert, Alert as ComGithubFluxcdNotificationControllerApiV1beta2Alert };