ceph-csi/vendor/go.uber.org/atomic
Niels de Vos 91774fc936 rebase: vendor dependencies for Vault API
Uses github.com/libopenstorage/secrets to communicate with Vault. This
removes the need for maintaining our own limited Vault APIs.

By adding the new dependency, several other packages got updated in the
process. Unused indirect dependencies have been removed from go.mod.

Signed-off-by: Niels de Vos <ndevos@redhat.com>
2020-11-29 04:03:59 +00:00
..
.codecov.yml Migrate from dep to go module 2020-03-17 10:44:07 +00:00
.gitignore rebase: vendor dependencies for Vault API 2020-11-29 04:03:59 +00:00
.travis.yml rebase: vendor dependencies for Vault API 2020-11-29 04:03:59 +00:00
atomic.go rebase: vendor dependencies for Vault API 2020-11-29 04:03:59 +00:00
error.go Update to kube v1.17 2020-01-17 12:06:02 +00:00
glide.lock rebase: vendor dependencies for Vault API 2020-11-29 04:03:59 +00:00
glide.yaml rebase: vendor dependencies for Vault API 2020-11-29 04:03:59 +00:00
LICENSE.txt Update to kube v1.17 2020-01-17 12:06:02 +00:00
Makefile rebase: vendor dependencies for Vault API 2020-11-29 04:03:59 +00:00
README.md rebase: vendor dependencies for Vault API 2020-11-29 04:03:59 +00:00
string.go Update to kube v1.17 2020-01-17 12:06:02 +00:00

atomic GoDoc Build Status Coverage Status Go Report Card

Simple wrappers for primitive types to enforce atomic access.

Installation

go get -u go.uber.org/atomic

Usage

The standard library's sync/atomic is powerful, but it's easy to forget which variables must be accessed atomically. go.uber.org/atomic preserves all the functionality of the standard library, but wraps the primitive types to provide a safer, more convenient API.

var atom atomic.Uint32
atom.Store(42)
atom.Sub(2)
atom.CAS(40, 11)

See the documentation for a complete API specification.

Development Status

Stable.


Released under the MIT License.