Search Options

Results per page
Sort
Preferred Languages
Advance

Results 431 - 440 of 1,055 for enable (0.1 sec)

  1. internal/config/identity/openid/provider/keycloak.go

    			return User{}, err
    		}
    		return u, nil
    	case http.StatusNotFound:
    		return User{
    			ID:      userid,
    			Enabled: false,
    		}, nil
    	case http.StatusUnauthorized:
    		return User{}, ErrAccessTokenExpired
    	}
    	return User{}, fmt.Errorf("Unable to lookup - keycloak user lookup returned %v", resp.Status)
    }
    
    // Option is a function type that accepts a pointer Target
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Jul 14 18:12:07 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  2. cmd/server_test.go

    	// execute the HTTP request to create bucket.
    	response, err := s.client.Do(request)
    	c.Assert(err, nil)
    	c.Assert(response.StatusCode, http.StatusOK)
    
    	// enable versioning on the bucket.
    	enableVersioningBody := []byte("<VersioningConfiguration><Status>Enabled</Status></VersioningConfiguration>")
    	enableVersioningBucketRequest, err := newTestSignedRequest(http.MethodPut, getBucketVersioningConfigURL(s.endPoint, bucketName),
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 15 16:28:02 UTC 2024
    - 116.3K bytes
    - Viewed (0)
  3. internal/dsync/drwmutex.go

    	"github.com/minio/pkg/v3/console"
    	"github.com/minio/pkg/v3/env"
    )
    
    // Indicator if logging is enabled.
    var dsyncLog bool
    
    // Retry unit interval
    var lockRetryMinInterval time.Duration
    
    var lockRetryBackOff func(*rand.Rand, uint) time.Duration
    
    func init() {
    	// Check for MINIO_DSYNC_TRACE env variable, if set logging will be enabled for failed REST operations.
    	dsyncLog = env.Get("_MINIO_DSYNC_TRACE", "0") == "1"
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 09 15:49:49 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  4. cmd/bucket-lifecycle-handlers_test.go

    			secretKey:          creds.SecretKey,
    			body:               []byte(`<LifecycleConfiguration><Rule><ID>id</ID><Filter><Prefix>logs/</Prefix><Tag><Key>Key1</Key><Value>Value1</Value></Tag></Filter><Status>Enabled</Status><Expiration><Days>365</Days></Expiration></Rule></LifecycleConfiguration>`),
    			expectedRespStatus: http.StatusBadRequest,
    			lifecycleResponse:  []byte(``),
    			errorResponse: APIErrorResponse{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  5. internal/logger/target/http/http.go

    	statusOnline
    	statusClosed
    )
    
    var (
    	logChBuffers = make(map[string]chan interface{})
    	logChLock    = sync.Mutex{}
    )
    
    // Config http logger target
    type Config struct {
    	Enabled     bool              `json:"enabled"`
    	Name        string            `json:"name"`
    	UserAgent   string            `json:"userAgent"`
    	Endpoint    *xnet.URL         `json:"endpoint"`
    	AuthToken   string            `json:"authToken"`
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Sep 11 22:20:42 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  6. cmd/bucket-lifecycle_test.go

    			expectedErr: errInvalidStorageClass,
    		},
    		{
    			// no transition rule
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue May 31 09:57:57 UTC 2022
    - 7K bytes
    - Viewed (0)
  7. cmd/signature-v4-utils_test.go

    	}
    
    	ucreds, err := auth.CreateCredentials("myuser1", "mypassword1")
    	if err != nil {
    		t.Fatalf("unable create credential, %s", err)
    	}
    
    	_, err = globalIAMSys.CreateUser(ctx, ucreds.AccessKey, madmin.AddOrUpdateUserReq{
    		SecretKey: ucreds.SecretKey,
    		Status:    madmin.AccountEnabled,
    	})
    	if err != nil {
    		t.Fatalf("unable create credential, %s", err)
    	}
    
    	_, owner, s3Err = checkKeyValid(req, ucreds.AccessKey)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Apr 05 21:26:41 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  8. cmd/sts-handlers_test.go

    		// Built-in user should be imported without errors even if LDAP is
    		// enabled.
    		allUsersFile: `{
      "foo": {
        "secretKey": "foobar123",
        "status": "enabled"
      }
    }
    `,
    		// Built-in groups should be imported without errors even if LDAP is
    		// enabled.
    		allGroupsFile: `{
      "mygroup": {
        "version": 1,
        "status": "enabled",
        "members": [
          "foo"
        ],
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 23:40:37 UTC 2024
    - 97.1K bytes
    - Viewed (0)
  9. cmd/object-api-options.go

    		if err != nil {
    			return opts, fmt.Errorf("Unable to parse %s, failed with %w", xhttp.MinIOSourceMTime, err)
    		}
    	}
    	retaintimeStr := strings.TrimSpace(hdr.Get(xhttp.MinIOSourceObjectRetentionTimestamp))
    	var retaintimestmp time.Time
    	if retaintimeStr != "" {
    		retaintimestmp, err = time.Parse(time.RFC3339, retaintimeStr)
    		if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 21 21:13:59 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  10. istioctl/pkg/proxyconfig/proxyconfig.go

    	// OffLevel disables logging
    	OffLevel Level = iota
    	// CriticalLevel enables critical level logging
    	CriticalLevel
    	// ErrorLevel enables error level logging
    	ErrorLevel
    	// WarningLevel enables warning level logging
    	WarningLevel
    	// InfoLevel enables info level logging
    	InfoLevel
    	// DebugLevel enables debug level logging
    	DebugLevel
    	// TraceLevel enables trace level logging
    	TraceLevel
    )
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Oct 24 15:53:49 UTC 2024
    - 50.6K bytes
    - Viewed (0)
Back to top