Search Options

Results per page
Sort
Preferred Languages
Advance

Results 211 - 220 of 932 for erre (0.03 sec)

  1. cmd/metrics-v2_gen.go

    			if err != nil {
    				err = msgp.WrapError(err, "dependGlobalKMS")
    				return
    			}
    		case "bucketOnly":
    			z.bucketOnly, bts, err = msgp.ReadBoolBytes(bts)
    			if err != nil {
    				err = msgp.WrapError(err, "bucketOnly")
    				return
    			}
    		case "dependGlobalLambdaTargetList":
    			z.dependGlobalLambdaTargetList, bts, err = msgp.ReadBoolBytes(bts)
    			if err != nil {
    				err = msgp.WrapError(err, "dependGlobalLambdaTargetList")
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Mar 10 09:15:15 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  2. internal/config/identity/openid/jwt_test.go

    	claimsMap.SetAccessKey("test-access")
    	if err := updateClaimsExpiry("3600", claimsMap.MapClaims); err != nil {
    		t.Error(err)
    	}
    	// Build simple token with updated expiration claim
    	token := jwtgo.NewWithClaims(jwtgo.SigningMethodHS256, claimsMap)
    	tokenString, err := token.SignedString(signKey)
    	if err != nil {
    		t.Error(err)
    	}
    
    	// Parse token to be sure it is valid
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  3. cmd/tier_gen.go

    	// map header, size 1
    	// write "Tiers"
    	err = en.Append(0x81, 0xa5, 0x54, 0x69, 0x65, 0x72, 0x73)
    	if err != nil {
    		return
    	}
    	err = en.WriteMapHeader(uint32(len(z.Tiers)))
    	if err != nil {
    		err = msgp.WrapError(err, "Tiers")
    		return
    	}
    	for za0001, za0002 := range z.Tiers {
    		err = en.WriteString(za0001)
    		if err != nil {
    			err = msgp.WrapError(err, "Tiers")
    			return
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jun 20 00:53:08 UTC 2023
    - 4K bytes
    - Viewed (0)
  4. tests/preload_test.go

    		},
    	}
    
    	values := []*Value{&value1, &value2}
    	if err := DB.Create(&values).Error; err != nil {
    		t.Errorf("failed to create value, got err: %v", err)
    	}
    
    	var find1 Value
    	err := DB.Joins("Nested").Joins("Nested.Join").Preload("Nested.Preloads").First(&find1, value1.ID).Error
    	if err != nil {
    		t.Errorf("failed to find value, got err: %v", err)
    	}
    	AssertEqual(t, find1, value1)
    
    	var find2 Value
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed Jun 12 10:00:47 UTC 2024
    - 15.9K bytes
    - Viewed (0)
  5. cmd/bucket-versioning-handler.go

    	// Check if bucket exists.
    	if _, err := objectAPI.GetBucketInfo(ctx, bucket, BucketOptions{}); err != nil {
    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    
    	config, err := globalBucketVersioningSys.Get(bucket)
    	if err != nil {
    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    
    	configData, err := xml.Marshal(config)
    	if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 5K bytes
    - Viewed (0)
  6. tests/preload_suits_test.go

    	if err := DB.AutoMigrate(&Level3{}, &Level2{}, &Level1{}); err != nil {
    		t.Error(err)
    	}
    
    	want := Level3{Level2: Level2{Level1: Level1{Value: "value"}}}
    	if err := DB.Create(&want).Error; err != nil {
    		t.Error(err)
    	}
    
    	var got Level3
    	if err := DB.Preload("Level2").Preload("Level2.Level1").Find(&got).Error; err != nil {
    		t.Error(err)
    	}
    
    	if !reflect.DeepEqual(got, want) {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Fri Mar 18 05:38:46 UTC 2022
    - 30.3K bytes
    - Viewed (0)
  7. istioctl/pkg/injector/injector-list.go

    				}
    			}
    
    			hooksList, err := client.Kube().AdmissionregistrationV1().MutatingWebhookConfigurations().List(context.Background(), metav1.ListOptions{
    				LabelSelector: "app=sidecar-injector",
    			})
    			if err != nil {
    				return err
    			}
    			hooks := hooksList.Items
    			pods, err := getPods(context.Background(), client)
    			if err != nil {
    				return err
    			}
    			err = printNS(cmd.OutOrStdout(), nsList, hooks, pods)
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Oct 18 11:39:52 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  8. cmd/kms-handlers.go

    		return
    	}
    
    	stat, err := GlobalKMS.Status(ctx)
    	if err != nil {
    		writeCustomErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrInternalError), err.Error(), r.URL)
    		return
    	}
    	resp, err := json.Marshal(stat)
    	if err != nil {
    		writeCustomErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrInternalError), err.Error(), r.URL)
    		return
    	}
    	writeSuccessResponseJSON(w, resp)
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Aug 18 06:43:03 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  9. internal/event/target/webhook.go

    		return err
    	}
    	err := target.send(eventData)
    	if err != nil {
    		if xnet.IsNetworkOrHostDown(err, false) {
    			return store.ErrNotConnected
    		}
    	}
    	return err
    }
    
    // send - sends an event to the webhook.
    func (target *WebhookTarget) send(eventData event.Event) error {
    	objectName, err := url.QueryUnescape(eventData.S3.Object.Key)
    	if err != nil {
    		return err
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  10. cni/pkg/install/install.go

    		cniConfigMap, err := util.ReadCNIConfigMap(cniConfigFilepath)
    		if err != nil {
    			return err
    		}
    		plugins, err := util.GetPlugins(cniConfigMap)
    		if err != nil {
    			return fmt.Errorf("%s: %w", cniConfigFilepath, err)
    		}
    		for _, rawPlugin := range plugins {
    			plugin, err := util.GetPlugin(rawPlugin)
    			if err != nil {
    				return fmt.Errorf("%s: %w", cniConfigFilepath, err)
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Aug 09 21:33:51 UTC 2024
    - 13.5K bytes
    - Viewed (0)
Back to top