@odigos/ui-kit 0.0.240 → 0.0.242
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +32 -0
- package/lib/chunks/{helpers-D-6cJlOn.js → helpers-flEStb5l.js} +1 -1
- package/lib/chunks/{index-RUJS9Blu.js → index-9imbvR3P.js} +18 -16
- package/lib/chunks/{source-instrument-form-context-CEgbaSRi.js → source-instrument-form-context-4oj79EpI.js} +1 -1
- package/lib/chunks/ui-components-DofONrt0.js +1570 -0
- package/lib/components/_v2/cards/data-card/index.d.ts +1 -0
- package/lib/components/v2.js +1 -1
- package/lib/components.js +1 -1
- package/lib/constants/strings/index.d.ts +17 -4
- package/lib/constants.js +1 -1
- package/lib/containers/_v2/_drawers/edit-source-drawer/common/pods-header.d.ts +1 -1
- package/lib/containers/_v2/_drawers/edit-source-drawer/overview/containers-card/popup-form.d.ts +4 -0
- package/lib/containers/_v2/_drawers/edit-source-drawer/overview/containers-card/runtime-override.d.ts +1 -0
- package/lib/containers/_v2/_drawers/edit-source-drawer/overview/index.d.ts +1 -2
- package/lib/containers/_v2/_drawers/edit-source-drawer/overview/pods-card/pods-list/container-row.d.ts +1 -1
- package/lib/containers/_v2/_drawers/edit-source-drawer/overview/pods-card/pods-list/helpers.d.ts +1 -2
- package/lib/containers/_v2/_drawers/edit-source-drawer/overview/pods-card/pods-list/pod-row.d.ts +1 -1
- package/lib/containers/_v2/_drawers/edit-source-drawer/overview/pods-card/pods-list/row-header.d.ts +3 -2
- package/lib/containers/_v2/_drawers/edit-source-drawer/overview/pods-card/pods-list/types.d.ts +1 -8
- package/lib/containers/_v2/_drawers/edit-source-drawer/overview/statuses-card.d.ts +0 -1
- package/lib/containers/_v2/_drawers/edit-source-drawer/pods/pod-debug-commands.d.ts +7 -0
- package/lib/containers/_v2/_drawers/edit-source-drawer/yaml-files/index.d.ts +6 -0
- package/lib/containers/v2.js +124 -117
- package/lib/containers.js +1 -1
- package/lib/contexts.js +1 -1
- package/lib/functions/build-badge-for-desired-status/index.d.ts +6 -0
- package/lib/functions/get-health-badge-label/index.d.ts +2 -0
- package/lib/functions/index.d.ts +2 -1
- package/lib/functions/map-desired-status-to-condition-status/index.d.ts +1 -1
- package/lib/functions.js +1 -1
- package/lib/hooks.js +1 -1
- package/lib/icons/common/inbound-icon/index.d.ts +2 -0
- package/lib/icons/common/index.d.ts +2 -0
- package/lib/icons/common/outbound-icon/index.d.ts +2 -0
- package/lib/icons/destinations/open-telemetry-logo/index.d.ts +1 -0
- package/lib/icons.js +1 -1
- package/lib/mock-data/sources/yamls.d.ts +22 -0
- package/lib/snippets/_v2/yaml-section-card/index.d.ts +2 -1
- package/lib/snippets/v2.js +1 -1
- package/lib/snippets.js +4 -4
- package/lib/store.js +1 -1
- package/lib/theme.js +1 -1
- package/lib/types/workload/index.d.ts +12 -4
- package/lib/types.js +1 -1
- package/lib/visuals.js +1 -1
- package/package.json +1 -1
- package/lib/chunks/ui-components-B0BVzW_z.js +0 -1570
- package/lib/containers/_v2/_drawers/edit-source-drawer/pods/debug-commands.d.ts +0 -6
- package/lib/functions/is-pod-injected-with-agent/index.d.ts +0 -4
package/lib/components/v2.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{
|
|
1
|
+
export{eA as Autocomplete,am as Badge,a9 as Button,aa as ButtonSize,g9 as ButtonTab,ga as ButtonTabList,ab as ButtonVariants,a0 as Checkbox,gb as CheckboxList,dc as CheckboxSize,b6 as CliCommand,b0 as Condition,aS as Conditions,gc as DEFAULT_TIME_UNITS,aR as DataCard,o as Drawer,bK as DropData,bM as DropDataAlignX,bL as DropDataAlignY,aB as DropDown,a1 as FieldMessage,$ as FieldTitle,du as GaugeChart,gd as GaugeChartVariant,ge as Header,gf as HoverActions,aC as IconButton,aD as IconButtonSize,bc as IconGroup,a2 as Input,a8 as InputList,a4 as InputTable,d2 as Island,aE as Loader,bP as Modal,gg as Navbar,N as NoData,ag as Note,cx as Radio,gh as RadioGroup,cy as RadioSize,b8 as Search,ay as SectionCard,gi as SectionCardSize,ad as Segment,dx as SegmentSize,bm as SegmentVariant,dt as StatusCard,d3 as Stepper,bo as Table,bp as TableVariant,aY as Tag,b5 as TagVariants,ae as TextArea,dv as TextCard,dP as TimeInput,a6 as Toggle,a7 as ToggleLabelAlign,gj as ToggleList,aI as ToggleSize,gk as ToggleVariant,de as TruncatableTypography,b as Typography,ai as TypographyColor,c as TypographySize,aJ as TypographyVariants,ap as WarningModal,gl as resolveTypographyColor}from"../chunks/ui-components-DofONrt0.js";import"react/jsx-runtime";import"styled-components";import"../icons.js";import"zustand";import"react";import"javascript-time-ago";import"../chunks/vendor-Be0cOokr.js";import"prism-react-renderer";import"react-error-boundary";import"react-dom";import"virtua";
|
package/lib/components.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{aA as CenterThis,
|
|
1
|
+
export{aA as CenterThis,eD as Code,p as Divider,fV as ErrorBoundary,fW as FadeLoader,F as FlexColumn,h as FlexRow,I as IconButton,eE as IconGroup,fX as IconWrapped,fY as ImageControlled,fZ as LoadingText,f_ as ModalBody,s as NotificationNote,f$ as Overlay,aQ as Padding,d1 as PageContent,a as Popup,g0 as ScrollX,b9 as ScrollY,dg as SkeletonLoader,g1 as TableContainer,g2 as TableTitleWrap,g3 as TableWrap,e as Text,g4 as ToggleCodeComponent,ak as Tooltip,dw as UpgradeRequiredWrapper,g5 as VerticalScroll,g6 as getLinksFromText,g7 as getStrongsFromText,g8 as renderText}from"./chunks/ui-components-DofONrt0.js";import"react/jsx-runtime";import"styled-components";import"./icons.js";import"zustand";import"react";import"javascript-time-ago";import"./chunks/vendor-Be0cOokr.js";import"prism-react-renderer";import"react-error-boundary";import"react-dom";import"virtua";
|
|
@@ -106,6 +106,8 @@ export declare const DISPLAY_TITLES: {
|
|
|
106
106
|
OUTBOUND: string;
|
|
107
107
|
INBOUND_DESCRIPTION: (serviceName: string) => string;
|
|
108
108
|
OUTBOUND_DESCRIPTION: (serviceName: string) => string;
|
|
109
|
+
NO_INBOUND_CONNECTIONS_DESCRIPTION: string;
|
|
110
|
+
NO_OUTBOUND_CONNECTIONS_DESCRIPTION: string;
|
|
109
111
|
NO_INBOUND_CONNECTIONS: string;
|
|
110
112
|
NO_OUTBOUND_CONNECTIONS: string;
|
|
111
113
|
COULD_NOT_FETCH_PEER_SOURCES: string;
|
|
@@ -118,7 +120,9 @@ export declare const DISPLAY_TITLES: {
|
|
|
118
120
|
PODS_HEALTHY: string;
|
|
119
121
|
PODS_NOT_HEALTHY: string;
|
|
120
122
|
NO_RUNNING_PODS: string;
|
|
123
|
+
NO_RUNNING_PODS_SUBTITLE: string;
|
|
121
124
|
AGENT_INJECTED: string;
|
|
125
|
+
INJECTIONS_AS_EXPECTED: string;
|
|
122
126
|
AGENT_NOT_INJECTED: string;
|
|
123
127
|
KUBERNETES_HEALTHY: string;
|
|
124
128
|
ODIGOS_HEALTHY: string;
|
|
@@ -126,7 +130,9 @@ export declare const DISPLAY_TITLES: {
|
|
|
126
130
|
UNHEALTHY: string;
|
|
127
131
|
NOT_HEALTHY: string;
|
|
128
132
|
NODE: string;
|
|
129
|
-
|
|
133
|
+
AGE: string;
|
|
134
|
+
RUNNING_TIME: string;
|
|
135
|
+
RUNNING_TIME_TOOLTIP: string;
|
|
130
136
|
NOT_RUNNING: string;
|
|
131
137
|
RESTARTS: string;
|
|
132
138
|
LATEST_REVISION: string;
|
|
@@ -144,11 +150,11 @@ export declare const DISPLAY_TITLES: {
|
|
|
144
150
|
UNINSTRUMENTED: string;
|
|
145
151
|
INSTRUMENTED_WITH_DISTRO: (otelDistroName: string) => string;
|
|
146
152
|
DEBUG_COMMANDS: string;
|
|
147
|
-
|
|
153
|
+
YAML: string;
|
|
154
|
+
YAML_FILES: string;
|
|
148
155
|
GET_POD_YAML: string;
|
|
149
|
-
GET_POD_JSON: string;
|
|
150
|
-
GET_POD_DESCRIBE: string;
|
|
151
156
|
GET_POD_LOGS: string;
|
|
157
|
+
DESCRIBE_POD: string;
|
|
152
158
|
CONTAINER: string;
|
|
153
159
|
CONTAINERS: string;
|
|
154
160
|
DETECTED_CONTAINERS: string;
|
|
@@ -187,9 +193,15 @@ export declare const DISPLAY_TITLES: {
|
|
|
187
193
|
OVERIDE: string;
|
|
188
194
|
OVERIDDEN: string;
|
|
189
195
|
OVERRIDE_RUNTIME_DETAILS: string;
|
|
196
|
+
OVERRIDE_RUNTIME_DETAILS_SUBTITLE: string;
|
|
190
197
|
OVERRIDE_RUNTIME_WARNING: string;
|
|
191
198
|
OVERRIDE_OTEL_DISTRO_NAME: string;
|
|
199
|
+
OVERRIDE_OTEL_DISTRO_NAME_SUBTITLE: string;
|
|
192
200
|
OVERRIDE_OTEL_DISTRO_NAME_WARNING: string;
|
|
201
|
+
OVERRIDE_OTEL_DISTRO_NAME_SAVE_TOOLTIP: string;
|
|
202
|
+
OVERRIDE_OTEL_DISTRO_NAME_DELETE_TOOLTIP: string;
|
|
203
|
+
OVERRIDE_RUNTIME_DETAILS_SAVE_TOOLTIP: string;
|
|
204
|
+
OVERRIDE_RUNTIME_DETAILS_DELETE_TOOLTIP: string;
|
|
193
205
|
OTEL_DISTRO_NAME: string;
|
|
194
206
|
WAITING_FOR_RUNTIME_DETECTION: string;
|
|
195
207
|
DETECTING_RUNTIME_INFO: string;
|
|
@@ -237,6 +249,7 @@ export declare const DISPLAY_TITLES: {
|
|
|
237
249
|
THROUGHPUT_LAST_10_SECONDS: string;
|
|
238
250
|
DELETE_POD_TO_RESTART: string;
|
|
239
251
|
RESTART_POD_DESCRIPTION: string;
|
|
252
|
+
DEBUG: string;
|
|
240
253
|
};
|
|
241
254
|
export declare const BUTTON_TEXTS: {
|
|
242
255
|
GET_STARTED: string;
|
package/lib/constants.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{A as ACTION_ATTRIBUTE_OPTIONS,
|
|
1
|
+
export{A as ACTION_ATTRIBUTE_OPTIONS,fz as ACTION_OPTIONS,x as ACTION_SAMPLER_OPTIONS,fA as ALL_SOURCES,br as BTN_CANCEL,dB as BTN_CREATE_FIRST_RULE,by as BTN_CREATE_RULE,bu as BTN_DELETE_RULE,es as BTN_EDIT_AUTO_RULE,bt as BTN_EDIT_RULE,bG as BTN_SAVE,bs as BTN_SAVE_RULE,aP as BUTTON_TEXTS,bv as CATEGORY_DESCRIPTIONS,eq as CATEGORY_LABELS,bz as CATEGORY_TITLES,fB as CREATE_COST_REDUCTION_AUTO_RULE_DRAWER_TITLE,fC as CREATE_HIGHLY_RELEVANT_AUTO_RULE_DRAWER_TITLE,fD as CREATE_NOISY_AUTO_RULE_DRAWER_TITLE,aN as DEFAULT_CLUSTER_ID,aM as DEFAULT_CLUSTER_NAME,dn as DEFAULT_DATA_STREAM_NAME,dV as DESC_DURATION,dU as DESC_ERRORS,dY as DESC_OPERATION,fE as DESC_PERCENTAGE_HIGHLY_RELEVANT,au as DESC_PERCENTAGE_NOISY,er as DESC_RULE_TYPE,ey as DESC_SOURCE_SCOPE,aF as DESTINATION_CATEGORIES,an as DISPLAY_LANGUAGES,D as DISPLAY_TITLES,ac as DOCS_BASE_URL,K as DestinationCategoryTypes,bC as EDIT_COST_REDUCTION_AUTO_RULE_DRAWER_SUBTITLE,bD as EDIT_COST_REDUCTION_AUTO_RULE_DRAWER_TITLE,bA as EDIT_HIGHLY_RELEVANT_AUTO_RULE_DRAWER_SUBTITLE,bB as EDIT_HIGHLY_RELEVANT_AUTO_RULE_DRAWER_TITLE,bE as EDIT_NOISY_AUTO_RULE_DRAWER_SUBTITLE,bF as EDIT_NOISY_AUTO_RULE_DRAWER_TITLE,bw as EDIT_TITLES,e8 as EMPTY_VALUE,dz as FILTER_TYPE_ALL,B as FORM_ALERTS,U as INSTRUMENTATION_RULE_OPTIONS,dW as LABEL_CUSTOM_DURATION,az as LABEL_CUSTOM_PERCENTAGE,ax as LABEL_DISABLED,dy as LABEL_DISABLED_RULE,ei as LABEL_DROP_ALL,ar as LABEL_DROP_AT_MOST,aw as LABEL_ENABLED,e1 as LABEL_HTTP_ROUTE,e3 as LABEL_HTTP_ROUTE_PREFIX,e5 as LABEL_KAFKA_TOPIC,ej as LABEL_KEEP_ALL,ef as LABEL_KEEP_AT_LEAST,eg as LABEL_KEEP_AT_MOST,ee as LABEL_KEEP_PERCENTAGE,dT as LABEL_KEEP_TRACES_DURATION,dR as LABEL_KEEP_TRACES_ERRORS,e4 as LABEL_METHOD,em as LABEL_NOTE,eu as LABEL_NO_PREVIEW,e7 as LABEL_OPERATION_TYPE,fF as LABEL_RULE_DISABLED,fG as LABEL_RULE_ENABLED,ek as LABEL_RULE_NAME,el as LABEL_RULE_TYPE,eh as LABEL_SAMPLE,d_ as LABEL_SERVER_ADDRESS,e0 as LABEL_TEMPLATED_PATH,e2 as LABEL_TEMPLATED_PATH_PREFIX,bj as LANGUAGE_OPTIONS,d7 as MONITORS_OPTIONS,ew as NOTE_ENTIRE_CLUSTER,ez as NOTE_SOURCE_SCOPE_LOGIC,fH as OPENTELEMETRY_EBPF_DISTRO_OPTION,ea as OPERATION_ALL,e9 as OPERATION_HTTP_CLIENT,e6 as OPERATION_HTTP_SERVER,eb as OPERATION_KAFKA_CONSUMER,ec as OPERATION_KAFKA_PRODUCER,bi as OTEL_DISTRO_NAME_OPTIONS,ed as PERCENTAGE_SECTION_DESCRIPTIONS,eo as PLACEHOLDER_NOTE,d$ as PLACEHOLDER_ROUTE,en as PLACEHOLDER_RULE_NAME,eB as PLACEHOLDER_SEARCH_SOURCE,dZ as PLACEHOLDER_SERVER_ADDRESS,b2 as PROCESS_ATTRIBUTE_NAMES,av as SAMPLING_AUTO_RULE_TITLE,dH as SAMPLING_BTN_CREATE_RULE,dF as SAMPLING_BTN_DOCS,dG as SAMPLING_BTN_REFRESH,at as SAMPLING_COST_REDUCTION_AUTO_RULE_TITLE,dK as SAMPLING_DELETE_MODAL_APPROVE,dL as SAMPLING_DELETE_MODAL_CANCEL,dM as SAMPLING_DELETE_MODAL_DESCRIPTION,dN as SAMPLING_DELETE_MODAL_TITLE,bH as SAMPLING_DRAWER_WIDTH,dE as SAMPLING_DUPLICATE_RULE_WARNING,aq as SAMPLING_HIGHLY_RELEVANT_AUTO_RULE_TITLE,cA as SAMPLING_ONBOARDING_ADVANCED_LEFT_BULLET_1,cB as SAMPLING_ONBOARDING_ADVANCED_LEFT_BULLET_2,cC as SAMPLING_ONBOARDING_ADVANCED_LEFT_BULLET_3,cD as SAMPLING_ONBOARDING_ADVANCED_LEFT_TITLE,cE as SAMPLING_ONBOARDING_ADVANCED_RIGHT_BULLET_1,cF as SAMPLING_ONBOARDING_ADVANCED_RIGHT_BULLET_2,cG as SAMPLING_ONBOARDING_ADVANCED_RIGHT_BULLET_3,cH as SAMPLING_ONBOARDING_ADVANCED_RIGHT_BULLET_4,cI as SAMPLING_ONBOARDING_ADVANCED_RIGHT_BULLET_5,cJ as SAMPLING_ONBOARDING_ADVANCED_RIGHT_TITLE,cL as SAMPLING_ONBOARDING_ADVANCED_SUBTITLE,cK as SAMPLING_ONBOARDING_ADVANCED_TITLE,d0 as SAMPLING_ONBOARDING_AMBIENT_LABEL,c4 as SAMPLING_ONBOARDING_BTN_GO_TO,bR as SAMPLING_ONBOARDING_BTN_NEXT,cz as SAMPLING_ONBOARDING_BTN_READ_MORE,cf as SAMPLING_ONBOARDING_BTN_SKIP,cg as SAMPLING_ONBOARDING_BTN_START,cM as SAMPLING_ONBOARDING_COMMON_BANNER,c$ as SAMPLING_ONBOARDING_COMMON_RULES_SECTION,cP as SAMPLING_ONBOARDING_DROP_DESCRIPTION,cO as SAMPLING_ONBOARDING_DROP_SUBTITLE,cN as SAMPLING_ONBOARDING_DROP_TITLE,cS as SAMPLING_ONBOARDING_ERROR_PRESET_NAME,cR as SAMPLING_ONBOARDING_ERROR_PRESET_TOGGLE_LABEL,cV as SAMPLING_ONBOARDING_KEEP_DESCRIPTION,cU as SAMPLING_ONBOARDING_KEEP_SUBTITLE,cT as SAMPLING_ONBOARDING_KEEP_TITLE,cW as SAMPLING_ONBOARDING_KEEP_USE_CASE_1,cX as SAMPLING_ONBOARDING_KEEP_USE_CASE_2,cY as SAMPLING_ONBOARDING_KEEP_USE_CASE_3,cZ as SAMPLING_ONBOARDING_KEEP_USE_CASE_4,c_ as SAMPLING_ONBOARDING_KEEP_USE_CASE_5,bY as SAMPLING_ONBOARDING_NOISY_BANNER,bU as SAMPLING_ONBOARDING_NOISY_DESCRIPTION,bX as SAMPLING_ONBOARDING_NOISY_PRESET_NAME,bV as SAMPLING_ONBOARDING_NOISY_PRESET_SECTION,bW as SAMPLING_ONBOARDING_NOISY_PRESET_TOGGLE_LABEL,bT as SAMPLING_ONBOARDING_NOISY_SUBTITLE,bS as SAMPLING_ONBOARDING_NOISY_TITLE,cQ as SAMPLING_ONBOARDING_PRESET_RULES_SECTION,bQ as SAMPLING_ONBOARDING_RECOMMENDED_BADGE,cu as SAMPLING_ONBOARDING_STRATEGY_ADVANCED_BADGE,cv as SAMPLING_ONBOARDING_STRATEGY_ADVANCED_DESC,cw as SAMPLING_ONBOARDING_STRATEGY_ADVANCED_NAME,cr as SAMPLING_ONBOARDING_STRATEGY_DROP_BADGE,cp as SAMPLING_ONBOARDING_STRATEGY_DROP_BULLET_1,cq as SAMPLING_ONBOARDING_STRATEGY_DROP_BULLET_2,cs as SAMPLING_ONBOARDING_STRATEGY_DROP_DESC,ct as SAMPLING_ONBOARDING_STRATEGY_DROP_NAME,cm as SAMPLING_ONBOARDING_STRATEGY_KEEP_BADGE,ck as SAMPLING_ONBOARDING_STRATEGY_KEEP_BULLET_1,cl as SAMPLING_ONBOARDING_STRATEGY_KEEP_BULLET_2,cn as SAMPLING_ONBOARDING_STRATEGY_KEEP_DESC,co as SAMPLING_ONBOARDING_STRATEGY_KEEP_NAME,cj as SAMPLING_ONBOARDING_STRATEGY_KEEP_WARNING,ci as SAMPLING_ONBOARDING_STRATEGY_SUBTITLE,ch as SAMPLING_ONBOARDING_STRATEGY_TITLE,c1 as SAMPLING_ONBOARDING_SUCCESS_BULLET_1,c2 as SAMPLING_ONBOARDING_SUCCESS_BULLET_2,c3 as SAMPLING_ONBOARDING_SUCCESS_BULLET_3,c0 as SAMPLING_ONBOARDING_SUCCESS_INTRO,b$ as SAMPLING_ONBOARDING_SUCCESS_SUBTITLE,b_ as SAMPLING_ONBOARDING_SUCCESS_TITLE,ce as SAMPLING_ONBOARDING_WELCOME_BANNER,c7 as SAMPLING_ONBOARDING_WELCOME_INTRO,c8 as SAMPLING_ONBOARDING_WELCOME_STAGE_1_DESC,c9 as SAMPLING_ONBOARDING_WELCOME_STAGE_1_TITLE,ca as SAMPLING_ONBOARDING_WELCOME_STAGE_2_DESC,cb as SAMPLING_ONBOARDING_WELCOME_STAGE_2_TITLE,cc as SAMPLING_ONBOARDING_WELCOME_STAGE_3_DESC,cd as SAMPLING_ONBOARDING_WELCOME_STAGE_3_TITLE,c6 as SAMPLING_ONBOARDING_WELCOME_SUBTITLE,c5 as SAMPLING_ONBOARDING_WELCOME_TITLE,dI as SAMPLING_PAGE_DESCRIPTION,dJ as SAMPLING_PAGE_TITLE,dS as SECTION_DURATION,dQ as SECTION_ERRORS,as as SECTION_KEEP_PERCENTAGE,dX as SECTION_OPERATION,et as SECTION_SAMPLING_PREVIEW,ev as SECTION_SOURCE_SCOPE,d6 as STORAGE_KEYS,dA as TITLE_NO_RESULTS,dC as TITLE_NO_RULES,fI as TOKEN_ABOUT_TO_EXPIRE,ep as TOOLTIP_NOTE,ex as UNKNOWN_SOURCE_LABEL,bx as UNNAMED_RULE,dD as getNoResultsSubTitle}from"./chunks/ui-components-DofONrt0.js";import"react/jsx-runtime";import"styled-components";import"./icons.js";import"zustand";import"react";import"javascript-time-ago";import"./chunks/vendor-Be0cOokr.js";import"prism-react-renderer";import"react-error-boundary";import"react-dom";import"virtua";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { type FC } from 'react';
|
|
2
2
|
import { type DesiredConditionStatus, type K8sWorkloadPod } from '@/types';
|
|
3
3
|
export interface PodsHeaderProps {
|
|
4
|
-
|
|
4
|
+
podsOdigosHealthStatus?: DesiredConditionStatus | null;
|
|
5
5
|
pods?: K8sWorkloadPod[] | null;
|
|
6
6
|
noPadding?: boolean;
|
|
7
7
|
}
|
package/lib/containers/_v2/_drawers/edit-source-drawer/overview/containers-card/popup-form.d.ts
CHANGED
|
@@ -3,10 +3,14 @@ interface PopupFormProps {
|
|
|
3
3
|
width: CSSProperties['width'];
|
|
4
4
|
onClose: () => void;
|
|
5
5
|
onSave: () => void;
|
|
6
|
+
saveTooltip?: string;
|
|
6
7
|
onDelete: () => void;
|
|
8
|
+
deleteTooltip?: string;
|
|
7
9
|
title: string;
|
|
10
|
+
subTitle: string;
|
|
8
11
|
warning: string;
|
|
9
12
|
children: React.ReactNode;
|
|
13
|
+
pushButtonsWith?: CSSProperties['marginBottom'];
|
|
10
14
|
}
|
|
11
15
|
export declare const Relative: FC<{
|
|
12
16
|
children: React.ReactNode;
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { type FC } from 'react';
|
|
2
|
-
import type {
|
|
2
|
+
import type { Workload } from '@/types';
|
|
3
3
|
import { type ContainersCardProps } from './containers-card';
|
|
4
4
|
export interface OverviewProps {
|
|
5
|
-
effectiveConfig?: EffectiveConfig;
|
|
6
5
|
source: Workload;
|
|
7
6
|
onClickRollout: () => void;
|
|
8
7
|
onClickRollback: () => void;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type FC } from 'react';
|
|
2
|
-
import type
|
|
2
|
+
import { type OnJumpToProcess } from './types';
|
|
3
3
|
import { type K8sWorkloadPod, type K8sWorkloadPodContainer } from '@/types';
|
|
4
4
|
export interface ContainerRowProps {
|
|
5
5
|
pod: K8sWorkloadPod;
|
package/lib/containers/_v2/_drawers/edit-source-drawer/overview/pods-card/pods-list/helpers.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { type K8sWorkloadPodContainerProcess } from '@/types';
|
|
2
2
|
/** Inner horizontal padding of the silver/800 (pod) and silver/750 (container) background cards. */
|
|
3
3
|
export declare const SECTION_PADDING: {
|
|
4
4
|
pod: number;
|
|
@@ -16,4 +16,3 @@ export declare const ROW_PADDING_LEFT: {
|
|
|
16
16
|
export declare const getProcessPid: (process: Pick<K8sWorkloadPodContainerProcess, "identifyingAttributes"> & {
|
|
17
17
|
overrideProcessNum?: number;
|
|
18
18
|
}) => string | null;
|
|
19
|
-
export declare const getHealthBadgeLabel: (status: StatusType | OtherStatus | OtherStatusType, reasonEnum?: string | null) => string;
|
package/lib/containers/_v2/_drawers/edit-source-drawer/overview/pods-card/pods-list/pod-row.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type FC } from 'react';
|
|
2
|
-
import type { OnJumpToProcess } from './types';
|
|
3
2
|
import { type K8sWorkloadPod } from '@/types';
|
|
3
|
+
import { type OnJumpToProcess } from './types';
|
|
4
4
|
export interface PodRowProps {
|
|
5
5
|
pod: K8sWorkloadPod;
|
|
6
6
|
onJumpToProcess?: OnJumpToProcess;
|
package/lib/containers/_v2/_drawers/edit-source-drawer/overview/pods-card/pods-list/row-header.d.ts
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import { type FC } from 'react';
|
|
2
|
+
import type { RowAction } from './types';
|
|
2
3
|
import { type SVG } from '@/types';
|
|
3
|
-
import
|
|
4
|
+
import { type BadgeForDesiredStatus } from '@/functions';
|
|
4
5
|
export interface RowHeaderProps {
|
|
5
6
|
chevron?: SVG;
|
|
6
7
|
onClick?: () => void;
|
|
7
8
|
label: string;
|
|
8
9
|
name: string;
|
|
9
|
-
badges:
|
|
10
|
+
badges: BadgeForDesiredStatus[];
|
|
10
11
|
action?: RowAction;
|
|
11
12
|
paddingLeft: number;
|
|
12
13
|
}
|
package/lib/containers/_v2/_drawers/edit-source-drawer/overview/pods-card/pods-list/types.d.ts
CHANGED
|
@@ -1,16 +1,9 @@
|
|
|
1
|
-
import type { K8sWorkloadPod, K8sWorkloadPodContainer, K8sWorkloadPodContainerProcess,
|
|
1
|
+
import type { K8sWorkloadPod, K8sWorkloadPodContainer, K8sWorkloadPodContainerProcess, SVG } from '@/types';
|
|
2
2
|
/**
|
|
3
3
|
* Handler invoked when the "jump to pod" action is triggered for a process.
|
|
4
4
|
* Should navigate the user to the relevant spot in the Pod tab.
|
|
5
5
|
*/
|
|
6
6
|
export type OnJumpToProcess = (pod: K8sWorkloadPod, container: K8sWorkloadPodContainer, process: K8sWorkloadPodContainerProcess) => void;
|
|
7
|
-
export interface BadgeDescriptor {
|
|
8
|
-
key: string;
|
|
9
|
-
status: StatusType | OtherStatus;
|
|
10
|
-
icon?: SVG;
|
|
11
|
-
label: string;
|
|
12
|
-
tooltip?: string;
|
|
13
|
-
}
|
|
14
7
|
export interface RowAction {
|
|
15
8
|
icon: SVG;
|
|
16
9
|
onClick: () => void;
|