Key: | {rule.Key} |
Response Time: | {rule.ResponseTime} |
Method: | {rule.Method} |
Path: | {rule.Path} |
Service: | {rule.Service} |
Type: | {rule.Type} |
Value: | {rule.Value} |
Mizu has a rich filtering syntax that let's you query the results both flexibly and efficiently.
+Here are some examples that you can try;
+endsWith
, contains
) the string:
+ setShowTooltip(true)} + onMouseLeave={ e => setShowTooltip(false)} + > + {!buttonOnly && flipped && textElement} + {copyButton} + {!buttonOnly && !flipped && textElement} + {useTooltip && showTooltip && {text}} +
+ ); +}; + +export default FancyTextDisplay; diff --git a/traffic-viewer/src/components/UI/Protocol.module.sass b/traffic-viewer/src/components/UI/Protocol.module.sass new file mode 100644 index 000000000..9ffeaab14 --- /dev/null +++ b/traffic-viewer/src/components/UI/Protocol.module.sass @@ -0,0 +1,24 @@ +.base + display: inline-block + text-align: center + font-size: 10px + font-weight: 600 + background-color: #000 + color: #fff + margin-left: -8px + +.vertical + line-height: 22px + letter-spacing: 0.5px + width: 22px + height: 48px + border-radius: 0px 4px 4px 0 + writing-mode: vertical-lr + transform: rotate(-180deg) + text-orientation: mixed + +.horizontal + border-radius: 4px + font-size: 22px + padding: 5px 10px + font-weight: 600 diff --git a/traffic-viewer/src/components/UI/Protocol.tsx b/traffic-viewer/src/components/UI/Protocol.tsx new file mode 100644 index 000000000..75f153065 --- /dev/null +++ b/traffic-viewer/src/components/UI/Protocol.tsx @@ -0,0 +1,66 @@ +import React from "react"; +import styles from './Protocol.module.sass'; +import Queryable from "./Queryable"; + +export interface ProtocolInterface { + name: string + longName: string + abbr: string + macro: string + backgroundColor: string + foregroundColor: string + fontSize: number + referenceLink: string + ports: string[] + inbound_ports: string +} + +interface ProtocolProps { + protocol: ProtocolInterface + horizontal: boolean +} + +const Protocol: React.FCPod name | +Namespace | +Tapping | +
---|---|---|
{pod.name} | +{pod.namespace} | +