Class StorageStateStatus
- java.lang.Object
-
- io.fabric8.openshift.api.model.storageversionmigrator.v1alpha1.StorageStateStatus
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<StorageStateStatusBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class StorageStateStatus extends Object implements io.fabric8.kubernetes.api.builder.Editable<StorageStateStatusBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
Status of the storage state.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description StorageStateStatus()No args constructor for use in serializationStorageStateStatus(String currentStorageVersionHash, String lastHeartbeatTime, List<String> persistedStorageVersionHashes)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StorageStateStatusBuilderedit()Map<String,Object>getAdditionalProperties()StringgetCurrentStorageVersionHash()The hash value of the current storage version, as shown in the discovery document served by the API server.StringgetLastHeartbeatTime()LastHeartbeatTime is the last time the storage migration triggering controller checks the storage version hash of this resource in the discovery document and updates this field.List<String>getPersistedStorageVersionHashes()The hash values of storage versions that persisted instances of spec.resource might still be encoded in.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetCurrentStorageVersionHash(String currentStorageVersionHash)The hash value of the current storage version, as shown in the discovery document served by the API server.voidsetLastHeartbeatTime(String lastHeartbeatTime)LastHeartbeatTime is the last time the storage migration triggering controller checks the storage version hash of this resource in the discovery document and updates this field.voidsetPersistedStorageVersionHashes(List<String> persistedStorageVersionHashes)The hash values of storage versions that persisted instances of spec.resource might still be encoded in.StorageStateStatusBuildertoBuilder()
-
-
-
Method Detail
-
getCurrentStorageVersionHash
public String getCurrentStorageVersionHash()
The hash value of the current storage version, as shown in the discovery document served by the API server. Storage Version is the version to which objects are converted to before persisted.
-
setCurrentStorageVersionHash
public void setCurrentStorageVersionHash(String currentStorageVersionHash)
The hash value of the current storage version, as shown in the discovery document served by the API server. Storage Version is the version to which objects are converted to before persisted.
-
getLastHeartbeatTime
public String getLastHeartbeatTime()
LastHeartbeatTime is the last time the storage migration triggering controller checks the storage version hash of this resource in the discovery document and updates this field.
-
setLastHeartbeatTime
public void setLastHeartbeatTime(String lastHeartbeatTime)
LastHeartbeatTime is the last time the storage migration triggering controller checks the storage version hash of this resource in the discovery document and updates this field.
-
getPersistedStorageVersionHashes
public List<String> getPersistedStorageVersionHashes()
The hash values of storage versions that persisted instances of spec.resource might still be encoded in. "Unknown" is a valid value in the list, and is the default value. It is not safe to upgrade or downgrade to an apiserver binary that does not support all versions listed in this field, or if "Unknown" is listed. Once the storage version migration for this resource has completed, the value of this field is refined to only contain the currentStorageVersionHash. Once the apiserver has changed the storage version, the new storage version is appended to the list.
-
setPersistedStorageVersionHashes
public void setPersistedStorageVersionHashes(List<String> persistedStorageVersionHashes)
The hash values of storage versions that persisted instances of spec.resource might still be encoded in. "Unknown" is a valid value in the list, and is the default value. It is not safe to upgrade or downgrade to an apiserver binary that does not support all versions listed in this field, or if "Unknown" is listed. Once the storage version migration for this resource has completed, the value of this field is refined to only contain the currentStorageVersionHash. Once the apiserver has changed the storage version, the new storage version is appended to the list.
-
edit
public StorageStateStatusBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<StorageStateStatusBuilder>
-
toBuilder
public StorageStateStatusBuilder toBuilder()
-
-