Package net.stickycode.kuuty.model.v18
Class IoK8sApiAppsV1DaemonSetSpec
- java.lang.Object
-
- net.stickycode.kuuty.model.v18.IoK8sApiAppsV1DaemonSetSpec
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2020-11-26T11:01:11.402583+13:00[Pacific/Auckland]") public class IoK8sApiAppsV1DaemonSetSpec extends Object
DaemonSetSpec is the specification of a daemon set.
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_MIN_READY_SECONDSstatic StringJSON_PROPERTY_REVISION_HISTORY_LIMITstatic StringJSON_PROPERTY_SELECTORstatic StringJSON_PROPERTY_TEMPLATEstatic StringJSON_PROPERTY_UPDATE_STRATEGY
-
Constructor Summary
Constructors Constructor Description IoK8sApiAppsV1DaemonSetSpec()
-
Method Summary
-
-
-
Field Detail
-
JSON_PROPERTY_MIN_READY_SECONDS
public static final String JSON_PROPERTY_MIN_READY_SECONDS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_REVISION_HISTORY_LIMIT
public static final String JSON_PROPERTY_REVISION_HISTORY_LIMIT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SELECTOR
public static final String JSON_PROPERTY_SELECTOR
- See Also:
- Constant Field Values
-
JSON_PROPERTY_TEMPLATE
public static final String JSON_PROPERTY_TEMPLATE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_UPDATE_STRATEGY
public static final String JSON_PROPERTY_UPDATE_STRATEGY
- See Also:
- Constant Field Values
-
-
Method Detail
-
minReadySeconds
public IoK8sApiAppsV1DaemonSetSpec minReadySeconds(Integer minReadySeconds)
-
getMinReadySeconds
@Nullable public Integer getMinReadySeconds()
The minimum number of seconds for which a newly created DaemonSet pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready).- Returns:
- minReadySeconds
-
setMinReadySeconds
public void setMinReadySeconds(Integer minReadySeconds)
-
revisionHistoryLimit
public IoK8sApiAppsV1DaemonSetSpec revisionHistoryLimit(Integer revisionHistoryLimit)
-
getRevisionHistoryLimit
@Nullable public Integer getRevisionHistoryLimit()
The number of old history to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10.- Returns:
- revisionHistoryLimit
-
setRevisionHistoryLimit
public void setRevisionHistoryLimit(Integer revisionHistoryLimit)
-
selector
public IoK8sApiAppsV1DaemonSetSpec selector(IoK8sApimachineryPkgApisMetaV1LabelSelector selector)
-
getSelector
public IoK8sApimachineryPkgApisMetaV1LabelSelector getSelector()
Get selector- Returns:
- selector
-
setSelector
public void setSelector(IoK8sApimachineryPkgApisMetaV1LabelSelector selector)
-
template
public IoK8sApiAppsV1DaemonSetSpec template(IoK8sApiCoreV1PodTemplateSpec template)
-
getTemplate
public IoK8sApiCoreV1PodTemplateSpec getTemplate()
Get template- Returns:
- template
-
setTemplate
public void setTemplate(IoK8sApiCoreV1PodTemplateSpec template)
-
updateStrategy
public IoK8sApiAppsV1DaemonSetSpec updateStrategy(IoK8sApiAppsV1DaemonSetUpdateStrategy updateStrategy)
-
getUpdateStrategy
@Nullable public IoK8sApiAppsV1DaemonSetUpdateStrategy getUpdateStrategy()
Get updateStrategy- Returns:
- updateStrategy
-
setUpdateStrategy
public void setUpdateStrategy(IoK8sApiAppsV1DaemonSetUpdateStrategy updateStrategy)
-
-