Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 106 for inline (0.04 sec)

  1. internal/kms/secret-key.go

    func (secretKey) APIs(ctx context.Context) ([]madmin.KMSAPI, error) {
    	return nil, ErrNotSupported
    }
    
    // Status returns a set of endpoints and their KMS status. Since, the builtin KMS is not
    // external it returns "127.0.0.1: online".
    func (secretKey) Status(context.Context) (map[string]madmin.ItemState, error) {
    	return map[string]madmin.ItemState{
    		"127.0.0.1": madmin.ItemOnline,
    	}, nil
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Aug 18 06:43:03 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  2. cmd/notification.go

    	}
    	idx := xxhash.Sum64String(s) % uint64(len(peerClients))
    	return peerClients[idx]
    }
    
    // GetPeerOnlineCount gets the count of online and offline nodes.
    func (sys *NotificationSys) GetPeerOnlineCount() (nodesOnline, nodesOffline int) {
    	nodesOnline = 1 // Self is always online.
    	nodesOffline = 0
    	nodesOnlineIndex := make([]bool, len(sys.peerClients))
    	var wg sync.WaitGroup
    	for idx, client := range sys.peerClients {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 09 16:58:30 UTC 2024
    - 46.2K bytes
    - Viewed (0)
  3. internal/logger/target/kafka/kafka.go

    	if len(h.client.Brokers()) > 0 {
    		// Refer https://github.com/IBM/sarama/issues/1341
    		atomic.StoreInt32(&h.status, statusOnline)
    	}
    
    	return nil
    }
    
    // IsOnline returns true if the target is online.
    func (h *Target) IsOnline(_ context.Context) bool {
    	return atomic.LoadInt32(&h.status) == statusOnline
    }
    
    // Send log message 'e' to kafka target.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  4. cmd/object-api-datatypes_gen.go

    			z.Checksum, bts, err = msgp.ReadBytesBytes(bts, z.Checksum)
    			if err != nil {
    				err = msgp.WrapError(err, "Checksum")
    				return
    			}
    		case "Inlined":
    			z.Inlined, bts, err = msgp.ReadBoolBytes(bts)
    			if err != nil {
    				err = msgp.WrapError(err, "Inlined")
    				return
    			}
    		case "DataBlocks":
    			z.DataBlocks, bts, err = msgp.ReadIntBytes(bts)
    			if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 70.1K bytes
    - Viewed (0)
  5. cmd/bucket-lifecycle-handlers_test.go

    		errorResponse      APIErrorResponse
    		shouldPass         bool
    	},
    ) {
    	for i, testCase := range testCases {
    		// initialize httptest Recorder, this records any mutations to response writer inside the handler.
    		rec := httptest.NewRecorder()
    		// construct HTTP request
    		req, err := newTestSignedRequestV4(testCase.method, getBucketLifecycleURL("", testCase.bucketName),
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  6. cmd/bucket-listobjects-handlers.go

    	}
    
    	var (
    		listObjectsV2Info ListObjectsV2Info
    		err               error
    	)
    
    	if r.Header.Get(xMinIOExtract) == "true" && strings.Contains(prefix, archivePattern) {
    		// Initiate a list objects operation inside a zip file based in the input params
    		listObjectsV2Info, err = listObjectsV2InArchive(ctx, objectAPI, bucket, prefix, token, delimiter, maxKeys, startAfter, r.Header)
    	} else {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jun 11 03:13:30 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  7. internal/config/notify/parse.go

    	for _, target := range targetList {
    		if tgts[target.ID().ID] {
    			// When target set should be online
    			yes, err := target.IsActive()
    			if err == nil && !yes {
    				err = ErrTargetsOffline
    			}
    			if err != nil {
    				return fmt.Errorf("error (%s): %w", target.ID(), err)
    			}
    		} else {
    			// Just for call init.
    			// Ignore target is online or offline
    			_, _ = target.IsActive()
    		}
    	}
    
    	return nil
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 47K bytes
    - Viewed (0)
  8. cmd/sftp-server-driver.go

    	case len(w.buffer) > 0:
    		err = errors.New("some file segments were not flushed from the queue")
    		_ = w.w.CloseWithError(err)
    	case w.err != nil:
    		// No need to close here since both pipes were
    		// closing inside TransferError()
    		err = w.err
    	default:
    		err = w.w.Close()
    	}
    	for i := range w.buffer {
    		delete(w.buffer, i)
    	}
    	w.wg.Wait()
    	return err
    }
    
    type writerAt struct {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jun 05 07:51:13 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  9. cmd/metacache-walk.go

    )
    
    //go:generate msgp -file $GOFILE
    
    // WalkDirOptions provides options for WalkDir operations.
    type WalkDirOptions struct {
    	// Bucket to scanner
    	Bucket string
    
    	// Directory inside the bucket.
    	BaseDir string
    
    	// Do a full recursive scan.
    	Recursive bool
    
    	// ReportNotFound will return errFileNotFound if all disks reports the BaseDir cannot be found.
    	ReportNotFound bool
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Jun 01 05:17:37 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  10. cmd/object-api-listobjects_test.go

    			if oi.DeleteMarker != object.addDeleteMarker {
    				t.Fatalf("Expected, marker %t : got %t", object.addDeleteMarker, oi.DeleteMarker)
    			}
    		}
    	}
    
    	// Formulating the result data set to be expected from ListObjects call inside the tests,
    	// This will be used in testCases and used for asserting the correctness of ListObjects output in the tests.
    
    	resultCases := []ListObjectsInfo{
    		{
    			IsTruncated: false,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed May 01 11:07:40 UTC 2024
    - 73.1K bytes
    - Viewed (0)
Back to top