mirror of
https://shylinux.com/x/operation
synced 2025-04-24 17:08:04 +08:00
add some
This commit is contained in:
parent
ce240c802e
commit
b9a4ee596e
@ -4,6 +4,7 @@ import (
|
||||
"shylinux.com/x/ice"
|
||||
"shylinux.com/x/icebergs/base/aaa"
|
||||
"shylinux.com/x/icebergs/base/mdb"
|
||||
"shylinux.com/x/icebergs/base/nfs"
|
||||
"shylinux.com/x/icebergs/base/web"
|
||||
kit "shylinux.com/x/toolkits"
|
||||
|
||||
@ -21,6 +22,14 @@ type container struct {
|
||||
open string `name:"open" role:"void"`
|
||||
}
|
||||
|
||||
func (s container) Inputs(m *ice.Message, arg ...string) {
|
||||
switch arg[0] {
|
||||
case model.UID:
|
||||
m.Cmdy(web.SPACE, ice.OPS, web.DREAM, web.SERVER, mdb.NAME, nfs.MODULE, nfs.VERSION)
|
||||
default:
|
||||
s.Table.Inputs(m, arg...)
|
||||
}
|
||||
}
|
||||
func (s container) Create(m *ice.Message, arg ...string) {
|
||||
s.Table.Insert(m, kit.Simple(arg, m.OptionSimple(model.CLOUD_UID))...)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user