mirror of
https://github.com/getsops/sops.git
synced 2026-02-05 21:45:26 +01:00
* Add vault/api to vendor/ * Adds support for sops publish-ing to Vault * Adds support for publishing secrets (unencrypted) to Vault * Adds a new EmitAsMap for TreeBanches * Adds documentation about sops publish-ing to Vault * Initial integration/functional test for publishing to vault
19 lines
420 B
Go
19 lines
420 B
Go
// Licensed under the MIT license, see LICENCE file for details.
|
|
|
|
package quicktest
|
|
|
|
var Prefixf = prefixf
|
|
|
|
// WithVerbosity returns the given checker with a verbosity level of v.
|
|
// A copy of the original checker is made if mutating it is required.
|
|
func WithVerbosity(c Checker, v bool) Checker {
|
|
if c, ok := c.(*cmpEqualsChecker); ok {
|
|
c := *c
|
|
c.verbose = func() bool {
|
|
return v
|
|
}
|
|
return &c
|
|
}
|
|
return c
|
|
}
|