Skip to content

core.v1.containerState

"ContainerState holds a possible state of container. Only one of its members may be specified. If none of them is specified, the default one is ContainerStateWaiting."

Index

Fields

obj running

"ContainerStateRunning is a running state of a container."

fn running.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."

obj terminated

"ContainerStateTerminated is a terminated state of a container."

fn terminated.withContainerID

withContainerID(containerID)

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

fn terminated.withExitCode

withExitCode(exitCode)

"Exit status from the last termination of the container"

fn terminated.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 terminated.withMessage

withMessage(message)

"Message regarding the last termination of the container"

fn terminated.withReason

withReason(reason)

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

fn terminated.withSignal

withSignal(signal)

"Signal from the last termination of the container"

fn terminated.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."

obj waiting

"ContainerStateWaiting is a waiting state of a container."

fn waiting.withMessage

withMessage(message)

"Message regarding why the container is not yet running."

fn waiting.withReason

withReason(reason)

"(brief) reason the container is not yet running."