Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 32 for selectors (0.19 sec)

  1. operator/cmd/mesh/manifest-generate_test.go

    		podLabels := mustGetLabels(t, deployment, "spec.template.metadata.labels")
    		// Check all selectors align
    		mustSelect(t, mustGetLabels(t, pdb, "spec.selector.matchLabels"), podLabels)
    		mustSelect(t, mustGetLabels(t, service, "spec.selector"), podLabels)
    		mustSelect(t, mustGetLabels(t, deployment, "spec.selector.matchLabels"), podLabels)
    		if hpaName := mustGetPath(t, hpa, "spec.scaleTargetRef.name"); cname != hpaName {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Apr 18 18:16:49 GMT 2024
    - 43.5K bytes
    - Viewed (0)
  2. cni/pkg/cmd/root.go

    	registerStringParameter(constants.RepairLabelSelectors, "",
    		"A set of label selectors in label=value format that will be added to the pod list filters")
    	registerStringParameter(constants.RepairFieldSelectors, "",
    		"A set of field selectors in label=value format that will be added to the pod list filters")
    }
    
    func registerStringParameter(name, value, usage string) {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 12.5K bytes
    - Viewed (0)
  3. cni/pkg/constants/constants.go

    	RepairInitTerminationMsg = "repair-init-container-termination-message"
    	RepairInitExitCode       = "repair-init-container-exit-code"
    	RepairLabelSelectors     = "repair-label-selectors"
    	RepairFieldSelectors     = "repair-field-selectors"
    )
    
    // Internal constants
    const (
    	DefaultKubeconfigMode = 0o600
    
    	CNIAddEventPath = "/cmdadd"
    	UDSLogPath      = "/log"
    
    	// K8s liveness and readiness endpoints
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 2.7K bytes
    - Viewed (0)
  4. src/cmd/asm/internal/asm/parse.go

    		abistr := p.get(scanner.Ident).String()
    		if !p.allowABI {
    			if issueError {
    				p.errorf("ABI selector only permitted when compiling runtime, reference was to %q", name)
    			}
    		} else {
    			theabi, valid := obj.ParseABI(abistr)
    			if !valid {
    				if issueError {
    					p.errorf("malformed ABI selector %q in reference to %q",
    						abistr, name)
    				}
    			} else {
    				abi = theabi
    			}
    		}
    	}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Feb 21 14:34:57 GMT 2024
    - 36.9K bytes
    - Viewed (0)
  5. cni/pkg/config/config.go

    	// init container termination message and exit code.
    	SidecarAnnotation  string
    	InitContainerName  string
    	InitTerminationMsg string
    	InitExitCode       int
    
    	// Label and field selectors to select pods managed by race repair.
    	LabelSelectors string
    	FieldSelectors string
    }
    
    func (c InstallConfig) String() string {
    	var b strings.Builder
    	b.WriteString("CNINetDir: " + c.CNINetDir + "\n")
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 5.5K bytes
    - Viewed (0)
  6. istioctl/pkg/util/handlers/handlers.go

    	}
    	pod, _, err := getFirstPodFunc(client, namespace, selector, timeout, sortBy)
    	if err != nil {
    		return "", "", fmt.Errorf("no pods match %q", resname)
    	}
    	return pod.Name, namespace, nil
    }
    
    // SelectorsForObject is a fork of upstream function to add additional Istio type support
    func SelectorsForObject(object runtime.Object) (namespace string, selector labels.Selector, err error) {
    	switch t := object.(type) {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Feb 06 15:01:41 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  7. istioctl/pkg/checkinject/checkinject.go

    		nsMatchedLabels := make([]string, 0)
    		podMatchedLabels := make([]string, 0)
    		extractMatchLabels := func(selector *metav1.LabelSelector) []string {
    			if selector == nil {
    				return nil
    			}
    			labels := make([]string, 0)
    			for _, me := range selector.MatchExpressions {
    				if me.Operator != metav1.LabelSelectorOpIn {
    					continue
    				}
    				for _, v := range me.Values {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 9.3K bytes
    - Viewed (0)
  8. chainable_api.go

    	tx = db.getInstance()
    
    	switch v := query.(type) {
    	case []string:
    		tx.Statement.Selects = v
    
    		for _, arg := range args {
    			switch arg := arg.(type) {
    			case string:
    				tx.Statement.Selects = append(tx.Statement.Selects, arg)
    			case []string:
    				tx.Statement.Selects = append(tx.Statement.Selects, arg...)
    			default:
    				tx.AddError(fmt.Errorf("unsupported select args %v %v", query, args))
    				return
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Wed Apr 17 03:38:55 GMT 2024
    - 14.3K bytes
    - Viewed (1)
  9. callbacks/query.go

    				}
    			}
    
    			if len(conds) > 0 {
    				db.Statement.AddClause(clause.Where{Exprs: conds})
    			}
    		}
    
    		if len(db.Statement.Selects) > 0 {
    			clauseSelect.Columns = make([]clause.Column, len(db.Statement.Selects))
    			for idx, name := range db.Statement.Selects {
    				if db.Statement.Schema == nil {
    					clauseSelect.Columns[idx] = clause.Column{Name: name, Raw: true}
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Mon Jan 29 03:34:57 GMT 2024
    - 9.9K bytes
    - Viewed (0)
  10. callbacks/associations.go

    		columnName := ""
    		if strings.HasPrefix(name, refName) {
    			columnName = strings.TrimPrefix(name, refName)
    		}
    
    		if columnName != "" {
    			if ok {
    				selects = append(selects, columnName)
    			} else {
    				omits = append(omits, columnName)
    			}
    		}
    	}
    
    	tx := db.Session(&gorm.Session{NewDB: true}).Clauses(onConflict).Session(&gorm.Session{
    		FullSaveAssociations:     db.FullSaveAssociations,
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Tue Apr 11 03:06:13 GMT 2023
    - 14.3K bytes
    - Viewed (0)
Back to top