Class HostPathVolumeSource

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

    public class HostPathVolumeSource
    extends java.lang.Object
    implements com.marcnuri.yakc.model.Model
    Represents a host path mapped into a pod. Host path volumes do not support ownership management or SELinux relabeling.
    • Constructor Detail

      • HostPathVolumeSource

        public HostPathVolumeSource​(@NonNull
                                    @NonNull java.lang.String path,
                                    java.lang.String type)
      • HostPathVolumeSource

        public HostPathVolumeSource()
    • Method Detail

      • getPath

        @NonNull
        public @NonNull java.lang.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
      • getType

        public java.lang.String getType()
        Type for HostPath Volume Defaults to "" More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath
      • setPath

        public void setPath​(@NonNull
                            @NonNull java.lang.String path)
        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
      • setType

        public void setType​(java.lang.String type)
        Type for HostPath Volume Defaults to "" More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath
      • 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