Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 189 for results (0.18 sec)

  1. cmd/license-update.go

    		return
    	}
    
    	kv := "subnet license=" + lic
    	result, err := setConfigKV(ctx, objectAPI, []byte(kv))
    	if err != nil {
    		internalLogIf(ctx, fmt.Errorf("error setting subnet license config: %w", err))
    		return
    	}
    
    	if result.Dynamic {
    		if err := applyDynamicConfigForSubSys(GlobalContext, objectAPI, result.Cfg, result.SubSys); err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 3.3K bytes
    - Viewed (0)
  2. internal/event/arn_test.go

    		{ARN{TargetID{"1", "webhook"}, "us-east-1"}, "arn:minio:sqs:us-east-1:1:webhook"},
    	}
    
    	for i, testCase := range testCases {
    		result := testCase.arn.String()
    
    		if result != testCase.expectedResult {
    			t.Fatalf("test %v: result: expected: %v, got: %v", i+1, testCase.expectedResult, result)
    		}
    	}
    }
    
    func TestARNMarshalXML(t *testing.T) {
    	testCases := []struct {
    		arn          ARN
    		expectedData []byte
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 3.8K bytes
    - Viewed (0)
  3. internal/s3select/sql/value.go

    	intA, ok2i := a.ToInt()
    	if ok1i && ok2i {
    		result := intV
    		if !isMax {
    			if intA < result {
    				result = intA
    			}
    		} else {
    			if intA > result {
    				result = intA
    			}
    		}
    		v.setInt(result)
    		return nil
    	}
    
    	floatV, _ := v.ToFloat()
    	floatA, _ := a.ToFloat()
    	var result float64
    	if !isMax {
    		result = math.Min(floatV, floatA)
    	} else {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Feb 25 20:31:19 GMT 2022
    - 20.2K bytes
    - Viewed (0)
  4. docs/sts/client_grants/__init__.py

                :return: dict
                """
                root = STSElement.fromstring(
                    'AssumeRoleWithClientGrantsResponse', data)
                result = root.find('AssumeRoleWithClientGrantsResult')
                creds = result.find('Credentials')
                return dict(
                    access_key=creds.get_child_text('AccessKeyId'),
                    secret_key=creds.get_child_text('SecretAccessKey'),
    Python
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 23 18:58:53 GMT 2021
    - 4.6K bytes
    - Viewed (1)
  5. buildscripts/minio-iam-ldap-upgrade-import-test.sh

    	output=$(mc idp ldap policy entities new-minio --json)
    
    	groups=$(echo "$output" | jq -r '.result.policyMappings[] | select(.policy == "readwrite") | .groups[]')
    	if [ "$groups" != "cn=project.c,ou=groups,ou=swengg,dc=min,dc=io" ]; then
    		echo "Failed to verify groups: $groups"
    		exit 1
    	fi
    
    	users=$(echo "$output" | jq -r '.result.policyMappings[] | select(.policy == "readwrite") | .users[]')
    Shell Script
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 15:49:53 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  6. cmd/data-usage_test.go

    		t.Run(p, func(t *testing.T) {
    			e := got.find(p)
    			if w.isNil {
    				if e != nil {
    					t.Error("want nil, got", e)
    				}
    				return
    			}
    			if e == nil {
    				t.Fatal("got nil result")
    			}
    			if w.flatten {
    				*e = got.flatten(*e)
    			}
    			if e.Size != int64(w.size) {
    				t.Error("got size", e.Size, "want", w.size)
    			}
    			if e.Objects != uint64(w.objs) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Mar 27 15:10:40 GMT 2024
    - 14.1K bytes
    - Viewed (0)
  7. cmd/xl-storage-disk-id-check.go

    	if err != nil {
    		return vol, err
    	}
    	defer done(&err)
    
    	return xioutil.WithDeadline[VolInfo](ctx, globalDriveConfig.GetMaxTimeout(), func(ctx context.Context) (result VolInfo, err error) {
    		return p.storage.StatVol(ctx, volume)
    	})
    }
    
    func (p *xlStorageDiskIDCheck) DeleteVol(ctx context.Context, volume string, forceDelete bool) (err error) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 33K bytes
    - Viewed (0)
  8. internal/s3select/message.go

    func (writer *messageWriter) flushRecords() bool {
    	if writer.payloadBufferIndex == 0 {
    		return true
    	}
    	result := writer.write(newRecordsMessage(writer.payloadBuffer[0:writer.payloadBufferIndex]))
    	if result {
    		atomic.AddInt64(&writer.bytesReturned, int64(writer.payloadBufferIndex))
    		writer.payloadBufferIndex = 0
    	}
    	return result
    }
    
    // Finish is the last call to the message writer - it sends any
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Aug 30 15:26:43 GMT 2022
    - 15.2K bytes
    - Viewed (0)
  9. internal/config/lambda/event/targetlist.go

    	if err != nil {
    		return nil, err
    	}
    
    	id, found := list.targets[arn.TargetID]
    	if !found {
    		return nil, &ErrARNNotFound{}
    	}
    	return id, nil
    }
    
    // TargetIDResult returns result of Remove/Send operation, sets err if
    // any for the associated TargetID
    type TargetIDResult struct {
    	// ID where the remove or send were initiated.
    	ID TargetID
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Mar 07 16:12:41 GMT 2023
    - 4.3K bytes
    - Viewed (0)
  10. internal/s3select/sql/stringfuncs.go

    	}
    
    	return string(rs[startIdx:endIdx]), nil
    }
    
    const (
    	trimLeading  = "LEADING"
    	trimTrailing = "TRAILING"
    	trimBoth     = "BOTH"
    )
    
    func evalSQLTrim(where *string, trimChars, text string) (result string, err error) {
    	cutSet := " "
    	if trimChars != "" {
    		cutSet = trimChars
    	}
    
    	trimFunc := strings.Trim
    	switch {
    	case where == nil:
    	case *where == trimBoth:
    	case *where == trimLeading:
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 4.2K bytes
    - Viewed (0)
Back to top