diff --git a/api.go b/api.go index b04ee6e..8cc2c8f 100644 --- a/api.go +++ b/api.go @@ -1036,6 +1036,7 @@ type TcpReader interface { GetEmitter() Emitter GetIsClosed() bool GetCapture() *Capture + GetLayer4() string Rewind() Lock() Unlock() diff --git a/health.go b/health.go index 6e80371..09978d7 100644 --- a/health.go +++ b/health.go @@ -38,6 +38,7 @@ type HealthWorkerLicenseData struct { type HealthHub struct { Workers []HealthHubWorker `json:"workers"` + Nodes []HealthHubNode `json:"nodes"` NodeName string `json:"nodeName"` ClusterID string `json:"clusterID"` Version string `json:"version"` @@ -54,3 +55,8 @@ type HealthHubWorker struct { Addr string `json:"addr"` PodName string `json:"podName"` } + +type HealthHubNode struct { + NodeName string `json:"nodeName"` + PodCount int `json:"podCount"` +}