Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 18 of 18 for StableName (0.23 sec)

  1. tests/integration/security/ca_custom_root/trust_domain_validation_test.go

    					cert: readFile(ctx, "workload-bar-cert.pem"),
    					key:  readFile(ctx, "workload-bar-key.pem"),
    				},
    			}
    
    			for _, cluster := range ctx.Clusters() {
    				ctx.NewSubTest(fmt.Sprintf("From %s", cluster.StableName())).Run(func(t framework.TestContext) {
    					// naked: only test app without sidecar, send requests from trust domain aliases
    					// client: app with sidecar, send request from cluster.local
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  2. tests/integration/pilot/mirror_test.go

    						ApplyOrFail(t)
    
    					for _, podA := range apps.A {
    						podA := podA
    						t.NewSubTest(fmt.Sprintf("from %s", podA.Config().Cluster.StableName())).Run(func(t framework.TestContext) {
    							for _, proto := range mirrorProtocols {
    								t.NewSubTest(string(proto)).Run(func(t framework.TestContext) {
    									retry.UntilSuccessOrFail(t, func() error {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  3. tests/integration/security/ca_custom_root/secure_naming_test.go

    			}, retry.Delay(time.Second), retry.Timeout(10*time.Second))
    			to := match.Namespace(testNamespace).GetMatches(apps.EchoNamespace.B)
    			for _, cluster := range t.Clusters() {
    				t.NewSubTest(fmt.Sprintf("From %s", cluster.StableName())).Run(func(t framework.TestContext) {
    					a := match.And(match.Cluster(cluster), match.Namespace(testNamespace)).GetMatches(apps.EchoNamespace.A)[0]
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  4. schema/naming.go

    	IdentifierMaxLength int
    }
    
    // TableName convert string to table name
    func (ns NamingStrategy) TableName(str string) string {
    	if ns.SingularTable {
    		return ns.TablePrefix + ns.toDBName(str)
    	}
    	return ns.TablePrefix + inflection.Plural(ns.toDBName(str))
    }
    
    // SchemaName generate schema name from table name, don't guarantee it is the reverse value of TableName
    func (ns NamingStrategy) SchemaName(table string) string {
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Jun 12 03:46:59 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  5. internal/event/target/postgresql_test.go

    			found = true
    			break
    		}
    	}
    	if !found {
    		t.Fatal("postgres driver not registered")
    	}
    }
    
    func TestPsqlTableNameValidation(t *testing.T) {
    	validTables := []string{"táblë", "table", "TableName", "\"Table name\"", "\"✅✅\"", "table$one", "\"táblë\""}
    	invalidTables := []string{"table name", "table \"name\"", "✅✅", "$table$"}
    
    	for _, name := range validTables {
    		if err := validatePsqlTableName(name); err != nil {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Apr 24 17:51:07 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  6. pkg/util/iptables/monitor_test.go

    		panic(fmt.Sprintf("bad args %#v", mfc.args))
    	}
    	op := operation(mfc.args[4])
    	chainName := mfc.args[5]
    	tableName := mfc.args[7]
    
    	mfc.mfe.Lock()
    	defer mfc.mfe.Unlock()
    
    	table := mfc.mfe.tables[tableName]
    	if table == nil {
    		return []byte{}, fmt.Errorf("no such table %q", tableName)
    	}
    
    	// For ease-of-testing reasons, blockIPTables blocks create and list, but not delete
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 08 15:21:59 UTC 2023
    - 9.3K bytes
    - Viewed (0)
  7. cni/pkg/plugin/plugin_dryrun_test.go

    		// If table is not empty, get table name from the first line
    		lines := strings.Split(strings.Trim(table, "\n"), "\n")
    		if len(lines) >= 1 && strings.HasPrefix(lines[0], "* ") {
    			tableName := lines[0][2:]
    			lines = append(lines, "COMMIT")
    			tables[tableName] = strings.Join(lines, "\n")
    		}
    	}
    	return tables
    }
    
    func refreshGoldens(t *testing.T, goldenFileName string, generatedRules map[string]string) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Feb 10 00:31:55 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  8. schema/schema_helper_test.go

    				}
    
    				if r.JoinTable.Table != relation.JoinTable.Table {
    					t.Errorf("schema %v relation's join table tablename expects %v, but got %v", s, relation.JoinTable.Table, r.JoinTable.Table)
    				}
    
    				for i := range relation.JoinTable.Fields {
    					checkSchemaField(t, r.JoinTable, &relation.JoinTable.Fields[i], nil)
    				}
    			}
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Fri Dec 15 08:31:23 UTC 2023
    - 7.5K bytes
    - Viewed (0)
Back to top