Skip to content

Commit e43c10d

Browse files
committed
update vendors
1 parent 5d95274 commit e43c10d

165 files changed

Lines changed: 6041 additions & 18894 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

cmd/application.go

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,17 @@ func appOpen(cmd *cobra.Command, args []string) {
4343
uiApplicationOpen(res)
4444
}
4545

46+
func appSftp(cmd *cobra.Command, args []string) {
47+
volumeName := getCliRequiredArg(args, 0)
48+
volumeUserPass := map[string]string{" User": "root", " Password": "root"}
49+
req := getCliRequestIdentity(args, 0)
50+
client := grpcConnect()
51+
defer client.Close()
52+
res, err := client.V2().AppFTPPortforward(client.Context(), req)
53+
uiCheckErr("Could not Portforward the Application", err)
54+
uiPortforward(volumeName, volumeUserPass, res)
55+
}
56+
4657
func appLog(cmd *cobra.Command, args []string) {
4758
streamAppLog(args)
4859
}

cmd/command_sftp.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ import (
88
var (
99
sftpCmd = &cobra.Command{
1010
Use: "sftp [volume-name]",
11-
Short: "Connect to a sftp agent running in a cluster",
12-
Long: `Connect to a sftp agent running in a cluster.
11+
Short: "Connect to an application sftp agent running in a cluster",
12+
Long: `Connect to an application sftp agent running in a cluster.
1313
This type of connection can be useful for volume mounting`,
14-
Run: volumeSftp,
14+
Run: appSftp,
1515
}
1616
)
1717

cmd/volume.go

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -44,17 +44,6 @@ func volumeInfo(cmd *cobra.Command, args []string) {
4444
uiVolumeStatus(res)
4545
}
4646

47-
func volumeSftp(cmd *cobra.Command, args []string) {
48-
volumeName := getCliRequiredArg(args, 0)
49-
volumeUserPass := map[string]string{" User": "root", " Password": "root"}
50-
req := getCliRequestIdentity(args, 0)
51-
client := grpcConnect()
52-
defer client.Close()
53-
res, err := client.V2().VolumeFTPPortforward(client.Context(), req)
54-
uiCheckErr("Could not Portforward the Service", err)
55-
uiPortforward(volumeName, volumeUserPass, res)
56-
}
57-
5847
// VolumeCreate crate a volume by name and type
5948
func VolumeCreate(name, volumeType string) (*ybApi.VolumeStatusRes, error) {
6049
req := new(ybApi.VolumeCreateReq)

go.mod

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,20 +6,21 @@ require (
66
github.com/blang/semver v3.5.1+incompatible
77
github.com/fatih/color v1.9.0
88
github.com/go-ini/ini v1.51.1 // indirect
9-
github.com/grpc-ecosystem/grpc-gateway v1.14.5 // indirect
9+
github.com/grpc-ecosystem/grpc-gateway v1.14.6 // indirect
1010
github.com/minio/minio-go v6.0.14+incompatible
1111
github.com/mitchellh/go-homedir v1.1.0
1212
github.com/pkg/browser v0.0.0-20180916011732-0a3d74bf9ce4
1313
github.com/rhysd/go-github-selfupdate v1.2.1
14-
github.com/sirupsen/logrus v1.4.2
14+
github.com/sirupsen/logrus v1.4.2 // indirect
1515
github.com/smartystreets/goconvey v1.6.4 // indirect
1616
github.com/spf13/cobra v0.0.5
1717
github.com/spf13/viper v1.3.2
18-
github.com/yottab/proto-api v3.0.0+incompatible
18+
github.com/yottab/proto-api v3.1.0+incompatible
1919
golang.org/x/crypto v0.0.0-20190820162420-60c769a6c586
2020
golang.org/x/sys v0.0.0-20191120155948-bd437916bb0e // indirect
2121
golang.org/x/time v0.0.0-20191024005414-555d28b269f0 // indirect
22-
google.golang.org/grpc v1.28.1
22+
google.golang.org/grpc v1.29.1
23+
google.golang.org/protobuf v1.25.0 // indirect
2324
gopkg.in/ini.v1 v1.51.1 // indirect
2425
gopkg.in/src-d/go-git.v4 v4.13.1
2526
k8s.io/client-go v0.17.1

go.sum

Lines changed: 19 additions & 55 deletions
Large diffs are not rendered by default.

vendor/github.com/golang/protobuf/descriptor/descriptor.go

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/golang/protobuf/jsonpb/decode.go

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/golang/protobuf/jsonpb/encode.go

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/golang/protobuf/jsonpb/json.go

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/golang/protobuf/proto/buffer.go

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)