open-vault/logical/framework
Jeff Mitchell 8916f6b625
Some atomic cleanup (#4732)
Taking inspiration from
https://github.com/golang/go/issues/17604#issuecomment-256384471
suggests that taking the address of a stack variable for use in atomics
works (at least, the race detector doesn't complain) but is doing it
wrong.

The only other change is a change in Leader() detecting if HA is enabled
to fast-path out. This value never changes after NewCore, so we don't
need to grab the read lock to check it.
2018-06-09 15:35:22 -04:00
..
backend.go Add TypeLowerCaseString (#4683) 2018-06-01 18:30:59 -07:00
backend_test.go Some atomic cleanup (#4732) 2018-06-09 15:35:22 -04:00
field_data.go Add TypeLowerCaseString (#4683) 2018-06-01 18:30:59 -07:00
field_data_test.go Add TypeLowerCaseString (#4683) 2018-06-01 18:30:59 -07:00
field_type.go Add TypeLowerCaseString (#4683) 2018-06-01 18:30:59 -07:00
lease.go Core handling of TTLs (#4230) 2018-04-03 12:20:20 -04:00
lease_test.go Core handling of TTLs (#4230) 2018-04-03 12:20:20 -04:00
path.go Errwrap everywhere (#4252) 2018-04-05 11:49:21 -04:00
path_map.go
path_map_test.go
path_struct.go
path_struct_test.go
policy_map.go
policy_map_test.go
secret.go
secret_test.go
template.go Errwrap everywhere (#4252) 2018-04-05 11:49:21 -04:00
testing.go
wal.go
wal_test.go