Class StorageSpec

  • All Implemented Interfaces:
    io.fabric8.kubernetes.api.builder.Editable<StorageSpecBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource, Serializable

    @Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator")
    public class StorageSpec
    extends Object
    implements io.fabric8.kubernetes.api.builder.Editable<StorageSpecBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
    StorageSpec is the specification of the desired behavior of the cluster storage operator.
    See Also:
    Serialized Form
    • Constructor Detail

      • StorageSpec

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

        public StorageSpec​(String logLevel,
                           String managementState,
                           Object observedConfig,
                           String operatorLogLevel,
                           Object unsupportedConfigOverrides,
                           String vsphereStorageDriver)
    • Method Detail

      • getLogLevel

        public String getLogLevel()
        logLevel is an intent based logging for an overall component. It does not give fine grained control, but it is a simple way to manage coarse grained logging choices that operators have to interpret for their operands.


        Valid values are: "Normal", "Debug", "Trace", "TraceAll". Defaults to "Normal".

      • setLogLevel

        public void setLogLevel​(String logLevel)
        logLevel is an intent based logging for an overall component. It does not give fine grained control, but it is a simple way to manage coarse grained logging choices that operators have to interpret for their operands.


        Valid values are: "Normal", "Debug", "Trace", "TraceAll". Defaults to "Normal".

      • getManagementState

        public String getManagementState()
        managementState indicates whether and how the operator should manage the component
      • setManagementState

        public void setManagementState​(String managementState)
        managementState indicates whether and how the operator should manage the component
      • getObservedConfig

        public Object getObservedConfig()
        StorageSpec is the specification of the desired behavior of the cluster storage operator.
      • setObservedConfig

        public void setObservedConfig​(Object observedConfig)
        StorageSpec is the specification of the desired behavior of the cluster storage operator.
      • getOperatorLogLevel

        public String getOperatorLogLevel()
        operatorLogLevel is an intent based logging for the operator itself. It does not give fine grained control, but it is a simple way to manage coarse grained logging choices that operators have to interpret for themselves.


        Valid values are: "Normal", "Debug", "Trace", "TraceAll". Defaults to "Normal".

      • setOperatorLogLevel

        public void setOperatorLogLevel​(String operatorLogLevel)
        operatorLogLevel is an intent based logging for the operator itself. It does not give fine grained control, but it is a simple way to manage coarse grained logging choices that operators have to interpret for themselves.


        Valid values are: "Normal", "Debug", "Trace", "TraceAll". Defaults to "Normal".

      • getUnsupportedConfigOverrides

        public Object getUnsupportedConfigOverrides()
        StorageSpec is the specification of the desired behavior of the cluster storage operator.
      • setUnsupportedConfigOverrides

        public void setUnsupportedConfigOverrides​(Object unsupportedConfigOverrides)
        StorageSpec is the specification of the desired behavior of the cluster storage operator.
      • getVsphereStorageDriver

        public String getVsphereStorageDriver()
        vsphereStorageDriver indicates the storage driver to use on VSphere clusters. Once this field is set to CSIWithMigrationDriver, it can not be changed. If this is empty, the platform will choose a good default, which may change over time without notice. The current default is CSIWithMigrationDriver and may not be changed. DEPRECATED: This field will be removed in a future release.
      • setVsphereStorageDriver

        public void setVsphereStorageDriver​(String vsphereStorageDriver)
        vsphereStorageDriver indicates the storage driver to use on VSphere clusters. Once this field is set to CSIWithMigrationDriver, it can not be changed. If this is empty, the platform will choose a good default, which may change over time without notice. The current default is CSIWithMigrationDriver and may not be changed. DEPRECATED: This field will be removed in a future release.
      • getAdditionalProperties

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

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

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