Documentation
¶
Index ¶
- type ControllerDiscovery
- type NodeInfo
- func (n *NodeInfo) AddTSDBCache(tsdb *models.Analyzer)
- func (n *NodeInfo) DeleteTSDBCache(key string)
- func (n *NodeInfo) GetControllerNatIP(ip string) string
- func (n *NodeInfo) GetControllerPodIP(ip string) string
- func (n *NodeInfo) GetGroups() []byte
- func (n *NodeInfo) GetGroupsVersion() uint64
- func (n *NodeInfo) GetLocalControllers() []*trident.DeepFlowServerInstanceInfo
- func (n *NodeInfo) GetPcapDataRetention() uint32
- func (n *NodeInfo) GetPlatformDataStr() []byte
- func (n *NodeInfo) GetPlatformDataVersion() uint64
- func (n *NodeInfo) GetPodIPs() []*trident.PodIp
- func (n *NodeInfo) GetPolicy() []byte
- func (n *NodeInfo) GetPolicyVersion() uint64
- func (n *NodeInfo) GetRegionIDByTSDBIP(tsdbIP string) uint32
- func (n *NodeInfo) GetTSDBCache(key string) *TSDBCache
- func (n *NodeInfo) GetTSDBNatIP(ip string) string
- func (n *NodeInfo) GetTSDBPodIP(ip string) string
- func (n *NodeInfo) PutChNodeInfo()
- func (n *NodeInfo) RegisterTSDB(request *trident.SyncRequest)
- func (n *NodeInfo) TimedRefreshNodeCache()
- type TSDBCache
- func (c *TSDBCache) GetArch() string
- func (c *TSDBCache) GetKernelVersion() string
- func (c *TSDBCache) GetKey() string
- func (c *TSDBCache) GetName() string
- func (c *TSDBCache) GetOS() string
- func (c *TSDBCache) GetPcapDataMountPath() string
- func (c *TSDBCache) GetPodIP() string
- func (c *TSDBCache) GetPodName() string
- func (c *TSDBCache) GetSyncedAt() *time.Time
- func (c *TSDBCache) UpdateSyncedAt(syncedAt time.Time)
- func (c *TSDBCache) UpdateSystemInfo(cpuNum int, memorySize int64, arch string, tsdbOS string, kernelVersion string, ...)
- type TSDBCacheMap
- type TSDBDiscovery
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ControllerDiscovery ¶
type ControllerDiscovery struct {
// contains filtered or unexported fields
}
func (*ControllerDiscovery) GetControllerData ¶
func (c *ControllerDiscovery) GetControllerData() *models.Controller
type NodeInfo ¶
type NodeInfo struct {
// contains filtered or unexported fields
}
func NewNodeInfo ¶
func (*NodeInfo) AddTSDBCache ¶
func (*NodeInfo) DeleteTSDBCache ¶
func (*NodeInfo) GetControllerNatIP ¶
func (*NodeInfo) GetControllerPodIP ¶
func (*NodeInfo) GetGroupsVersion ¶
func (*NodeInfo) GetLocalControllers ¶
func (n *NodeInfo) GetLocalControllers() []*trident.DeepFlowServerInstanceInfo
func (*NodeInfo) GetPcapDataRetention ¶
func (*NodeInfo) GetPlatformDataStr ¶
func (*NodeInfo) GetPlatformDataVersion ¶
func (*NodeInfo) GetPolicyVersion ¶
func (*NodeInfo) GetRegionIDByTSDBIP ¶
func (*NodeInfo) GetTSDBCache ¶
func (*NodeInfo) GetTSDBNatIP ¶
func (*NodeInfo) GetTSDBPodIP ¶
func (*NodeInfo) PutChNodeInfo ¶
func (n *NodeInfo) PutChNodeInfo()
func (*NodeInfo) RegisterTSDB ¶
func (n *NodeInfo) RegisterTSDB(request *trident.SyncRequest)
func (*NodeInfo) TimedRefreshNodeCache ¶
func (n *NodeInfo) TimedRefreshNodeCache()
type TSDBCache ¶
type TSDBCache struct {
// contains filtered or unexported fields
}
func (*TSDBCache) GetKernelVersion ¶
func (*TSDBCache) GetPcapDataMountPath ¶
func (*TSDBCache) GetPodName ¶
func (*TSDBCache) GetSyncedAt ¶
func (*TSDBCache) UpdateSyncedAt ¶
type TSDBCacheMap ¶
func (*TSDBCacheMap) Add ¶
func (m *TSDBCacheMap) Add(tsdbCache *TSDBCache)
func (*TSDBCacheMap) Delete ¶
func (m *TSDBCacheMap) Delete(key string)
func (*TSDBCacheMap) Get ¶
func (m *TSDBCacheMap) Get(key string) *TSDBCache
func (*TSDBCacheMap) GetKeySet ¶
func (m *TSDBCacheMap) GetKeySet() mapset.Set
func (*TSDBCacheMap) List ¶
func (m *TSDBCacheMap) List() []string
type TSDBDiscovery ¶
Click to show internal directories.
Click to hide internal directories.