Documentation ¶
Index ¶
- func GetAllAgentConnectToNatIP() bool
- func GetBillingMethod() string
- func GetConfig() *config.Config
- func GetDefaultDB() *gorm.DB
- func GetGKubernetesInfo(teamID string) *kubernetes.KubernetesInfo
- func GetGrpcPort() int
- func GetIngesterPort() int
- func GetIsRefused() bool
- func GetMetaData(orgID int) *metadata.MetaData
- func GetORGNodeInfo(orgID int) *node.NodeInfo
- func GetORGVTapInfo(orgID int) *vtap.VTapInfo
- func GetOrgIDByTeamID(teamID string) int
- func GetOrgIDsData() *trident.OrgIDsResponse
- func GetOrgInfoByTeamID(teamIDStr string) (orgID int, teamID int)
- func PutFlowACL(orgID int)
- func PutGroup(orgID int)
- func PutNodeInfo(orgID int)
- func PutPlatformData(orgID int)
- func PutTapType(orgID int)
- func PutVTapCache(orgID int)
- type Trisolaris
- type TrisolarisManager
- func (m *TrisolarisManager) GetOrgIDByTeamID(teamID string) int
- func (m *TrisolarisManager) GetOrgInfoByTeamID(teamID string) (int, int)
- func (m *TrisolarisManager) GetVTapCache(orgID int, key string) *vtap.VTapCache
- func (m *TrisolarisManager) GetVTapInfo(orgID int) *vtap.VTapInfo
- func (m *TrisolarisManager) PutVTapCacheRefresh(orgID int)
- func (m *TrisolarisManager) Start() error
- func (m *TrisolarisManager) TeamIDLcuuidToInt(teamID string) int
- func (m *TrisolarisManager) TimedCheckORG()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAllAgentConnectToNatIP ¶
func GetAllAgentConnectToNatIP() bool
func GetBillingMethod ¶
func GetBillingMethod() string
func GetDefaultDB ¶
func GetGKubernetesInfo ¶
func GetGKubernetesInfo(teamID string) *kubernetes.KubernetesInfo
func GetGrpcPort ¶
func GetGrpcPort() int
func GetIngesterPort ¶
func GetIngesterPort() int
func GetIsRefused ¶
func GetIsRefused() bool
func GetMetaData ¶
func GetORGNodeInfo ¶
func GetORGVTapInfo ¶
func GetOrgIDByTeamID ¶
func GetOrgIDsData ¶
func GetOrgIDsData() *trident.OrgIDsResponse
func GetOrgInfoByTeamID ¶
func PutFlowACL ¶
func PutFlowACL(orgID int)
func PutNodeInfo ¶
func PutNodeInfo(orgID int)
func PutPlatformData ¶
func PutPlatformData(orgID int)
func PutTapType ¶
func PutTapType(orgID int)
func PutVTapCache ¶
func PutVTapCache(orgID int)
Types ¶
type Trisolaris ¶
type Trisolaris struct {
// contains filtered or unexported fields
}
func GetTrisolaris ¶
func GetTrisolaris(orgID int) *Trisolaris
func NewTrisolaris ¶
func TeamIDToTrisolaris ¶
func TeamIDToTrisolaris(teamID string) *Trisolaris
func (*Trisolaris) GetNodeInfo ¶
func (t *Trisolaris) GetNodeInfo() *node.NodeInfo
func (*Trisolaris) GetVTapInfo ¶
func (t *Trisolaris) GetVTapInfo() *vtap.VTapInfo
func (*Trisolaris) Start ¶
func (t *Trisolaris) Start()
func (*Trisolaris) Stop ¶
func (t *Trisolaris) Stop()
type TrisolarisManager ¶
type TrisolarisManager struct {
// contains filtered or unexported fields
}
func NewTrisolarisManager ¶
func NewTrisolarisManager(cfg *config.Config, db *gorm.DB) *TrisolarisManager
func (*TrisolarisManager) GetOrgIDByTeamID ¶
func (m *TrisolarisManager) GetOrgIDByTeamID(teamID string) int
func (*TrisolarisManager) GetOrgInfoByTeamID ¶
func (m *TrisolarisManager) GetOrgInfoByTeamID(teamID string) (int, int)
func (*TrisolarisManager) GetVTapCache ¶
func (m *TrisolarisManager) GetVTapCache(orgID int, key string) *vtap.VTapCache
func (*TrisolarisManager) GetVTapInfo ¶
func (m *TrisolarisManager) GetVTapInfo(orgID int) *vtap.VTapInfo
func (*TrisolarisManager) PutVTapCacheRefresh ¶
func (m *TrisolarisManager) PutVTapCacheRefresh(orgID int)
func (*TrisolarisManager) Start ¶
func (m *TrisolarisManager) Start() error
func (*TrisolarisManager) TeamIDLcuuidToInt ¶
func (m *TrisolarisManager) TeamIDLcuuidToInt(teamID string) int
func (*TrisolarisManager) TimedCheckORG ¶
func (m *TrisolarisManager) TimedCheckORG()
Click to show internal directories.
Click to hide internal directories.