Documentation ¶
Overview ¶
Package backend : 裏方の処理
Index ¶
- Variables
- func CheckAllNetworks()
- func CheckNetwork(id string)
- func CmpVersion(mv, sv string) int
- func DeleteAIResult(id string) error
- func GetPortList(n *datastore.NodeEnt) ([]*PortEnt, []*PortEnt)
- func GetVPanelPowerInfo(n *datastore.NodeEnt) bool
- func HasNewVersion() bool
- func MakeAIData(req *AIReq) error
- func Start(ctx context.Context, dsp, vn string, wg *sync.WaitGroup) error
- type AIReq
- type FindNeighborNetworksAndLinesResp
- type HostResourceEnt
- type HrDevice
- type HrFileSystem
- type HrProcess
- type HrStorage
- type HrSystem
- type PortEnt
- type RMONEnt
- type TimeAnalyzedPollingLog
- type VPanelPortEnt
Constants ¶
This section is empty.
Variables ¶
View Source
var SaveMapInterval = 60
Functions ¶
func CheckAllNetworks ¶ added in v1.46.0
func CheckAllNetworks()
func CheckNetwork ¶ added in v1.42.0
func CheckNetwork(id string)
func CmpVersion ¶ added in v1.5.0
func DeleteAIResult ¶
func GetVPanelPowerInfo ¶ added in v1.6.0
GetVPanelPowerInfo : パネルの電源状態を取得
func HasNewVersion ¶
func HasNewVersion() bool
func MakeAIData ¶ added in v1.2.0
Types ¶
type FindNeighborNetworksAndLinesResp ¶ added in v1.40.0
type FindNeighborNetworksAndLinesResp struct { Networks []*datastore.NetworkEnt Lines []*datastore.LineEnt }
func FindNeighborNetworksAndLines ¶ added in v1.40.0
func FindNeighborNetworksAndLines(n *datastore.NetworkEnt) *FindNeighborNetworksAndLinesResp
FindNeighborNetworksAndLines 接続可能なLineと隣接する未登録のネットワークを検索する
type HostResourceEnt ¶ added in v1.6.0
type HostResourceEnt struct { System []*HrSystem Storage []*HrStorage Device []*HrDevice FileSystem []*HrFileSystem Process []*HrProcess }
func GetHostResource ¶ added in v1.6.0
func GetHostResource(n *datastore.NodeEnt) *HostResourceEnt
type HrFileSystem ¶ added in v1.6.0
type RMONEnt ¶ added in v1.16.0
type TimeAnalyzedPollingLog ¶ added in v1.2.0
type TimeAnalyzedPollingLog struct { PX2 int64 TimeH []int64 TimePX2 []int64 DataMapH map[string][]float64 StlMapH map[string]stl.Result DataMapPX2 map[string][]float64 StlMapPX2 map[string]stl.Result FFTH map[string][][]float64 FFTPX2 map[string][][]float64 }
func TimeAnalyzePollingLog ¶ added in v1.2.0
func TimeAnalyzePollingLog(id string) (TimeAnalyzedPollingLog, error)
type VPanelPortEnt ¶ added in v1.6.0
type VPanelPortEnt struct { Index int64 State string Name string Speed int64 OutPacktes int64 OutBytes int64 OutError int64 InPacktes int64 InBytes int64 InError int64 Type int64 Admin int64 Oper int64 MAC string // contains filtered or unexported fields }
func GetVPanelPorts ¶ added in v1.6.0
func GetVPanelPorts(n *datastore.NodeEnt) []*VPanelPortEnt
GetVPanelPorts : パネルに表示するポートの情報を取得する 優先順位は 1.ポーリングの設定 2.SNMPから取得 3.ラインの設定
Source Files ¶
Click to show internal directories.
Click to hide internal directories.