vendor: revendor speakeasy to include unix license file
updates BOM
This commit is contained in:
@ -4,6 +4,11 @@
|
|||||||
"license": "MIT License",
|
"license": "MIT License",
|
||||||
"confidence": 0.989
|
"confidence": 0.989
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"project": "github.com/bgentry/speakeasy",
|
||||||
|
"license": "MIT License",
|
||||||
|
"confidence": 0.944
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"project": "github.com/boltdb/bolt",
|
"project": "github.com/boltdb/bolt",
|
||||||
"license": "MIT License",
|
"license": "MIT License",
|
||||||
@ -102,7 +107,7 @@
|
|||||||
{
|
{
|
||||||
"project": "github.com/matttproud/golang_protobuf_extensions/pbutil",
|
"project": "github.com/matttproud/golang_protobuf_extensions/pbutil",
|
||||||
"license": "Apache License 2.0",
|
"license": "Apache License 2.0",
|
||||||
"confidence": 0.999
|
"confidence": 1
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"project": "github.com/olekukonko/tablewriter",
|
"project": "github.com/olekukonko/tablewriter",
|
||||||
@ -137,7 +142,7 @@
|
|||||||
{
|
{
|
||||||
"project": "github.com/shurcooL/sanitized_anchor_name",
|
"project": "github.com/shurcooL/sanitized_anchor_name",
|
||||||
"license": "MIT License",
|
"license": "MIT License",
|
||||||
"confidence": 0.989
|
"confidence": 1
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"project": "github.com/spf13/cobra",
|
"project": "github.com/spf13/cobra",
|
||||||
@ -157,7 +162,7 @@
|
|||||||
{
|
{
|
||||||
"project": "github.com/urfave/cli",
|
"project": "github.com/urfave/cli",
|
||||||
"license": "MIT License",
|
"license": "MIT License",
|
||||||
"confidence": 0.995
|
"confidence": 1
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"project": "github.com/xiang90/probing",
|
"project": "github.com/xiang90/probing",
|
||||||
@ -203,9 +208,5 @@
|
|||||||
"project": "bitbucket.org/ww/goautoneg",
|
"project": "bitbucket.org/ww/goautoneg",
|
||||||
"license": "BSD 3-clause \"New\" or \"Revised\" License",
|
"license": "BSD 3-clause \"New\" or \"Revised\" License",
|
||||||
"confidence": 1
|
"confidence": 1
|
||||||
},
|
|
||||||
{
|
|
||||||
"project": "github.com/bgentry/speakeasy",
|
|
||||||
"error": "No license detected"
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
24
cmd/vendor/github.com/bgentry/speakeasy/LICENSE
generated
vendored
Normal file
24
cmd/vendor/github.com/bgentry/speakeasy/LICENSE
generated
vendored
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
MIT License
|
||||||
|
|
||||||
|
Copyright (c) 2017 Blake Gentry
|
||||||
|
|
||||||
|
This license applies to the non-Windows portions of this library. The Windows
|
||||||
|
portion maintains its own Apache 2.0 license.
|
||||||
|
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
|
of this software and associated documentation files (the "Software"), to deal
|
||||||
|
in the Software without restriction, including without limitation the rights
|
||||||
|
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
|
copies of the Software, and to permit persons to whom the Software is
|
||||||
|
furnished to do so, subject to the following conditions:
|
||||||
|
|
||||||
|
The above copyright notice and this permission notice shall be included in all
|
||||||
|
copies or substantial portions of the Software.
|
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
SOFTWARE.
|
14
cmd/vendor/github.com/bgentry/speakeasy/speakeasy.go
generated
vendored
14
cmd/vendor/github.com/bgentry/speakeasy/speakeasy.go
generated
vendored
@ -14,16 +14,18 @@ func Ask(prompt string) (password string, err error) {
|
|||||||
return FAsk(os.Stdout, prompt)
|
return FAsk(os.Stdout, prompt)
|
||||||
}
|
}
|
||||||
|
|
||||||
// Same as the Ask function, except it is possible to specify the file to write
|
// FAsk is the same as Ask, except it is possible to specify the file to write
|
||||||
// the prompt to.
|
// the prompt to. If 'nil' is passed as the writer, no prompt will be written.
|
||||||
func FAsk(file *os.File, prompt string) (password string, err error) {
|
func FAsk(wr io.Writer, prompt string) (password string, err error) {
|
||||||
if prompt != "" {
|
if wr != nil && prompt != "" {
|
||||||
fmt.Fprint(file, prompt) // Display the prompt.
|
fmt.Fprint(wr, prompt) // Display the prompt.
|
||||||
}
|
}
|
||||||
password, err = getPassword()
|
password, err = getPassword()
|
||||||
|
|
||||||
// Carriage return after the user input.
|
// Carriage return after the user input.
|
||||||
fmt.Fprintln(file, "")
|
if wr != nil {
|
||||||
|
fmt.Fprintln(wr, "")
|
||||||
|
}
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
2
cmd/vendor/github.com/bgentry/speakeasy/speakeasy_unix.go
generated
vendored
2
cmd/vendor/github.com/bgentry/speakeasy/speakeasy_unix.go
generated
vendored
@ -4,7 +4,7 @@
|
|||||||
// Original code is based on code by RogerV in the golang-nuts thread:
|
// Original code is based on code by RogerV in the golang-nuts thread:
|
||||||
// https://groups.google.com/group/golang-nuts/browse_thread/thread/40cc41e9d9fc9247
|
// https://groups.google.com/group/golang-nuts/browse_thread/thread/40cc41e9d9fc9247
|
||||||
|
|
||||||
// +build darwin freebsd linux netbsd openbsd solaris
|
// +build darwin dragonfly freebsd linux netbsd openbsd solaris
|
||||||
|
|
||||||
package speakeasy
|
package speakeasy
|
||||||
|
|
||||||
|
8
cmd/vendor/github.com/bgentry/speakeasy/speakeasy_windows.go
generated
vendored
8
cmd/vendor/github.com/bgentry/speakeasy/speakeasy_windows.go
generated
vendored
@ -3,7 +3,6 @@
|
|||||||
package speakeasy
|
package speakeasy
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"os"
|
|
||||||
"syscall"
|
"syscall"
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -12,18 +11,17 @@ import (
|
|||||||
const ENABLE_ECHO_INPUT = 0x0004
|
const ENABLE_ECHO_INPUT = 0x0004
|
||||||
|
|
||||||
func getPassword() (password string, err error) {
|
func getPassword() (password string, err error) {
|
||||||
hStdin := syscall.Handle(os.Stdin.Fd())
|
|
||||||
var oldMode uint32
|
var oldMode uint32
|
||||||
|
|
||||||
err = syscall.GetConsoleMode(hStdin, &oldMode)
|
err = syscall.GetConsoleMode(syscall.Stdin, &oldMode)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
var newMode uint32 = (oldMode &^ ENABLE_ECHO_INPUT)
|
var newMode uint32 = (oldMode &^ ENABLE_ECHO_INPUT)
|
||||||
|
|
||||||
err = setConsoleMode(hStdin, newMode)
|
err = setConsoleMode(syscall.Stdin, newMode)
|
||||||
defer setConsoleMode(hStdin, oldMode)
|
defer setConsoleMode(syscall.Stdin, oldMode)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
10
cmd/vendor/github.com/shurcooL/sanitized_anchor_name/LICENSE
generated
vendored
10
cmd/vendor/github.com/shurcooL/sanitized_anchor_name/LICENSE
generated
vendored
@ -1,3 +1,5 @@
|
|||||||
|
MIT License
|
||||||
|
|
||||||
Copyright (c) 2015 Dmitri Shuralyov
|
Copyright (c) 2015 Dmitri Shuralyov
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
@ -7,13 +9,13 @@ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|||||||
copies of the Software, and to permit persons to whom the Software is
|
copies of the Software, and to permit persons to whom the Software is
|
||||||
furnished to do so, subject to the following conditions:
|
furnished to do so, subject to the following conditions:
|
||||||
|
|
||||||
The above copyright notice and this permission notice shall be included in
|
The above copyright notice and this permission notice shall be included in all
|
||||||
all copies or substantial portions of the Software.
|
copies or substantial portions of the Software.
|
||||||
|
|
||||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
THE SOFTWARE.
|
SOFTWARE.
|
||||||
|
8
glide.lock
generated
8
glide.lock
generated
@ -1,12 +1,12 @@
|
|||||||
hash: 60bceef84b41089b86b05a4e3ddbf2ccf9b94e2e3ca9332a9d463cd837bee26e
|
hash: 4248f4a610b399df10cab942b0b3ef8a6d7db9c942bafd115f25d05293571658
|
||||||
updated: 2017-04-22T18:32:32.564649649-07:00
|
updated: 2017-04-24T16:15:17.066493631-07:00
|
||||||
imports:
|
imports:
|
||||||
- name: github.com/beorn7/perks
|
- name: github.com/beorn7/perks
|
||||||
version: 4c0e84591b9aa9e6dcfdf3e020114cd81f89d5f9
|
version: 4c0e84591b9aa9e6dcfdf3e020114cd81f89d5f9
|
||||||
subpackages:
|
subpackages:
|
||||||
- quantile
|
- quantile
|
||||||
- name: github.com/bgentry/speakeasy
|
- name: github.com/bgentry/speakeasy
|
||||||
version: 36e9cfdd690967f4f690c6edcc9ffacd006014a0
|
version: 4aabc24848ce5fd31929f7d1e4ea74d3709c14cd
|
||||||
- name: github.com/boltdb/bolt
|
- name: github.com/boltdb/bolt
|
||||||
version: 583e8937c61f1af6513608ccc75c97b6abdf4ff9
|
version: 583e8937c61f1af6513608ccc75c97b6abdf4ff9
|
||||||
- name: github.com/cockroachdb/cmux
|
- name: github.com/cockroachdb/cmux
|
||||||
@ -96,7 +96,7 @@ imports:
|
|||||||
- name: github.com/russross/blackfriday
|
- name: github.com/russross/blackfriday
|
||||||
version: b253417e1cb644d645a0a3bb1fa5034c8030127c
|
version: b253417e1cb644d645a0a3bb1fa5034c8030127c
|
||||||
- name: github.com/shurcooL/sanitized_anchor_name
|
- name: github.com/shurcooL/sanitized_anchor_name
|
||||||
version: 1dba4b3954bc059efc3991ec364f9f9a35f597d2
|
version: 79c90efaf01eddc01945af5bc1797859189b830b
|
||||||
- name: github.com/spf13/cobra
|
- name: github.com/spf13/cobra
|
||||||
version: 1c44ec8d3f1552cac48999f9306da23c4d8a288b
|
version: 1c44ec8d3f1552cac48999f9306da23c4d8a288b
|
||||||
- name: github.com/spf13/pflag
|
- name: github.com/spf13/pflag
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
package: github.com/coreos/etcd
|
package: github.com/coreos/etcd
|
||||||
import:
|
import:
|
||||||
- package: github.com/bgentry/speakeasy
|
- package: github.com/bgentry/speakeasy
|
||||||
version: 36e9cfdd690967f4f690c6edcc9ffacd006014a0
|
version: 4aabc24848ce5fd31929f7d1e4ea74d3709c14cd
|
||||||
- package: github.com/boltdb/bolt
|
- package: github.com/boltdb/bolt
|
||||||
version: v1.3.0
|
version: v1.3.0
|
||||||
- package: github.com/cockroachdb/cmux
|
- package: github.com/cockroachdb/cmux
|
||||||
|
Reference in New Issue
Block a user