Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for Blog (0.13 sec)

  1. cmd/peer-rest-server.go

    		mask = int(madmin.LogMaskAll)
    	}
    	ch := make(chan log.Info, 1000)
    	err = globalConsoleSys.Subscribe(ch, ctx.Done(), "", 0, madmin.LogMask(mask), nil)
    	if err != nil {
    		return grid.NewRemoteErr(err)
    	}
    	var buf bytes.Buffer
    	enc := json.NewEncoder(&buf)
    	for {
    		select {
    		case entry, ok := <-ch:
    			if !ok {
    				return grid.NewRemoteErrString("console log channel closed")
    			}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 51.8K bytes
    - Viewed (0)
  2. cmd/xl-storage.go

    				return nil, errDiskAccessDenied
    			}
    			storageLogOnceIf(GlobalContext, err, "check-format-json") // log unexpected errors
    			return nil, errCorruptedBackend
    		} else if osIsPermission(err) {
    			return nil, errDiskAccessDenied
    		}
    		storageLogOnceIf(GlobalContext, err, "check-format-json") // log unexpected errors
    		return nil, errCorruptedBackend
    	}
    	return fi, nil
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 84.7K bytes
    - Viewed (0)
  3. cmd/object-api-listobjects_test.go

    		testCase := testCase
    		t.Run(fmt.Sprintf("%s-Test%d", instanceType, i+1), func(t *testing.T) {
    			var err error
    			var resultL ListObjectsInfo
    			var resultV ListObjectVersionsInfo
    			if testCase.versioned {
    				t.Log("ListObjectVersions, bucket:", testCase.bucketName, "prefix:",
    					testCase.prefix, "marker:", testCase.marker, "delimiter:",
    					testCase.delimiter, "maxkeys:", testCase.maxKeys)
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 11:07:40 GMT 2024
    - 73.1K bytes
    - Viewed (0)
  4. cmd/iam.go

    	if isWatcher {
    		go func() {
    			ch := watcher.watch(ctx, iamConfigPrefix)
    			for event := range ch {
    				if err := sys.loadWatchedEvent(ctx, event); err != nil {
    					// we simply log errors
    					iamLogIf(ctx, fmt.Errorf("Failure in loading watch event: %v", err), logger.WarningKind)
    				}
    			}
    		}()
    	}
    
    	r := rand.New(rand.NewSource(time.Now().UnixNano()))
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 21:28:16 GMT 2024
    - 71.1K bytes
    - Viewed (1)
  5. cmd/api-errors.go

    	},
    
    	// Generic Invalid-Request error. Should be used for response errors only for unlikely
    	// corner case errors for which introducing new APIErrorCode is not worth it. LogIf()
    	// should be used to log the error at the source of the error for debugging purposes.
    	ErrInvalidRequest: {
    		Code:           "InvalidRequest",
    		Description:    "Invalid Request",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 91.4K bytes
    - Viewed (7)
  6. istioctl/pkg/describe/describe.go

    	configKube "istio.io/istio/pkg/config/kube"
    	"istio.io/istio/pkg/config/mesh"
    	"istio.io/istio/pkg/kube"
    	"istio.io/istio/pkg/kube/inject"
    	"istio.io/istio/pkg/kube/labels"
    	"istio.io/istio/pkg/log"
    	"istio.io/istio/pkg/maps"
    	"istio.io/istio/pkg/slices"
    	"istio.io/istio/pkg/url"
    	"istio.io/istio/pkg/util/sets"
    	"istio.io/istio/pkg/wellknown"
    )
    
    type myProtoValue struct {
    	*structpb.Value
    }
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 50.4K bytes
    - Viewed (0)
  7. cmd/storage-datatypes_gen_test.go

    			b.Fatal(err)
    		}
    	}
    }
    
    func TestEncodeDecodeBaseOptions(t *testing.T) {
    	v := BaseOptions{}
    	var buf bytes.Buffer
    	msgp.Encode(&buf, &v)
    
    	m := v.Msgsize()
    	if buf.Len() > m {
    		t.Log("WARNING: TestEncodeDecodeBaseOptions Msgsize() is inaccurate")
    	}
    
    	vn := BaseOptions{}
    	err := msgp.Decode(&buf, &vn)
    	if err != nil {
    		t.Error(err)
    	}
    
    	buf.Reset()
    	msgp.Encode(&buf, &v)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 01 23:42:09 GMT 2024
    - 60.4K bytes
    - Viewed (0)
  8. src/archive/zip/reader_test.go

    //		if err != nil {
    //			log.Fatal(err)
    //		}
    //		if _, err = io.Copy(wf, r); err != nil {
    //			log.Fatal(err)
    //		}
    //		if err := w.Close(); err != nil {
    //			log.Fatal(err)
    //		}
    //		return buf.Bytes()
    //	}
    //
    // The 4 GB of zeros compresses to 4 MB, which compresses to 20 kB,
    // which compresses to 1252 bytes (in the hex dump below).
    //
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Mar 27 18:23:49 GMT 2024
    - 55.3K bytes
    - Viewed (0)
  9. cmd/bucket-handlers.go

    //
    // -- If yes, check if the IP of entry matches local IP.
    //
    //	This means entry is for this instance.
    //
    // -- If IP of the entry doesn't match, this means entry is
    //
    //	for another instance. Log an error to console.
    func initFederatorBackend(buckets []BucketInfo, objLayer ObjectLayer) {
    	if len(buckets) == 0 {
    		return
    	}
    
    	// Get buckets in the DNS
    	dnsBuckets, err := globalDNSConfig.List()
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 16:27:27 GMT 2024
    - 61.6K bytes
    - Viewed (0)
Back to top