Search Options

Results per page
Sort
Preferred Languages
Advance

Results 411 - 420 of 589 for CONST (0.04 sec)

  1. cmd/object-lambda-handlers.go

    // if the text is unknown.
    func StatusCode(text string) int {
    	if code, ok := statusTextToCode[text]; ok {
    		return code
    	}
    	return -1
    }
    
    func fwdHeadersToS3(h http.Header, w http.ResponseWriter) {
    	const trim = "x-amz-fwd-header-"
    	for k, v := range h {
    		if stringsHasPrefixFold(k, trim) {
    			w.Header()[k[len(trim):]] = v
    		}
    	}
    }
    
    func fwdStatusToAPIError(resp *http.Response) *APIError {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 22 07:04:48 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  2. cmd/veeam-sos-api.go

    type capacityInfo struct {
    	XMLName   xml.Name `xml:"CapacityInfo" json:"-"`
    	Capacity  int64    `xml:"Capacity"`
    	Available int64    `xml:"Available"`
    	Used      int64    `xml:"Used"`
    }
    
    const (
    	systemXMLObject   = ".system-d26a9498-cb7c-4a87-a44a-8ae204f5ba6c/system.xml"
    	capacityXMLObject = ".system-d26a9498-cb7c-4a87-a44a-8ae204f5ba6c/capacity.xml"
    	veeamAgentSubstr  = "APN/1.0 Veeam/1.0"
    )
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 00:34:56 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  3. internal/event/target/webhook.go

    	"github.com/minio/minio/internal/once"
    	"github.com/minio/minio/internal/store"
    	"github.com/minio/pkg/v3/certs"
    	xnet "github.com/minio/pkg/v3/net"
    )
    
    // Webhook constants
    const (
    	WebhookEndpoint   = "endpoint"
    	WebhookAuthToken  = "auth_token"
    	WebhookQueueDir   = "queue_dir"
    	WebhookQueueLimit = "queue_limit"
    	WebhookClientCert = "client_cert"
    	WebhookClientKey  = "client_key"
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  4. cmd/consolelogger.go

    	"github.com/minio/minio/internal/logger/target/types"
    	"github.com/minio/minio/internal/pubsub"
    	"github.com/minio/pkg/v3/logger/message/log"
    	xnet "github.com/minio/pkg/v3/net"
    )
    
    // number of log messages to buffer
    const defaultLogBufferCount = 10000
    
    // HTTPConsoleLoggerSys holds global console logger state
    type HTTPConsoleLoggerSys struct {
    	totalMessages  int64
    	failedMessages int64
    
    	sync.RWMutex
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  5. internal/config/lambda/parse.go

    	"github.com/minio/minio/internal/config/lambda/target"
    	"github.com/minio/minio/internal/logger"
    	"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 ...interface{}) {
    	logger.LogOnceIf(ctx, logSubsys, err, id, errKind...)
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 6K bytes
    - Viewed (0)
  6. internal/logger/target/http/http.go

    	"github.com/valyala/bytebufferpool"
    )
    
    const (
    
    	// maxWorkers is the maximum number of concurrent http loggers
    	maxWorkers = 16
    
    	// maxWorkers is the maximum number of concurrent batch http loggers
    	maxWorkersWithBatchEvents = 4
    
    	// the suffix for the configured queue dir where the logs will be persisted.
    	httpLoggerExtension = ".http.log"
    )
    
    const (
    	statusOffline = iota
    	statusOnline
    	statusClosed
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Sep 11 22:20:42 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  7. logger/sql.go

    package logger
    
    import (
    	"database/sql/driver"
    	"fmt"
    	"reflect"
    	"regexp"
    	"strconv"
    	"strings"
    	"time"
    	"unicode"
    
    	"gorm.io/gorm/utils"
    )
    
    const (
    	tmFmtWithMS = "2006-01-02 15:04:05.999"
    	tmFmtZero   = "0000-00-00 00:00:00"
    	nullStr     = "NULL"
    )
    
    func isPrintable(s string) bool {
    	for _, r := range s {
    		if !unicode.IsPrint(r) {
    			return false
    		}
    	}
    	return true
    }
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Thu Mar 21 08:00:02 UTC 2024
    - 5K bytes
    - Viewed (0)
  8. cmd/object-api-utils.go

    			return ObjectNameInvalid{
    				Bucket: bucket,
    				Object: object,
    			}
    		}
    	}
    	return nil
    }
    
    // SlashSeparator - slash separator.
    const SlashSeparator = "/"
    
    // SlashSeparatorChar - slash separator.
    const SlashSeparatorChar = '/'
    
    // retainSlash - retains slash from a path.
    func retainSlash(s string) string {
    	if s == "" {
    		return s
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 08 15:29:58 UTC 2024
    - 37.1K bytes
    - Viewed (0)
  9. cmd/batch-expire.go

    				if kv.Match(BatchJobKV{Key: k, Value: v}) {
    					match = true
    				}
    			}
    			if !match {
    				return false
    			}
    		}
    	}
    
    	return ef.Size.InRange(obj.Size)
    }
    
    const (
    	// BatchJobExpireObject - object type
    	BatchJobExpireObject string = "object"
    	// BatchJobExpireDeleted - delete marker type
    	BatchJobExpireDeleted string = "deleted"
    )
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Sep 18 17:59:03 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  10. internal/event/target/nsq.go

    	"github.com/minio/minio/internal/logger"
    	"github.com/minio/minio/internal/once"
    	"github.com/minio/minio/internal/store"
    	xnet "github.com/minio/pkg/v3/net"
    )
    
    // NSQ constants
    const (
    	NSQAddress       = "nsqd_address"
    	NSQTopic         = "topic"
    	NSQTLS           = "tls"
    	NSQTLSSkipVerify = "tls_skip_verify"
    	NSQQueueDir      = "queue_dir"
    	NSQQueueLimit    = "queue_limit"
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 7.1K bytes
    - Viewed (0)
Back to top