You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tailscale/util
Andrew Dunham 512fc0b502 util/reload: add new package to handle periodic value loading
This can be used to reload a value periodically, whether from disk or
another source, while handling jitter and graceful shutdown.

Updates tailscale/corp#1297

Signed-off-by: Andrew Dunham <andrew@du.nham.ca>
Change-Id: Iee2b4385c9abae59805f642a7308837877cb5b3f
8 months ago
..
cache util/cache: fix missing interface methods (#11275) 9 months ago
cibuild all: update copyright and license headers 2 years ago
clientmetric util/clientmetric: allow client metric values to be provided by a function 2 years ago
cloudenv util/cloudenv: add support for DigitalOcean 9 months ago
cmpver util/cmpver: add Less/LessEq helper funcs 9 months ago
codegen util/codegen: support embedded fields 2 years ago
cstruct all: update copyright and license headers 2 years ago
ctxkey all: use reflect.TypeFor now available in Go 1.22 (#11078) 9 months ago
deephash all: use reflect.TypeFor now available in Go 1.22 (#11078) 9 months ago
dirwalk all: use tstest.Replace more 2 years ago
dnsname cmd/tailscale: extend hostname validation (#7678) 2 years ago
execqueue control/controlclient,util/execqueue: extract execqueue into a package 10 months ago
expvarx util/expvarx: add a time and concurrency limiting expvar.Func wrapper 10 months ago
goroutines util/goroutines: let ScrubbedGoroutineDump get only current stack 1 year ago
groupmember util/groupmember: fail earlier if group doesn't exist, use slices.Contains 1 year ago
hashx all: update copyright and license headers 2 years ago
httphdr util/httphdr: add new package for parsing HTTP headers (#9797) 1 year ago
httpm util/httpm: don't run test if .git doesn't exist 1 year ago
jsonutil all: update copyright and license headers 2 years ago
limiter util/lru, util/limiter: add debug helper to dump state as HTML 1 year ago
lineread all: update copyright and license headers 2 years ago
linuxfw util/linuxfw: fix support for containers without IPv6 iptables filters (#11381) 8 months ago
lru util/lru: update c.head when deleting the most recently used entry 1 year ago
mak various: add golangci-lint, fix issues (#7905) 2 years ago
multierr all: use Go 1.21 slices, maps instead of x/exp/{slices,maps} 1 year ago
must all: update copyright and license headers 2 years ago
nocasemaps util/nocasemaps: add AppendSliceElem method to nocasemaps (#10871) 10 months ago
osdiag util/osdiag, util/winutil: expose Windows policy key 1 year ago
osshare all: update copyright and license headers 2 years ago
osuser ssh/tailssh,util: extract new osuser package from ssh code (#10170) 1 year ago
pidowner all: update copyright and license headers 2 years ago
precompress all: update copyright and license headers 2 years ago
quarantine all: update copyright and license headers 2 years ago
race util/race: add test to confirm we don't leak goroutines 1 year ago
racebuild all: update copyright and license headers 2 years ago
rands util/rands: add Shuffle and Perm functions with on-stack RNG state 9 months ago
reload util/reload: add new package to handle periodic value loading 8 months ago
ringbuffer util/ringbuffer: move generic ringbuffer from corp repo 2 years ago
set util/set: implement json.Marshaler/Unmarshaler (#10308) 1 year ago
singleflight all: update copyright and license headers 2 years ago
slicesx util/slicesx: add Filter function 10 months ago
syspolicy util/syspolicy: add 'ResetToDefaults' (#11194) 9 months ago
sysresources util/sysresources, magicsock: scale DERP buffer based on system memory 2 years ago
systemd all: update copyright and license headers 2 years ago
testenv util/testenv: add new package to hold InTest 1 year ago
topk util/topk: add package containing a probabilistic top-K tracker 9 months ago
truncate util: add truncate package (#7490) 2 years ago
uniq all: update copyright and license headers 2 years ago
vizerror util/vizerror: add As function to get wrapped Error 2 years ago
winutil util/winutil: add some missing docs to restartmgr errors 11 months ago