Class StaticPodOperatorSpec
- java.lang.Object
-
- io.fabric8.openshift.api.model.operator.v1.StaticPodOperatorSpec
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<StaticPodOperatorSpecBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class StaticPodOperatorSpec extends Object implements io.fabric8.kubernetes.api.builder.Editable<StaticPodOperatorSpecBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
StaticPodOperatorSpec is spec for controllers that manage static pods.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description StaticPodOperatorSpec()No args constructor for use in serializationStaticPodOperatorSpec(Integer failedRevisionLimit, String forceRedeploymentReason, String logLevel, String managementState, Object observedConfig, String operatorLogLevel, Integer succeededRevisionLimit, Object unsupportedConfigOverrides)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StaticPodOperatorSpecBuilderedit()Map<String,Object>getAdditionalProperties()IntegergetFailedRevisionLimit()failedRevisionLimit is the number of failed static pod installer revisions to keep on disk and in the api -1 = unlimited, 0 or unset = 5 (default)StringgetForceRedeploymentReason()forceRedeploymentReason can be used to force the redeployment of the operand by providing a unique string.StringgetLogLevel()logLevel is an intent based logging for an overall component.StringgetManagementState()managementState indicates whether and how the operator should manage the componentObjectgetObservedConfig()StaticPodOperatorSpec is spec for controllers that manage static pods.StringgetOperatorLogLevel()operatorLogLevel is an intent based logging for the operator itself.IntegergetSucceededRevisionLimit()succeededRevisionLimit is the number of successful static pod installer revisions to keep on disk and in the api -1 = unlimited, 0 or unset = 5 (default)ObjectgetUnsupportedConfigOverrides()StaticPodOperatorSpec is spec for controllers that manage static pods.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetFailedRevisionLimit(Integer failedRevisionLimit)failedRevisionLimit is the number of failed static pod installer revisions to keep on disk and in the api -1 = unlimited, 0 or unset = 5 (default)voidsetForceRedeploymentReason(String forceRedeploymentReason)forceRedeploymentReason can be used to force the redeployment of the operand by providing a unique string.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)StaticPodOperatorSpec is spec for controllers that manage static pods.voidsetOperatorLogLevel(String operatorLogLevel)operatorLogLevel is an intent based logging for the operator itself.voidsetSucceededRevisionLimit(Integer succeededRevisionLimit)succeededRevisionLimit is the number of successful static pod installer revisions to keep on disk and in the api -1 = unlimited, 0 or unset = 5 (default)voidsetUnsupportedConfigOverrides(Object unsupportedConfigOverrides)StaticPodOperatorSpec is spec for controllers that manage static pods.StaticPodOperatorSpecBuildertoBuilder()
-
-
-
Method Detail
-
getFailedRevisionLimit
public Integer getFailedRevisionLimit()
failedRevisionLimit is the number of failed static pod installer revisions to keep on disk and in the api -1 = unlimited, 0 or unset = 5 (default)
-
setFailedRevisionLimit
public void setFailedRevisionLimit(Integer failedRevisionLimit)
failedRevisionLimit is the number of failed static pod installer revisions to keep on disk and in the api -1 = unlimited, 0 or unset = 5 (default)
-
getForceRedeploymentReason
public String getForceRedeploymentReason()
forceRedeploymentReason can be used to force the redeployment of the operand by providing a unique string. This provides a mechanism to kick a previously failed deployment and provide a reason why you think it will work this time instead of failing again on the same config.
-
setForceRedeploymentReason
public void setForceRedeploymentReason(String forceRedeploymentReason)
forceRedeploymentReason can be used to force the redeployment of the operand by providing a unique string. This provides a mechanism to kick a previously failed deployment and provide a reason why you think it will work this time instead of failing again on the same config.
-
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()
StaticPodOperatorSpec is spec for controllers that manage static pods.
-
setObservedConfig
public void setObservedConfig(Object observedConfig)
StaticPodOperatorSpec is spec for controllers that manage static pods.
-
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".
-
getSucceededRevisionLimit
public Integer getSucceededRevisionLimit()
succeededRevisionLimit is the number of successful static pod installer revisions to keep on disk and in the api -1 = unlimited, 0 or unset = 5 (default)
-
setSucceededRevisionLimit
public void setSucceededRevisionLimit(Integer succeededRevisionLimit)
succeededRevisionLimit is the number of successful static pod installer revisions to keep on disk and in the api -1 = unlimited, 0 or unset = 5 (default)
-
getUnsupportedConfigOverrides
public Object getUnsupportedConfigOverrides()
StaticPodOperatorSpec is spec for controllers that manage static pods.
-
setUnsupportedConfigOverrides
public void setUnsupportedConfigOverrides(Object unsupportedConfigOverrides)
StaticPodOperatorSpec is spec for controllers that manage static pods.
-
edit
public StaticPodOperatorSpecBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<StaticPodOperatorSpecBuilder>
-
toBuilder
public StaticPodOperatorSpecBuilder toBuilder()
-
-