com.coralogix.zio.k8s.model.apiserverinternal.v1alpha1
StorageVersionStatus
Companion object StorageVersionStatus
case class StorageVersionStatus(commonEncodingVersion: Optional[String] = Optional.Absent, conditions: Optional[Vector[StorageVersionCondition]] = Optional.Absent, storageVersions: Optional[Vector[ServerStorageVersion]] = Optional.Absent) extends Product with Serializable
API server instances report the versions they can decode and the version they encode objects to when persisting objects in the backend.
- commonEncodingVersion
If all API server instances agree on the same encoding storage version, then this field is set to that version. Otherwise this field is left empty. API servers should finish updating its storageVersionStatus entry before serving write operations, so that this field will be in sync with the reality.
- conditions
The latest available observations of the storageVersion's state.
- storageVersions
The reported versions per API server instance.
- Alphabetic
- By Inheritance
- StorageVersionStatus
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
StorageVersionStatus(commonEncodingVersion: Optional[String] = Optional.Absent, conditions: Optional[Vector[StorageVersionCondition]] = Optional.Absent, storageVersions: Optional[Vector[ServerStorageVersion]] = Optional.Absent)
- commonEncodingVersion
If all API server instances agree on the same encoding storage version, then this field is set to that version. Otherwise this field is left empty. API servers should finish updating its storageVersionStatus entry before serving write operations, so that this field will be in sync with the reality.
- conditions
The latest available observations of the storageVersion's state.
- storageVersions
The reported versions per API server instance.
Value Members
- val commonEncodingVersion: Optional[String]
- val conditions: Optional[Vector[StorageVersionCondition]]
-
def
getCommonEncodingVersion: IO[K8sFailure, String]
If all API server instances agree on the same encoding storage version, then this field is set to that version.
If all API server instances agree on the same encoding storage version, then this field is set to that version. Otherwise this field is left empty. API servers should finish updating its storageVersionStatus entry before serving write operations, so that this field will be in sync with the reality.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getConditions: IO[K8sFailure, Vector[StorageVersionCondition]]
The latest available observations of the storageVersion's state.
The latest available observations of the storageVersion's state.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getStorageVersions: IO[K8sFailure, Vector[ServerStorageVersion]]
The reported versions per API server instance.
The reported versions per API server instance.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
- val storageVersions: Optional[Vector[ServerStorageVersion]]