Class V1HostPathVolumeSource

java.lang.Object
io.kubernetes.client.openapi.models.V1HostPathVolumeSource

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2022-12-05T08:14:34.919Z[Etc/UTC]") public class V1HostPathVolumeSource extends Object
Represents a host path mapped into a pod. Host path volumes do not support ownership management or SELinux relabeling.
  • Field Details

  • Constructor Details

    • V1HostPathVolumeSource

      public V1HostPathVolumeSource()
  • Method Details

    • path

      public V1HostPathVolumeSource path(String path)
    • getPath

      public String getPath()
      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
      Returns:
      path
    • setPath

      public void setPath(String path)
    • type

      public V1HostPathVolumeSource type(String type)
    • getType

      @Nullable public String getType()
      type for HostPath Volume Defaults to \"\" More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath
      Returns:
      type
    • setType

      public void setType(String type)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

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

      public String toString()
      Overrides:
      toString in class Object