/* eslint-disable */ // @ts-nocheck /* * This file is a generated Typescript file for GRPC Gateway, DO NOT MODIFY */ import * as InsightIoApiTypeV1alpha1Page from "../../type/v1alpha1/page.pb" export enum EventType { TYPE_UNSPECIFIED = "TYPE_UNSPECIFIED", Normal = "Normal", Warning = "Warning", } export type QueryEventHistogramRequest = { startTime?: string endTime?: string interval?: string clusterName?: string namespace?: string } export type EventHistogram = { timestamp?: string normalCount?: string warningCount?: string } export type QueryEventHistogramResponse = { items?: EventHistogram[] totalNormal?: string totalWarning?: string } export type QueryEventFilterOptionsRequest = { startTime?: string endTime?: string clusterName?: string namespace?: string } export type QueryEventFilterOptionsResponse = { reasons?: string[] involvedObjectKinds?: string[] } export type EventFilter = { type?: EventType involveObjectKind?: string reason?: string involveObjectName?: string message?: string } export type QueryEventRequest = { startTime?: string endTime?: string clusterName?: string namespace?: string filter?: EventFilter sort?: string page?: number pageSize?: number } export type QueryEventResponse = { items?: Event[] pagination?: InsightIoApiTypeV1alpha1Page.Pagination } export type EventSource = { component?: string host?: string } export type EventMetadata = { name?: string namespace?: string uid?: string resourceVersion?: string creationTimestamp?: string } export type EventInvolvedObject = { kind?: string namespace?: string name?: string } export type Event = { reportingComponent?: string reason?: string lastTimestamp?: string count?: string message?: string clusterName?: string source?: EventSource reportingInstance?: string metadata?: EventMetadata type?: EventType firstTimestamp?: string involveObject?: EventInvolvedObject clusterUuid?: string timestamp?: string action?: string eventTime?: string } export type QueryEventCountRequest = { startTime?: string endTime?: string clusterName?: string namespace?: string filters?: EventFilter[] } export type QueryEventCountResponse = { items?: string[] } export type QueryEventContextRequest = { timestamp?: string clusterName?: string namespace?: string filter?: EventFilter before?: number after?: number } export type GetReasonsResponse = { node?: string[] daemonSet?: string[] deployment?: string[] job?: string[] pod?: string[] statefulSet?: string[] }