All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.k8s.api.apps.v1.DaemonSetUpdateStrategy Maven / Gradle / Ivy

There is a newer version: 1.30.4
Show newest version
package io.k8s.api.apps.v1;

import java.lang.String;

/**
 * DaemonSetUpdateStrategy is a struct used to control the update strategy for a DaemonSet.
 */
public class DaemonSetUpdateStrategy {
  public RollingUpdateDaemonSet rollingUpdate;

  public String type;

  public DaemonSetUpdateStrategy rollingUpdate(RollingUpdateDaemonSet rollingUpdate) {
    this.rollingUpdate = rollingUpdate;
    return this;
  }

  /**
   * Type of daemon set update. Can be "RollingUpdate" or "OnDelete". Default is RollingUpdate.
   */
  public DaemonSetUpdateStrategy type(String type) {
    this.type = type;
    return this;
  }

  public static DaemonSetUpdateStrategy daemonSetUpdateStrategy() {
    return new DaemonSetUpdateStrategy();
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy