Class DaemonSetSpec

  • All Implemented Interfaces:
    com.marcnuri.yakc.model.Model

    public class DaemonSetSpec
    extends java.lang.Object
    implements com.marcnuri.yakc.model.Model
    DaemonSetSpec is the specification of a daemon set.
    • Constructor Detail

      • DaemonSetSpec

        public DaemonSetSpec​(java.lang.Number minReadySeconds,
                             java.lang.Number revisionHistoryLimit,
                             LabelSelector selector,
                             @NonNull
                             @NonNull PodTemplateSpec template,
                             java.lang.Number templateGeneration,
                             DaemonSetUpdateStrategy updateStrategy)
      • DaemonSetSpec

        public DaemonSetSpec()
    • Method Detail

      • getMinReadySeconds

        public java.lang.Number 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).
      • getRevisionHistoryLimit

        public java.lang.Number 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.
      • getTemplateGeneration

        public java.lang.Number getTemplateGeneration()
        DEPRECATED. A sequence number representing a specific generation of the template. Populated by the system. It can be set only during the creation.
      • setMinReadySeconds

        public void setMinReadySeconds​(java.lang.Number minReadySeconds)
        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).
      • setRevisionHistoryLimit

        public void setRevisionHistoryLimit​(java.lang.Number revisionHistoryLimit)
        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.
      • setSelector

        public void setSelector​(LabelSelector selector)
      • setTemplate

        public void setTemplate​(@NonNull
                                @NonNull PodTemplateSpec template)
      • setTemplateGeneration

        public void setTemplateGeneration​(java.lang.Number templateGeneration)
        DEPRECATED. A sequence number representing a specific generation of the template. Populated by the system. It can be set only during the creation.
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • canEqual

        protected boolean canEqual​(java.lang.Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object