package
0.1.2
Repository: https://github.com/threefoldtech/zosbase.git
Documentation: pkg.go.dev

# Functions

CheckFlag checks the status of a flag based on a key.
DeleteFlag deletes (unsets) a given flag based on a key.
Initialize Configure a zos app.
IsFirstBoot checks if the a file has been created by MarkBooted function.
MarkBooted creates a file in a memory this file then can be used to check if "something" has been restared if its the first time it starts.
SampledLogger return a sampled logger that allow 1 log entry per hour use this for logs used in loop when you do not want to overload the zint log ring buffer.
SetFlag is used when the /var/cache cannot be mounted on a SSD or HDD, it will mount the cache disk on a temporary file system in memory.

# Constants

LimitedCache represent the flag cache couldn't mount on ssd or hdd.
NotReachable represents the flag when a grid service is not reachable.
ReadonlyCache represents the flag for cache is read only.