Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 241 for director (0.14 sec)

  1. internal/handlers/forwarder.go

    func (f *Forwarder) ServeHTTP(w http.ResponseWriter, inReq *http.Request) {
    	outReq := new(http.Request)
    	*outReq = *inReq // includes shallow copies of maps, but we handle this in Director
    
    	revproxy := httputil.ReverseProxy{
    		Director: func(req *http.Request) {
    			f.modifyRequest(req, inReq.URL)
    		},
    		BufferPool:    newBufPool(128 << 10),
    		Transport:     f.RoundTripper,
    		FlushInterval: defaultFlushInterval,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 07 05:42:10 GMT 2023
    - 5.6K bytes
    - Viewed (0)
  2. internal/disk/directio_unix.go

    	"os"
    	"syscall"
    
    	"github.com/ncw/directio"
    	"golang.org/x/sys/unix"
    )
    
    // ODirectPlatform indicates if the platform supports O_DIRECT
    const ODirectPlatform = true
    
    // OpenFileDirectIO - bypass kernel cache.
    func OpenFileDirectIO(filePath string, flag int, perm os.FileMode) (*os.File, error) {
    	return directio.OpenFile(filePath, flag, perm)
    }
    
    // DisableDirectIO - disables directio mode.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Jun 17 14:31:36 GMT 2023
    - 1.6K bytes
    - Viewed (0)
  3. cmd/object-api-deleteobject_test.go

    		},
    		// Test 2: remove an object inside a directory and checks it is deleted
    		// with its parent since this former becomes empty
    		{
    			"bucket2",
    			[]objectUpload{{"object0", "content"}, {"dir/object1", "content"}},
    			"dir/object1",
    			[]string{"object0"},
    		},
    		// Test 3: remove an object inside a directory and checks if it is deleted
    		// but other sibling object in the same directory still exists
    		{
    			"bucket3",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Dec 23 15:46:00 GMT 2022
    - 3.9K bytes
    - Viewed (0)
  4. docs/docker/README.md

      quay.io/minio/minio server /data --console-address ":9001"
    ```
    
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Sep 29 04:28:45 GMT 2022
    - 8.2K bytes
    - Viewed (0)
  5. buildscripts/heal-inconsistent-versions.sh

    MINIO_CONFIG_DIR="$WORK_DIR/.minio"
    MINIO=("$PWD/minio" --config-dir "$MINIO_CONFIG_DIR" server)
    
    if [ ! -x "$PWD/minio" ]; then
    	echo "minio executable binary not found in current directory"
    	exit 1
    fi
    
    if [ ! -x "$PWD/minio" ]; then
    	echo "minio executable binary not found in current directory"
    	exit 1
    fi
    
    function start_minio_4drive() {
    	start_port=$1
    
    	export MINIO_ROOT_USER=minio
    	export MINIO_ROOT_PASSWORD=minio123
    Shell Script
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 26 05:07:25 GMT 2023
    - 1.9K bytes
    - Viewed (0)
  6. internal/mountinfo/mountinfo_linux.go

    	// Number of fields per line in /proc/mounts as per the fstab man page.
    	expectedNumFieldsPerLine = 6
    	// Location of the mount file to use
    	procMountsPath = "/proc/mounts"
    )
    
    // IsLikelyMountPoint determines if a directory is a mountpoint.
    func IsLikelyMountPoint(path string) bool {
    	s1, err := os.Lstat(path)
    	if err != nil {
    		return false
    	}
    
    	// A symlink can never be a mount point
    	if s1.Mode()&os.ModeSymlink != 0 {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Jan 02 17:15:06 GMT 2022
    - 4.7K bytes
    - Viewed (0)
  7. docs/config/README.md

    ### Certificate Directory
    
    TLS certificates by default are expected to be stored under ``${HOME}/.minio/certs`` directory. You need to place certificates here to enable `HTTPS` based access. Read more about [How to secure access to MinIO server with TLS](https://min.io/docs/minio/linux/operations/network-encryption.html).
    
    Following is a sample directory structure for MinIO server with TLS certificates.
    
    ```sh
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 11 21:48:54 GMT 2023
    - 17.7K bytes
    - Viewed (0)
  8. internal/mountinfo/mountinfo_others.go

    // CheckCrossDevice - check if any input path has multiple sub-mounts.
    // this is a dummy function and returns nil for now.
    func CheckCrossDevice(paths []string) error {
    	return nil
    }
    
    // IsLikelyMountPoint determines if a directory is a mountpoint.
    func IsLikelyMountPoint(file string) bool {
    	return false
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Aug 19 01:35:22 GMT 2021
    - 1.1K bytes
    - Viewed (0)
  9. cmd/storage-errors.go

    // errUnsupporteDisk - when disk does not support O_DIRECT flag.
    var errUnsupportedDisk = StorageErr("drive does not support O_DIRECT")
    
    // errDiskFull - cannot create volume or files when disk is full.
    var errDiskFull = StorageErr("drive path full")
    
    // errDiskNotDir - cannot use storage disk if its not a directory
    var errDiskNotDir = StorageErr("drive is not directory or mountpoint")
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 6.4K bytes
    - Viewed (0)
  10. cmd/is-dir-empty_linux.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"syscall"
    )
    
    // Returns true if no error and there is no object or prefix inside this directory
    func isDirEmpty(dirname string, legacy bool) bool {
    	if legacy {
    		// On filesystems such as btrfs, nfs this is not true, so fallback
    		// to performing readdir() instead.
    		entries, err := readDirN(dirname, 1)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 05 15:17:08 GMT 2024
    - 1.4K bytes
    - Viewed (0)
Back to top