Documentation ¶
Index ¶
- Constants
- func GetResourceGl0(podID, podNodeID, l3DeviceID uint32, l3DeviceType uint8, l3EpcID int32) (uint32, uint8)
- func GetResourceGl1(podGroupID, podNodeID, l3DeviceID uint32, l3DeviceType uint8, l3EpcID int32) (uint32, uint8)
- func GetResourceGl2(serviceID, podGroupID, podNodeID, l3DeviceID uint32, l3DeviceType uint8, ...) (uint32, uint8)
- func IsPodServiceIP(deviceType zerodoc.DeviceType, podId, podNodeId uint32) bool
- func NewCKConnection(addr, username, password string) (*sql.DB, error)
- func RegetInfoFromIP(isIPv6 bool, ip6 net.IP, ip4 uint32, epcID int32, ...) *grpc.Info
- func RegisterCountableForIngester(name string, countable stats.Countable, opts ...stats.Option) error
- type DBs
Constants ¶
View Source
const ( MODULE_INGESTER = "ingester." QUEUE_STATS_MODULE_INGESTER = queue.OptionModule(MODULE_INGESTER) )
View Source
const ( IpType = 255 InternatIpType = 0 PodType = 10 PodNodeType = 14 PodGroupType = 101 ServiceType = 102 )
View Source
const ( CK_VERSION = "v6.2.0.6" // 用于表示clickhouse的表版本号 DEFAULT_PCAP_DATA_PATH = "/var/lib/pcap" )
Variables ¶
This section is empty.
Functions ¶
func GetResourceGl0 ¶
func GetResourceGl1 ¶
func GetResourceGl2 ¶
func IsPodServiceIP ¶
func IsPodServiceIP(deviceType zerodoc.DeviceType, podId, podNodeId uint32) bool
Types ¶
type DBs ¶
func NewCKConnections ¶
Click to show internal directories.
Click to hide internal directories.