taskExecute/pkg/docker/store.go

14 lines
570 B
Go
Raw Permalink Normal View History

2023-03-23 14:35:24 +08:00
package docker
type ContainerStore struct {
ModelId int64 `json:"modelId" yaml:"modelId"`
NodeId int64 `json:"nodeId" yaml:"nodeId"`
Name string `json:"name" yaml:"name"`
ImgName string `json:"imgName" yaml:"imgName"`
Volumes map[string]string `json:"volumes" yaml:"volumes"`
SrcPort string `json:"srcPort" yaml:"srcPort"`
DstPort string `json:"dstPort" yaml:"dstPort"`
Command []string `json:"command" yaml:"command"`
HttpUrl string `json:"httpUrl" yaml:"httpUrl"`
}