kubeshark/shared/models.go
RamiBerm 2f8f253743 WIP
2021-05-24 12:17:26 +03:00

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"`
}