mirror of
https://github.com/kubeshark/kubeshark.git
synced 2025-06-03 21:51:12 +00:00
22 lines
420 B
Go
22 lines
420 B
Go
package shared
|
|
|
|
type ControlSocketMessageType string
|
|
|
|
const (
|
|
TAPPING_STATUS_MESSAGE_TYPE ControlSocketMessageType = "tappingStatus"
|
|
)
|
|
|
|
type MizuSocketMessage struct {
|
|
MessageType ControlSocketMessageType `json:"messageType"`
|
|
Data interface{} `json:"data"`
|
|
}
|
|
|
|
type TapStatus struct {
|
|
Namespace string `json:"namespace"`
|
|
Pods []PodInfo `json:"pods"`
|
|
}
|
|
|
|
type PodInfo struct {
|
|
Name string `json:"name"`
|
|
}
|