Class OperatorSpec
- java.lang.Object
-
- io.fabric8.openshift.api.model.operator.v1.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 operators need. It is intended to be anonymous included inside of the Spec struct for your particular operator.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description OperatorSpec()No args constructor for use in serializationOperatorSpec(String logLevel, String managementState, Object observedConfig, String operatorLogLevel, Object unsupportedConfigOverrides)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OperatorSpecBuilderedit()Map<String,Object>getAdditionalProperties()StringgetLogLevel()logLevel is an intent based logging for an overall component.StringgetManagementState()managementState indicates whether and how the operator should manage the componentObjectgetObservedConfig()OperatorSpec contains common fields operators need.StringgetOperatorLogLevel()operatorLogLevel is an intent based logging for the operator itself.ObjectgetUnsupportedConfigOverrides()OperatorSpec contains common fields operators need.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetLogLevel(String logLevel)logLevel is an intent based logging for an overall component.voidsetManagementState(String managementState)managementState indicates whether and how the operator should manage the componentvoidsetObservedConfig(Object observedConfig)OperatorSpec contains common fields operators need.voidsetOperatorLogLevel(String operatorLogLevel)operatorLogLevel is an intent based logging for the operator itself.voidsetUnsupportedConfigOverrides(Object unsupportedConfigOverrides)OperatorSpec contains common fields operators need.OperatorSpecBuildertoBuilder()
-
-
-
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()
OperatorSpec contains common fields operators need. It is intended to be anonymous included inside of the Spec struct for your particular operator.
-
setObservedConfig
public void setObservedConfig(Object observedConfig)
OperatorSpec contains common fields operators need. It is intended to be anonymous included inside of the Spec struct for your particular 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()
OperatorSpec contains common fields operators need. It is intended to be anonymous included inside of the Spec struct for your particular operator.
-
setUnsupportedConfigOverrides
public void setUnsupportedConfigOverrides(Object unsupportedConfigOverrides)
OperatorSpec contains common fields operators need. It is intended to be anonymous included inside of the Spec struct for your particular operator.
-
edit
public OperatorSpecBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<OperatorSpecBuilder>
-
toBuilder
public OperatorSpecBuilder toBuilder()
-
-