Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for Fatalln (0.06 sec)

  1. docs/debugging/s3-check-md5/main.go

    	flag.Parse()
    
    	if endpoint == "" {
    		log.Fatalln("Endpoint is not provided")
    	}
    
    	if accessKey == "" {
    		log.Fatalln("Access key is not provided")
    	}
    
    	if secretKey == "" {
    		log.Fatalln("Secret key is not provided")
    	}
    
    	if bucket == "" && prefix != "" {
    		log.Fatalln("--prefix is specified without --bucket.")
    	}
    
    	var minModTime time.Time
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Feb 17 01:15:57 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  2. buildscripts/heal-manual.go

    	}
    
    	start, _, err := madmClnt.Heal(context.Background(), "healing-rewrite-bucket", "", opts, "", false, false)
    	if err != nil {
    		log.Fatalln(err)
    	}
    	fmt.Println("Healstart sequence ===")
    	enc := json.NewEncoder(os.Stdout)
    	if err = enc.Encode(&start); err != nil {
    		log.Fatalln(err)
    	}
    
    	fmt.Println()
    	for {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Feb 27 09:47:58 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  3. docs/debugging/xattr/main.go

    	if set {
    		if err := setxattr(path, name, value); err != nil {
    			log.Fatalln(fmt.Errorf("setting attribute %s failed with: %v", name, err))
    		}
    	} else {
    		if name == "" {
    			log.Fatalln("you must specify an attribute name for reading")
    		}
    		var names []string
    		if name == "." {
    			attrs, err := listxattr(path)
    			if err != nil {
    				log.Fatalln(fmt.Errorf("listing attributes failed with: %v", err))
    			}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Dec 29 23:52:41 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  4. docs/erasure/storage-class/README.md

    ```go
    s3Client, err := minio.New("localhost:9000", "YOUR-ACCESSKEYID", "YOUR-SECRETACCESSKEY", true)
    if err != nil {
     log.Fatalln(err)
    }
    
    object, err := os.Open("my-testfile")
    if err != nil {
     log.Fatalln(err)
    }
    defer object.Close()
    objectStat, err := object.Stat()
    if err != nil {
     log.Fatalln(err)
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 15 23:04:20 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  5. docs/sts/assume-role.go

    	// New returns an MinIO Admin client object.
    	madmClnt, err := madmin.NewWithOptions(stsEndpointURL.Host, mopts)
    	if err != nil {
    		log.Fatalln(err)
    	}
    
    	err = madmClnt.ServiceRestart(context.Background())
    	if err != nil {
    		log.Fatalln(err)
    	}
    
    	// Use generated credentials to authenticate with MinIO server
    	minioClient, err := minio.New(stsEndpointURL.Host, opts)
    	if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Aug 17 01:24:54 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  6. cmd/fmt-gen.go

    	deploymentID := ctxt.String("deployment-id")
    	err := buildServerCtxt(ctxt, &globalServerCtxt)
    	if err != nil {
    		log.Fatalln(err)
    	}
    	handleCommonArgs(globalServerCtxt)
    	pools, _, err := createServerEndpoints(globalMinioAddr, globalServerCtxt.Layout.pools, globalServerCtxt.Layout.legacy)
    	if err != nil {
    		log.Fatalln(err)
    	}
    
    	zipFile, err := os.Create("format.json.zip")
    	if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 13 22:22:04 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  7. docs/lambda/README.md

    )
    
    func main() {
    	s3Client, err := minio.New("localhost:9000", &minio.Options{
    		Creds:  credentials.NewStaticV4("minioadmin", "minioadmin", ""),
    		Secure: false,
    	})
    	if err != nil {
    		log.Fatalln(err)
    	}
    
    	// Set lambda function target via `lambdaArn`
    	reqParams := make(url.Values)
    	reqParams.Set("lambdaArn", "arn:minio:s3-object-lambda::function:webhook")
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Apr 04 19:15:28 UTC 2023
    - 7.6K bytes
    - Viewed (0)
  8. cmd/object-handlers_test.go

    				int64(testCase.dataLen), testCase.chunkSize, bytes.NewReader(testCase.data),
    				testCase.accessKey, testCase.secretKey)
    		case testCase.contentEncoding == "":
    			req, err = newTestStreamingSignedRequest(http.MethodPut,
    				getPutObjectURL("", testCase.bucketName, testCase.objectName),
    				int64(testCase.dataLen), testCase.chunkSize, bytes.NewReader(testCase.data),
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 20:10:44 UTC 2024
    - 163.2K bytes
    - Viewed (0)
  9. cmd/test-utils_test.go

    }
    
    // calculateSignedChunkLength - calculates the length of the overall stream (data + metadata)
    func calculateStreamContentLength(dataLen, chunkSize int64) int64 {
    	if dataLen <= 0 {
    		return 0
    	}
    	chunksCount := dataLen / chunkSize
    	remainingBytes := dataLen % chunkSize
    	var streamLen int64
    	streamLen += chunksCount * calculateSignedChunkLength(chunkSize)
    	if remainingBytes > 0 {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 01 22:13:18 UTC 2024
    - 77K bytes
    - Viewed (0)
  10. api/go1.14.txt

    pkg syscall (freebsd-arm64), method (*Msghdr) SetControllen(int)
    pkg syscall (freebsd-arm64), type BpfHdr struct
    pkg syscall (freebsd-arm64), type BpfHdr struct, Caplen uint32
    pkg syscall (freebsd-arm64), type BpfHdr struct, Datalen uint32
    pkg syscall (freebsd-arm64), type BpfHdr struct, Hdrlen uint16
    pkg syscall (freebsd-arm64), type BpfHdr struct, Pad_cgo_0 [6]uint8
    pkg syscall (freebsd-arm64), type BpfHdr struct, Tstamp Timeval
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Feb 17 20:31:46 UTC 2023
    - 508.9K bytes
    - Viewed (0)
Back to top