Skip to content

Commit 4f16eec

Browse files
authored
add pathx cli command (#60)
ENHANCEMENTS: - add command `ucloud pathx create`, Include flags:`--bandwidth,--area-code,--charge-type,--quantity,--accel,--origin-ip,--origin-domain,--port,--origin-port` to create the pathx resource. - add command `ucloud pathx delete` to delete the pathx resource - add command `ucloud pathx modify` to modify the pathx associated information. Example bandwidth or origin information or resource information. - add command `ucloud pathx list` to query the pathx resource list. - add command `ucloud pathx price` to query the pathx resource price information. - add command `ucloud pathx area` to query the pathx origin areas or acceleration areas
1 parent 0675227 commit 4f16eec

44 files changed

Lines changed: 4478 additions & 1062 deletions

Some content is hidden

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

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
export VERSION=0.1.36
1+
export VERSION=0.1.37
22
GOFMT_FILES?=$$(find . -name '*.go' |grep -v vendor)
33

44
.PHONY : install
@@ -34,4 +34,4 @@ build_all: build_mac build_linux build_windows
3434

3535
.PHONY: fmt
3636
fmt:
37-
gofmt -w -s $(GOFMT_FILES)
37+
gofmt -w -s $(GOFMT_FILES)

base/client.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ type Client struct {
4949
uphost.UPHostClient
5050
PrivateUHostClient
5151
PrivateUDBClient
52-
PrivateUMemClient
52+
PrivateUMemClient PrivateUMemClient
5353
PrivatePathxClient
5454
}
5555

base/config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ const DefaultBaseURL = "https://api.ucloud.cn/"
3939
const DefaultProfile = "default"
4040

4141
//Version 版本号
42-
const Version = "0.1.36"
42+
const Version = "0.1.37"
4343

4444
var UserAgent = fmt.Sprintf("UCloud-CLI/%s", Version)
4545

0 commit comments

Comments
 (0)