Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for imageURL (0.3 sec)

  1. src/html/template/css_test.go

    	}{
    		{"", "url", false},
    		{"url", "url", true},
    		{"URL", "url", true},
    		{"Url", "url", true},
    		{"url", "important", false},
    		{"important", "important", true},
    		{"image-url", "url", false},
    		{"imageurl", "url", false},
    		{"image url", "url", true},
    	}
    	for _, test := range tests {
    		got := endsWithCSSKeyword([]byte(test.css), test.kw)
    		if got != test.want {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 02 19:38:18 UTC 2023
    - 6.9K bytes
    - Viewed (0)
  2. pkg/kube/inject/inject.go

    		return "passthrough"
    	}
    	return "passthrough"
    }
    
    // imageURL creates url from parts.
    // imageType is appended if not empty
    // if imageType is already present in the tag, then it is replaced.
    // docker.io/istio/proxyv2:1.12-distroless
    // gcr.io/gke-release/asm/proxyv2:1.11.2-asm.17-distroless
    // docker.io/istio/proxyv2:1.12
    func imageURL(hub, imageName, tag, imageType string) string {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 31 20:35:11 UTC 2024
    - 28.8K bytes
    - Viewed (0)
  3. tests/embedded_struct_test.go

    		Upvotes int32
    	}
    
    	type EngadgetPost struct {
    		BasePost BasePost `gorm:"Embedded"`
    		Author   *Author  `gorm:"Embedded;EmbeddedPrefix:author_"` // Embedded struct
    		ImageUrl string
    	}
    
    	DB.Migrator().DropTable(&HNPost{}, &EngadgetPost{})
    	if err := DB.Migrator().AutoMigrate(&HNPost{}, &EngadgetPost{}); err != nil {
    		t.Fatalf("failed to auto migrate, got error: %v", err)
    	}
    
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed May 08 04:07:58 UTC 2024
    - 7.3K bytes
    - Viewed (0)
Back to top