helmfile/vendor/go.uber.org/atomic
Simon Li 06a1d245ae Multi-level logging (#185)
Closes #93

Summary of changes:

- Adds the [uber-go-/zap](https://github.com/uber-go/zap) library for leveled logging (69040996e0bcbd2f211d0d8d576147027e928e3b)
- A new CLI arg `--log-level` which can take the values `debug` `info` `warn` `error` `fatal` `panic`. The default is `info`, and the existing `--quiet` flag is treated as `--log-level warn`
- All `helm.exec` calls are preceded by a one-line summary. The current information on the full helm command line arguments `exec: helm exec ... ` is only output at `debug` level. This means sensitive command line arguments which may include passwords and `--set` arguments should be hidden by default.
2018-07-19 11:33:57 +09:00
..
.codecov.yml Multi-level logging (#185) 2018-07-19 11:33:57 +09:00
.gitignore Multi-level logging (#185) 2018-07-19 11:33:57 +09:00
.travis.yml Multi-level logging (#185) 2018-07-19 11:33:57 +09:00
LICENSE.txt Multi-level logging (#185) 2018-07-19 11:33:57 +09:00
Makefile Multi-level logging (#185) 2018-07-19 11:33:57 +09:00
README.md Multi-level logging (#185) 2018-07-19 11:33:57 +09:00
atomic.go Multi-level logging (#185) 2018-07-19 11:33:57 +09:00
glide.lock Multi-level logging (#185) 2018-07-19 11:33:57 +09:00
glide.yaml Multi-level logging (#185) 2018-07-19 11:33:57 +09:00
string.go Multi-level logging (#185) 2018-07-19 11:33:57 +09:00

README.md

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](LICENSE.txt).