- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for StableName (0.32 sec)
-
pkg/test/framework/components/echo/echotest/run.go
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Sep 27 22:08:42 UTC 2023 - 13K bytes - Viewed (0) -
tests/integration/pilot/mcs/discoverability/discoverability_test.go
// Test exporting service B exclusively in each cluster. for _, exportCluster := range bClusters { exportCluster := exportCluster t.NewSubTestf("b exported in %s", exportCluster.StableName()). Run(func(t framework.TestContext) { // Export service B in the export cluster. createAndCleanupServiceExport(t, common.ServiceB, cluster.Clusters{exportCluster})
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Apr 08 22:02:59 UTC 2024 - 17.9K bytes - Viewed (0) -
tests/integration/pilot/istioctl_test.go
// nolint: staticcheck framework.NewTest(t).RequiresMinClusters(2). Run(func(t framework.TestContext) { for _, cluster := range t.Clusters().Primaries() { cluster := cluster t.NewSubTest(cluster.StableName()).Run(func(t framework.TestContext) { istioCtl := istioctl.NewOrFail(t, t, istioctl.Config{Cluster: cluster}) var output string args := []string{"remote-clusters"}
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Apr 08 22:02:59 UTC 2024 - 15K bytes - Viewed (0) -
tests/integration/pilot/gateway_test.go
namespace: istio-system to: - group: "" kind: Secret `, apps.Namespace.Name())). ApplyOrFail(t) for _, ingr := range istio.IngressesOrFail(t, t) { t.NewSubTest(ingr.Cluster().StableName()).Run(func(t framework.TestContext) { t.NewSubTest("http").Run(func(t framework.TestContext) { paths := []string{"/get", "/get/", "/get/prefix"} for _, path := range paths {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 06 22:12:34 UTC 2024 - 17.7K bytes - Viewed (0) -
tests/integration/pilot/ingress_test.go
}, path: "/test", prefixPath: "/prefix", }, } for _, ingr := range istio.IngressesOrFail(t, t) { ingr := ingr t.NewSubTestf("from %s", ingr.Cluster().StableName()).Run(func(t framework.TestContext) { for _, c := range cases { c := c t.NewSubTest(c.name).Run(func(t framework.TestContext) {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 06 22:12:34 UTC 2024 - 19.5K bytes - Viewed (0) -
pkg/test/kube/dump.go
} // outputPath gives a path in the form of workDir/cluster/<prefix>_<suffix> func outputPath(workDir string, cluster cluster.Cluster, prefix, suffix string) string { dir := path.Join(workDir, cluster.StableName()) if err := os.MkdirAll(dir, os.ModeDir|0o700); err != nil { scopes.Framework.Warnf("failed creating directory: %s", dir) } return path.Join(dir, fmt.Sprintf("%s_%s", prefix, suffix)) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 06 22:12:34 UTC 2024 - 22.2K bytes - Viewed (0) -
schema/schema.go
return s, s.err } modelValue := reflect.New(modelType) tableName := namer.TableName(modelType.Name()) if tabler, ok := modelValue.Interface().(Tabler); ok { tableName = tabler.TableName() } if tabler, ok := modelValue.Interface().(TablerWithNamer); ok { tableName = tabler.TableName(namer) } if en, ok := namer.(embeddedNamer); ok { tableName = en.Table }
Registered: Wed Jun 12 16:27:09 UTC 2024 - Last Modified: Wed Jun 12 10:52:33 UTC 2024 - 13.7K bytes - Viewed (0) -
tests/table_test.go
} AssertEqual(t, r.Statement.Vars, []interface{}{2, 4, 1, 3}) } type UserWithTableNamer struct { gorm.Model Name string } func (UserWithTableNamer) TableName(namer schema.Namer) string { return namer.TableName("user") } func TestTableWithNamer(t *testing.T) { db, _ := gorm.Open(tests.DummyDialector{}, &gorm.Config{ NamingStrategy: schema.NamingStrategy{ TablePrefix: "t_", },
Registered: Wed Jun 12 16:27:09 UTC 2024 - Last Modified: Sat Mar 09 09:31:28 UTC 2024 - 10.6K bytes - Viewed (0) -
schema/schema_test.go
checkSchemaField(t, user, &fields[i], func(f *schema.Field) { f.Creatable = true f.Updatable = true f.Readable = true }) } } type CustomizeTable struct{} func (CustomizeTable) TableName() string { return "customize" } func TestCustomizeTableName(t *testing.T) { customize, err := schema.Parse(&CustomizeTable{}, &sync.Map{}, schema.NamingStrategy{}) if err != nil {
Registered: Wed Jun 12 16:27:09 UTC 2024 - Last Modified: Fri Dec 15 08:31:23 UTC 2023 - 12.9K bytes - Viewed (0) -
src/database/sql/fakedb_test.go
// syntactically different and simpler than SQL. The syntax is as // follows: // // WIPE // CREATE|<tablename>|<col>=<type>,<col>=<type>,... // where types are: "string", [u]int{8,16,32,64}, "bool" // INSERT|<tablename>|col=val,col2=val2,col3=? // SELECT|<tablename>|projectcol1,projectcol2|filtercol=?,filtercol2=? // SELECT|<tablename>|projectcol1,projectcol2|filtercol=?param1,filtercol2=?param2 //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 01 12:38:07 UTC 2024 - 30.3K bytes - Viewed (0)