Documentation
¶
Index ¶
- func AcceptInviteCode(inviteCode string, password string) error
- func AccountSignup(accountName string, email string, password string) error
- func CheckAgentModsConfigs() error
- func CheckAgentVersions() error
- func CheckAllAgentsLastComms() error
- func CheckForInactiveAccounts() error
- func CleanupAccountFiles() error
- func ConvertUploadToFileIdentity(file *multipart.FileHeader) types.StorageFileIdentity
- func CreateAccountUser(accountIdStr string, email string) error
- func CreateAgent(accountIdStr string, agentName string, port int, memory int64) error
- func CreateAgentWorkflow(accountIdStr string, PostData models.API_AccountCreateAgent_PostData) (string, error)
- func CreateUserAPIKey(accountIdStr string, userIdStr string, apiKey string) error
- func DeleteAgent(accountIdStr string, agentIdStr string) error
- func DeleteInactiveAccounts() error
- func DeleteUserAPIKey(accountIdStr string, userIdStr string, shortApiKey string) error
- func GenerateUserTwoFASecret(accountIdStr string, userIdStr string) (string, error)
- func GetAccount(accountIdStr string) (models.Accounts, error)
- func GetAccountByAgentId(agentIdStr string) (models.Accounts, error)
- func GetAccountSession(sessionIdStr string) (models.AccountSessions, error)
- func GetAgentByAPIKey(agentAPIKey string) (models.Agents, error)
- func GetAgentById(accountIdStr string, agentIdStr string) (models.Agents, error)
- func GetAgentByIdNoAccount(agentIdStr string) (models.Agents, error)
- func GetAgentConfig(agentAPIKey string) (app.API_AgentConfig_ResData, error)
- func GetAgentLogs(accountIdStr string, agentIdStr string) ([]models.AgentLogs, error)
- func GetAgentModConfig(agentAPIKey string) (models.AgentModConfig, error)
- func GetAgentSaves(agentAPIKey string) ([]models.AgentSave, error)
- func GetAgentTasks(accountIdStr string, agentIdStr string) ([]models.AgentTask, error)
- func GetAgentTasksApi(agentAPIKey string) ([]models.AgentTask, error)
- func GetAllAgents(accountIdStr string) ([]models.Agents, error)
- func GetAllModsFromAPI() ([]models.Mods, error)
- func GetAllUsers(accountIdStr string) ([]models.Users, error)
- func GetModCountFromAPI() (int, error)
- func GetModsFromAPI(offset int) ([]models.Mods, error)
- func GetMyUser(accountIdStr string, userIdStr string) (models.Users, error)
- func GetUserByInviteCode(inviteCode string) (models.Users, error)
- func InitAccountService()
- func InitAgentService()
- func InitAllServices()
- func InitModService()
- func InitStorageService()
- func InstallMod(accountIdStr string, agentIdStr string, modReference string, version string) error
- func LoginAccountUser(email string, password string) (string, error)
- func NewAgentTask(accountIdStr string, agentIdStr string, action string, data interface{}) error
- func PostAgentSyncSaves(agentAPIKey string, saves []models.AgentSave) error
- func ProcessAccountIntegrationEvents() error
- func ProcessAccountWorkflows() error
- func PurgeAgentTasks() error
- func ShutdownAccountService() error
- func ShutdownAgentService() error
- func ShutdownAllServices() error
- func ShutdownModService() error
- func UninstallMod(accountIdStr string, agentIdStr string, modReference string) error
- func UpdateAgentBuildings(agentApiKey string, PostData app.API_UpdateBuildings_PostData) error
- func UpdateAgentConfig(accountIdStr string, agentIdStr string, updatedAgent models.Agents) error
- func UpdateAgentConfigApi(agentAPIKey string, version string, ip string) error
- func UpdateAgentLastComm(agentAPIKey string) error
- func UpdateAgentModConfig(agentAPIKey string, newConfig models.AgentModConfig) error
- func UpdateAgentPlayers(agentApiKey string, PostData app.API_UpdatePlayers_PostData) error
- func UpdateAgentStatus(agentAPIKey string, online bool, installed bool, running bool, cpu float64, ...) error
- func UpdateAgentTaskItem(agentAPIKey string, taskId string, newTask models.AgentTask) error
- func UpdateMod(accountIdStr string, agentIdStr string, modReference string) error
- func UpdateModsInDB() 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
- func ValidateUserTwoFACode(accountIdStr string, userIdStr string, code string) error
- type SSMProvider
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AcceptInviteCode ¶ added in v1.0.14
func CheckAgentModsConfigs ¶ added in v1.0.14
func CheckAgentModsConfigs() error
func CheckAgentVersions ¶ added in v1.0.53
func CheckAgentVersions() error
func CheckAllAgentsLastComms ¶ added in v1.0.14
func CheckAllAgentsLastComms() error
func CheckForInactiveAccounts ¶ added in v1.0.46
func CheckForInactiveAccounts() error
func CleanupAccountFiles ¶ added in v1.0.21
func CleanupAccountFiles() error
func ConvertUploadToFileIdentity ¶ added in v1.0.14
func ConvertUploadToFileIdentity(file *multipart.FileHeader) types.StorageFileIdentity
func CreateAccountUser ¶ added in v1.0.14
func CreateAgent ¶
func CreateAgentWorkflow ¶ added in v1.0.42
func CreateAgentWorkflow(accountIdStr string, PostData models.API_AccountCreateAgent_PostData) (string, error)
func CreateUserAPIKey ¶ added in v1.0.39
func DeleteAgent ¶ added in v1.0.14
func DeleteInactiveAccounts ¶ added in v1.0.61
func DeleteInactiveAccounts() error
func DeleteUserAPIKey ¶ added in v1.0.39
func GenerateUserTwoFASecret ¶ added in v1.0.10
func GetAccountByAgentId ¶ added in v1.0.35
func GetAccountSession ¶
func GetAccountSession(sessionIdStr string) (models.AccountSessions, error)
func GetAgentByAPIKey ¶ added in v1.0.14
func GetAgentById ¶ added in v1.0.14
func GetAgentByIdNoAccount ¶ added in v1.0.19
func GetAgentConfig ¶ added in v1.0.14
func GetAgentConfig(agentAPIKey string) (app.API_AgentConfig_ResData, error)
func GetAgentLogs ¶ added in v1.0.14
func GetAgentModConfig ¶ added in v1.0.14
func GetAgentModConfig(agentAPIKey string) (models.AgentModConfig, error)
func GetAgentSaves ¶ added in v1.0.50
func GetAgentTasks ¶ added in v1.0.14
func GetAgentTasksApi ¶ added in v1.0.14
func GetAllModsFromAPI ¶ added in v1.0.14
func GetModCountFromAPI ¶ added in v1.0.14
func GetUserByInviteCode ¶ added in v1.0.14
func InitAccountService ¶ added in v1.0.25
func InitAccountService()
func InitAgentService ¶ added in v1.0.14
func InitAgentService()
func InitAllServices ¶ added in v1.0.14
func InitAllServices()
func InitModService ¶ added in v1.0.14
func InitModService()
func InitStorageService ¶ added in v1.0.14
func InitStorageService()
func InstallMod ¶ added in v1.0.14
func NewAgentTask ¶ added in v1.0.14
func PostAgentSyncSaves ¶ added in v1.0.52
func ProcessAccountIntegrationEvents ¶ added in v1.0.35
func ProcessAccountIntegrationEvents() error
func ProcessAccountWorkflows ¶ added in v1.0.42
func ProcessAccountWorkflows() error
func PurgeAgentTasks ¶ added in v1.0.14
func PurgeAgentTasks() error
func ShutdownAccountService ¶ added in v1.0.35
func ShutdownAccountService() error
func ShutdownAgentService ¶ added in v1.0.14
func ShutdownAgentService() error
func ShutdownAllServices ¶ added in v1.0.14
func ShutdownAllServices() error
func ShutdownModService ¶ added in v1.0.14
func ShutdownModService() error
func UninstallMod ¶ added in v1.0.14
func UpdateAgentBuildings ¶ added in v1.0.47
func UpdateAgentBuildings(agentApiKey string, PostData app.API_UpdateBuildings_PostData) error
func UpdateAgentConfig ¶ added in v1.0.14
func UpdateAgentConfigApi ¶ added in v1.0.14
func UpdateAgentLastComm ¶ added in v1.0.14
func UpdateAgentModConfig ¶ added in v1.0.14
func UpdateAgentModConfig(agentAPIKey string, newConfig models.AgentModConfig) error
func UpdateAgentPlayers ¶ added in v1.0.16
func UpdateAgentPlayers(agentApiKey string, PostData app.API_UpdatePlayers_PostData) error
func UpdateAgentStatus ¶ added in v1.0.14
func UpdateAgentTaskItem ¶ added in v1.0.14
func UpdateModsInDB ¶ added in v1.0.14
func UpdateModsInDB() error
func UploadedAgentBackup ¶ added in v1.0.14
func UploadedAgentBackup(agentAPIKey string, fileIdentity types.StorageFileIdentity) error
func UploadedAgentLog ¶ added in v1.0.14
func UploadedAgentLog(agentAPIKey string, fileIdentity types.StorageFileIdentity) error
func UploadedAgentSave ¶ added in v1.0.14
func UploadedAgentSave(agentAPIKey string, fileIdentity types.StorageFileIdentity, updateModTime bool) error
Types ¶
type SSMProvider ¶ added in v1.0.14
type SSMProvider struct{}
func (SSMProvider) GetModName ¶ added in v1.0.14
func (SSMProvider) ModVersionsWithDependencies ¶ added in v1.0.14
func (p SSMProvider) ModVersionsWithDependencies(_ context.Context, modID string) ([]resolver.ModVersion, error)
Source Files
¶
Click to show internal directories.
Click to hide internal directories.