Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 47 for valida (0.18 sec)

  1. cmd/xl-storage_test.go

    			}
    		})
    	}
    }
    
    // Tests validate volume name.
    func TestIsValidVolname(t *testing.T) {
    	testCases := []struct {
    		volName    string
    		shouldPass bool
    	}{
    		// Cases which should pass the test.
    		// passing in valid bucket names.
    		{"lol", true},
    		{"1-this-is-valid", true},
    		{"1-this-too-is-valid-1", true},
    		{"this.works.too.1", true},
    		{"1234567", true},
    		{"123", true},
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 11 17:45:28 GMT 2024
    - 66.7K bytes
    - Viewed (0)
  2. cmd/iam.go

    	TotalRefreshFailures            uint64
    
    	sync.Mutex
    
    	iamRefreshInterval time.Duration
    
    	LDAPConfig   xldap.Config  // only valid if usersSysType is LDAPUsers
    	OpenIDConfig openid.Config // only valid if OpenID is configured
    	STSTLSConfig xtls.Config   // only valid if STS TLS is configured
    
    	usersSysType UsersSysType
    
    	rolesMap map[arn.ARN]string
    
    	// Persistence layer for IAM subsystem
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 21:28:16 GMT 2024
    - 71.1K bytes
    - Viewed (1)
  3. common/scripts/metallb-native.yaml

                                type: string
                              operator:
                                description: operator represents a key's relationship
                                  to a set of values. Valid operators are In, NotIn, Exists
                                  and DoesNotExist.
                                type: string
                              values:
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Feb 23 23:56:31 GMT 2024
    - 63.9K bytes
    - Viewed (0)
  4. cmd/object-api-multipart_test.go

    		{bucketName: "------", objName: "obj", PartID: 1, expectedError: fmt.Errorf("%s", "Bucket name invalid: ------")},
    		{
    			bucketName: "$this-is-not-valid-too", objName: "obj", PartID: 1,
    			expectedError: fmt.Errorf("%s", "Bucket name invalid: $this-is-not-valid-too"),
    		},
    		{bucketName: "a", objName: "obj", PartID: 1, expectedError: fmt.Errorf("%s", "Bucket name invalid: a")},
    		// Test case - 5.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 77.1K bytes
    - Viewed (0)
  5. cmd/xl-storage-format-v2.go

    }
    
    func (j xlMetaV2Version) getDataDir() string {
    	if j.Valid() {
    		switch j.Type {
    		case LegacyType:
    			return j.ObjectV1.DataDir
    		case ObjectType:
    			return uuid.UUID(j.ObjectV2.DataDir).String()
    		}
    	}
    	return ""
    }
    
    // Valid xl meta xlMetaV2Version is valid
    func (j xlMetaV2Version) Valid() bool {
    	if !j.Type.valid() {
    		return false
    	}
    	switch j.Type {
    	case LegacyType:
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 05:07:37 GMT 2024
    - 63.6K bytes
    - Viewed (1)
  6. cmd/xl-storage.go

    			// Skip if entry is neither a directory not a valid volume name.
    			continue
    		}
    		volsInfo = append(volsInfo, VolInfo{
    			Name: pathutil.Clean(entry),
    		})
    	}
    	return volsInfo, nil
    }
    
    // StatVol - get volume info.
    func (s *xlStorage) StatVol(ctx context.Context, volume string) (vol VolInfo, err error) {
    	// Verify if volume is valid and it exists.
    	volumeDir, err := s.getVolDir(volume)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 84.7K bytes
    - Viewed (0)
  7. cmd/api-errors.go

    	},
    	ErrInvalidBucketName: {
    		Code:           "InvalidBucketName",
    		Description:    "The specified bucket is not valid.",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrInvalidDigest: {
    		Code:           "InvalidDigest",
    		Description:    "The Content-Md5 you specified is not valid.",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrInvalidRange: {
    		Code:           "InvalidRange",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 91.4K bytes
    - Viewed (6)
  8. cmd/sts-handlers_test.go

    	}
    
    	// Validate that the client from sts creds can access the bucket.
    	c.mustListObjects(ctx, minioClient, bucket)
    
    	// Validate that a bucket can be created
    	bucket2 := getRandomBucketName()
    	err = minioClient.MakeBucket(ctx, bucket2, minio.MakeBucketOptions{})
    	if err != nil {
    		c.Fatalf("bucket creat error: %v", err)
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 85.7K bytes
    - Viewed (0)
  9. common-protos/k8s.io/apimachinery/pkg/apis/meta/v1/generated.proto

    // concepts during lookup stages without having partially valid types
    //
    // +protobuf.options.(gogoproto.goproto_stringer)=false
    message GroupKind {
      optional string group = 1;
    
      optional string kind = 2;
    }
    
    // GroupResource specifies a Group and a Resource, but does not force a version.  This is useful for identifying
    // concepts during lookup stages without having partially valid types
    //
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 53.3K bytes
    - Viewed (0)
  10. internal/bucket/lifecycle/lifecycle_test.go

    			lc, err := ParseLifecycleConfig(bytes.NewReader([]byte(tc.inputConfig)))
    			if err != nil {
    				t.Fatalf("Got unexpected error: %v", err)
    			}
    			// To ensure input lifecycle configurations are valid
    			if err := lc.Validate(); err != nil {
    				t.Fatalf("Invalid test case: %d %v", i+1, err)
    			}
    			if got := lc.HasActiveRules(tc.prefix); got != tc.want {
    				t.Fatalf("Expected result: `%v`, got: `%v`", tc.want, got)
    			}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:11:10 GMT 2024
    - 53.2K bytes
    - Viewed (0)
Back to top