Documentation ¶
Index ¶
- Constants
- func GetAutoInstance(podID, gpID, podNodeID, l3DeviceID, subnetID uint32, l3DeviceType uint8, ...) (uint32, uint8)
- func GetAutoService(serviceID, podGroupID, gpID, podClusterID, l3DeviceID, subnetID uint32, ...) (uint32, uint8)
- func IsPodServiceIP(deviceType flow_metrics.DeviceType, podId, podNodeId uint32) bool
- func NewCKConnection(addr, username, password string) (*sql.DB, error)
- func RegetInfoFromIP(orgId uint16, 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 InternetIpType = 0 PodType = uint8(trident.AutoServiceType_AUTO_SERVICE_TYPE_POD) // 10 PodNodeType = uint8(trident.AutoServiceType_AUTO_SERVICE_TYPE_POD_NODE) // 14 PodServiceType = uint8(trident.AutoServiceType_AUTO_SERVICE_TYPE_POD_SERVICE) // 12 PodClusterType = uint8(trident.AutoServiceType_AUTO_SERVICE_TYPE_POD_CLUSTER) // 103 ProcessType = uint8(trident.AutoServiceType_AUTO_SERVICE_TYPE_PROCESS) // 120 )
View Source
const (
CK_VERSION = "v6.6.3.0" // 用于表示clickhouse的表版本号
)
Variables ¶
This section is empty.
Functions ¶
func GetAutoInstance ¶
func GetAutoService ¶
func IsPodServiceIP ¶
func IsPodServiceIP(deviceType flow_metrics.DeviceType, podId, podNodeId uint32) bool
Types ¶
type DBs ¶
func NewCKConnections ¶
Click to show internal directories.
Click to hide internal directories.