Class 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 Detail

      • StorageStateStatus

        public StorageStateStatus()
        No args constructor for use in serialization
      • StorageStateStatus

        public StorageStateStatus​(String currentStorageVersionHash,
                                  String lastHeartbeatTime,
                                  List<String> persistedStorageVersionHashes)
    • 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.
      • getAdditionalProperties

        public Map<String,​Object> getAdditionalProperties()
      • setAdditionalProperty

        public void setAdditionalProperty​(String name,
                                          Object value)
      • setAdditionalProperties

        public void setAdditionalProperties​(Map<String,​Object> additionalProperties)