Documentation ¶
Index ¶
- Variables
- func Auth(ctx context.Context, authType, address, path, tok, username, password string, ...) (*api.Client, error)
- func CheckHealth(ctx context.Context, client *api.Client) error
- func ExecCmd(ctx context.Context, args []string, results map[string]string, genv []string, ...) error
- func ForwardEnv(forward string) []string
- func GetSecrets(ctx context.Context, clt *api.Client, prefix, up, once bool, keys []string, ...) (e error)
- func GlobalContext() (context.Context, context.CancelFunc)
- func Input(text string, password bool) ([]byte, error)
- func Logger(level string) (*zap.SugaredLogger, error)
- func Sanitize(s string) string
- type ExpiredSecretError
- type TokenNotRenewedError
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrCmdFinishedNoError = errors.New("command has finished without error")
View Source
var ErrForceStop = errors.New("command has been forced to stop")
Functions ¶
func ForwardEnv ¶
func GetSecrets ¶
func GlobalContext ¶
func GlobalContext() (context.Context, context.CancelFunc)
Types ¶
type ExpiredSecretError ¶
func (ExpiredSecretError) Error ¶
func (e ExpiredSecretError) Error() string
type TokenNotRenewedError ¶
type TokenNotRenewedError struct {
Err error
}
func (TokenNotRenewedError) Error ¶
func (e TokenNotRenewedError) Error() string
Click to show internal directories.
Click to hide internal directories.