Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidStateTransition ¶
Types ¶
type Docker ¶
func (*Docker) Run ¶
func (d *Docker) Run() DockerResult
func (*Docker) Stop ¶
func (d *Docker) Stop(id string) DockerResult
type DockerResult ¶
type Task ¶
type Task struct { ID uuid.UUID `json:"id"` Name string `json:"name"` State string `json:"state"` Image string `json:"image"` Memory int64 `json:"memory"` Disk int64 `json:"disk"` ExposedPorts string `json:"exposedPorts"` PortBindings string `json:"portBindings"` RestartPolicy string `json:"restartPolicy"` StartTime time.Time `json:"startTime"` EndTime time.Time `json:"endTime"` FinishTime time.Time `json:"finishTime"` Duration time.Time `json:"duration"` ContainerID string `json:"containerId"` Cpus float32 `json:"cpus"` }
Click to show internal directories.
Click to hide internal directories.