Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for getName (0.19 sec)

  1. 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 Apr 24 22:53:08 GMT 2024
    - Last Modified: Mon Jan 22 17:58:52 GMT 2024
    - 15K bytes
    - Viewed (0)
  2. istioctl/pkg/writer/envoy/configdump/ecds.go

    		}
    
    		ecds = append(ecds, c)
    	}
    
    	sort.Slice(ecds, func(i, j int) bool {
    		if ecds[i].GetTypedConfig().GetTypeUrl() == ecds[j].GetTypedConfig().GetTypeUrl() {
    			return ecds[i].GetName() < ecds[j].GetName()
    		}
    
    		return ecds[i].GetTypedConfig().GetTypeUrl() < ecds[j].GetTypedConfig().GetTypeUrl()
    	})
    
    	return ecds, nil
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Sat Jan 14 02:41:27 GMT 2023
    - 2.6K bytes
    - Viewed (0)
  3. 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 Apr 24 22:53:08 GMT 2024
    - Last Modified: Wed Nov 29 12:37:14 GMT 2023
    - 18.1K bytes
    - Viewed (0)
  4. istioctl/pkg/authz/listener.go

    				case wellknown.HTTPConnectionManager, "envoy.http_connection_manager":
    					if cm := getHTTPConnectionManager(filter); cm != nil {
    						for _, httpFilter := range cm.GetHttpFilters() {
    							switch httpFilter.GetName() {
    							case wellknown.HTTPRoleBasedAccessControl:
    								rbacHTTP := &rbachttp.RBAC{}
    								if err := getHTTPFilterConfig(httpFilter, rbacHTTP); err != nil {
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Mon Sep 11 15:29:30 GMT 2023
    - 6K bytes
    - Viewed (0)
  5. cni/pkg/nodeagent/informers.go

    // TODO it is sort of pointless/confusing/implicit to populate Old and New with the same reference here
    func (s *InformerHandlers) enqueueNamespace(o controllers.Object) {
    	namespace := o.GetName()
    	labels := o.GetLabels()
    	matchAmbient := labels[constants.DataplaneMode] == constants.DataplaneModeAmbient
    	if matchAmbient {
    		log.Infof("Namespace %s is enabled in ambient mesh", namespace)
    	} else {
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Thu Feb 08 01:03:24 GMT 2024
    - 9.9K bytes
    - Viewed (0)
  6. 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 Apr 24 22:53:08 GMT 2024
    - Last Modified: Sat Feb 17 12:24:17 GMT 2024
    - 10.1K bytes
    - Viewed (0)
  7. schema/interfaces.go

    package schema
    
    import (
    	"gorm.io/gorm/clause"
    )
    
    // ConstraintInterface database constraint interface
    type ConstraintInterface interface {
    	GetName() string
    	Build() (sql string, vars []interface{})
    }
    
    // GormDataTypeInterface gorm data type interface
    type GormDataTypeInterface interface {
    	GormDataType() string
    }
    
    // FieldNewValuePool field new scan value pool
    type FieldNewValuePool interface {
    	Get() interface{}
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Sun Feb 04 07:49:19 GMT 2024
    - 980 bytes
    - Viewed (0)
  8. schema/constraint.go

    var regEnLetterAndMidline = regexp.MustCompile(`^[\w-]+$`)
    
    type CheckConstraint struct {
    	Name       string
    	Constraint string // length(phone) >= 10
    	*Field
    }
    
    func (chk *CheckConstraint) GetName() string { return chk.Name }
    
    func (chk *CheckConstraint) Build() (sql string, vars []interface{}) {
    	return "CONSTRAINT ? CHECK (?)", []interface{}{clause.Column{Name: chk.Name}, clause.Expr{SQL: chk.Constraint}}
    }
    
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Mon Mar 18 07:33:54 GMT 2024
    - 1.9K 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 Apr 28 09:35:09 GMT 2024
    - Last Modified: Mon Apr 15 03:20:20 GMT 2024
    - 22.4K bytes
    - Viewed (0)
  10. 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 Apr 28 09:35:09 GMT 2024
    - Last Modified: Fri Apr 26 07:15:49 GMT 2024
    - 29K bytes
    - Viewed (0)
Back to top