Documentation
¶
Rendered for darwin/amd64
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrUnknownCommand = errors.New("unknown command")
Functions ¶
func NewHostinfoPlugin ¶
Types ¶
type HostInfoDarwin ¶ added in v1.67.3
type HostInfoDarwin struct {
Distro string `json:"distro"`
KernelVersion string `json:"kernel_version"`
AgentMode string `json:"agent_mode"`
ProductUuid string `json:"product_uuid"`
common.HostInfoData `mapstructure:",squash"`
}
HostInfoDarwin is the structure returned to the backend by HostinfoPlugin.
func (*HostInfoDarwin) SortKey ¶ added in v1.67.3
func (hip *HostInfoDarwin) SortKey() string
type HostinfoPlugin ¶
type HostinfoPlugin struct {
agent.PluginCommon
common.HostInfo
// contains filtered or unexported fields
}
HostinfoPlugin returns metadata of the host.
func (*HostinfoPlugin) Data ¶
func (hip *HostinfoPlugin) Data() types.PluginInventoryDataset
Data collects the hostinfo.
Click to show internal directories.
Click to hide internal directories.