Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 41 for cogs (0.6 sec)

  1. internal/bucket/replication/replication_test.go

    		expectedResult bool
    	}{
    		// using config 1 - no filters, all replication enabled
    		{ObjectOpts{}, cfgs[0], false},                                // 1. invalid ObjectOpts missing object name
    		{ObjectOpts{Name: "c1test"}, cfgs[0], true},                   // 2. valid ObjectOpts passing empty Filter
    		{ObjectOpts{Name: "c1test", VersionID: "vid"}, cfgs[0], true}, // 3. valid ObjectOpts passing empty Filter
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Mar 28 17:44:56 GMT 2024
    - 32.5K bytes
    - Viewed (0)
  2. istioctl/pkg/root/root.go

    	Scope = log.RegisterScope("cli", "istioctl")
    )
    
    func defaultLogOptions() *log.Options {
    	o := log.DefaultOptions()
    	// Default to warning for everything; we usually don't want logs in istioctl
    	o.SetDefaultOutputLevel("all", log.WarnLevel)
    	// These scopes are too noisy even at warning level
    	o.SetDefaultOutputLevel("validation", log.ErrorLevel)
    	o.SetDefaultOutputLevel("processing", log.ErrorLevel)
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Mar 26 20:38:10 GMT 2024
    - 1.5K bytes
    - Viewed (0)
  3. cmd/admin-handlers.go

    	}
    
    	// Invalid request conditions:
    	//
    	//   Cannot have both forceStart and forceStop in the same
    	//   request; If clientToken is provided, request can only be
    	//   to continue receiving logs, so it cannot be start or
    	//   stop;
    	if (hip.forceStart && hip.forceStop) ||
    		(hip.clientToken != "" && (hip.forceStart || hip.forceStop)) {
    		err = ErrInvalidRequest
    		return
    	}
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 21 11:43:18 GMT 2024
    - 97.3K bytes
    - Viewed (2)
  4. internal/logger/audit.go

    		}
    		r = &audit.Entry{
    			Version:      internalAudit.Version,
    			DeploymentID: xhttp.GlobalDeploymentID,
    			Time:         time.Now().UTC(),
    		}
    		return r
    	}
    	return nil
    }
    
    // AuditLog - logs audit logs to all audit targets.
    func AuditLog(ctx context.Context, w http.ResponseWriter, r *http.Request, reqClaims map[string]interface{}, filterKeys ...string) {
    	auditTgts := AuditTargets()
    	if len(auditTgts) == 0 {
    		return
    	}
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 4.6K bytes
    - Viewed (0)
  5. cmd/dynamic-timeouts.go

    }
    
    func (dt *dynamicTimeout) RetryInterval() time.Duration {
    	return dt.retryInterval
    }
    
    // LogSuccess logs the duration of a successful action that
    // did not hit the timeout
    func (dt *dynamicTimeout) LogSuccess(duration time.Duration) {
    	dt.logEntry(duration)
    }
    
    // LogFailure logs an action that hit the timeout
    func (dt *dynamicTimeout) LogFailure() {
    	dt.logEntry(maxDuration)
    }
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Aug 19 23:21:05 GMT 2022
    - 4.5K bytes
    - Viewed (0)
  6. internal/logger/logger.go

    	WarningKind = madmin.LogKindWarning
    	ErrorKind   = madmin.LogKindError
    	EventKind   = madmin.LogKindEvent
    	InfoKind    = madmin.LogKindInfo
    )
    
    // DisableErrorLog avoids printing error/event/info kind of logs
    var DisableErrorLog = false
    
    var trimStrings []string
    
    // TimeFormat - logging time format.
    const TimeFormat string = "15:04:05 MST 01/02/2006"
    
    var matchingFuncNames = [...]string{
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 12.2K bytes
    - Viewed (0)
  7. cni/pkg/log/uds.go

    func (l *UDSLogger) StartUDSLogServer(sockAddress string, stop <-chan struct{}) error {
    	if sockAddress == "" {
    		return nil
    	}
    	log.Info("Start a UDS server for CNI plugin logs")
    	unixListener, err := uds.NewListener(sockAddress)
    	if err != nil {
    		return fmt.Errorf("failed to create UDS listener: %v", err)
    	}
    	go func() {
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Wed Nov 29 01:05:12 GMT 2023
    - 3.3K bytes
    - Viewed (0)
  8. internal/logger/help.go

    )
    
    // Help template for logger http and audit
    var (
    	Help = config.HelpKVS{
    		config.HelpKV{
    			Key:         Endpoint,
    			Description: `HTTP(s) endpoint e.g. "http://localhost:8080/minio/logs/server"`,
    			Type:        "url",
    			Sensitive:   true,
    		},
    		config.HelpKV{
    			Key:         AuthToken,
    			Description: `opaque string or JWT authorization token`,
    			Optional:    true,
    			Type:        "string",
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Mar 07 20:17:46 GMT 2024
    - 6.4K bytes
    - Viewed (0)
  9. cni/cmd/istio-cni/main.go

    	if err := runPlugin(); err != nil {
    		os.Exit(1)
    	}
    }
    
    func runPlugin() error {
    	if err := log.Configure(plugin.GetLoggingOptions("")); err != nil {
    		return err
    	}
    	defer func() {
    		// Log sync will send logs to install-cni container via UDS.
    		// We don't need a timeout here because underlying the log pkg already handles it.
    		// this may fail, but it should be safe to ignore according
    		// to https://github.com/uber-go/zap/issues/328
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 30 13:56:46 GMT 2024
    - 1.9K bytes
    - Viewed (0)
  10. internal/logger/target/kafka/kafka.go

    	"github.com/minio/minio/internal/once"
    	"github.com/minio/minio/internal/store"
    	xnet "github.com/minio/pkg/v2/net"
    )
    
    // the suffix for the configured queue dir where the logs will be persisted.
    const kafkaLoggerExtension = ".kafka.log"
    
    const (
    	statusClosed = iota
    	statusOffline
    	statusOnline
    )
    
    // Config - kafka target arguments.
    type Config struct {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 10.1K bytes
    - Viewed (1)
Back to top