Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 9 of 9 for errKind (0.04 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. cmd/logging.go

    }
    
    func bootLogOnceIf(ctx context.Context, err error, id string, errKind ...any) {
    	logger.LogOnceIf(ctx, "bootstrap", err, id, errKind...)
    }
    
    func dnsLogIf(ctx context.Context, err error, errKind ...any) {
    	logger.LogIf(ctx, "dns", err, errKind...)
    }
    
    func internalLogIf(ctx context.Context, err error, errKind ...any) {
    	logger.LogIf(ctx, "internal", err, errKind...)
    }
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 6.8K bytes
    - Click Count (0)
  2. internal/store/batch_test.go

    	batch := NewBatch[TestItem](BatchConfig[TestItem]{
    		Limit:         limit,
    		Store:         store,
    		CommitTimeout: 5 * time.Minute,
    		Log: func(ctx context.Context, err error, id string, errKind ...any) {
    			t.Log([]any{err, id, errKind}...)
    		},
    	})
    
    	for i := 0; i < int(limit); i++ {
    		if err := batch.Add(testItem); err != nil {
    			t.Fatalf("failed to add %v; %v", i, err)
    		}
    	}
    
    	batch.Close()
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  3. internal/config/lambda/parse.go

    	"github.com/minio/pkg/v3/env"
    	xnet "github.com/minio/pkg/v3/net"
    )
    
    const (
    	logSubsys = "notify"
    )
    
    func logOnceIf(ctx context.Context, err error, id string, errKind ...any) {
    	logger.LogOnceIf(ctx, logSubsys, err, id, errKind...)
    }
    
    // ErrTargetsOffline - Indicates single/multiple target failures.
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 6K bytes
    - Click Count (0)
  4. internal/store/store.go

    	"fmt"
    	"strconv"
    	"strings"
    	"time"
    
    	xioutil "github.com/minio/minio/internal/ioutil"
    )
    
    const (
    	retryInterval = 3 * time.Second
    )
    
    type logger = func(ctx context.Context, err error, id string, errKind ...any)
    
    // ErrNotConnected - indicates that the target connection is not active.
    var ErrNotConnected = errors.New("not connected to target server/service")
    
    // Target - store target interface
    type Target interface {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  5. internal/config/storageclass/storage-class.go

    	} else {
    		cfg.inlineBlock = 128 * humanize.KiByte
    	}
    
    	cfg.initialized = true
    
    	return cfg, nil
    }
    
    func configLogOnceIf(ctx context.Context, err error, id string, errKind ...any) {
    	logger.LogOnceIf(ctx, "config", err, id, errKind...)
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 12.3K bytes
    - Click Count (0)
  6. internal/logger/target/kafka/kafka.go

    	} `json:"sasl"`
    	// Queue store
    	QueueSize int    `json:"queueSize"`
    	QueueDir  string `json:"queueDir"`
    
    	// Custom logger
    	LogOnce func(ctx context.Context, err error, id string, errKind ...any) `json:"-"`
    }
    
    // Target - Kafka target.
    type Target struct {
    	status int32
    
    	totalMessages  int64
    	failedMessages int64
    
    	wg sync.WaitGroup
    
    	// Channel of log entries.
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 10.2K bytes
    - Click Count (0)
  7. internal/config/notify/parse.go

    	"github.com/rabbitmq/amqp091-go"
    )
    
    const (
    	formatNamespace = "namespace"
    )
    
    const (
    	logSubsys = "notify"
    )
    
    func logOnceIf(ctx context.Context, err error, id string, errKind ...any) {
    	logger.LogOnceIf(ctx, logSubsys, err, id, errKind...)
    }
    
    // ErrTargetsOffline - Indicates single/multiple target failures.
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 47.5K bytes
    - Click Count (0)
  8. cmd/bucket-replication.go

    		if !opts.CheckRemoteBucket && opts.CheckReady {
    			endpoint := clnt.EndpointURL().String()
    			if errInt, ok := opts.checkReadyErr.Load(endpoint); !ok {
    				err = checkRemoteEndpoint(ctx, clnt.EndpointURL())
    				opts.checkReadyErr.Store(endpoint, err)
    			} else {
    				if errInt == nil {
    					err = nil
    				} else {
    					err, _ = errInt.(error)
    				}
    			}
    			switch err.(type) {
    			case BucketRemoteIdenticalToSource:
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 118.2K bytes
    - Click Count (0)
  9. cmd/site-replication.go

    				Status:    madmin.ReplicateRemoveStatusPartial,
    				ErrDetail: fmt.Sprintf("unable to remove cluster-replication state on local: %v", err),
    			}, nil
    		}
    		if errdID != "" {
    			err := errs[errdID]
    			return madmin.ReplicateRemoveStatus{
    				Status:    madmin.ReplicateRemoveStatusPartial,
    				ErrDetail: err.Error(),
    			}, nil
    		}
    		return madmin.ReplicateRemoveStatus{
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 184.8K bytes
    - Click Count (1)
Back to Top