Skip to content

core.v1.containerStateTerminated

"ContainerStateTerminated is a terminated state of a container."

Index

Fields

fn withContainerID

withContainerID(containerID)

"Container's ID in the format '://'"

fn withExitCode

withExitCode(exitCode)

"Exit status from the last termination of the container"

fn withFinishedAt

withFinishedAt(finishedAt)

"Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers."

fn withMessage

withMessage(message)

"Message regarding the last termination of the container"

fn withReason

withReason(reason)

"(brief) reason from the last termination of the container"

fn withSignal

withSignal(signal)

"Signal from the last termination of the container"

fn withStartedAt

withStartedAt(startedAt)

"Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers."