MAE UML
2018-05-06 15:17:00 0 举报
test
作者其他创作
大纲/内容
Version类
+ versionid:integer+ appname+ servicename+ versionname:string+ versionconfig:struct //直接在数据库中存json文件
+ rebuild(config):status + getLog(): string
container Struct
+ containername: string+ imageurl: string+ imagetag: string+ runcmd: string+ port: integer+ envs: env struct array+ volumns: volumn struct array
volumn struct
+ innerlocation+ outlocation
env struct
+ envname: string+ envvalue: string
APP类
+ appname:string+ appid: integer+ svclist: integer array+ netconfig: json default=\"\"
+ getServices():integer array+ createService(): status+ configNginx(netconfig): status
Service类
+ appid: integer+ svcid:integer+ svcname:string+ port: integer+ adminlist: integer array+ creatorlist: integer array+ deletorlist: integer array+ versionlist: [ {versionid(integer): status(active or deactive)}]
User类
+ username:string+ uid:integer+ role:string + passwordhash:string
+ login(): token+ changeRole(rolename): status+ genarateToken(): token
versionconfig Struct
+ versionname: string+ replicas: integer+ containers: container array
0 条评论
下一页