Documentation
¶
Index ¶
Constants ¶
View Source
const ( // LimitedCache represent the flag cache couldn't mount on ssd or hdd LimitedCache = "limited-cache" // ReadonlyCache represents the flag for cache is read only ReadonlyCache = "readonly-cache" // NotReachable represents the flag when a grid service is not reachable NotReachable = "not-reachable" )
Variables ¶
This section is empty.
Functions ¶
func DeleteFlag ¶
DeleteFlag deletes (unsets) a given flag based on a key
func IsFirstBoot ¶
IsFirstBoot checks if the a file has been created by MarkBooted function
func MarkBooted ¶
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
func SampledLogger ¶
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
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.