Documentation
¶
Index ¶
- type Container
- func (c *Container) CreatedAt() string
- func (c *Container) CreatedAtNano() int64
- func (c *Container) ExitCode() int32
- func (c *Container) FinishedAt() string
- func (c *Container) FinishedAtNano() int64
- func (c *Container) ID() ID
- func (c *Container) LogPath() string
- func (c *Container) MarshalJSON() ([]byte, error)
- func (c *Container) Name() string
- func (c *Container) SetCreatedAt(t time.Time) error
- func (c *Container) SetExitCode(code int32)
- func (c *Container) SetFinishedAt(t time.Time) error
- func (c *Container) SetStartedAt(t time.Time) error
- func (c *Container) SetStatus(s Status)
- func (c *Container) StartedAt() string
- func (c *Container) StartedAtNano() int64
- func (c *Container) Status() Status
- func (c *Container) UnmarshalJSON(bytes []byte) error
- type ID
- type Impl
- type Map
- type Status
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Container ¶
type Container struct {
Impl
}
func (*Container) CreatedAtNano ¶
func (*Container) FinishedAt ¶
func (*Container) FinishedAtNano ¶
func (*Container) MarshalJSON ¶
func (*Container) SetExitCode ¶
func (*Container) StartedAtNano ¶
func (*Container) UnmarshalJSON ¶
type Impl ¶
type Impl struct {
ID_ ID `json:"id"`
Name_ string `json:"name"`
Status_ Status `json:"status"`
ExitCode_ int32 `json:"exitCode"`
CreateAt_ string `json:"createdAt"`
StartedAt_ string `json:"startedAt,omitempty"`
FinishedAt_ string `json:"finishedAt,omitempty"`
Command_ []string `json:"command"`
Args_ []string `json:"args,omitempty"`
Rootfs_ string `json:"rootfs"`
LogPath_ string `json:"logPath,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.