Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 1,080 for Field2 (0.39 sec)

  1. pkg/kubelet/cm/pod_container_manager_linux_test.go

    			fields: fields{
    				cgroupManager: NewCgroupManager(nil, "cgroupfs"),
    			},
    			args: args{
    				pod: newGuaranteedPodWithUID("fake-uid-1"),
    			},
    			wantCgroupName:      NewCgroupName(qosContainersInfo.Guaranteed, "podfake-uid-1"),
    			wantLiteralCgroupfs: NewCgroupName(qosContainersInfo.Guaranteed, "podfake-uid-1").ToCgroupfs(),
    		}, {
    			name: "pod with qos guaranteed and systemd",
    			fields: fields{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 08 13:06:38 UTC 2022
    - 8.9K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/storage/selection_predicate_test.go

    			fields:        fields.Set{},
    			shouldMatch:   false,
    		},
    		"C": {
    			labelSelector: "name=foo",
    			fieldSelector: "uid=12345",
    			labels:        labels.Set{},
    			fields:        fields.Set{"uid": "12345"},
    			shouldMatch:   false,
    		},
    		"D": {
    			fieldSelector:  "metadata.name=12345",
    			labels:         labels.Set{},
    			fields:         fields.Set{"metadata.name": "12345"},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Nov 30 10:39:09 UTC 2023
    - 8.6K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/authorization/cel/compile.go

    func buildRequestType(field func(name string, declType *apiservercel.DeclType, required bool) *apiservercel.DeclField, fields func(fields ...*apiservercel.DeclField) map[string]*apiservercel.DeclField) *apiservercel.DeclType {
    	resourceAttributesType := buildResourceAttributesType(field, fields)
    	nonResourceAttributesType := buildNonResourceAttributesType(field, fields)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Nov 02 20:56:52 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  4. pkg/api/testing/conversion.go

    */
    
    package testing
    
    import (
    	"testing"
    
    	"k8s.io/apimachinery/pkg/fields"
    	"k8s.io/apimachinery/pkg/runtime/schema"
    	"k8s.io/kubernetes/pkg/api/legacyscheme"
    )
    
    // TestSelectableFieldLabelConversionsOfKind verifies that given resource have field
    // label conversion defined for each its selectable field.
    // fields contains selectable fields of the resource.
    // labelMap maps deprecated labels to their canonical names.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 07 07:01:25 UTC 2018
    - 2.4K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apimachinery/pkg/util/managedfields/internal/capmanagers.go

    			// If the bucket doesn't exists yet, create one.
    			if _, ok := managed.Fields()[bucket]; !ok {
    				s := managed.Fields()[first]
    				delete(managed.Fields(), first)
    				managed.Fields()[bucket] = s
    			}
    
    			managed.Fields()[bucket] = fieldpath.NewVersionedSet(vs.Set().Union(managed.Fields()[bucket].Set()), vs.APIVersion(), vs.Applied())
    			delete(managed.Fields(), manager)
    			length--
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 08 21:44:00 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  6. pkg/registry/resource/resourceclaim/strategy.go

    // Match returns a generic matcher for a given label and field selector.
    func Match(label labels.Selector, field fields.Selector) storage.SelectionPredicate {
    	return storage.SelectionPredicate{
    		Label:    label,
    		Field:    field,
    		GetAttrs: GetAttrs,
    	}
    }
    
    // GetAttrs returns labels and fields of a given object for filtering purposes.
    func GetAttrs(obj runtime.Object) (labels.Set, fields.Set, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 05 20:39:24 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  7. test/fixedbugs/issue20014.dir/main.go

    func main() {
    	samePackage()
    	crossPackage()
    
    	// Print fields registered with field tracking.
    	var fields []string
    	for _, line := range strings.Split(fieldTrackInfo, "\n") {
    		if line != "" {
    			fields = append(fields, strings.Split(line, "\t")[0])
    		}
    	}
    	sort.Strings(fields) // for stable output, regardless of optimizations
    	for _, field := range fields {
    		println(field)
    	}
    }
    
    type T struct {
    	X int `go:"track"`
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 16 19:48:35 UTC 2022
    - 1K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/cel/mutation/common/val.go

    // construction syntax.
    type ObjectVal struct {
    	typeRef TypeRef
    	fields  map[string]ref.Val
    }
    
    // NewObjectVal creates an ObjectVal by its TypeRef and its fields.
    func NewObjectVal(typeRef TypeRef, fields map[string]ref.Val) *ObjectVal {
    	return &ObjectVal{
    		typeRef: typeRef,
    		fields:  fields,
    	}
    }
    
    var _ ref.Val = (*ObjectVal)(nil)
    var _ traits.Zeroer = (*ObjectVal)(nil)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 27 21:55:08 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  9. src/net/http/response.go

    	// Header values are duplicated by other fields in this struct (e.g.,
    	// ContentLength, TransferEncoding, Trailer), the field values are
    	// authoritative.
    	//
    	// Keys in the map are canonicalized (see CanonicalHeaderKey).
    	Header Header
    
    	// Body represents the response body.
    	//
    	// The response body is streamed on demand as the Body field
    	// is read. If the network connection fails or the server
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 10 03:29:50 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  10. tests/integration/telemetry/api/istioctl_metrics_test.go

    		return errors.New("unexpected output (incorrect number of lines)")
    	}
    	fields := strings.Fields(lines[1])
    	if len(fields) != 6 {
    		t.Logf("Expected 6 columns, got %#v", fields)
    		return errors.New("unexpected output (incorrect number of columns)")
    	}
    	if fields[0] != workload {
    		t.Logf("Expected column 1 to be %q, got %#v", workload, fields)
    		return errors.New("unexpected output (incorrect workload)")
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 2.8K bytes
    - Viewed (0)
Back to top