Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 2,960 for selectgo (0.15 sec)

  1. src/cmd/compile/internal/types2/selection.go

    // by its index in the struct type of the field selection operand.
    //
    // For a FieldVal operation, the final selection refers to the field
    // specified by Selection.Obj.
    //
    // For a MethodVal operation, the final selection refers to a method.
    // If the "pointerness" of the method's declared receiver does not
    // match that of the effective receiver after implicit field
    // selection, then an & or * operation is implicitly applied to the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 22 19:32:17 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apimachinery/pkg/labels/selector.go

    		string(selection.Equals), string(selection.DoubleEquals), string(selection.NotEquals),
    		string(selection.GreaterThan), string(selection.LessThan),
    	}
    	validRequirementOperators = append(binaryOperators, unaryOperators...)
    )
    
    // Requirements is AND of all requirements.
    type Requirements []Requirement
    
    // Selector represents a label selector.
    type Selector interface {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Dec 18 04:27:38 UTC 2022
    - 31.8K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apimachinery/pkg/fields/selector.go

    	"strings"
    
    	"k8s.io/apimachinery/pkg/selection"
    )
    
    // Selector represents a field selector.
    type Selector interface {
    	// Matches returns true if this selector matches the given set of fields.
    	Matches(Fields) bool
    
    	// Empty returns true if this selector does not restrict the selection space.
    	Empty() bool
    
    	// RequiresExactMatch allows a caller to introspect whether a given selector
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 23 20:40:07 UTC 2020
    - 12.3K bytes
    - Viewed (0)
  4. src/go/types/selection.go

    }
    
    // Kind returns the selection kind.
    func (s *Selection) Kind() SelectionKind { return s.kind }
    
    // Recv returns the type of x in x.f.
    func (s *Selection) Recv() Type { return s.recv }
    
    // Obj returns the object denoted by x.f; a *Var for
    // a field selection, and a *Func in all other cases.
    func (s *Selection) Obj() Object { return s.obj }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  5. pkg/config/analysis/analyzers/sidecar/selector.go

    	"istio.io/istio/pkg/config/resource"
    	"istio.io/istio/pkg/config/schema/gvk"
    )
    
    // SelectorAnalyzer validates, per namespace, that:
    // * sidecar resources that define a workload selector match at least one pod
    // * there aren't multiple sidecar resources that select overlapping pods
    type SelectorAnalyzer struct{}
    
    var _ analysis.Analyzer = &SelectorAnalyzer{}
    
    // Metadata implements Analyzer
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun May 05 03:44:57 UTC 2024
    - 5K bytes
    - Viewed (0)
  6. staging/src/k8s.io/cli-runtime/pkg/resource/selector.go

    	"k8s.io/apimachinery/pkg/watch"
    )
    
    // Selector is a Visitor for resources that match a label selector.
    type Selector struct {
    	Client        RESTClient
    	Mapping       *meta.RESTMapping
    	Namespace     string
    	LabelSelector string
    	FieldSelector string
    	LimitChunks   int64
    }
    
    // NewSelector creates a resource selector which hides details of getting items by their label selector.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 12 15:08:01 UTC 2021
    - 2.8K bytes
    - Viewed (0)
  7. pkg/config/analysis/analyzers/telemetry/selector.go

    	// Using an index for selectoes is problematic because selector != label
    	// We can match a label to a selector, but we can't generate a selector from a label.
    	c.ForEach(gvk.Telemetry, func(rs *resource.Instance) bool {
    		s := rs.Message.(*v1alpha1.Telemetry)
    
    		// For this analysis, ignore Telemetries with no selectors specified at all.
    		if s.Selector == nil || len(s.GetSelector().MatchLabels) == 0 {
    			return true
    		}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun May 05 03:44:57 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  8. testing/internal-performance-testing/src/main/resources/org/gradle/reporting/flot.selection.min.js

    setSelection(ranges,preventEvent){var axis,range,o=plot.getOptions();if(o.selection.mode=="y"){selection.first.x=0;selection.second.x=plot.width()}else{range=extractRange(ranges,"x");selection.first.x=range.axis.p2c(range.from);selection.second.x=range.axis.p2c(range.to)}if(o.selection.mode=="x"){selection.first.y=0;selection.second.y=plot.height()}else{range=extractRange(ranges,"y");selection.first.y=range.axis.p2c(range.from);selection.second.y=range.axis.p2c(range.to)}selection.show=true;plot.trigger...
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  9. pilot/pkg/serviceregistry/util/workloadinstances/selector.go

    )
    
    // ByServiceSelector returns a predicate that matches workload instances
    // of a given service.
    func ByServiceSelector(namespace string, selector labels.Instance) func(*model.WorkloadInstance) bool {
    	return func(wi *model.WorkloadInstance) bool {
    		return wi.Namespace == namespace && selector.Match(wi.Endpoint.Labels)
    	}
    }
    
    // FindAllInIndex returns a list of workload instances in the index
    // that match given predicate.
    //
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 07 04:26:56 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  10. pkg/config/analysis/analyzers/testdata/telemetry-selector.yaml

    kind: Telemetry
    metadata:
      name: dupe-1
      namespace: default
    spec:
      selector:
        matchLabels:
          app: reviews # Multiple telemetries have the same selector, should generate errors for both
      metrics:
        - providers:
            - name: prometheus
          overrides:
            - match:
                metric: ALL_METRICS
              disabled: false
    ---
    apiVersion: telemetry.istio.io/v1alpha1
    kind: Telemetry
    metadata:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Mar 03 06:56:06 UTC 2023
    - 3.1K bytes
    - Viewed (0)
Back to top