Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 190 for Stat (0.12 sec)

  1. internal/kms/kes.go

    	_ KeyManager      = (*kesClient)(nil)
    	_ IdentityManager = (*kesClient)(nil)
    	_ PolicyManager   = (*kesClient)(nil)
    )
    
    // Stat returns the current KES status containing a
    // list of KES endpoints and the default key ID.
    func (c *kesClient) Stat(ctx context.Context) (Status, error) {
    	c.lock.RLock()
    	defer c.lock.RUnlock()
    
    	st, err := c.client.Status(ctx)
    	if err != nil {
    		return Status{}, err
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 16 15:43:39 GMT 2024
    - 14.9K bytes
    - Viewed (0)
  2. istioctl/pkg/validate/validate.go

    		})
    		return err
    	}
    
    	processedFiles := map[string]bool{}
    	for _, filename := range filenames {
    		var isDir bool
    		if filename != "-" {
    			fi, err := os.Stat(filename)
    			if err != nil {
    				errs = multierror.Append(errs, fmt.Errorf("cannot stat file %q: %v", filename, err))
    				continue
    			}
    			isDir = fi.IsDir()
    		}
    
    		if !isDir {
    			processFile(filename)
    			processedFiles[filename] = true
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Jan 22 17:58:52 GMT 2024
    - 15K bytes
    - Viewed (0)
  3. docs/metrics/prometheus/grafana/minio-dashboard.json

              "legendFormat": "{{instance}}",
              "metric": "process_start_time_seconds",
              "refId": "A",
              "step": 60
            }
          ],
          "title": "Uptime",
          "type": "stat"
        },
        {
          "datasource": {
            "type": "prometheus",
            "uid": "${DS_PROMETHEUS}"
          },
          "description": "",
          "fieldConfig": {
            "defaults": {
    Json
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 15 10:03:01 GMT 2024
    - 93K bytes
    - Viewed (2)
  4. docs/debugging/inspect/main.go

    	case strings.HasSuffix(inputFileName, ".zip"):
    		outputFileName = strings.TrimSuffix(inputFileName, ".zip") + ".decrypted.zip"
    	}
    
    	// Backup any already existing output file
    	_, err := os.Stat(outputFileName)
    	if err == nil {
    		err := os.Rename(outputFileName, outputFileName+"."+time.Now().Format("20060102150405"))
    		if err != nil {
    			fatalErr(err)
    		}
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 11 21:22:47 GMT 2024
    - 4.8K bytes
    - Viewed (0)
  5. cmd/erasure-healing_test.go

    		t.Fatal(err)
    	}
    	// This would create the bucket.
    	_, err = obj.HealBucket(ctx, bucket, madmin.HealOpts{
    		DryRun: false,
    		Remove: false,
    	})
    	if err != nil {
    		t.Fatal(err)
    	}
    	// Stat the bucket to make sure that it was created.
    	_, err = er.getDisks()[0].StatVol(context.Background(), bucket)
    	if err != nil {
    		t.Fatal(err)
    	}
    }
    
    // Tests both object and bucket healing.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Mar 27 15:10:40 GMT 2024
    - 47.6K bytes
    - Viewed (0)
  6. cmd/metacache.go

    	filter       string     `msg:"flt"`
    	id           string     `msg:"id"`
    	error        string     `msg:"err"`
    	root         string     `msg:"root"`
    	fileNotFound bool       `msg:"fnf"`
    	status       scanStatus `msg:"stat"`
    	recursive    bool       `msg:"rec"`
    	dataVersion  uint8      `msg:"v"`
    }
    
    func (m *metacache) finished() bool {
    	return !m.ended.IsZero()
    }
    
    // worthKeeping indicates if the cache by itself is worth keeping.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 5K bytes
    - Viewed (0)
  7. src/cmd/cgo/internal/swig/swig_test.go

    	output, err := exec.Command(swig, "-go", "-swiglib").Output()
    	if err != nil {
    		t.Skip("swig is missing Go support")
    	}
    	swigDir := strings.TrimSpace(string(output))
    
    	_, err = os.Stat(filepath.Join(swigDir, "go"))
    	if err != nil {
    		t.Skip("swig is missing Go support")
    	}
    
    	// Check that swig has a new enough version.
    	// See https://golang.org/issue/22858.
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri May 12 12:00:07 GMT 2023
    - 3.7K bytes
    - Viewed (0)
  8. docs/erasure/storage-class/README.md

    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)
    }
    
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Aug 15 23:04:20 GMT 2023
    - 5.8K bytes
    - Viewed (1)
  9. internal/kms/single-key.go

    const ( // algorithms used to derive and encrypt DEKs
    	algorithmAESGCM           = "AES-256-GCM-HMAC-SHA-256"
    	algorithmChaCha20Poly1305 = "ChaCha20Poly1305"
    )
    
    func (kms secretKey) Stat(context.Context) (Status, error) {
    	return Status{
    		Name:       "SecretKey",
    		DefaultKey: kms.keyID,
    	}, nil
    }
    
    // IsLocal returns true if the KMS is a local implementation
    func (kms secretKey) IsLocal() bool {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Mar 01 21:09:42 GMT 2024
    - 7.9K bytes
    - Viewed (0)
  10. docs/debugging/inspect/export.go

    		return buf.Bytes(), nil
    	}
    
    	fmt.Println("{")
    
    	hasWritten := false
    	var r io.Reader
    	var sz int64
    	f, e := os.Open(downloadPath)
    	if e != nil {
    		return e
    	}
    	if st, e := f.Stat(); e == nil {
    		sz = st.Size()
    	}
    	defer f.Close()
    	r = f
    
    	zr, e := zip.NewReader(r.(io.ReaderAt), sz)
    	if e != nil {
    		return e
    	}
    	for _, file := range zr.File {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Nov 08 15:58:02 GMT 2022
    - 9.1K bytes
    - Viewed (0)
Back to top