Documentation
¶
Index ¶
- func GetAgentExecutablePath(orgId string) string
- func GetConfigFilePath(orgId string) string
- func GetDataDirectory(orgId string) string
- func GetLogFilePath(orgId string) string
- func GetProgramDirectory(orgId string) string
- func GetScriptsDirectory(orgId string) string
- func GetServiceExecutablePath(orgId string) string
- func GetServiceManagerPath(orgId string) string
- func GetServiceName(orgId string) string
- func RunAutoUpdater(logger hclog.Logger, device Device)
- type Device
- type HostInfo
- type PathsData
- type Plugin
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAgentExecutablePath ¶
func GetConfigFilePath ¶
func GetDataDirectory ¶ added in v0.4.0
func GetLogFilePath ¶
func GetProgramDirectory ¶ added in v0.4.0
func GetScriptsDirectory ¶
func GetServiceManagerPath ¶
func GetServiceName ¶
func RunAutoUpdater ¶ added in v0.16.0
Types ¶
type Device ¶
type Device struct {
DeviceId string `json:"device_id"`
RewstOrgId string `json:"rewst_org_id"`
RewstEngineHost string `json:"rewst_engine_host"`
AzureIotHubHost string `json:"azure_iot_hub_host"`
Broker string `json:"broker"`
LoggingLevel utils.LoggingLevel `json:"logging_level"`
UseSyslog bool `json:"syslog"`
Plugins []Plugin `json:"plugins"`
DisableAgentPostback bool `json:"disable_agent_postback"`
DisableAutoUpdates bool `json:"disable_auto_updates"`
}
type HostInfo ¶
type HostInfo struct {
AgentVersion string `json:"agent_version"`
AgentExecutablePath string `json:"agent_executable_path"`
ServiceExecutablePath string `json:"service_executable_path"`
HostName string `json:"hostname"`
MacAddress *string `json:"mac_address"`
OperatingSystem string `json:"operating_system"`
CpuModel string `json:"cpu_model"`
RamGb string `json:"ram_gb"`
AdDomain *string `json:"ad_domain"`
IsAdDomainController bool `json:"is_ad_domain_controller"`
IsEntraConnectServer bool `json:"is_entra_connect_server"`
EntraDomain *string `json:"entra_domain"`
OrgId string `json:"org_id"`
}
Click to show internal directories.
Click to hide internal directories.