mirror of
https://github.com/rclone/rclone.git
synced 2024-11-22 16:34:30 +01:00
vendor: run go tidy and go vendor
This commit is contained in:
parent
93228dfcc9
commit
b84cc0cae7
2
go.sum
2
go.sum
@ -108,8 +108,6 @@ github.com/konsorten/go-windows-terminal-sequences v1.0.1 h1:mweAR1A6xJ3oS2pRaGi
|
|||||||
github.com/konsorten/go-windows-terminal-sequences v1.0.1/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ=
|
github.com/konsorten/go-windows-terminal-sequences v1.0.1/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ=
|
||||||
github.com/koofr/go-httpclient v0.0.0-20180104120329-03786175608a h1:W+gnfphB7WpRj0rbTF40e3edULfri4fou2kUFw6AF3A=
|
github.com/koofr/go-httpclient v0.0.0-20180104120329-03786175608a h1:W+gnfphB7WpRj0rbTF40e3edULfri4fou2kUFw6AF3A=
|
||||||
github.com/koofr/go-httpclient v0.0.0-20180104120329-03786175608a/go.mod h1:3xszwh+rNrYk1r9SStc4iJ326gne1OaBcrdB1ACsbzI=
|
github.com/koofr/go-httpclient v0.0.0-20180104120329-03786175608a/go.mod h1:3xszwh+rNrYk1r9SStc4iJ326gne1OaBcrdB1ACsbzI=
|
||||||
github.com/koofr/go-koofrclient v0.0.0-20190131164641-7f327592caff h1:GlfzG8bgyoJYz+5sMvGpYnHrg4veNVNnDGuE9hTEMHk=
|
|
||||||
github.com/koofr/go-koofrclient v0.0.0-20190131164641-7f327592caff/go.mod h1:MRAz4Gsxd+OzrZ0owwrUHc0zLESL+1Y5syqK/sJxK2A=
|
|
||||||
github.com/koofr/go-koofrclient v0.0.0-20190715104037-2c5813f3c29c h1:MaVra5jrE7MxT4k0v0JD2Gh6h94BFu2DgDYq+zMGBW0=
|
github.com/koofr/go-koofrclient v0.0.0-20190715104037-2c5813f3c29c h1:MaVra5jrE7MxT4k0v0JD2Gh6h94BFu2DgDYq+zMGBW0=
|
||||||
github.com/koofr/go-koofrclient v0.0.0-20190715104037-2c5813f3c29c/go.mod h1:MRAz4Gsxd+OzrZ0owwrUHc0zLESL+1Y5syqK/sJxK2A=
|
github.com/koofr/go-koofrclient v0.0.0-20190715104037-2c5813f3c29c/go.mod h1:MRAz4Gsxd+OzrZ0owwrUHc0zLESL+1Y5syqK/sJxK2A=
|
||||||
github.com/kr/fs v0.1.0 h1:Jskdu9ieNAYnjxsi0LbQp1ulIKZV1LAFgK1tWhpZgl8=
|
github.com/kr/fs v0.1.0 h1:Jskdu9ieNAYnjxsi0LbQp1ulIKZV1LAFgK1tWhpZgl8=
|
||||||
|
1
vendor/github.com/Azure/azure-storage-blob-go/azblob/zc_pipeline.go
generated
vendored
1
vendor/github.com/Azure/azure-storage-blob-go/azblob/zc_pipeline.go
generated
vendored
@ -41,5 +41,6 @@ func NewPipeline(c Credential, o PipelineOptions) pipeline.Pipeline {
|
|||||||
NewRequestLogPolicyFactory(o.RequestLog),
|
NewRequestLogPolicyFactory(o.RequestLog),
|
||||||
pipeline.MethodFactoryMarker()) // indicates at what stage in the pipeline the method factory is invoked
|
pipeline.MethodFactoryMarker()) // indicates at what stage in the pipeline the method factory is invoked
|
||||||
|
|
||||||
|
|
||||||
return pipeline.NewPipeline(f, pipeline.Options{HTTPSender: o.HTTPSender, Log: o.Log})
|
return pipeline.NewPipeline(f, pipeline.Options{HTTPSender: o.HTTPSender, Log: o.Log})
|
||||||
}
|
}
|
||||||
|
3
vendor/github.com/Azure/azure-storage-blob-go/azblob/zz_generated_append_blob.go
generated
vendored
3
vendor/github.com/Azure/azure-storage-blob-go/azblob/zz_generated_append_blob.go
generated
vendored
@ -6,14 +6,13 @@ package azblob
|
|||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
"encoding/base64"
|
"encoding/base64"
|
||||||
|
"github.com/Azure/azure-pipeline-go/pipeline"
|
||||||
"io"
|
"io"
|
||||||
"io/ioutil"
|
"io/ioutil"
|
||||||
"net/http"
|
"net/http"
|
||||||
"net/url"
|
"net/url"
|
||||||
"strconv"
|
"strconv"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/Azure/azure-pipeline-go/pipeline"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
// appendBlobClient is the client for the AppendBlob methods of the Azblob service.
|
// appendBlobClient is the client for the AppendBlob methods of the Azblob service.
|
||||||
|
2
vendor/github.com/Azure/go-ansiterm/winterm/ansi.go
generated
vendored
2
vendor/github.com/Azure/go-ansiterm/winterm/ansi.go
generated
vendored
@ -9,7 +9,7 @@ import (
|
|||||||
"strings"
|
"strings"
|
||||||
"syscall"
|
"syscall"
|
||||||
|
|
||||||
ansiterm "github.com/Azure/go-ansiterm"
|
"github.com/Azure/go-ansiterm"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Windows keyboard constants
|
// Windows keyboard constants
|
||||||
|
2
vendor/github.com/Azure/go-ansiterm/winterm/attr_translation.go
generated
vendored
2
vendor/github.com/Azure/go-ansiterm/winterm/attr_translation.go
generated
vendored
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
package winterm
|
package winterm
|
||||||
|
|
||||||
import ansiterm "github.com/Azure/go-ansiterm"
|
import "github.com/Azure/go-ansiterm"
|
||||||
|
|
||||||
const (
|
const (
|
||||||
FOREGROUND_COLOR_MASK = FOREGROUND_RED | FOREGROUND_GREEN | FOREGROUND_BLUE
|
FOREGROUND_COLOR_MASK = FOREGROUND_RED | FOREGROUND_GREEN | FOREGROUND_BLUE
|
||||||
|
2
vendor/github.com/Azure/go-ansiterm/winterm/erase_helpers.go
generated
vendored
2
vendor/github.com/Azure/go-ansiterm/winterm/erase_helpers.go
generated
vendored
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
package winterm
|
package winterm
|
||||||
|
|
||||||
import ansiterm "github.com/Azure/go-ansiterm"
|
import "github.com/Azure/go-ansiterm"
|
||||||
|
|
||||||
func (h *windowsAnsiEventHandler) clearRange(attributes uint16, fromCoord COORD, toCoord COORD) error {
|
func (h *windowsAnsiEventHandler) clearRange(attributes uint16, fromCoord COORD, toCoord COORD) error {
|
||||||
// Ignore an invalid (negative area) request
|
// Ignore an invalid (negative area) request
|
||||||
|
2
vendor/github.com/Azure/go-ansiterm/winterm/win_event_handler.go
generated
vendored
2
vendor/github.com/Azure/go-ansiterm/winterm/win_event_handler.go
generated
vendored
@ -8,7 +8,7 @@ import (
|
|||||||
"os"
|
"os"
|
||||||
"strconv"
|
"strconv"
|
||||||
|
|
||||||
ansiterm "github.com/Azure/go-ansiterm"
|
"github.com/Azure/go-ansiterm"
|
||||||
)
|
)
|
||||||
|
|
||||||
type windowsAnsiEventHandler struct {
|
type windowsAnsiEventHandler struct {
|
||||||
|
10
vendor/github.com/atotto/clipboard/clipboard_unix.go
generated
vendored
10
vendor/github.com/atotto/clipboard/clipboard_unix.go
generated
vendored
@ -15,8 +15,8 @@ import (
|
|||||||
const (
|
const (
|
||||||
xsel = "xsel"
|
xsel = "xsel"
|
||||||
xclip = "xclip"
|
xclip = "xclip"
|
||||||
wlcopy = "wl-copy"
|
wlcopy = "wl-copy"
|
||||||
wlpaste = "wl-paste"
|
wlpaste = "wl-paste"
|
||||||
termuxClipboardGet = "termux-clipboard-get"
|
termuxClipboardGet = "termux-clipboard-get"
|
||||||
termuxClipboardSet = "termux-clipboard-set"
|
termuxClipboardSet = "termux-clipboard-set"
|
||||||
)
|
)
|
||||||
@ -34,7 +34,7 @@ var (
|
|||||||
xclipCopyArgs = []string{xclip, "-in", "-selection", "clipboard"}
|
xclipCopyArgs = []string{xclip, "-in", "-selection", "clipboard"}
|
||||||
|
|
||||||
wlpasteArgs = []string{wlpaste, "--no-newline"}
|
wlpasteArgs = []string{wlpaste, "--no-newline"}
|
||||||
wlcopyArgs = []string{wlcopy}
|
wlcopyArgs = []string{wlcopy}
|
||||||
|
|
||||||
termuxPasteArgs = []string{termuxClipboardGet}
|
termuxPasteArgs = []string{termuxClipboardGet}
|
||||||
termuxCopyArgs = []string{termuxClipboardSet}
|
termuxCopyArgs = []string{termuxClipboardSet}
|
||||||
@ -44,8 +44,8 @@ var (
|
|||||||
|
|
||||||
func init() {
|
func init() {
|
||||||
if os.Getenv("WAYLAND_DISPLAY") != "" {
|
if os.Getenv("WAYLAND_DISPLAY") != "" {
|
||||||
pasteCmdArgs = wlpasteArgs
|
pasteCmdArgs = wlpasteArgs;
|
||||||
copyCmdArgs = wlcopyArgs
|
copyCmdArgs = wlcopyArgs;
|
||||||
|
|
||||||
if _, err := exec.LookPath(wlcopy); err == nil {
|
if _, err := exec.LookPath(wlcopy); err == nil {
|
||||||
if _, err := exec.LookPath(wlpaste); err == nil {
|
if _, err := exec.LookPath(wlpaste); err == nil {
|
||||||
|
2
vendor/github.com/aws/aws-sdk-go/aws/awsutil/path_value.go
generated
vendored
2
vendor/github.com/aws/aws-sdk-go/aws/awsutil/path_value.go
generated
vendored
@ -6,7 +6,7 @@ import (
|
|||||||
"strconv"
|
"strconv"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
jmespath "github.com/jmespath/go-jmespath"
|
"github.com/jmespath/go-jmespath"
|
||||||
)
|
)
|
||||||
|
|
||||||
var indexRe = regexp.MustCompile(`(.+)\[(-?\d+)?\]$`)
|
var indexRe = regexp.MustCompile(`(.+)\[(-?\d+)?\]$`)
|
||||||
|
2
vendor/github.com/aws/aws-sdk-go/service/s3/service.go
generated
vendored
2
vendor/github.com/aws/aws-sdk-go/service/s3/service.go
generated
vendored
@ -7,7 +7,7 @@ import (
|
|||||||
"github.com/aws/aws-sdk-go/aws/client"
|
"github.com/aws/aws-sdk-go/aws/client"
|
||||||
"github.com/aws/aws-sdk-go/aws/client/metadata"
|
"github.com/aws/aws-sdk-go/aws/client/metadata"
|
||||||
"github.com/aws/aws-sdk-go/aws/request"
|
"github.com/aws/aws-sdk-go/aws/request"
|
||||||
v4 "github.com/aws/aws-sdk-go/aws/signer/v4"
|
"github.com/aws/aws-sdk-go/aws/signer/v4"
|
||||||
"github.com/aws/aws-sdk-go/private/protocol/restxml"
|
"github.com/aws/aws-sdk-go/private/protocol/restxml"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
2
vendor/github.com/aws/aws-sdk-go/service/sts/service.go
generated
vendored
2
vendor/github.com/aws/aws-sdk-go/service/sts/service.go
generated
vendored
@ -7,7 +7,7 @@ import (
|
|||||||
"github.com/aws/aws-sdk-go/aws/client"
|
"github.com/aws/aws-sdk-go/aws/client"
|
||||||
"github.com/aws/aws-sdk-go/aws/client/metadata"
|
"github.com/aws/aws-sdk-go/aws/client/metadata"
|
||||||
"github.com/aws/aws-sdk-go/aws/request"
|
"github.com/aws/aws-sdk-go/aws/request"
|
||||||
v4 "github.com/aws/aws-sdk-go/aws/signer/v4"
|
"github.com/aws/aws-sdk-go/aws/signer/v4"
|
||||||
"github.com/aws/aws-sdk-go/private/protocol/query"
|
"github.com/aws/aws-sdk-go/private/protocol/query"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
3
vendor/github.com/golang/protobuf/ptypes/any/any.pb.go
generated
vendored
3
vendor/github.com/golang/protobuf/ptypes/any/any.pb.go
generated
vendored
@ -5,9 +5,8 @@ package any
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
fmt "fmt"
|
fmt "fmt"
|
||||||
math "math"
|
|
||||||
|
|
||||||
proto "github.com/golang/protobuf/proto"
|
proto "github.com/golang/protobuf/proto"
|
||||||
|
math "math"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Reference imports to suppress errors if they are not otherwise used.
|
// Reference imports to suppress errors if they are not otherwise used.
|
||||||
|
3
vendor/github.com/golang/protobuf/ptypes/duration/duration.pb.go
generated
vendored
3
vendor/github.com/golang/protobuf/ptypes/duration/duration.pb.go
generated
vendored
@ -5,9 +5,8 @@ package duration
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
fmt "fmt"
|
fmt "fmt"
|
||||||
math "math"
|
|
||||||
|
|
||||||
proto "github.com/golang/protobuf/proto"
|
proto "github.com/golang/protobuf/proto"
|
||||||
|
math "math"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Reference imports to suppress errors if they are not otherwise used.
|
// Reference imports to suppress errors if they are not otherwise used.
|
||||||
|
3
vendor/github.com/golang/protobuf/ptypes/timestamp/timestamp.pb.go
generated
vendored
3
vendor/github.com/golang/protobuf/ptypes/timestamp/timestamp.pb.go
generated
vendored
@ -5,9 +5,8 @@ package timestamp
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
fmt "fmt"
|
fmt "fmt"
|
||||||
math "math"
|
|
||||||
|
|
||||||
proto "github.com/golang/protobuf/proto"
|
proto "github.com/golang/protobuf/proto"
|
||||||
|
math "math"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Reference imports to suppress errors if they are not otherwise used.
|
// Reference imports to suppress errors if they are not otherwise used.
|
||||||
|
4
vendor/github.com/jlaffaye/ftp/ftp.go
generated
vendored
4
vendor/github.com/jlaffaye/ftp/ftp.go
generated
vendored
@ -91,7 +91,7 @@ func Dial(addr string, options ...DialOption) (*ServerConn, error) {
|
|||||||
if do.dialFunc != nil {
|
if do.dialFunc != nil {
|
||||||
tconn, err = do.dialFunc("tcp", addr)
|
tconn, err = do.dialFunc("tcp", addr)
|
||||||
} else if do.tlsConfig != nil {
|
} else if do.tlsConfig != nil {
|
||||||
tconn, err = tls.DialWithDialer(&do.dialer, "tcp", addr, do.tlsConfig)
|
tconn, err = tls.DialWithDialer(&do.dialer , "tcp", addr, do.tlsConfig)
|
||||||
} else {
|
} else {
|
||||||
ctx := do.context
|
ctx := do.context
|
||||||
|
|
||||||
@ -188,7 +188,7 @@ func DialWithContext(ctx context.Context) DialOption {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// DialWithTLS returns a DialOption that configures the ServerConn with specified TLS config
|
// DialWithTLS returns a DialOption that configures the ServerConn with specified TLS config
|
||||||
//
|
//
|
||||||
// If called together with the DialWithDialFunc option, the DialWithDialFunc function
|
// If called together with the DialWithDialFunc option, the DialWithDialFunc function
|
||||||
// will be used when dialing new connections but regardless of the function,
|
// will be used when dialing new connections but regardless of the function,
|
||||||
// the connection will be treated as a TLS connection.
|
// the connection will be treated as a TLS connection.
|
||||||
|
2
vendor/github.com/koofr/go-koofrclient/client.go
generated
vendored
2
vendor/github.com/koofr/go-koofrclient/client.go
generated
vendored
@ -5,7 +5,7 @@ import (
|
|||||||
"net/http"
|
"net/http"
|
||||||
"net/url"
|
"net/url"
|
||||||
|
|
||||||
httpclient "github.com/koofr/go-httpclient"
|
"github.com/koofr/go-httpclient"
|
||||||
)
|
)
|
||||||
|
|
||||||
type KoofrClient struct {
|
type KoofrClient struct {
|
||||||
|
3
vendor/github.com/koofr/go-koofrclient/client_device.go
generated
vendored
3
vendor/github.com/koofr/go-koofrclient/client_device.go
generated
vendored
@ -1,9 +1,8 @@
|
|||||||
package koofrclient
|
package koofrclient
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
"github.com/koofr/go-httpclient"
|
||||||
"net/http"
|
"net/http"
|
||||||
|
|
||||||
httpclient "github.com/koofr/go-httpclient"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
func (c *KoofrClient) Devices() (devices []Device, err error) {
|
func (c *KoofrClient) Devices() (devices []Device, err error) {
|
||||||
|
2
vendor/github.com/koofr/go-koofrclient/client_files.go
generated
vendored
2
vendor/github.com/koofr/go-koofrclient/client_files.go
generated
vendored
@ -7,7 +7,7 @@ import (
|
|||||||
"net/url"
|
"net/url"
|
||||||
"path"
|
"path"
|
||||||
|
|
||||||
httpclient "github.com/koofr/go-httpclient"
|
"github.com/koofr/go-httpclient"
|
||||||
)
|
)
|
||||||
|
|
||||||
var ErrCannotOverwrite = fmt.Errorf("Can not overwrite (filter constraint fails)")
|
var ErrCannotOverwrite = fmt.Errorf("Can not overwrite (filter constraint fails)")
|
||||||
|
3
vendor/github.com/koofr/go-koofrclient/client_mount.go
generated
vendored
3
vendor/github.com/koofr/go-koofrclient/client_mount.go
generated
vendored
@ -1,9 +1,8 @@
|
|||||||
package koofrclient
|
package koofrclient
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
"github.com/koofr/go-httpclient"
|
||||||
"net/http"
|
"net/http"
|
||||||
|
|
||||||
httpclient "github.com/koofr/go-httpclient"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
func (c *KoofrClient) Mounts() (mounts []Mount, err error) {
|
func (c *KoofrClient) Mounts() (mounts []Mount, err error) {
|
||||||
|
2
vendor/github.com/koofr/go-koofrclient/client_shared.go
generated
vendored
2
vendor/github.com/koofr/go-koofrclient/client_shared.go
generated
vendored
@ -3,7 +3,7 @@ package koofrclient
|
|||||||
import (
|
import (
|
||||||
"net/http"
|
"net/http"
|
||||||
|
|
||||||
httpclient "github.com/koofr/go-httpclient"
|
"github.com/koofr/go-httpclient"
|
||||||
)
|
)
|
||||||
|
|
||||||
func (c *KoofrClient) Shared() (shared []Shared, err error) {
|
func (c *KoofrClient) Shared() (shared []Shared, err error) {
|
||||||
|
3
vendor/github.com/koofr/go-koofrclient/client_user.go
generated
vendored
3
vendor/github.com/koofr/go-koofrclient/client_user.go
generated
vendored
@ -1,9 +1,8 @@
|
|||||||
package koofrclient
|
package koofrclient
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
"github.com/koofr/go-httpclient"
|
||||||
"net/http"
|
"net/http"
|
||||||
|
|
||||||
httpclient "github.com/koofr/go-httpclient"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
func (c *KoofrClient) UserInfo() (user User, err error) {
|
func (c *KoofrClient) UserInfo() (user User, err error) {
|
||||||
|
17
vendor/github.com/nsf/termbox-go/api.go
generated
vendored
17
vendor/github.com/nsf/termbox-go/api.go
generated
vendored
@ -2,16 +2,13 @@
|
|||||||
|
|
||||||
package termbox
|
package termbox
|
||||||
|
|
||||||
import (
|
import "github.com/mattn/go-runewidth"
|
||||||
"fmt"
|
import "fmt"
|
||||||
"os"
|
import "os"
|
||||||
"os/signal"
|
import "os/signal"
|
||||||
"runtime"
|
import "syscall"
|
||||||
"syscall"
|
import "runtime"
|
||||||
"time"
|
import "time"
|
||||||
|
|
||||||
runewidth "github.com/mattn/go-runewidth"
|
|
||||||
)
|
|
||||||
|
|
||||||
// public API
|
// public API
|
||||||
|
|
||||||
|
2
vendor/github.com/nsf/termbox-go/termbox_windows.go
generated
vendored
2
vendor/github.com/nsf/termbox-go/termbox_windows.go
generated
vendored
@ -4,7 +4,7 @@ import "math"
|
|||||||
import "syscall"
|
import "syscall"
|
||||||
import "unsafe"
|
import "unsafe"
|
||||||
import "unicode/utf16"
|
import "unicode/utf16"
|
||||||
import runewidth "github.com/mattn/go-runewidth"
|
import "github.com/mattn/go-runewidth"
|
||||||
|
|
||||||
type (
|
type (
|
||||||
wchar uint16
|
wchar uint16
|
||||||
|
2
vendor/github.com/pkg/sftp/server_stubs.go
generated
vendored
2
vendor/github.com/pkg/sftp/server_stubs.go
generated
vendored
@ -3,9 +3,9 @@
|
|||||||
package sftp
|
package sftp
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"fmt"
|
|
||||||
"os"
|
"os"
|
||||||
"time"
|
"time"
|
||||||
|
"fmt"
|
||||||
)
|
)
|
||||||
|
|
||||||
func runLs(dirname string, dirent os.FileInfo) string {
|
func runLs(dirname string, dirent os.FileInfo) string {
|
||||||
|
1
vendor/github.com/sirupsen/logrus/terminal_check_bsd.go
generated
vendored
1
vendor/github.com/sirupsen/logrus/terminal_check_bsd.go
generated
vendored
@ -10,3 +10,4 @@ func isTerminal(fd int) bool {
|
|||||||
_, err := unix.IoctlGetTermios(fd, ioctlReadTermios)
|
_, err := unix.IoctlGetTermios(fd, ioctlReadTermios)
|
||||||
return err == nil
|
return err == nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
1
vendor/github.com/sirupsen/logrus/terminal_check_unix.go
generated
vendored
1
vendor/github.com/sirupsen/logrus/terminal_check_unix.go
generated
vendored
@ -10,3 +10,4 @@ func isTerminal(fd int) bool {
|
|||||||
_, err := unix.IoctlGetTermios(fd, ioctlReadTermios)
|
_, err := unix.IoctlGetTermios(fd, ioctlReadTermios)
|
||||||
return err == nil
|
return err == nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
2
vendor/github.com/spf13/cobra/doc/yaml_docs.go
generated
vendored
2
vendor/github.com/spf13/cobra/doc/yaml_docs.go
generated
vendored
@ -23,7 +23,7 @@ import (
|
|||||||
|
|
||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
"github.com/spf13/pflag"
|
"github.com/spf13/pflag"
|
||||||
yaml "gopkg.in/yaml.v2"
|
"gopkg.in/yaml.v2"
|
||||||
)
|
)
|
||||||
|
|
||||||
type cmdOption struct {
|
type cmdOption struct {
|
||||||
|
3
vendor/github.com/stretchr/testify/require/require.go
generated
vendored
3
vendor/github.com/stretchr/testify/require/require.go
generated
vendored
@ -6,11 +6,10 @@
|
|||||||
package require
|
package require
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
assert "github.com/stretchr/testify/assert"
|
||||||
http "net/http"
|
http "net/http"
|
||||||
url "net/url"
|
url "net/url"
|
||||||
time "time"
|
time "time"
|
||||||
|
|
||||||
assert "github.com/stretchr/testify/assert"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
// Condition uses a Comparison to assert a complex condition.
|
// Condition uses a Comparison to assert a complex condition.
|
||||||
|
3
vendor/github.com/stretchr/testify/require/require_forward.go
generated
vendored
3
vendor/github.com/stretchr/testify/require/require_forward.go
generated
vendored
@ -6,11 +6,10 @@
|
|||||||
package require
|
package require
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
assert "github.com/stretchr/testify/assert"
|
||||||
http "net/http"
|
http "net/http"
|
||||||
url "net/url"
|
url "net/url"
|
||||||
time "time"
|
time "time"
|
||||||
|
|
||||||
assert "github.com/stretchr/testify/assert"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
// Condition uses a Comparison to assert a complex condition.
|
// Condition uses a Comparison to assert a complex condition.
|
||||||
|
2
vendor/github.com/yunify/qingstor-sdk-go/config/config.go
generated
vendored
2
vendor/github.com/yunify/qingstor-sdk-go/config/config.go
generated
vendored
@ -24,7 +24,7 @@ import (
|
|||||||
"strings"
|
"strings"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
yaml "gopkg.in/yaml.v2"
|
"gopkg.in/yaml.v2"
|
||||||
|
|
||||||
"github.com/yunify/qingstor-sdk-go/logger"
|
"github.com/yunify/qingstor-sdk-go/logger"
|
||||||
"github.com/yunify/qingstor-sdk-go/utils"
|
"github.com/yunify/qingstor-sdk-go/utils"
|
||||||
|
2
vendor/github.com/yunify/qingstor-sdk-go/request/builder/qingstor.go
generated
vendored
2
vendor/github.com/yunify/qingstor-sdk-go/request/builder/qingstor.go
generated
vendored
@ -32,7 +32,7 @@ import (
|
|||||||
|
|
||||||
"github.com/pengsrc/go-shared/convert"
|
"github.com/pengsrc/go-shared/convert"
|
||||||
|
|
||||||
sdk "github.com/yunify/qingstor-sdk-go"
|
"github.com/yunify/qingstor-sdk-go"
|
||||||
"github.com/yunify/qingstor-sdk-go/logger"
|
"github.com/yunify/qingstor-sdk-go/logger"
|
||||||
"github.com/yunify/qingstor-sdk-go/request/data"
|
"github.com/yunify/qingstor-sdk-go/request/data"
|
||||||
"github.com/yunify/qingstor-sdk-go/utils"
|
"github.com/yunify/qingstor-sdk-go/utils"
|
||||||
|
1
vendor/golang.org/x/crypto/ssh/agent/client.go
generated
vendored
1
vendor/golang.org/x/crypto/ssh/agent/client.go
generated
vendored
@ -26,7 +26,6 @@ import (
|
|||||||
"sync"
|
"sync"
|
||||||
|
|
||||||
"crypto"
|
"crypto"
|
||||||
|
|
||||||
"golang.org/x/crypto/ed25519"
|
"golang.org/x/crypto/ed25519"
|
||||||
"golang.org/x/crypto/ssh"
|
"golang.org/x/crypto/ssh"
|
||||||
)
|
)
|
||||||
|
3
vendor/golang.org/x/crypto/ssh/terminal/util_solaris.go
generated
vendored
3
vendor/golang.org/x/crypto/ssh/terminal/util_solaris.go
generated
vendored
@ -7,10 +7,9 @@
|
|||||||
package terminal // import "golang.org/x/crypto/ssh/terminal"
|
package terminal // import "golang.org/x/crypto/ssh/terminal"
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
"golang.org/x/sys/unix"
|
||||||
"io"
|
"io"
|
||||||
"syscall"
|
"syscall"
|
||||||
|
|
||||||
"golang.org/x/sys/unix"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
// State contains the state of a terminal.
|
// State contains the state of a terminal.
|
||||||
|
2
vendor/gopkg.in/yaml.v2/readerc.go
generated
vendored
2
vendor/gopkg.in/yaml.v2/readerc.go
generated
vendored
@ -95,7 +95,7 @@ func yaml_parser_update_buffer(parser *yaml_parser_t, length int) bool {
|
|||||||
|
|
||||||
// [Go] This function was changed to guarantee the requested length size at EOF.
|
// [Go] This function was changed to guarantee the requested length size at EOF.
|
||||||
// The fact we need to do this is pretty awful, but the description above implies
|
// The fact we need to do this is pretty awful, but the description above implies
|
||||||
// for that to be the case, and there are tests
|
// for that to be the case, and there are tests
|
||||||
|
|
||||||
// If the EOF flag is set and the raw buffer is empty, do nothing.
|
// If the EOF flag is set and the raw buffer is empty, do nothing.
|
||||||
if parser.eof && parser.raw_buffer_pos == len(parser.raw_buffer) {
|
if parser.eof && parser.raw_buffer_pos == len(parser.raw_buffer) {
|
||||||
|
2
vendor/gopkg.in/yaml.v2/resolve.go
generated
vendored
2
vendor/gopkg.in/yaml.v2/resolve.go
generated
vendored
@ -180,7 +180,7 @@ func resolve(tag string, in string) (rtag string, out interface{}) {
|
|||||||
return yaml_INT_TAG, uintv
|
return yaml_INT_TAG, uintv
|
||||||
}
|
}
|
||||||
} else if strings.HasPrefix(plain, "-0b") {
|
} else if strings.HasPrefix(plain, "-0b") {
|
||||||
intv, err := strconv.ParseInt("-"+plain[3:], 2, 64)
|
intv, err := strconv.ParseInt("-" + plain[3:], 2, 64)
|
||||||
if err == nil {
|
if err == nil {
|
||||||
if true || intv == int64(int(intv)) {
|
if true || intv == int64(int(intv)) {
|
||||||
return yaml_INT_TAG, int(intv)
|
return yaml_INT_TAG, int(intv)
|
||||||
|
2
vendor/gopkg.in/yaml.v2/sorter.go
generated
vendored
2
vendor/gopkg.in/yaml.v2/sorter.go
generated
vendored
@ -52,7 +52,7 @@ func (l keyList) Less(i, j int) bool {
|
|||||||
var ai, bi int
|
var ai, bi int
|
||||||
var an, bn int64
|
var an, bn int64
|
||||||
if ar[i] == '0' || br[i] == '0' {
|
if ar[i] == '0' || br[i] == '0' {
|
||||||
for j := i - 1; j >= 0 && unicode.IsDigit(ar[j]); j-- {
|
for j := i-1; j >= 0 && unicode.IsDigit(ar[j]); j-- {
|
||||||
if ar[j] != '0' {
|
if ar[j] != '0' {
|
||||||
an = 1
|
an = 1
|
||||||
bn = 1
|
bn = 1
|
||||||
|
4
vendor/modules.txt
vendored
4
vendor/modules.txt
vendored
@ -199,6 +199,7 @@ golang.org/x/crypto/nacl/secretbox
|
|||||||
golang.org/x/crypto/scrypt
|
golang.org/x/crypto/scrypt
|
||||||
golang.org/x/crypto/ssh
|
golang.org/x/crypto/ssh
|
||||||
golang.org/x/crypto/ssh/terminal
|
golang.org/x/crypto/ssh/terminal
|
||||||
|
golang.org/x/crypto/bcrypt
|
||||||
golang.org/x/crypto/internal/subtle
|
golang.org/x/crypto/internal/subtle
|
||||||
golang.org/x/crypto/poly1305
|
golang.org/x/crypto/poly1305
|
||||||
golang.org/x/crypto/salsa20/salsa
|
golang.org/x/crypto/salsa20/salsa
|
||||||
@ -207,9 +208,8 @@ golang.org/x/crypto/ssh/agent
|
|||||||
golang.org/x/crypto/curve25519
|
golang.org/x/crypto/curve25519
|
||||||
golang.org/x/crypto/ed25519
|
golang.org/x/crypto/ed25519
|
||||||
golang.org/x/crypto/internal/chacha20
|
golang.org/x/crypto/internal/chacha20
|
||||||
golang.org/x/crypto/bcrypt
|
|
||||||
golang.org/x/crypto/ed25519/internal/edwards25519
|
|
||||||
golang.org/x/crypto/blowfish
|
golang.org/x/crypto/blowfish
|
||||||
|
golang.org/x/crypto/ed25519/internal/edwards25519
|
||||||
# golang.org/x/net v0.0.0-20190620200207-3b0461eec859
|
# golang.org/x/net v0.0.0-20190620200207-3b0461eec859
|
||||||
golang.org/x/net/websocket
|
golang.org/x/net/websocket
|
||||||
golang.org/x/net/html
|
golang.org/x/net/html
|
||||||
|
Loading…
Reference in New Issue
Block a user