Interface Tmpfs.Builder

    • Method Detail

      • containerPath

        Tmpfs.Builder containerPath​(String containerPath)

        The absolute file path in the container where the tmpfs volume is mounted.

        Parameters:
        containerPath - The absolute file path in the container where the tmpfs volume is mounted.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • size

        Tmpfs.Builder size​(Integer size)

        The size (in MiB) of the tmpfs volume.

        Parameters:
        size - The size (in MiB) of the tmpfs volume.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • mountOptions

        Tmpfs.Builder mountOptions​(Collection<String> mountOptions)

        The list of tmpfs volume mount options.

        Valid values: "defaults" | "ro" | "rw" | "suid" | " nosuid" | "dev" | "nodev" | "exec" | "noexec " | "sync" | "async" | "dirsync" | "remount" | " mand" | "nomand" | "atime" | "noatime" | " diratime" | "nodiratime" | "bind" | " rbind" | "unbindable" | "runbindable" | "private" | "rprivate" | "shared" | "rshared" | "slave" | "rslave" | "relatime " | "norelatime" | "strictatime" | "nostrictatime" | " mode" | "uid" | "gid" | "nr_inodes" | " nr_blocks" | "mpol"

        Parameters:
        mountOptions - The list of tmpfs volume mount options.

        Valid values: "defaults" | "ro" | "rw" | "suid " | "nosuid" | "dev" | "nodev" | "exec" | " noexec" | "sync" | "async" | "dirsync" | " remount" | "mand" | "nomand" | "atime" | " noatime" | "diratime" | "nodiratime" | "bind" | " rbind" | "unbindable" | "runbindable" | "private" | "rprivate" | "shared" | "rshared" | "slave" | "rslave" | "relatime " | "norelatime" | "strictatime" | "nostrictatime" | " mode" | "uid" | "gid" | "nr_inodes" | " nr_blocks" | "mpol"

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • mountOptions

        Tmpfs.Builder mountOptions​(String... mountOptions)

        The list of tmpfs volume mount options.

        Valid values: "defaults" | "ro" | "rw" | "suid" | " nosuid" | "dev" | "nodev" | "exec" | "noexec " | "sync" | "async" | "dirsync" | "remount" | " mand" | "nomand" | "atime" | "noatime" | " diratime" | "nodiratime" | "bind" | " rbind" | "unbindable" | "runbindable" | "private" | "rprivate" | "shared" | "rshared" | "slave" | "rslave" | "relatime " | "norelatime" | "strictatime" | "nostrictatime" | " mode" | "uid" | "gid" | "nr_inodes" | " nr_blocks" | "mpol"

        Parameters:
        mountOptions - The list of tmpfs volume mount options.

        Valid values: "defaults" | "ro" | "rw" | "suid " | "nosuid" | "dev" | "nodev" | "exec" | " noexec" | "sync" | "async" | "dirsync" | " remount" | "mand" | "nomand" | "atime" | " noatime" | "diratime" | "nodiratime" | "bind" | " rbind" | "unbindable" | "runbindable" | "private" | "rprivate" | "shared" | "rshared" | "slave" | "rslave" | "relatime " | "norelatime" | "strictatime" | "nostrictatime" | " mode" | "uid" | "gid" | "nr_inodes" | " nr_blocks" | "mpol"

        Returns:
        Returns a reference to this object so that method calls can be chained together.