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

io.k8s.api.core.v1.HostPathVolumeSource Maven / Gradle / Ivy

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

import java.lang.String;

/**
 * Represents a host path mapped into a pod. Host path volumes do not support ownership management or SELinux relabeling.
 */
public class HostPathVolumeSource {
  public String path;

  public String type;

  /**
   * path of the directory on the host. If the path is a symlink, it will follow the link to the real path. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath
   */
  public HostPathVolumeSource path(String path) {
    this.path = path;
    return this;
  }

  /**
   * type for HostPath Volume Defaults to "" More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath
   */
  public HostPathVolumeSource type(String type) {
    this.type = type;
    return this;
  }

  public static HostPathVolumeSource hostPathVolumeSource() {
    return new HostPathVolumeSource();
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy