it just keeps 🧹 -ing

Signed-off-by: Fredrik Adelöw <freben@gmail.com>
This commit is contained in:
Fredrik Adelöw
2022-08-18 16:58:54 +02:00
parent d461eca145
commit ef9ab322de
55 changed files with 193 additions and 302 deletions
@@ -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
View File
@@ -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}