Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 679 for fieldsV1 (1.15 sec)

  1. pkg/apis/resource/validation/validation_resourceclaimtemplate_test.go

    					"example.com/foo",
    				}
    				return template
    			}(),
    		},
    		"managed-fields": {
    			template: func() *resource.ResourceClaimTemplate {
    				template := testClaimTemplate(goodName, goodNS, goodClaimSpec)
    				template.ManagedFields = []metav1.ManagedFieldsEntry{
    					{
    						FieldsType: "FieldsV1",
    						Operation:  "Apply",
    						APIVersion: "apps/v1",
    						Manager:    "foo",
    					},
    				}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 09:18:10 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  2. pkg/apis/resource/validation/validation_resourceclass_test.go

    				class.Finalizers = []string{
    					"example.com/foo",
    				}
    				return class
    			}(),
    		},
    		"managed-fields": {
    			class: func() *resource.ResourceClass {
    				class := testClass(goodName, goodName)
    				class.ManagedFields = []metav1.ManagedFieldsEntry{
    					{
    						FieldsType: "FieldsV1",
    						Operation:  "Apply",
    						APIVersion: "apps/v1",
    						Manager:    "foo",
    					},
    				}
    				return class
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 09:18:10 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apimachinery/pkg/apis/meta/fuzzer/fuzzer.go

    				sort.Slice(j.MatchExpressions, func(a, b int) bool { return j.MatchExpressions[a].Key < j.MatchExpressions[b].Key })
    			}
    		},
    		func(j *metav1.ManagedFieldsEntry, c fuzz.Continue) {
    			c.FuzzNoCustom(j)
    			j.FieldsV1 = nil
    		},
    	}
    }
    
    func v1beta1FuzzerFuncs(codecs runtimeserializer.CodecFactory) []interface{} {
    	return []interface{}{
    		func(r *metav1beta1.TableOptions, c fuzz.Continue) {
    			c.FuzzNoCustom(r)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 03 15:12:26 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiextensions-apiserver/test/integration/subresources_test.go

    	if err != nil {
    		t.Fatalf("Failed to Get CustomResource: %v", err)
    	}
    
    	// Managed fields should have 3 entries: one for scale, one for spec, and one for the rest of the fields
    	managedFields := obj.GetManagedFields()
    	if len(managedFields) != 3 {
    		t.Fatalf("Expected 3 managed fields, got %v: %v", len(managedFields), obj.GetManagedFields())
    	}
    	specEntry := managedFields[0]
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 12 17:35:34 UTC 2024
    - 33.2K bytes
    - Viewed (0)
  5. pkg/apis/resource/validation/validation_resourceclaim_test.go

    				claim.Finalizers = []string{
    					"example.com/foo",
    				}
    				return claim
    			}(),
    		},
    		"managed-fields": {
    			claim: func() *resource.ResourceClaim {
    				claim := testClaim(goodName, goodNS, goodClaimSpec)
    				claim.ManagedFields = []metav1.ManagedFieldsEntry{
    					{
    						FieldsType: "FieldsV1",
    						Operation:  "Apply",
    						APIVersion: "apps/v1",
    						Manager:    "foo",
    					},
    				}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 09:18:10 UTC 2024
    - 28.7K bytes
    - Viewed (0)
  6. src/encoding/csv/reader.go

    	// FieldsPerRecord is the number of expected fields per record.
    	// If FieldsPerRecord is positive, Read requires each record to
    	// have the given number of fields. If FieldsPerRecord is 0, Read sets it to
    	// the number of fields in the first record, so that future records must
    	// have the same field count. If FieldsPerRecord is negative, no check is
    	// made and records may have a variable number of fields.
    	FieldsPerRecord int
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 21:32:28 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  7. src/text/template/doc.go

    	  chained:
    	    .Field1.Field2
    	  Fields can also be evaluated on variables, including chaining:
    	    $x.Field1.Field2
    	- The name of a key of the data, which must be a map, preceded
    	  by a period, such as
    		.Key
    	  The result is the map element value indexed by the key.
    	  Key invocations may be chained and combined with fields to any
    	  depth:
    	    .Field1.Key1.Field2.Key2
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Feb 24 21:59:12 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/admission/plugin/cel/compile.go

    		for _, f := range fields {
    			result[f.Name] = f
    		}
    		return result
    	}
    	gvkType := apiservercel.NewObjectType("kubernetes.GroupVersionKind", fields(
    		field("group", apiservercel.StringType, true),
    		field("version", apiservercel.StringType, true),
    		field("kind", apiservercel.StringType, true),
    	))
    	gvrType := apiservercel.NewObjectType("kubernetes.GroupVersionResource", fields(
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  9. cmd/kubeadm/app/util/etcd/etcd_test.go

    func TestClient_GetMemberID(t *testing.T) {
    	type fields struct {
    		Endpoints     []string
    		newEtcdClient func(endpoints []string) (etcdClient, error)
    	}
    	type args struct {
    		peerURL string
    	}
    	tests := []struct {
    		name    string
    		fields  fields
    		args    args
    		want    uint64
    		wantErr error
    	}{
    		{
    			name: "member ID found",
    			fields: fields{
    				Endpoints: []string{},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jan 14 13:07:56 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  10. src/encoding/json/encode.go

    // the fields.
    func dominantField(fields []field) (field, bool) {
    	// The fields are sorted in increasing index-length order, then by presence of tag.
    	// That means that the first field is the dominant one. We need only check
    	// for error cases: two fields at top level, either both tagged or neither tagged.
    	if len(fields) > 1 && len(fields[0].index) == len(fields[1].index) && fields[0].tag == fields[1].tag {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:18:55 UTC 2024
    - 36.2K bytes
    - Viewed (0)
Back to top