Files
go/kubernetes/client/v1_container_state_terminated.go
Haowei Cai 6181687d2e Generated API change for kubernetes 1.10
Settings:
    export KUBERNETES_BRANCH="release-1.10"
    export CLIENT_VERSION="0.1.0a1"
    export PACKAGE_NAME="client"
2018-03-21 14:15:19 -07:00

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"`
}