Documentation ¶
Index ¶
Constants ¶
View Source
const ( RUNNING = "running" STOPPED = "stopped" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ContainerNotExist ¶
type ContainerNotExist struct {
ID string
}
func (ContainerNotExist) Error ¶
func (ce ContainerNotExist) Error() string
type CustomTime ¶
func (CustomTime) MarshalJSON ¶
func (ct CustomTime) MarshalJSON() ([]byte, error)
func (CustomTime) String ¶
func (ct CustomTime) String() string
func (*CustomTime) UnmarshalJSON ¶
func (ct *CustomTime) UnmarshalJSON(b []byte) error
type Info ¶
type Info struct { Pid int `json:"pid"` ID string `json:"id"` Cmd []string `json:"cmd"` CreateTime CustomTime `json:"create_time"` Status string `json:"status"` RootFS *rootfs.RootFS `json:"root_fs"` LogFile string `json:"log_file"` PortMap []string `json:"port_map"` Network string `json:"network"` IPNet net.IPNet `json:"ip_net"` NetworkDriver string `json:"network_driver"` Volumes []volume.Volume `json:"volumes"` UnixSocket string `json:"unix_socket"` TTY bool `json:"tty"` Detach bool `json:"detach"` RmAfterRun bool `json:"rm_after_run"` Envs []string `json:"envs"` ImageName string `json:"image_name"` CmdStr string `json:"cmd_str"` Parent *exec.Cmd `json:"-"` StoppedCtx context.Context `json:"-"` Stdin io.WriteCloser `json:"-"` Stdout io.ReadCloser `json:"-"` Stderr io.ReadCloser `json:"-"` }
Click to show internal directories.
Click to hide internal directories.