package
2.0.4+incompatible
Repository: https://github.com/vanilla-os/vanilla-system-operator.git
Documentation: pkg.go.dev

# Functions

AreABRootTransactionsLocked checks if there are any abroot transactions currently running.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
DeleteTaskByUnitName deletes a task.
No description provided by the author
No description provided by the author
GetBatteryStats gets the battery stats.
GetCommonChecks checks network and battery.
GetCPUTemp gets the CPU temperature.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
HasUpdates checks if the system has updates available.
IsCPUUnderHighUsage checks if the CPU is being used (false if exceeds 50%).
IsInternetUnderHighUsage checks if the internet is being used (false if exceeds 500kb/s).
IsLaptop checks if the system is a laptop by looking for the chassis type.
IsMemoryUnderHighUsage checks if the memory is being used (false if exceeds 50%).
IsMeteredConnection checks if the connection is metered.
IsNetworkUp checks if the network is up.
No description provided by the author
ItsBeen checks if it's been a certain amount of time since the last time.
ItsTime checks if it's a certain time of day.
ListTasksDetailed lists all tasks with detailed information.
ListTasksJson lists all tasks with detailed information in JSON format.
ListUnitTasks lists all tasks files.
LoadTaskByUnitName loads a task.
NeedUpdate checks if the system needs to be updated according to the latest update log compared to the VSO configuation.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
RotateTasks checks if no other rotators are running, then performs initial checks and starts rotating every 5 seconds.
RunTaskByUnitName runs a task.
RunUpgradeCheck asks ABRoot to check for updates and passes its output to stdout.
RunUpgradeCheckJSON asks ABRoot to check for updates and return a JSON-formatted result.
No description provided by the author
No description provided by the author
SmartUpdate checks if the device is currently being used, then returns true if the device is not being used.
No description provided by the author
TaskHasRun checks if a task has run in the current queue.
TaskHasRunFail checks if a task has run unsuccessfully in the current queue.
TaskHasRunSuccess checks if a task has run successfully in the current queue.
TasksInit calls makeTasksLocation and makeTasksRotatorAutostart in one call.
TryUpdate tries to update the system via ABRoot.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author