update api reports
Signed-off-by: Paul Schultz <pschultz@pobox.com> fix linting Signed-off-by: Paul Schultz <pschultz@pobox.com>
This commit is contained in:
@@ -9,6 +9,7 @@ import { ClientContainerStatus } from '@backstage/plugin-kubernetes-common';
|
||||
import { ClientPodStatus } from '@backstage/plugin-kubernetes-common';
|
||||
import { ClusterAttributes } from '@backstage/plugin-kubernetes-common';
|
||||
import { ClusterObjects } from '@backstage/plugin-kubernetes-common';
|
||||
import { Context } from 'react';
|
||||
import { CustomObjectsByEntityRequest } from '@backstage/plugin-kubernetes-common';
|
||||
import { CustomResourceMatcher } from '@backstage/plugin-kubernetes-common';
|
||||
import { DetectedError } from '@backstage/plugin-kubernetes-common';
|
||||
@@ -16,6 +17,7 @@ import { DetectedErrorsByCluster } from '@backstage/plugin-kubernetes-common';
|
||||
import { DiscoveryApi } from '@backstage/core-plugin-api';
|
||||
import { Entity } from '@backstage/catalog-model';
|
||||
import { Event as Event_2 } from 'kubernetes-models/v1';
|
||||
import { FC } from 'react';
|
||||
import { FetchApi } from '@backstage/core-plugin-api';
|
||||
import { GroupedResponses } from '@backstage/plugin-kubernetes-common';
|
||||
import { IContainer } from 'kubernetes-models/v1';
|
||||
@@ -23,6 +25,7 @@ import { IContainerStatus } from 'kubernetes-models/v1';
|
||||
import { IIoK8sApimachineryPkgApisMetaV1ObjectMeta } from '@kubernetes-models/apimachinery/apis/meta/v1/ObjectMeta';
|
||||
import { IObjectMeta } from '@kubernetes-models/apimachinery/apis/meta/v1/ObjectMeta';
|
||||
import { JsonObject } from '@backstage/types';
|
||||
import { JSX as JSX_2 } from 'react/jsx-runtime';
|
||||
import { KubernetesRequestBody } from '@backstage/plugin-kubernetes-common';
|
||||
import { OAuthApi } from '@backstage/core-plugin-api';
|
||||
import { ObjectsByEntityResponse } from '@backstage/plugin-kubernetes-common';
|
||||
@@ -30,8 +33,7 @@ import { OpenIdConnectApi } from '@backstage/core-plugin-api';
|
||||
import { Pod } from 'kubernetes-models/v1';
|
||||
import { Pod as Pod_2 } from 'kubernetes-models/v1/Pod';
|
||||
import { ProfileInfoApi } from '@backstage/core-plugin-api';
|
||||
import { default as React_2 } from 'react';
|
||||
import * as React_3 from 'react';
|
||||
import { ReactNode } from 'react';
|
||||
import { TypeMeta } from '@kubernetes-models/base';
|
||||
import { V1Job } from '@kubernetes/client-node';
|
||||
import { V1ObjectMeta } from '@kubernetes/client-node';
|
||||
@@ -62,10 +64,10 @@ export class AksKubernetesAuthProvider implements KubernetesAuthProvider {
|
||||
export const Cluster: ({
|
||||
clusterObjects,
|
||||
podsWithErrors,
|
||||
}: ClusterProps) => React_2.JSX.Element;
|
||||
}: ClusterProps) => JSX_2.Element;
|
||||
|
||||
// @public (undocumented)
|
||||
export const ClusterContext: React_2.Context<ClusterAttributes>;
|
||||
export const ClusterContext: Context<ClusterAttributes>;
|
||||
|
||||
// @public (undocumented)
|
||||
export interface ClusterLinksFormatter {
|
||||
@@ -89,11 +91,11 @@ export interface ClusterLinksFormatterOptions {
|
||||
export type ClusterProps = {
|
||||
clusterObjects: ClusterObjects;
|
||||
podsWithErrors: Set<string>;
|
||||
children?: React_2.ReactNode;
|
||||
children?: ReactNode;
|
||||
};
|
||||
|
||||
// @public
|
||||
export const ContainerCard: React_2.FC<ContainerCardProps>;
|
||||
export const ContainerCard: FC<ContainerCardProps>;
|
||||
|
||||
// @public
|
||||
export interface ContainerCardProps {
|
||||
@@ -114,27 +116,27 @@ export interface ContainerScope extends PodScope {
|
||||
}
|
||||
|
||||
// @public (undocumented)
|
||||
export const CronJobsAccordions: ({}: CronJobsAccordionsProps) => React_2.JSX.Element;
|
||||
export const CronJobsAccordions: ({}: CronJobsAccordionsProps) => JSX_2.Element;
|
||||
|
||||
// @public (undocumented)
|
||||
export type CronJobsAccordionsProps = {
|
||||
children?: React_2.ReactNode;
|
||||
children?: ReactNode;
|
||||
};
|
||||
|
||||
// @public (undocumented)
|
||||
export const CustomResources: ({}: CustomResourcesProps) => React_2.JSX.Element;
|
||||
export const CustomResources: ({}: CustomResourcesProps) => JSX_2.Element;
|
||||
|
||||
// @public (undocumented)
|
||||
export interface CustomResourcesProps {
|
||||
// (undocumented)
|
||||
children?: React_2.ReactNode;
|
||||
children?: ReactNode;
|
||||
}
|
||||
|
||||
// @public (undocumented)
|
||||
export const DEFAULT_FORMATTER_NAME = 'standard';
|
||||
|
||||
// @public
|
||||
export const DetectedErrorsContext: React_2.Context<DetectedError[]>;
|
||||
export const DetectedErrorsContext: Context<DetectedError[]>;
|
||||
|
||||
// @public (undocumented)
|
||||
export class EksClusterLinksFormatter implements ClusterLinksFormatter {
|
||||
@@ -143,9 +145,7 @@ export class EksClusterLinksFormatter implements ClusterLinksFormatter {
|
||||
}
|
||||
|
||||
// @public
|
||||
export const ErrorList: ({
|
||||
podAndErrors,
|
||||
}: ErrorListProps) => React_2.JSX.Element;
|
||||
export const ErrorList: ({ podAndErrors }: ErrorListProps) => JSX_2.Element;
|
||||
|
||||
// @public
|
||||
export interface ErrorListProps {
|
||||
@@ -163,21 +163,21 @@ export const ErrorPanel: ({
|
||||
entityName,
|
||||
errorMessage,
|
||||
clustersWithErrors,
|
||||
}: ErrorPanelProps) => React_2.JSX.Element;
|
||||
}: ErrorPanelProps) => JSX_2.Element;
|
||||
|
||||
// @public (undocumented)
|
||||
export type ErrorPanelProps = {
|
||||
entityName: string;
|
||||
errorMessage?: string;
|
||||
clustersWithErrors?: ClusterObjects[];
|
||||
children?: React_2.ReactNode;
|
||||
children?: ReactNode;
|
||||
};
|
||||
|
||||
// @public (undocumented)
|
||||
export const ErrorReporting: ({
|
||||
detectedErrors,
|
||||
clusters,
|
||||
}: ErrorReportingProps) => React_3.JSX.Element;
|
||||
}: ErrorReportingProps) => JSX_2.Element;
|
||||
|
||||
// @public (undocumented)
|
||||
export type ErrorReportingProps = {
|
||||
@@ -191,13 +191,13 @@ export const Events: ({
|
||||
namespace,
|
||||
clusterName,
|
||||
warningEventsOnly,
|
||||
}: EventsProps) => React_2.JSX.Element;
|
||||
}: EventsProps) => JSX_2.Element;
|
||||
|
||||
// @public
|
||||
export const EventsContent: ({
|
||||
events,
|
||||
warningEventsOnly,
|
||||
}: EventsContentProps) => React_2.JSX.Element;
|
||||
}: EventsContentProps) => JSX_2.Element;
|
||||
|
||||
// @public
|
||||
export interface EventsContentProps {
|
||||
@@ -230,7 +230,7 @@ export interface EventsProps {
|
||||
}
|
||||
|
||||
// @public
|
||||
export const FixDialog: React_2.FC<FixDialogProps>;
|
||||
export const FixDialog: FC<FixDialogProps>;
|
||||
|
||||
// @public
|
||||
export interface FixDialogProps {
|
||||
@@ -281,30 +281,28 @@ export class GoogleKubernetesAuthProvider implements KubernetesAuthProvider {
|
||||
}
|
||||
|
||||
// @public (undocumented)
|
||||
export const GroupedResponsesContext: React_2.Context<GroupedResponses>;
|
||||
export const GroupedResponsesContext: Context<GroupedResponses>;
|
||||
|
||||
// @public (undocumented)
|
||||
export const HorizontalPodAutoscalerDrawer: (props: {
|
||||
hpa: V2HorizontalPodAutoscaler;
|
||||
expanded?: boolean;
|
||||
children?: React_2.ReactNode;
|
||||
}) => React_2.JSX.Element;
|
||||
children?: ReactNode;
|
||||
}) => JSX_2.Element;
|
||||
|
||||
// @public (undocumented)
|
||||
export const IngressesAccordions: ({}: IngressesAccordionsProps) => React_2.JSX.Element;
|
||||
export const IngressesAccordions: ({}: IngressesAccordionsProps) => JSX_2.Element;
|
||||
|
||||
// @public (undocumented)
|
||||
export type IngressesAccordionsProps = {};
|
||||
|
||||
// @public (undocumented)
|
||||
export const JobsAccordions: ({
|
||||
jobs,
|
||||
}: JobsAccordionsProps) => React_2.JSX.Element;
|
||||
export const JobsAccordions: ({ jobs }: JobsAccordionsProps) => JSX_2.Element;
|
||||
|
||||
// @public (undocumented)
|
||||
export type JobsAccordionsProps = {
|
||||
jobs: V1Job[];
|
||||
children?: React_2.ReactNode;
|
||||
children?: ReactNode;
|
||||
};
|
||||
|
||||
// @public (undocumented)
|
||||
@@ -470,7 +468,7 @@ export const KubernetesDrawer: ({
|
||||
drawerContentsHeader,
|
||||
kubernetesObject,
|
||||
children,
|
||||
}: KubernetesDrawerProps) => React_2.JSX.Element;
|
||||
}: KubernetesDrawerProps) => JSX_2.Element;
|
||||
|
||||
// @public (undocumented)
|
||||
export interface KubernetesDrawerable {
|
||||
@@ -481,13 +479,13 @@ export interface KubernetesDrawerable {
|
||||
// @public
|
||||
export interface KubernetesDrawerProps {
|
||||
// (undocumented)
|
||||
children?: React_2.ReactNode;
|
||||
children?: ReactNode;
|
||||
// (undocumented)
|
||||
drawerContentsHeader?: React_2.ReactNode;
|
||||
drawerContentsHeader?: ReactNode;
|
||||
// (undocumented)
|
||||
kubernetesObject: KubernetesObject;
|
||||
// (undocumented)
|
||||
label: React_2.ReactNode;
|
||||
label: ReactNode;
|
||||
// (undocumented)
|
||||
open?: boolean;
|
||||
}
|
||||
@@ -594,7 +592,7 @@ export const KubernetesStructuredMetadataTableDrawer: <
|
||||
buttonVariant,
|
||||
expanded,
|
||||
children,
|
||||
}: KubernetesStructuredMetadataTableDrawerProps<T>) => React_2.JSX.Element;
|
||||
}: KubernetesStructuredMetadataTableDrawerProps<T>) => JSX_2.Element;
|
||||
|
||||
// @public (undocumented)
|
||||
export interface KubernetesStructuredMetadataTableDrawerProps<
|
||||
@@ -603,7 +601,7 @@ export interface KubernetesStructuredMetadataTableDrawerProps<
|
||||
// (undocumented)
|
||||
buttonVariant?: 'h5' | 'subtitle2';
|
||||
// (undocumented)
|
||||
children?: React_2.ReactNode;
|
||||
children?: ReactNode;
|
||||
// (undocumented)
|
||||
expanded?: boolean;
|
||||
// (undocumented)
|
||||
@@ -618,19 +616,17 @@ export interface KubernetesStructuredMetadataTableDrawerProps<
|
||||
export const LinkErrorPanel: ({
|
||||
cluster,
|
||||
errorMessage,
|
||||
}: LinkErrorPanelProps) => React_2.JSX.Element;
|
||||
}: LinkErrorPanelProps) => JSX_2.Element;
|
||||
|
||||
// @public (undocumented)
|
||||
export type LinkErrorPanelProps = {
|
||||
cluster: ClusterAttributes;
|
||||
errorMessage?: string;
|
||||
children?: React_2.ReactNode;
|
||||
children?: ReactNode;
|
||||
};
|
||||
|
||||
// @public
|
||||
export const ManifestYaml: ({
|
||||
object,
|
||||
}: ManifestYamlProps) => React_2.JSX.Element;
|
||||
export const ManifestYaml: ({ object }: ManifestYamlProps) => JSX_2.Element;
|
||||
|
||||
// @public
|
||||
export interface ManifestYamlProps {
|
||||
@@ -664,7 +660,7 @@ export class OpenshiftClusterLinksFormatter {
|
||||
// @public
|
||||
export const PendingPodContent: ({
|
||||
pod,
|
||||
}: PendingPodContentProps) => React_2.JSX.Element;
|
||||
}: PendingPodContentProps) => JSX_2.Element;
|
||||
|
||||
// @public
|
||||
export interface PendingPodContentProps {
|
||||
@@ -689,7 +685,7 @@ export type PodColumns = 'READY' | 'RESOURCE';
|
||||
export const PodDrawer: ({
|
||||
podAndErrors,
|
||||
open,
|
||||
}: PodDrawerProps) => React_2.JSX.Element;
|
||||
}: PodDrawerProps) => JSX_2.Element;
|
||||
|
||||
// @public
|
||||
export interface PodDrawerProps {
|
||||
@@ -700,14 +696,12 @@ export interface PodDrawerProps {
|
||||
}
|
||||
|
||||
// @public
|
||||
export const PodExecTerminal: (
|
||||
props: PodExecTerminalProps,
|
||||
) => React_2.JSX.Element;
|
||||
export const PodExecTerminal: (props: PodExecTerminalProps) => JSX_2.Element;
|
||||
|
||||
// @public
|
||||
export const PodExecTerminalDialog: (
|
||||
props: PodExecTerminalProps,
|
||||
) => false | React_2.JSX.Element | undefined;
|
||||
) => false | JSX_2.Element | undefined;
|
||||
|
||||
// @public
|
||||
export interface PodExecTerminalProps {
|
||||
@@ -722,12 +716,12 @@ export interface PodExecTerminalProps {
|
||||
}
|
||||
|
||||
// @public
|
||||
export const PodLogs: React_2.FC<PodLogsProps>;
|
||||
export const PodLogs: FC<PodLogsProps>;
|
||||
|
||||
// @public
|
||||
export const PodLogsDialog: ({
|
||||
containerScope,
|
||||
}: PodLogsDialogProps) => React_2.JSX.Element;
|
||||
}: PodLogsDialogProps) => JSX_2.Element;
|
||||
|
||||
// @public
|
||||
export interface PodLogsDialogProps {
|
||||
@@ -752,7 +746,7 @@ export interface PodLogsProps {
|
||||
}
|
||||
|
||||
// @public
|
||||
export const PodMetricsContext: React_2.Context<Map<string, ClientPodStatus[]>>;
|
||||
export const PodMetricsContext: Context<Map<string, ClientPodStatus[]>>;
|
||||
|
||||
// @public (undocumented)
|
||||
export type PodMetricsMatcher = {
|
||||
@@ -760,12 +754,10 @@ export type PodMetricsMatcher = {
|
||||
};
|
||||
|
||||
// @public (undocumented)
|
||||
export const PodNamesWithErrorsContext: React_2.Context<Set<string>>;
|
||||
export const PodNamesWithErrorsContext: Context<Set<string>>;
|
||||
|
||||
// @public (undocumented)
|
||||
export const PodNamesWithMetricsContext: React_2.Context<
|
||||
Map<string, ClientPodStatus>
|
||||
>;
|
||||
export const PodNamesWithMetricsContext: Context<Map<string, ClientPodStatus>>;
|
||||
|
||||
// @public
|
||||
export interface PodScope {
|
||||
@@ -781,13 +773,13 @@ export interface PodScope {
|
||||
export const PodsTable: ({
|
||||
pods,
|
||||
extraColumns,
|
||||
}: PodsTablesProps) => React_2.JSX.Element;
|
||||
}: PodsTablesProps) => JSX_2.Element;
|
||||
|
||||
// @public (undocumented)
|
||||
export type PodsTablesProps = {
|
||||
pods: Pod_2 | V1Pod[];
|
||||
extraColumns?: PodColumns[];
|
||||
children?: React_2.ReactNode;
|
||||
children?: ReactNode;
|
||||
};
|
||||
|
||||
// @public (undocumented)
|
||||
@@ -809,7 +801,7 @@ export const ResourceUtilization: ({
|
||||
usage,
|
||||
total,
|
||||
totalFormatted,
|
||||
}: ResourceUtilizationProps) => React_2.JSX.Element;
|
||||
}: ResourceUtilizationProps) => JSX_2.Element;
|
||||
|
||||
// @public
|
||||
export interface ResourceUtilizationProps {
|
||||
@@ -838,7 +830,7 @@ export class ServerSideKubernetesAuthProvider
|
||||
}
|
||||
|
||||
// @public (undocumented)
|
||||
export const ServicesAccordions: ({}: ServicesAccordionsProps) => React_2.JSX.Element;
|
||||
export const ServicesAccordions: ({}: ServicesAccordionsProps) => JSX_2.Element;
|
||||
|
||||
// @public (undocumented)
|
||||
export type ServicesAccordionsProps = {};
|
||||
|
||||
Reference in New Issue
Block a user