netmaker/test
kayos@tcp.direct e878e4820a
Fixes+Chores: avoid de-referencing nil ptrs + lint
- Avoid referencing conditions we know are false/true

 - Avoid using name of imported package as variable

 - Avoid broken (see list item 1) if else statement in `ipservice.go` by refactoring to switch statement

 - When assigning a pointer value to a variable along with an error, check that error before referencing that pointer. Thus avoiding de-referencing a nil and causing a panic.
  *** This item is the most important ***

 - Standard gofmt package sorting + linting; This includes fixing comment starts for go doc

 - Explicit non-handling of unhandled errors where appropriate (assigning errs to _ to reduce linter screaming)

 - Export ErrExpired in `netcache` package so that we can properly reference it using `errors.Is` instead of using `strings.Contains` against an `error.Error()` value
2022-12-06 20:11:20 -08:00
..
config remove references to grpc/comms net 2022-04-21 15:53:44 -04:00
admincreate.sh first commit 2021-03-25 12:17:52 -04:00
api_test.go.bak renamed integration test to *_test.go.bak until they can be fixed. Should enable the workflow action to run successfully 2021-09-06 15:36:53 -04:00
gatewaycreate.sh fixing some bool problems 2021-04-13 03:27:24 -04:00
groupcreate.sh updating netclient 2021-07-25 20:05:31 +00:00
groupscreate.sh massive number of changes to schema and error handling. 2021-04-13 00:42:35 -04:00
keycreate.sh saving progress. Got structs together, made a new controller (backup) and got the api calls created 2021-05-16 09:49:01 -04:00
main.go Fixes+Chores: avoid de-referencing nil ptrs + lint 2022-12-06 20:11:20 -08:00
network_test.go.bak renamed integration test to *_test.go.bak until they can be fixed. Should enable the workflow action to run successfully 2021-09-06 15:36:53 -04:00
node_test.go.bak renamed integration test to *_test.go.bak until they can be fixed. Should enable the workflow action to run successfully 2021-09-06 15:36:53 -04:00
nodecreate.sh changed DNS to go on interface.. 2021-08-25 17:59:40 -04:00
nodescreate.sh saving progress. Got structs together, made a new controller (backup) and got the api calls created 2021-05-16 09:49:01 -04:00
test.script add script to run from action 2021-04-15 09:07:34 -04:00
user_test.go.bak Combined client + server code, Added HA ability, minor bug fixes 2021-10-06 17:48:54 -04:00