com.coralogix.zio.k8s.model.apiserverinternal.v1alpha1
ServerStorageVersion
Companion object ServerStorageVersion
case class ServerStorageVersion(apiServerID: Optional[String] = Optional.Absent, decodableVersions: Optional[Vector[String]] = Optional.Absent, encodingVersion: Optional[String] = Optional.Absent) extends Product with Serializable
An API server instance reports the version it can decode and the version it encodes objects to when persisting objects in the backend.
- 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).
- Alphabetic
- By Inheritance
- ServerStorageVersion
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
ServerStorageVersion(apiServerID: Optional[String] = Optional.Absent, decodableVersions: Optional[Vector[String]] = Optional.Absent, encodingVersion: Optional[String] = Optional.Absent)
- 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).
Value Members
- val apiServerID: Optional[String]
- val decodableVersions: Optional[Vector[String]]
- val encodingVersion: Optional[String]
-
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 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.