mirror of
https://github.com/juanfont/headscale.git
synced 2024-12-11 18:54:25 +00:00
a443255b3e
This commit makes isOutdated validate a nodes necessity to update against all namespaces, and not just the nodes own namespace (which made more sense before). getLastStateChange is now uses the passed namespaces as a filter, meaning that not requesting any namespace will give you the total last updated state. In addition, the sync.Map is exchanged for a variant that uses generics which allows us to remove some casting logic.
150 lines
7.1 KiB
Modula-2
150 lines
7.1 KiB
Modula-2
module github.com/juanfont/headscale
|
|
|
|
go 1.18
|
|
|
|
require (
|
|
github.com/AlecAivazis/survey/v2 v2.3.4
|
|
github.com/ccding/go-stun/stun v0.0.0-20200514191101-4dc67bcdb029
|
|
github.com/coreos/go-oidc/v3 v3.1.0
|
|
github.com/deckarep/golang-set/v2 v2.1.0
|
|
github.com/efekarakus/termcolor v1.0.1
|
|
github.com/gin-gonic/gin v1.7.7
|
|
github.com/glebarez/sqlite v1.4.3
|
|
github.com/gofrs/uuid v4.2.0+incompatible
|
|
github.com/grpc-ecosystem/go-grpc-middleware v1.3.0
|
|
github.com/grpc-ecosystem/grpc-gateway/v2 v2.10.0
|
|
github.com/klauspost/compress v1.15.1
|
|
github.com/ory/dockertest/v3 v3.8.1
|
|
github.com/patrickmn/go-cache v2.1.0+incompatible
|
|
github.com/philip-bui/grpc-zerolog v1.0.1
|
|
github.com/prometheus/client_golang v1.12.1
|
|
github.com/pterm/pterm v0.12.41
|
|
github.com/rs/zerolog v1.26.1
|
|
github.com/spf13/cobra v1.4.0
|
|
github.com/spf13/viper v1.11.0
|
|
github.com/stretchr/testify v1.7.1
|
|
github.com/tailscale/hujson v0.0.0-20220421170326-6583d0610064
|
|
github.com/tcnksm/go-latest v0.0.0-20170313132115-e3007ae9052e
|
|
github.com/zsais/go-gin-prometheus v0.1.0
|
|
golang.org/x/crypto v0.0.0-20220411220226-7b82a4e95df4
|
|
golang.org/x/oauth2 v0.0.0-20220411215720-9780585627b5
|
|
golang.org/x/sync v0.0.0-20210220032951-036812b2e83c
|
|
google.golang.org/genproto v0.0.0-20220422154200-b37d22cd5731
|
|
google.golang.org/grpc v1.46.0
|
|
google.golang.org/protobuf v1.28.0
|
|
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c
|
|
gopkg.in/yaml.v2 v2.4.0
|
|
gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b
|
|
gorm.io/driver/postgres v1.3.5
|
|
gorm.io/gorm v1.23.4
|
|
inet.af/netaddr v0.0.0-20211027220019-c74959edd3b6
|
|
tailscale.com v1.24.0
|
|
)
|
|
|
|
require (
|
|
github.com/Azure/go-ansiterm v0.0.0-20170929234023-d6e3b3328b78 // indirect
|
|
github.com/Microsoft/go-winio v0.5.1 // indirect
|
|
github.com/Nvveen/Gotty v0.0.0-20120604004816-cd527374f1e5 // indirect
|
|
github.com/akutz/memconn v0.1.0 // indirect
|
|
github.com/alexbrainman/sspi v0.0.0-20210105120005-909beea2cc74 // indirect
|
|
github.com/atomicgo/cursor v0.0.1 // indirect
|
|
github.com/beorn7/perks v1.0.1 // indirect
|
|
github.com/cenkalti/backoff/v4 v4.1.2 // indirect
|
|
github.com/cespare/xxhash/v2 v2.1.2 // indirect
|
|
github.com/containerd/continuity v0.0.0-20190827140505-75bee3e2ccb6 // indirect
|
|
github.com/davecgh/go-spew v1.1.1 // indirect
|
|
github.com/docker/cli v20.10.11+incompatible // indirect
|
|
github.com/docker/docker v20.10.7+incompatible // indirect
|
|
github.com/docker/go-connections v0.4.0 // indirect
|
|
github.com/docker/go-units v0.4.0 // indirect
|
|
github.com/fsnotify/fsnotify v1.5.1 // indirect
|
|
github.com/gin-contrib/sse v0.1.0 // indirect
|
|
github.com/glebarez/go-sqlite v1.16.0 // indirect
|
|
github.com/go-playground/locales v0.13.0 // indirect
|
|
github.com/go-playground/universal-translator v0.17.0 // indirect
|
|
github.com/go-playground/validator/v10 v10.4.1 // indirect
|
|
github.com/gogo/protobuf v1.3.2 // indirect
|
|
github.com/golang/protobuf v1.5.2 // indirect
|
|
github.com/google/go-cmp v0.5.7 // indirect
|
|
github.com/google/go-github v17.0.0+incompatible // indirect
|
|
github.com/google/go-querystring v1.1.0 // indirect
|
|
github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510 // indirect
|
|
github.com/google/uuid v1.3.0 // indirect
|
|
github.com/gookit/color v1.5.0 // indirect
|
|
github.com/hashicorp/go-version v1.4.0 // indirect
|
|
github.com/hashicorp/hcl v1.0.0 // indirect
|
|
github.com/imdario/mergo v0.3.12 // indirect
|
|
github.com/inconshreveable/mousetrap v1.0.0 // indirect
|
|
github.com/jackc/chunkreader/v2 v2.0.1 // indirect
|
|
github.com/jackc/pgconn v1.12.0 // indirect
|
|
github.com/jackc/pgio v1.0.0 // indirect
|
|
github.com/jackc/pgpassfile v1.0.0 // indirect
|
|
github.com/jackc/pgproto3/v2 v2.3.0 // indirect
|
|
github.com/jackc/pgservicefile v0.0.0-20200714003250-2b9c44734f2b // indirect
|
|
github.com/jackc/pgtype v1.11.0 // indirect
|
|
github.com/jackc/pgx/v4 v4.16.0 // indirect
|
|
github.com/jinzhu/inflection v1.0.0 // indirect
|
|
github.com/jinzhu/now v1.1.4 // indirect
|
|
github.com/josharian/native v1.0.0 // indirect
|
|
github.com/jsimonetti/rtnetlink v1.1.2-0.20220408201609-d380b505068b // indirect
|
|
github.com/json-iterator/go v1.1.12 // indirect
|
|
github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51 // indirect
|
|
github.com/kr/pretty v0.3.0 // indirect
|
|
github.com/kr/text v0.2.0 // indirect
|
|
github.com/leodido/go-urn v1.2.0 // indirect
|
|
github.com/magiconair/properties v1.8.6 // indirect
|
|
github.com/mattn/go-colorable v0.1.12 // indirect
|
|
github.com/mattn/go-isatty v0.0.14 // indirect
|
|
github.com/mattn/go-runewidth v0.0.13 // indirect
|
|
github.com/matttproud/golang_protobuf_extensions v1.0.1 // indirect
|
|
github.com/mdlayher/netlink v1.6.0 // indirect
|
|
github.com/mdlayher/socket v0.2.3 // indirect
|
|
github.com/mgutz/ansi v0.0.0-20170206155736-9520e82c474b // indirect
|
|
github.com/mitchellh/go-ps v1.0.0 // indirect
|
|
github.com/mitchellh/mapstructure v1.4.3 // indirect
|
|
github.com/moby/term v0.0.0-20201216013528-df9cb8a40635 // indirect
|
|
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
|
|
github.com/modern-go/reflect2 v1.0.2 // indirect
|
|
github.com/opencontainers/go-digest v1.0.0-rc1 // indirect
|
|
github.com/opencontainers/image-spec v1.0.2 // indirect
|
|
github.com/opencontainers/runc v1.0.2 // indirect
|
|
github.com/pelletier/go-toml v1.9.4 // indirect
|
|
github.com/pelletier/go-toml/v2 v2.0.0-beta.8 // indirect
|
|
github.com/pkg/errors v0.9.1 // indirect
|
|
github.com/pmezard/go-difflib v1.0.0 // indirect
|
|
github.com/prometheus/client_model v0.2.0 // indirect
|
|
github.com/prometheus/common v0.32.1 // indirect
|
|
github.com/prometheus/procfs v0.7.3 // indirect
|
|
github.com/puzpuzpuz/xsync v1.2.1 // indirect
|
|
github.com/remyoudompheng/bigfft v0.0.0-20200410134404-eec4a21b6bb0 // indirect
|
|
github.com/rivo/uniseg v0.2.0 // indirect
|
|
github.com/rogpeppe/go-internal v1.8.1-0.20211023094830-115ce09fd6b4 // indirect
|
|
github.com/sirupsen/logrus v1.8.1 // indirect
|
|
github.com/spf13/afero v1.8.2 // indirect
|
|
github.com/spf13/cast v1.4.1 // indirect
|
|
github.com/spf13/jwalterweatherman v1.1.0 // indirect
|
|
github.com/spf13/pflag v1.0.5 // indirect
|
|
github.com/subosito/gotenv v1.2.0 // indirect
|
|
github.com/ugorji/go/codec v1.1.7 // indirect
|
|
github.com/xeipuuv/gojsonpointer v0.0.0-20180127040702-4e3ac2762d5f // indirect
|
|
github.com/xeipuuv/gojsonreference v0.0.0-20180127040603-bd5ef7bd5415 // indirect
|
|
github.com/xeipuuv/gojsonschema v1.2.0 // indirect
|
|
github.com/xo/terminfo v0.0.0-20210125001918-ca9a967f8778 // indirect
|
|
go4.org/intern v0.0.0-20211027215823-ae77deb06f29 // indirect
|
|
go4.org/mem v0.0.0-20210711025021-927187094b94 // indirect
|
|
go4.org/unsafe/assume-no-moving-gc v0.0.0-20211027215541-db492cf91b37 // indirect
|
|
golang.org/x/net v0.0.0-20220412020605-290c469a71a5 // indirect
|
|
golang.org/x/sys v0.0.0-20220412211240-33da011f77ad // indirect
|
|
golang.org/x/term v0.0.0-20220411215600-e5f449aeb171 // indirect
|
|
golang.org/x/text v0.3.7 // indirect
|
|
golang.org/x/time v0.0.0-20211116232009-f0f3c7e86c11 // indirect
|
|
golang.zx2c4.com/wireguard/windows v0.4.10 // indirect
|
|
google.golang.org/appengine v1.6.7 // indirect
|
|
gopkg.in/ini.v1 v1.66.4 // indirect
|
|
gopkg.in/square/go-jose.v2 v2.5.1 // indirect
|
|
modernc.org/libc v1.14.12 // indirect
|
|
modernc.org/mathutil v1.4.1 // indirect
|
|
modernc.org/memory v1.0.7 // indirect
|
|
modernc.org/sqlite v1.16.0 // indirect
|
|
)
|