Skip to content

Commit ebf2fdb

Browse files
authored
fix(region): vendor update (#24091)
1 parent bbfc150 commit ebf2fdb

5 files changed

Lines changed: 120 additions & 53 deletions

File tree

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ require (
9999
k8s.io/cri-api v0.28.15
100100
k8s.io/klog/v2 v2.20.0
101101
moul.io/http2curl/v2 v2.3.0
102-
yunion.io/x/cloudmux v0.3.10-0-alpha.1.0.20260114022903-82083aed488f
102+
yunion.io/x/cloudmux v0.3.10-0-alpha.1.0.20260115031205-22d194eacc4c
103103
yunion.io/x/executor v0.0.0-20250518005516-5402e9e0bed0
104104
yunion.io/x/jsonutils v1.0.1-0.20250507052344-1abcf4f443b1
105105
yunion.io/x/log v1.0.1-0.20240305175729-7cf2d6cd5a91

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1661,8 +1661,8 @@ sigs.k8s.io/structured-merge-diff/v4 v4.0.1/go.mod h1:bJZC9H9iH24zzfZ/41RGcq60oK
16611661
sigs.k8s.io/yaml v1.1.0/go.mod h1:UJmg0vDUVViEyp3mgSv9WPwZCDxu4rQW1olrI1uml+o=
16621662
sigs.k8s.io/yaml v1.2.0 h1:kr/MCeFWJWTwyaHoR9c8EjH9OumOmoF9YGiZd7lFm/Q=
16631663
sigs.k8s.io/yaml v1.2.0/go.mod h1:yfXDCHCao9+ENCvLSE62v9VSji2MKu5jeNfTrofGhJc=
1664-
yunion.io/x/cloudmux v0.3.10-0-alpha.1.0.20260114022903-82083aed488f h1:PcUdyuYbCqUNnGgUIwtXubVnP7k9NqlnyZd14Sw1ePE=
1665-
yunion.io/x/cloudmux v0.3.10-0-alpha.1.0.20260114022903-82083aed488f/go.mod h1:aWRX5Phwz3nbHUNnIAm1oVogjguXPYDDgCOy/9Hnnvk=
1664+
yunion.io/x/cloudmux v0.3.10-0-alpha.1.0.20260115031205-22d194eacc4c h1:hQ0NR7Zjwedj/46E1MstfF9TZYRRJikAgbDtzpvTBl4=
1665+
yunion.io/x/cloudmux v0.3.10-0-alpha.1.0.20260115031205-22d194eacc4c/go.mod h1:aWRX5Phwz3nbHUNnIAm1oVogjguXPYDDgCOy/9Hnnvk=
16661666
yunion.io/x/executor v0.0.0-20250518005516-5402e9e0bed0 h1:msG4SiDSVU7CrXH06WuHlNEZXIooTcmNbfrIGHuIHBU=
16671667
yunion.io/x/executor v0.0.0-20250518005516-5402e9e0bed0/go.mod h1:Uxuou9WQIeJXNpy7t2fPLL0BYLvLiMvGQwY7Qc6aSws=
16681668
yunion.io/x/jsonutils v0.0.0-20190625054549-a964e1e8a051/go.mod h1:4N0/RVzsYL3kH3WE/H1BjUQdFiWu50JGCFQuuy+Z634=

pkg/apis/notify/event.go

Lines changed: 80 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -22,55 +22,95 @@ import (
2222
var (
2323
Event SNotifyEvent
2424

25-
ActionCreate SAction = "create"
26-
ActionDelete SAction = "delete"
27-
ActionPendingDelete SAction = "pending_delete"
28-
ActionUpdate SAction = "update"
29-
ActionRebuildRoot SAction = "rebuild_root"
30-
ActionResetPassword SAction = "reset_password"
31-
ActionChangeConfig SAction = "change_config"
32-
ActionResize SAction = "resize"
25+
// 创建
26+
ActionCreate SAction = "create"
27+
// 删除
28+
ActionDelete SAction = "delete"
29+
// 放入回收站
30+
ActionPendingDelete SAction = "pending_delete"
31+
// 更新
32+
ActionUpdate SAction = "update"
33+
// 重装系统
34+
ActionRebuildRoot SAction = "rebuild_root"
35+
// 重置密码
36+
ActionResetPassword SAction = "reset_password"
37+
// 配置变更
38+
ActionChangeConfig SAction = "change_config"
39+
// 扩容
40+
ActionResize SAction = "resize"
41+
// 到期释放
3342
ActionExpiredRelease SAction = "expired_release"
34-
ActionExecute SAction = "execute"
35-
ActionChangeIpaddr SAction = "change_ipaddr"
36-
ActionSyncStatus SAction = "sync_status"
37-
ActionCleanData SAction = "clean_data"
38-
ActionMigrate SAction = "migrate"
39-
43+
// 执行,例如自动快照策略执行创建快照、弹性伸缩策略执行扩容、定时任务执行等
44+
ActionExecute SAction = "execute"
45+
// IP变更
46+
ActionChangeIpaddr SAction = "change_ipaddr"
47+
// 同步状态
48+
ActionSyncStatus SAction = "sync_status"
49+
// 清理数据
50+
ActionCleanData SAction = "clean_data"
51+
// 迁移
52+
ActionMigrate SAction = "migrate"
53+
54+
// 添加备份服务器
4055
ActionCreateBackupServer SAction = "add_backup_server"
41-
ActionDelBackupServer SAction = "delete_backup_server"
42-
43-
ActionSyncCreate SAction = "sync_create"
44-
ActionSyncUpdate SAction = "sync_update"
45-
ActionSyncDelete SAction = "sync_delete"
56+
// 删除备份服务器
57+
ActionDelBackupServer SAction = "delete_backup_server"
58+
59+
// 同步新建
60+
ActionSyncCreate SAction = "sync_create"
61+
// 同步更新
62+
ActionSyncUpdate SAction = "sync_update"
63+
// 同步删除
64+
ActionSyncDelete SAction = "sync_delete"
65+
// 同步账号状态
4666
ActionSyncAccountStatus SAction = "sync_account_status"
4767

48-
ActionOffline SAction = "offline"
49-
ActionSystemPanic SAction = "panic"
68+
// 下线
69+
ActionOffline SAction = "offline"
70+
// 系统崩溃
71+
ActionSystemPanic SAction = "panic"
72+
// 系统异常
5073
ActionSystemException SAction = "exception"
51-
52-
ActionChecksumTest SAction = "checksum_test"
53-
74+
// 锁定,例如用户锁定
5475
ActionLock SAction = "lock"
55-
56-
ActionExceedCount SAction = "exceed_count"
57-
ActionPasswordExpireSoon SAction = "password_expire_soon"
58-
ActionWorkerBlock SAction = "woker_block"
59-
ActionNetOutOfSync SAction = "net_out_of_sync"
60-
ActionMysqlOutOfSync SAction = "mysql_out_of_sync"
61-
ActionServiceAbnormal SAction = "service_abnormal"
62-
ActionServerPanicked SAction = "server_panicked"
63-
ActionAttach SAction = "attach"
64-
ActionDetach SAction = "detach"
76+
// 超出数量
77+
ActionExceedCount SAction = "exceed_count"
78+
// 密码即将过期
79+
ActionPasswordExpireSoon SAction = "password_expire_soon"
80+
// 一致性检查
81+
ActionChecksumTest SAction = "checksum_test"
82+
// 任务队列阻塞
83+
ActionWorkerBlock SAction = "woker_block"
84+
// 网络同步失败
85+
ActionNetOutOfSync SAction = "net_out_of_sync"
86+
// MySQL同步失败
87+
ActionMysqlOutOfSync SAction = "mysql_out_of_sync"
88+
// 服务异常
89+
ActionServiceAbnormal SAction = "service_abnormal"
90+
// 服务器崩溃
91+
ActionServerPanicked SAction = "server_panicked"
92+
// 挂载
93+
ActionAttach SAction = "attach"
94+
// 卸载
95+
ActionDetach SAction = "detach"
96+
// 透传设备创建
6597
ActionIsolatedDeviceCreate SAction = "isolated_device_create"
98+
// 透传设备更新
6699
ActionIsolatedDeviceUpdate SAction = "isolated_device_update"
100+
// 透传设备删除
67101
ActionIsolatedDeviceDelete SAction = "isolated_device_delete"
68-
ActionStatusChanged SAction = "status_changed"
69-
ActionStart SAction = "start"
70-
ActionStop SAction = "stop"
71-
ActionReset SAction = "reset"
72-
ActionRestart SAction = "restart"
73-
ActionRunTask SAction = "run_task"
102+
// 状态变更
103+
ActionStatusChanged SAction = "status_changed"
104+
// 启动
105+
ActionStart SAction = "start"
106+
// 停止
107+
ActionStop SAction = "stop"
108+
// 重置
109+
ActionReset SAction = "reset"
110+
// 重启
111+
ActionRestart SAction = "restart"
112+
// 运行任务
113+
ActionRunTask SAction = "run_task"
74114

75115
ResultFailed SResult = "failed"
76116
ResultSucceed SResult = "succeed"

vendor/modules.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2243,7 +2243,7 @@ sigs.k8s.io/structured-merge-diff/v4/value
22432243
# sigs.k8s.io/yaml v1.2.0
22442244
## explicit; go 1.12
22452245
sigs.k8s.io/yaml
2246-
# yunion.io/x/cloudmux v0.3.10-0-alpha.1.0.20260114022903-82083aed488f
2246+
# yunion.io/x/cloudmux v0.3.10-0-alpha.1.0.20260115031205-22d194eacc4c
22472247
## explicit; go 1.24
22482248
yunion.io/x/cloudmux/pkg/apis
22492249
yunion.io/x/cloudmux/pkg/apis/billing

vendor/yunion.io/x/cloudmux/pkg/multicloud/ksyun/eip.go

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

0 commit comments

Comments
 (0)