Skip to content

Commit 8bb15cc

Browse files
Merge pull request #179 from jdcloud-apigateway/master
publish jdcloud-sdk-go version 2.3.1
2 parents 6700ab3 + 41a09bc commit 8bb15cc

36 files changed

Lines changed: 78 additions & 7 deletions

services/pod/ChangeLog.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ API版本:2.3.0
44

55
| 发布时间 | 版本号 | 更新 | 说明 |
66
| ------------ | -------- | ---------- | ------------------------------ |
7-
| 2022-07-07 | 2.3.0 | 新增接口 | 新增接口:支持cfs和configmap功能 |
7+
| 2022-07-18 | 2.3.1 | 功能更新 | *修改对外接口属性 |
8+
| 2022-07-07 | 2.3.0 | 新增接口 | *新增接口:支持cfs和configmap功能 |
89
| 2020-11-27 | 2.2.5 | 功能更新 | * 支持创建打标 |
910
| 2020-07-24 | 2.2.4 | 文档更新 | * 文档维护 |
1011
| 2019-11-27 | 2.2.0 | 新增接口 | * 新增接口:调整实例类型配置 |

services/pod/apis/AssociateElasticIp.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ type AssociateElasticIpRequest struct {
3232

3333
/* 弹性IP ID */
3434
ElasticIpId string `json:"elasticIpId"`
35+
3536
}
3637

3738
/*
@@ -112,6 +113,7 @@ func (r *AssociateElasticIpRequest) SetElasticIpId(elasticIpId string) {
112113
r.ElasticIpId = elasticIpId
113114
}
114115

116+
115117
// GetRegionId returns path parameter 'regionId' if exist,
116118
// otherwise return empty string
117119
func (r AssociateElasticIpRequest) GetRegionId() string {

services/pod/apis/Attach.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ type AttachRequest struct {
3232

3333
/* container name */
3434
ContainerName string `json:"containerName"`
35+
3536
}
3637

3738
/*
@@ -112,6 +113,7 @@ func (r *AttachRequest) SetContainerName(containerName string) {
112113
r.ContainerName = containerName
113114
}
114115

116+
115117
// GetRegionId returns path parameter 'regionId' if exist,
116118
// otherwise return empty string
117119
func (r AttachRequest) GetRegionId() string {

services/pod/apis/CheckPodName.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ type CheckPodNameRequest struct {
3232

3333
/* 需要创建的 pod 总数,默认创建一个,不同的总数会对校验结果产生影响。 (Optional) */
3434
MaxCount *int `json:"maxCount"`
35+
3536
}
3637

3738
/*
@@ -109,6 +110,7 @@ func (r *CheckPodNameRequest) SetMaxCount(maxCount int) {
109110
r.MaxCount = &maxCount
110111
}
111112

113+
112114
// GetRegionId returns path parameter 'regionId' if exist,
113115
// otherwise return empty string
114116
func (r CheckPodNameRequest) GetRegionId() string {

services/pod/apis/CreateConfigFile.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ type CreateConfigFileRequest struct {
3636
value 每个value长度上限为32KB,整个data的长度不能超过1M; <br>
3737
*/
3838
Data []pod.FileToPath `json:"data"`
39+
3940
}
4041

4142
/*
@@ -125,6 +126,7 @@ func (r *CreateConfigFileRequest) SetData(data []pod.FileToPath) {
125126
r.Data = data
126127
}
127128

129+
128130
// GetRegionId returns path parameter 'regionId' if exist,
129131
// otherwise return empty string
130132
func (r CreateConfigFileRequest) GetRegionId() string {

services/pod/apis/CreatePods.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ type CreatePodsRequest struct {
3636

3737
/* 保证请求幂等性的字符串;最大长度64个ASCII字符 (Optional) */
3838
ClientToken *string `json:"clientToken"`
39+
3940
}
4041

4142
/*
@@ -124,6 +125,7 @@ func (r *CreatePodsRequest) SetClientToken(clientToken string) {
124125
r.ClientToken = &clientToken
125126
}
126127

128+
127129
// GetRegionId returns path parameter 'regionId' if exist,
128130
// otherwise return empty string
129131
func (r CreatePodsRequest) GetRegionId() string {

services/pod/apis/CreateSecret.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ value 是 Base64 编码的字符串,不能包含换行符(在 linux 下使
4242
必须包含server、username、password 字段,email 字段是可选的。<br>
4343
*/
4444
Data *pod.DockerRegistryData `json:"data"`
45+
4546
}
4647

4748
/*
@@ -151,6 +152,7 @@ func (r *CreateSecretRequest) SetData(data *pod.DockerRegistryData) {
151152
r.Data = data
152153
}
153154

155+
154156
// GetRegionId returns path parameter 'regionId' if exist,
155157
// otherwise return empty string
156158
func (r CreateSecretRequest) GetRegionId() string {

services/pod/apis/DeleteConfigFile.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ type DeleteConfigFileRequest struct {
2929

3030
/* Name */
3131
Name string `json:"name"`
32+
3233
}
3334

3435
/*
@@ -98,6 +99,7 @@ func (r *DeleteConfigFileRequest) SetName(name string) {
9899
r.Name = name
99100
}
100101

102+
101103
// GetRegionId returns path parameter 'regionId' if exist,
102104
// otherwise return empty string
103105
func (r DeleteConfigFileRequest) GetRegionId() string {

services/pod/apis/DeletePod.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ type DeletePodRequest struct {
2929

3030
/* Pod ID */
3131
PodId string `json:"podId"`
32+
3233
}
3334

3435
/*
@@ -98,6 +99,7 @@ func (r *DeletePodRequest) SetPodId(podId string) {
9899
r.PodId = podId
99100
}
100101

102+
101103
// GetRegionId returns path parameter 'regionId' if exist,
102104
// otherwise return empty string
103105
func (r DeletePodRequest) GetRegionId() string {

services/pod/apis/DeleteSecret.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ type DeleteSecretRequest struct {
2929

3030
/* Secret Name */
3131
Name string `json:"name"`
32+
3233
}
3334

3435
/*
@@ -98,6 +99,7 @@ func (r *DeleteSecretRequest) SetName(name string) {
9899
r.Name = name
99100
}
100101

102+
101103
// GetRegionId returns path parameter 'regionId' if exist,
102104
// otherwise return empty string
103105
func (r DeleteSecretRequest) GetRegionId() string {

0 commit comments

Comments
 (0)