[][src]Module kubelet::pod

pod is a collection of utilities surrounding the Kubernetes pod API.

Structs

Handle

Handle is the top level handle into managing a pod. It manages updating statuses for the containers in the pod and can be used to stop the pod and access logs

Pod

A Kubernetes Pod

Status

Describe the status of a workload.

Enums

Phase

Describe the lifecycle phase of a workload.

StatusMessage

The message to be set in a pod status update.

Functions

key_from_pod

Generates a unique human readable key for storing a handle to a pod in a hash. This is a convenience wrapper around pod_key.

make_status

Create basic Pod status patch.

pod_key

Generates a unique human readable key for storing a handle to a pod if you already have the namespace and pod name.

update_status

A helper for updating pod status. The given data should be a pod status object and be serializable by serde