Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 90 for Fontaine (1.53 sec)

  1. tests/create_test.go

    		GetUser("invalid_slice_2", Config{}),
    		nil,
    	}
    
    	if err := DB.Create(&users).Error; !errors.Is(err, gorm.ErrInvalidData) {
    		t.Errorf("should returns error invalid data when creating from slice that contains invalid data")
    	}
    }
    
    func TestCreateWithExistingTimestamp(t *testing.T) {
    	user := User{Name: "CreateUserExistingTimestamp"}
    	curTime := now.MustParse("2016-01-01")
    	user.CreatedAt = curTime
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Tue Mar 19 03:50:28 GMT 2024
    - 26.4K bytes
    - Viewed (0)
  2. cni/pkg/cmd/root.go

    		"An annotation key that indicates this pod contains an istio sidecar. All pods without this annotation will be ignored."+
    			"The value of the annotation is ignored.")
    	registerStringParameter(constants.RepairInitContainerName, "istio-validation",
    		"The name of the istio init container (will crash-loop if CNI is not configured for the pod)")
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 12.5K bytes
    - Viewed (0)
  3. operator/cmd/mesh/manifest-generate_test.go

    	for _, tt := range tests {
    		for _, os := range objs {
    			containerName := tt.deploymentName
    			if tt.containerName != "" {
    				containerName = tt.containerName
    			}
    			container := mustGetContainer(g, os, tt.deploymentName, containerName)
    			g.Expect(container).Should(HavePathValueEqual(PathValue{"image", tt.want}))
    		}
    	}
    }
    
    func TestManifestGenerateGateways(t *testing.T) {
    	g := NewWithT(t)
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Apr 18 18:16:49 GMT 2024
    - 43.5K bytes
    - Viewed (0)
  4. istioctl/pkg/precheck/precheck.go

    		if scopingImpacted = meshData["discoverySelectors"] != nil; !scopingImpacted {
    			continue
    		}
    		// Check if mitigation is already in place
    		for _, container := range deployment.Spec.Template.Spec.Containers {
    			if container.Name == "discovery" {
    				for _, envVar := range container.Env {
    					if envVar.Name == "ENHANCED_RESOURCE_SCOPING" && envVar.Value == "true" {
    						scopingImpacted = false
    						break
    					}
    				}
    			}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Apr 12 02:57:30 GMT 2024
    - 19.3K bytes
    - Viewed (0)
  5. cmd/update.go

    		_, err = os.Stat(envfile)
    		if err == nil {
    			return true
    		}
    	}
    	if osIsNotExist(err) {
    		// if none of the files are present we may be running inside
    		// CRI-O, Containerd etc..
    		// Fallback to our container specific ENVs if they are set.
    		return env.IsSet("MINIO_ACCESS_KEY_FILE")
    	}
    
    	// Log error, as we will not propagate it to caller
    	internalLogIf(GlobalContext, err)
    
    	return err == nil
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 04:08:47 GMT 2024
    - 18.7K bytes
    - Viewed (0)
  6. cmd/kms-handlers.go

    		return
    	}
    	keys, err := manager.ListKeys(ctx)
    	if err != nil {
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    		return
    	}
    
    	pattern := r.Form.Get("pattern")
    	if !strings.Contains(pattern, "*") {
    		pattern += "*"
    	}
    
    	var values []kes.KeyInfo
    	for name, err := keys.SeekTo(ctx, pattern); err != io.EOF; name, err = keys.Next(ctx) {
    		if err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Mar 01 21:09:42 GMT 2024
    - 20.7K bytes
    - Viewed (0)
  7. internal/hash/checksum.go

    	logger.LogIf(ctx, "hash", err)
    }
    
    // MinIOMultipartChecksum is as metadata on multipart uploads to indicate checksum type.
    const MinIOMultipartChecksum = "x-minio-multipart-checksum"
    
    // ChecksumType contains information about the checksum type.
    type ChecksumType uint32
    
    const (
    
    	// ChecksumTrailing indicates the checksum will be sent in the trailing header.
    	// Another checksum type will be set.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 11.9K bytes
    - Viewed (0)
  8. istioctl/pkg/ztunnelconfig/ztunnelconfig.go

    				loggerLevelString = "info"
    			} else if loggerLevelString != "" {
    				levels := strings.Split(loggerLevelString, ",")
    				for _, ol := range levels {
    					if !strings.Contains(ol, ":") && !strings.Contains(ol, "=") {
    						level, ok := stringToLevel[ol]
    						if ok {
    							destLoggerLevels = map[string]Level{
    								defaultLoggerName: level,
    							}
    						} else {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed May 01 13:11:40 GMT 2024
    - 22.2K bytes
    - Viewed (0)
  9. src/archive/zip/zip_test.go

    	}
    	s := buf.String()
    	zr, err := NewReader(strings.NewReader(s), int64(len(s)))
    	if err != nil {
    		t.Fatalf("NewReader: %v", err)
    	}
    	if got := len(zr.File); got != nFiles {
    		t.Fatalf("File contains %d files, want %d", got, nFiles)
    	}
    	for i := 0; i < nFiles; i++ {
    		want := fmt.Sprintf("%d.dat", i)
    		if zr.File[i].Name != want {
    			t.Fatalf("File(%d) = %q, want %q", i, zr.File[i].Name, want)
    		}
    	}
    }
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Mar 27 18:23:49 GMT 2024
    - 19.5K bytes
    - Viewed (0)
  10. callbacks/create.go

    					called = true
    					db.AddError(i.BeforeCreate(tx))
    				}
    			}
    			return called
    		})
    	}
    }
    
    // Create create hook
    func Create(config *Config) func(db *gorm.DB) {
    	supportReturning := utils.Contains(config.CreateClauses, "RETURNING")
    
    	return func(db *gorm.DB) {
    		if db.Error != nil {
    			return
    		}
    
    		if db.Statement.Schema != nil {
    			if !db.Statement.Unscoped {
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Mon Apr 08 03:29:55 GMT 2024
    - 12.5K bytes
    - Viewed (0)
Back to top