@@ -208,16 +208,10 @@ export interface GroupedResponses extends DeploymentResources {
|
||||
// @public (undocumented)
|
||||
export const GroupedResponsesContext: React_2.Context<GroupedResponses>;
|
||||
|
||||
// Warning: (ae-missing-release-tag) "HorizontalPodAutoscalerDrawer" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
||||
//
|
||||
// @public (undocumented)
|
||||
export const HorizontalPodAutoscalerDrawer: ({
|
||||
hpa,
|
||||
expanded,
|
||||
children,
|
||||
}: {
|
||||
export const HorizontalPodAutoscalerDrawer: (props: {
|
||||
hpa: V1HorizontalPodAutoscaler;
|
||||
expanded?: boolean | undefined;
|
||||
expanded?: boolean;
|
||||
children?: React_2.ReactNode;
|
||||
}) => JSX.Element;
|
||||
|
||||
@@ -361,15 +355,10 @@ const kubernetesPlugin: BackstagePlugin<
|
||||
export { kubernetesPlugin };
|
||||
export { kubernetesPlugin as plugin };
|
||||
|
||||
// Warning: (ae-missing-release-tag) "PodDrawer" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
||||
//
|
||||
// @public (undocumented)
|
||||
export const PodDrawer: ({
|
||||
pod,
|
||||
expanded,
|
||||
}: {
|
||||
export const PodDrawer: (props: {
|
||||
pod: V1Pod;
|
||||
expanded?: boolean | undefined;
|
||||
expanded?: boolean;
|
||||
}) => JSX.Element;
|
||||
|
||||
// Warning: (ae-missing-release-tag) "PodNamesWithErrorsContext" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
||||
|
||||
+4
-5
@@ -18,15 +18,14 @@ import React from 'react';
|
||||
import { V1HorizontalPodAutoscaler } from '@kubernetes/client-node';
|
||||
import { KubernetesDrawer } from '../KubernetesDrawer/KubernetesDrawer';
|
||||
|
||||
export const HorizontalPodAutoscalerDrawer = ({
|
||||
hpa,
|
||||
expanded,
|
||||
children,
|
||||
}: {
|
||||
/** @public */
|
||||
export const HorizontalPodAutoscalerDrawer = (props: {
|
||||
hpa: V1HorizontalPodAutoscaler;
|
||||
expanded?: boolean;
|
||||
children?: React.ReactNode;
|
||||
}) => {
|
||||
const { hpa, expanded, children } = props;
|
||||
|
||||
return (
|
||||
<KubernetesDrawer
|
||||
kind="HorizontalPodAutoscaler"
|
||||
|
||||
@@ -13,4 +13,5 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
export { HorizontalPodAutoscalerDrawer } from './HorizontalPodAutoscalerDrawer';
|
||||
|
||||
+4
-7
@@ -25,13 +25,10 @@ import {
|
||||
} from '../../utils/pod';
|
||||
import { KubernetesDrawer } from '../KubernetesDrawer/KubernetesDrawer';
|
||||
|
||||
export const PodDrawer = ({
|
||||
pod,
|
||||
expanded,
|
||||
}: {
|
||||
pod: V1Pod;
|
||||
expanded?: boolean;
|
||||
}) => {
|
||||
/** @public */
|
||||
export const PodDrawer = (props: { pod: V1Pod; expanded?: boolean }) => {
|
||||
const { pod, expanded } = props;
|
||||
|
||||
return (
|
||||
<KubernetesDrawer
|
||||
object={pod}
|
||||
|
||||
Reference in New Issue
Block a user