PodResource

Provides operations for managing pods: list, create, get, and delete.

Functions

Link copied to clipboard
suspend fun create(): Pod

Creates a new pod.

Link copied to clipboard
suspend fun delete(podId: String)

Deletes a pod by ID.

Link copied to clipboard
suspend fun get(podId: String): Pod

Retrieves a pod by ID.

Link copied to clipboard
suspend fun list(block: ListPodsBuilder.() -> Unit = {}): PodList

Lists pods with optional pagination.