ServerStorageVersion

case class ServerStorageVersion(apiServerID: Optional[String], decodableVersions: Optional[Vector[String]], encodingVersion: Optional[String])

An API server instance reports the version it can decode and the version it encodes objects to when persisting objects in the backend.

Value Params
apiServerID

The ID of the reporting API server.

decodableVersions

The API server can decode objects encoded in these versions. The encodingVersion must be included in the decodableVersions.

encodingVersion

The API server encodes the object to this version when persisting it in the backend (e.g., etcd).

Companion
object
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Concrete methods

def getApiServerID: IO[K8sFailure, String]

The ID of the reporting API server.

The ID of the reporting API server.

If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

def getDecodableVersions: IO[K8sFailure, Vector[String]]

The API server can decode objects encoded in these versions. The encodingVersion must be included in the decodableVersions.

The API server can decode objects encoded in these versions. The encodingVersion must be included in the decodableVersions.

If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

def getEncodingVersion: IO[K8sFailure, String]

The API server encodes the object to this version when persisting it in the backend (e.g., etcd).

The API server encodes the object to this version when persisting it in the backend (e.g., etcd).

If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

Inherited methods

def productElementNames: Iterator[String]
Inherited from
Product
def productIterator: Iterator[Any]
Inherited from
Product