40 lines
1.1 KiB
Go
40 lines
1.1 KiB
Go
|
|
/*
|
||
|
|
* Kubernetes
|
||
|
|
*
|
||
|
|
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
|
||
|
|
*
|
||
|
|
* API version: v1.10.0
|
||
|
|
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
|
||
|
|
*/
|
||
|
|
|
||
|
|
package client
|
||
|
|
|
||
|
|
import (
|
||
|
|
"time"
|
||
|
|
)
|
||
|
|
|
||
|
|
// ContainerStateTerminated is a terminated state of a container.
|
||
|
|
type V1ContainerStateTerminated struct {
|
||
|
|
|
||
|
|
// Container's ID in the format 'docker://<container_id>'
|
||
|
|
ContainerID string `json:"containerID,omitempty"`
|
||
|
|
|
||
|
|
// Exit status from the last termination of the container
|
||
|
|
ExitCode int32 `json:"exitCode"`
|
||
|
|
|
||
|
|
// Time at which the container last terminated
|
||
|
|
FinishedAt time.Time `json:"finishedAt,omitempty"`
|
||
|
|
|
||
|
|
// Message regarding the last termination of the container
|
||
|
|
Message string `json:"message,omitempty"`
|
||
|
|
|
||
|
|
// (brief) reason from the last termination of the container
|
||
|
|
Reason string `json:"reason,omitempty"`
|
||
|
|
|
||
|
|
// Signal from the last termination of the container
|
||
|
|
Signal int32 `json:"signal,omitempty"`
|
||
|
|
|
||
|
|
// Time at which previous execution of the container started
|
||
|
|
StartedAt time.Time `json:"startedAt,omitempty"`
|
||
|
|
}
|