Documentation
¶
Index ¶
- func AddAgentLogLine(agentAPIKey string, source string, line string, inital bool) error
- func CheckAgentModsConfigs() error
- func CheckAgentVersions() error
- func CheckAllAgentsLastComms() error
- func GetAgentByAPIKey(agentAPIKey string) (*modelsv2.AgentSchema, error)
- func GetAgentById(accountIdStr string, agentIdStr string) (*modelsv2.AgentSchema, error)
- func GetAgentByIdNoAccount(agentIdStr string) (*modelsv2.AgentSchema, error)
- func GetAgentConfig(agentAPIKey string) (types.API_AgentConfig_ResData, error)
- func GetAgentModConfig(agentAPIKey string) (*modelsv2.AgentModConfig, error)
- func GetAgentSaves(agentAPIKey string) ([]modelsv2.AgentSave, error)
- func GetAgentTasksApi(agentAPIKey string) ([]modelsv2.AgentTask, error)
- func GetAllAgents(accountIdStr string) ([]*modelsv2.AgentSchema, error)
- func InitAgentService()
- func MarkAgentTaskCompleted(agentAPIKey string, taskId string) error
- func MarkAgentTaskFailed(agentAPIKey string, taskId string) error
- func PostAgentSyncSaves(agentAPIKey string, saves []modelsv2.AgentSave) error
- func PurgeAgentTasks() error
- func ShutdownAgentService() error
- func UpdateAgentConfigApi(agentAPIKey string, version string, ip string) error
- func UpdateAgentLastComm(agentAPIKey string) error
- func UpdateAgentModConfig(agentAPIKey string, newConfig *modelsv2.AgentModConfig) error
- func UpdateAgentStatus(agentAPIKey string, online bool, installed bool, running bool, cpu float64, ...) error
- func UpdateAgentTaskItem(agentAPIKey string, taskId string, newTask modelsv2.AgentTask) error
- func UploadPendingLogs() error
- func UploadedAgentBackup(agentAPIKey string, fileIdentity types.StorageFileIdentity) error
- func UploadedAgentLog(agentAPIKey string, fileIdentity types.StorageFileIdentity) error
- func UploadedAgentSave(agentAPIKey string, fileIdentity types.StorageFileIdentity, updateModTime bool) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddAgentLogLine ¶
func CheckAgentModsConfigs ¶
func CheckAgentModsConfigs() error
func CheckAgentVersions ¶
func CheckAgentVersions() error
func CheckAllAgentsLastComms ¶
func CheckAllAgentsLastComms() error
func GetAgentByAPIKey ¶
func GetAgentByAPIKey(agentAPIKey string) (*modelsv2.AgentSchema, error)
func GetAgentById ¶
func GetAgentById(accountIdStr string, agentIdStr string) (*modelsv2.AgentSchema, error)
func GetAgentByIdNoAccount ¶
func GetAgentByIdNoAccount(agentIdStr string) (*modelsv2.AgentSchema, error)
func GetAgentConfig ¶
func GetAgentConfig(agentAPIKey string) (types.API_AgentConfig_ResData, error)
func GetAgentModConfig ¶
func GetAgentModConfig(agentAPIKey string) (*modelsv2.AgentModConfig, error)
func GetAllAgents ¶
func GetAllAgents(accountIdStr string) ([]*modelsv2.AgentSchema, error)
func InitAgentService ¶
func InitAgentService()
func MarkAgentTaskCompleted ¶
func MarkAgentTaskFailed ¶
func PostAgentSyncSaves ¶
func PurgeAgentTasks ¶
func PurgeAgentTasks() error
func ShutdownAgentService ¶
func ShutdownAgentService() error
func UpdateAgentConfigApi ¶
func UpdateAgentLastComm ¶
func UpdateAgentModConfig ¶
func UpdateAgentModConfig(agentAPIKey string, newConfig *modelsv2.AgentModConfig) error
func UpdateAgentStatus ¶
func UpdateAgentTaskItem ¶
func UploadPendingLogs ¶
func UploadPendingLogs() error
func UploadedAgentBackup ¶
func UploadedAgentBackup(agentAPIKey string, fileIdentity types.StorageFileIdentity) error
func UploadedAgentLog ¶
func UploadedAgentLog(agentAPIKey string, fileIdentity types.StorageFileIdentity) error
func UploadedAgentSave ¶
func UploadedAgentSave(agentAPIKey string, fileIdentity types.StorageFileIdentity, updateModTime bool) error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.