Class OperatorSpec

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

    @Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator")
    public class OperatorSpec
    extends Object
    implements io.fabric8.kubernetes.api.builder.Editable<OperatorSpecBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
    OperatorSpec contains common fields for an operator to need. It is intended to be anonymous included inside of the Spec struct for you particular operator. DEPRECATED: Use v1.OperatorSpec instead
    See Also:
    Serialized Form
    • Constructor Detail

      • OperatorSpec

        public OperatorSpec()
        No args constructor for use in serialization
    • Method Detail

      • getImagePullPolicy

        public String getImagePullPolicy()
        imagePullPolicy specifies the image pull policy. One of Always, Never, IfNotPresent. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise.
      • setImagePullPolicy

        public void setImagePullPolicy​(String imagePullPolicy)
        imagePullPolicy specifies the image pull policy. One of Always, Never, IfNotPresent. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise.
      • getImagePullSpec

        public String getImagePullSpec()
        imagePullSpec is the image to use for the component.
      • setImagePullSpec

        public void setImagePullSpec​(String imagePullSpec)
        imagePullSpec is the image to use for the component.
      • getLogging

        public LoggingConfig getLogging()
        OperatorSpec contains common fields for an operator to need. It is intended to be anonymous included inside of the Spec struct for you particular operator. DEPRECATED: Use v1.OperatorSpec instead
      • setLogging

        public void setLogging​(LoggingConfig logging)
        OperatorSpec contains common fields for an operator to need. It is intended to be anonymous included inside of the Spec struct for you particular operator. DEPRECATED: Use v1.OperatorSpec instead
      • 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
      • getVersion

        public String getVersion()
        version is the desired state in major.minor.micro-patch. Usually patch is ignored.
      • setVersion

        public void setVersion​(String version)
        version is the desired state in major.minor.micro-patch. Usually patch is ignored.
      • getAdditionalProperties

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

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

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