MCPcopy
hub / github.com/baetyl/baetyl / CollectNodeInfo

Method CollectNodeInfo

ami/ami.go:47–47  ·  view source on GitHub ↗

node

()

Source from the content-addressed store, hash-verified

45type AMI interface {
46 // node
47 CollectNodeInfo() (map[string]interface{}, error)
48 CollectNodeStats() (map[string]interface{}, error)
49 GetModeInfo() (interface{}, error)
50

Callers 9

CollectMethod · 0.65
TestCollectFunction · 0.65
TestReportAndApplyFunction · 0.65
TestCollectNodeInfoFunction · 0.65
TestActivate_Err_AmiFunction · 0.65
collectMethod · 0.65
TestActivateFunction · 0.65

Implementers 4

nativeImplami/native/native.go
kubeImplami/kube/kube.go
MockAMImock/ami.go

Calls

no outgoing calls

Tested by 7

TestCollectFunction · 0.52
TestReportAndApplyFunction · 0.52
TestCollectNodeInfoFunction · 0.52
TestActivate_Err_AmiFunction · 0.52
TestActivateFunction · 0.52