pkg/

directory
v0.4.93 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 4, 2026 License: Apache-2.0

Directories

Path Synopsis
Package alerts tells the owner, on their phone or by mail, that something needs them: a backup that failed, a disk failing or full, an app that crashed, an automatic update that failed or paused.
Package alerts tells the owner, on their phone or by mail, that something needs them: a backup that failed, a disk failing or full, an app that crashed, an automatic update that failed or paused.
Package autoupdate installs new ReCasaOS releases by itself, for an owner who turned it on: at night, inside a window of the box's local time, once a release is 24 hours old, and never while an update, a backup or an app operation runs.
Package autoupdate installs new ReCasaOS releases by itself, for an owner who turned it on: at night, inside a window of the box's local time, once a release is 24 hours old, and never while an update, a backup or an app operation runs.
* @Author: LinkLeong link@icewhale.com * @Date: 2021-09-30 18:18:14 * @LastEditors: LinkLeong * @LastEditTime: 2022-08-31 17:04:02 * @FilePath: /CasaOS/pkg/config/config.go * @Description: * @Website: https://www.casaos.io * Copyright (c) 2022 by icewhale, All Rights Reserved.
* @Author: LinkLeong link@icewhale.com * @Date: 2021-09-30 18:18:14 * @LastEditors: LinkLeong * @LastEditTime: 2022-08-31 17:04:02 * @FilePath: /CasaOS/pkg/config/config.go * @Description: * @Website: https://www.casaos.io * Copyright (c) 2022 by icewhale, All Rights Reserved.
Package cpufreq reads the current frequency of the processor from the cpufreq files the kernel lists under /sys/devices/system/cpu.
Package cpufreq reads the current frequency of the processor from the cpufreq files the kernel lists under /sys/devices/system/cpu.
Package dockerpkg knows which of a Debian-family box's packages are Docker's, where the installed Docker came from, and what an apt simulation says it would do to them.
Package dockerpkg knows which of a Debian-family box's packages are Docker's, where the installed Docker came from, and what an apt simulation says it would do to them.
Package fileroots confines the file API to configured directories ([file] ManagementRoots).
Package fileroots confines the file API to configured directories ([file] ManagementRoots).
Package fleet lets one box be the master of the owner's other boxes: each member keeps an outbound tunnel to the master, and the master relays an allow-listed set of each box's own API routes so one dashboard sees and acts on all of them.
Package fleet lets one box be the master of the owner's other boxes: each member keeps an outbound tunnel to the master, and the master relays an allow-listed set of each box's own API routes so one dashboard sees and acts on all of them.
Package hoststats turns raw host readings into a stats.Sample.
Package hoststats turns raw host readings into a stats.Sample.
Package hwmon reads the temperature of the processor from the hwmon chips the kernel lists in /sys/class/hwmon.
Package hwmon reads the temperature of the processor from the hwmon chips the kernel lists in /sys/class/hwmon.
Package modulecmd is the module assistant: `casaos module list|plan|install|remove|status`.
Package modulecmd is the module assistant: `casaos module list|plan|install|remove|status`.
Package osmodule reads the manifest of a ReCasaOS module: a component that is installed on its own (a service of its own, packages of its own) and that the core shows only when it is there.
Package osmodule reads the manifest of a ReCasaOS module: a component that is installed on its own (a service of its own, packages of its own) and that the core shows only when it is there.
Package osplan answers, for the machine it runs on, "if I upgraded now, what exactly would happen?", and changes nothing of the machine to say it.
Package osplan answers, for the machine it runs on, "if I upgraded now, what exactly would happen?", and changes nothing of the machine to say it.
boxtest
Package boxtest is the machine that the tests of the blocks of the upgrade run them on: a folder with the commands of a Debian 11 box replaced by small ones that answer what a test says (they are first in the PATH of the shell), the files that the blocks read at the places the folder gives them, and the way to point the text of a block at them.
Package boxtest is the machine that the tests of the blocks of the upgrade run them on: a folder with the commands of a Debian 11 box replaced by small ones that answer what a test says (they are first in the PATH of the shell), the files that the blocks read at the places the folder gives them, and the way to point the text of a block at them.
Package osreadiness says whether this machine could be upgraded to the next release of its operating system, and why not.
Package osreadiness says whether this machine could be upgraded to the next release of its operating system, and why not.
Package osrun is what the dashboard knows of an operating system upgrade that runs in a unit of its own: the words it and the unit use (phases, blocks, classes, states, markers), the reader of the unit's log, and the pure reducer that turns that log, a few files of the run and what systemd says into the state of the run and into the one thing to do next.
Package osrun is what the dashboard knows of an operating system upgrade that runs in a unit of its own: the words it and the unit use (phases, blocks, classes, states, markers), the reader of the unit's log, and the pure reducer that turns that log, a few files of the run and what systemd says into the state of the run and into the one thing to do next.
Package ossupport says whether the operating system the core runs on still receives security updates, from a table of dates kept in this file.
Package ossupport says whether the operating system the core runs on still receives security updates, from a table of dates kept in this file.
Package osverify says whether a machine is as it was after an operating system upgrade, and what is not.
Package osverify says whether a machine is as it was after an operating system upgrade, and what is not.
* @Author: LinkLeong link@icewhale.org * @Date: 2022-07-27 10:35:29 * @LastEditors: LinkLeong * @LastEditTime: 2022-08-01 13:56:44 * @FilePath: /CasaOS/pkg/samba/smaba.go * @Description: * @Website: https://www.casaos.io * Copyright (c) 2022 by icewhale, All Rights Reserved.
* @Author: LinkLeong link@icewhale.org * @Date: 2022-07-27 10:35:29 * @LastEditors: LinkLeong * @LastEditTime: 2022-08-01 13:56:44 * @FilePath: /CasaOS/pkg/samba/smaba.go * @Description: * @Website: https://www.casaos.io * Copyright (c) 2022 by icewhale, All Rights Reserved.
Package singleflight provides a duplicate function call suppression mechanism.
Package singleflight provides a duplicate function call suppression mechanism.
* @Author: LinkLeong link@icewhale.com * @Date: 2022-05-13 18:15:46 * @LastEditors: LinkLeong * @LastEditTime: 2022-08-31 13:39:24 * @FilePath: /CasaOS/pkg/sqlite/db.go * @Description: * @Website: https://www.casaos.io * Copyright (c) 2022 by icewhale, All Rights Reserved.
* @Author: LinkLeong link@icewhale.com * @Date: 2022-05-13 18:15:46 * @LastEditors: LinkLeong * @LastEditTime: 2022-08-31 13:39:24 * @FilePath: /CasaOS/pkg/sqlite/db.go * @Description: * @Website: https://www.casaos.io * Copyright (c) 2022 by icewhale, All Rights Reserved.
Package telemetry sends ReCasaOS's anonymous usage statistics to PostHog's EU cloud: a heartbeat at most every three hours, which counts the boxes, and a version_changed event once per install or upgrade, which measures how fast they update.
Package telemetry sends ReCasaOS's anonymous usage statistics to PostHog's EU cloud: a heartbeat at most every three hours, which counts the boxes, and a version_changed event once per install or upgrade, which measures how fast they update.
Package trash keeps what the dashboard's Files deletes for thirty days, in the trash of the disk it was on.
Package trash keeps what the dashboard's Files deletes for thirty days, in the trash of the disk it was on.
* @Author: LinkLeong a624669980@163.com * @Date: 2022-05-08 14:58:46 * @LastEditors: LinkLeong a624669980@163.com * @LastEditTime: 2022-05-09 13:42:26 * @FilePath: /CasaOS/pkg/utils/network_detection.go * @Description: * * Copyright (c) 2022 by LinkLeong a624669980@163.com, All Rights Reserved.
* @Author: LinkLeong a624669980@163.com * @Date: 2022-05-08 14:58:46 * @LastEditors: LinkLeong a624669980@163.com * @LastEditTime: 2022-05-09 13:42:26 * @FilePath: /CasaOS/pkg/utils/network_detection.go * @Description: * * Copyright (c) 2022 by LinkLeong a624669980@163.com, All Rights Reserved.
encryption
* @Author: LinkLeong link@icewhale.com * @Date: 2022-06-14 14:33:25 * @LastEditors: LinkLeong * @LastEditTime: 2022-06-14 14:33:49 * @FilePath: /CasaOS/pkg/utils/encryption/md5_helper.go * @Description: * @Website: https://www.casaos.io * Copyright (c) 2022 by icewhale, All Rights Reserved.
* @Author: LinkLeong link@icewhale.com * @Date: 2022-06-14 14:33:25 * @LastEditors: LinkLeong * @LastEditTime: 2022-06-14 14:33:49 * @FilePath: /CasaOS/pkg/utils/encryption/md5_helper.go * @Description: * @Website: https://www.casaos.io * Copyright (c) 2022 by icewhale, All Rights Reserved.
version
* @Author: LinkLeong link@icewhale.com * @Date: 2022-05-13 18:15:46 * @LastEditors: LinkLeong * @LastEditTime: 2022-07-21 15:27:53 * @FilePath: /CasaOS/pkg/utils/version/version.go * @Description: * @Website: https://www.casaos.io * Copyright (c) 2022 by icewhale, All Rights Reserved.
* @Author: LinkLeong link@icewhale.com * @Date: 2022-05-13 18:15:46 * @LastEditors: LinkLeong * @LastEditTime: 2022-07-21 15:27:53 * @FilePath: /CasaOS/pkg/utils/version/version.go * @Description: * @Website: https://www.casaos.io * Copyright (c) 2022 by icewhale, All Rights Reserved.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL