Documentation ¶
Index ¶
- Constants
- type Memory
- func (m *Memory) Destroy() error
- func (m *Memory) GetLocation(host string) (*model.Location, error)
- func (m *Memory) Initialize(c *plugin.ConfigEntry) error
- func (m *Memory) Name() string
- func (m *Memory) Range(handler func(host string, location *model.Location) (bool, error)) error
- func (m *Memory) Size() int32
Constants ¶
View Source
const (
// PluginName plugin name
PluginName = "memory"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Memory ¶
type Memory struct {
// contains filtered or unexported fields
}
Memory 定义MemoryCMDB类
func (*Memory) GetLocation ¶
GetLocation 实现CMDB插件接口
func (*Memory) Initialize ¶
func (m *Memory) Initialize(c *plugin.ConfigEntry) error
Initialize 初始化函数
Click to show internal directories.
Click to hide internal directories.