DockerCLI/vendor/github.com/howeyc/gopass
Vincent Demeester 8417e49792 Add support for kubernetes in docker cli
- Add support for kubernetes for docker stack command
- Update to go 1.9
- Add kubernetes to vendors
- Print orchestrator in docker version command

Signed-off-by: Vincent Demeester <vincent@sbr.pm>
Signed-off-by: Silvin Lubecki <silvin.lubecki@docker.com>
2017-12-26 11:22:32 +01:00
..
LICENSE.txt Add support for kubernetes in docker cli 2017-12-26 11:22:32 +01:00
OPENSOLARIS.LICENSE Add support for kubernetes in docker cli 2017-12-26 11:22:32 +01:00
README.md Add support for kubernetes in docker cli 2017-12-26 11:22:32 +01:00
pass.go Add support for kubernetes in docker cli 2017-12-26 11:22:32 +01:00
terminal.go Add support for kubernetes in docker cli 2017-12-26 11:22:32 +01:00
terminal_solaris.go Add support for kubernetes in docker cli 2017-12-26 11:22:32 +01:00

README.md

getpasswd in Go GoDoc Build Status

Retrieve password from user terminal or piped input without echo.

Verified on BSD, Linux, and Windows.

Example:

package main

import "fmt"
import "github.com/howeyc/gopass"

func main() {
	fmt.Printf("Password: ")

	// Silent. For printing *'s use gopass.GetPasswdMasked()
	pass, err := gopass.GetPasswd()
	if err != nil {
		// Handle gopass.ErrInterrupted or getch() read error
	}

	// Do something with pass
}

Caution: Multi-byte characters not supported!