ListResourceVersion

Companion
class
trait Sum
trait Mirror
class Object
trait Matchable
class Any

Type members

Classlikes

case object Any extends ListResourceVersion

Return data at any resource version.

Return data at any resource version.

The newest available resource version is preferred, but strong consistency is not required; data at any resource version may be served.

It is possible for the request to return data at a much older resource version that the client has previously observed, particularly in high availability configurations, due to partitions or stale caches. Clients that cannot tolerate this should not use this semantic.

final case class Exact(version: String) extends ListResourceVersion

Return data at the exact resource version provided.

Return data at the exact resource version provided.

If the provided resourceVersion is unavailable, the server responds with HTTP 410 "Gone". For list requests to servers that honor the resourceVersionMatch parameter, this guarantees that resourceVersion in the ListMeta is the same as the requested resourceVersion, but does not make any guarantee about the resourceVersion in the ObjectMeta of the list items since ObjectMeta.resourceVersion tracks when an object was last updated, not how up-to-date the object is when served.

Value Params
version

the exact resource version

case object MostRecent extends ListResourceVersion

Return data at the most recent resource version.

Return data at the most recent resource version.

The returned data must be consistent (i.e. served from etcd via a quorum read).

final case class NotOlderThan(version: String) extends ListResourceVersion

Return data at least as new as the provided resourceVersion.

Return data at least as new as the provided resourceVersion.

The newest available data is preferred, but any data not older than the provided resourceVersion may be served. For list requests to servers that honor the resourceVersionMatch parameter, this guarantees that resourceVersion in the ListMeta is not older than the requested resourceVersion, but does not make any guarantee about the resourceVersion in the ObjectMeta of the list items since ObjectMeta.resourceVersion tracks when an object was last updated, not how up-to-date the object is when served.

Value Params
version

the provided resource version

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Inherited from
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Inherited from
Mirror