Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for setName (0.35 sec)

  1. istioctl/pkg/writer/envoy/configdump/listener.go

    	case *matcher.Matcher_OnMatch_Action:
    		if v.Action.GetName() == fc.GetName() {
    			return []string{"UNMATCHED"}
    		}
    	case *matcher.Matcher_OnMatch_Matcher:
    		ms, f := recurse(fc.GetName(), v.Matcher)
    		if !f {
    			return []string{"NONE"}
    		}
    		return ms
    	}
    	ms, f := recurse(fc.GetName(), l.GetFilterChainMatcher())
    	if !f {
    		return []string{"NONE"}
    	}
    	return ms
    }
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Nov 29 12:37:14 GMT 2023
    - 18.1K bytes
    - Viewed (0)
  2. migrator/migrator.go

    	return m.RunWithValue(value, func(stmt *gorm.Statement) error {
    		constraint, table := m.GuessConstraintInterfaceAndTable(stmt, name)
    		if constraint != nil {
    			name = constraint.GetName()
    		}
    		return m.DB.Exec("ALTER TABLE ? DROP CONSTRAINT ?", clause.Table{Name: table}, clause.Column{Name: name}).Error
    	})
    }
    
    // HasConstraint check has constraint or not
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Fri Apr 26 07:15:49 GMT 2024
    - 29K bytes
    - Viewed (0)
  3. istioctl/pkg/multicluster/remote_secret.go

    	var data bytes.Buffer
    	if err := latest.Codec.Encode(kubeconfig, &data); err != nil {
    		return nil, err
    	}
    	key := clusterName
    	if secName == configSecretName {
    		key = configSecretKey
    	}
    	out := &v1.Secret{
    		ObjectMeta: metav1.ObjectMeta{
    			Name: secName,
    			Annotations: map[string]string{
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Oct 11 01:43:17 GMT 2023
    - 24K bytes
    - Viewed (0)
  4. istioctl/pkg/multicluster/remote_secret_test.go

    				},
    			},
    		},
    	}
    
    	for i := range cases {
    		c := &cases[i]
    		secName := remoteSecretNameFromClusterName(c.clusterName)
    		t.Run(fmt.Sprintf("[%v] %v", i, c.name), func(tt *testing.T) {
    			got, err := createRemoteSecretFromPlugin(c.in, c.server, c.clusterName, secName, c.authProviderConfig)
    			if c.wantErrStr != "" {
    				if err == nil {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Oct 31 14:48:28 GMT 2023
    - 20.6K bytes
    - Viewed (0)
  5. istioctl/pkg/precheck/precheck.go

    					Type: config.GroupVersionKind(deployment.GroupVersionKind()),
    					FullName: resource.FullName{
    						Namespace: resource.Namespace(deployment.GetNamespace()),
    						Name:      resource.LocalName(deployment.GetName()),
    					},
    					ResourceVersion: resource.Version(deployment.GetResourceVersion()),
    					Ref:             nil,
    					FieldsMap:       nil,
    				},
    			}
    			messages.Add(msg.NewUpdateIncompatibility(res,
    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)
  6. src/cmd/asm/internal/lex/input.go

    	tok = in.Stack.Next()
    	if tok != '\n' {
    		in.Error("unexpected token at end of #line: ", tok)
    	}
    	pos := src.MakePos(in.Base(), uint(in.Line())+1, 1) // +1 because #line nnn means line nnn starts on next line
    	in.Stack.SetBase(src.NewLinePragmaBase(pos, file, objabi.AbsFile(objabi.WorkingDir(), file, *flags.TrimPath), uint(line), 1))
    }
    
    // #undef processing
    func (in *Input) undef() {
    	name := in.macroName()
    	if in.macros[name] == nil {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 29 07:48:38 GMT 2023
    - 12.6K bytes
    - Viewed (0)
  7. istioctl/pkg/validate/validate.go

    						"This is not recommended, See "+url.ProtocolSelection, fmt.Sprintf("%s/%s/:", un.GetName(), un.GetNamespace())))
    				}
    			} else {
    				if p["name"] == nil {
    					errs = multierror.Append(errs, fmt.Errorf("service %q has an unnamed port. This is not recommended,"+
    						" See "+url.DeploymentRequirements, fmt.Sprintf("%s/%s/:", un.GetName(), un.GetNamespace())))
    					continue
    				}
    				if servicePortPrefixed(p["name"].(string)) {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Jan 22 17:58:52 GMT 2024
    - 15K bytes
    - Viewed (0)
  8. istioctl/pkg/wait/wait.go

    		if err != nil {
    			return err
    		}
    		for w := range watch.ResultChan() {
    			o, ok := w.Object.(metav1.Object)
    			if !ok {
    				continue
    			}
    			if o.GetName() == nf {
    				result <- strconv.FormatInt(o.GetGeneration(), 10)
    			}
    			select {
    			case <-ictx.Done():
    				return ictx.Err()
    			default:
    				continue
    			}
    		}
    
    		return nil
    	})
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Feb 17 12:24:17 GMT 2024
    - 10.1K bytes
    - Viewed (0)
  9. schema/relationship.go

    	Schema          *Schema
    	ForeignKeys     []*Field
    	ReferenceSchema *Schema
    	References      []*Field
    	OnDelete        string
    	OnUpdate        string
    }
    
    func (constraint *Constraint) GetName() string { return constraint.Name }
    
    func (constraint *Constraint) Build() (sql string, vars []interface{}) {
    	sql = "CONSTRAINT ? FOREIGN KEY ? REFERENCES ??"
    	if constraint.OnDelete != "" {
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Mon Apr 15 03:20:20 GMT 2024
    - 22.4K bytes
    - Viewed (0)
Back to top