Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 3,443 for fieldsV1 (0.22 sec)

  1. staging/src/k8s.io/api/testdata/v1.29.0/resource.k8s.io.v1alpha2.ResourceClaimTemplate.yaml

      finalizers:
      - finalizersValue
      generateName: generateNameValue
      generation: 7
      labels:
        labelsKey: labelsValue
      managedFields:
      - apiVersion: apiVersionValue
        fieldsType: fieldsTypeValue
        fieldsV1: {}
        manager: managerValue
        operation: operationValue
        subresource: subresourceValue
        time: "2004-01-01T01:01:01Z"
      name: nameValue
      namespace: namespaceValue
      ownerReferences:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 04:12:07 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apimachinery/pkg/util/managedfields/internal/fields_test.go

    		if err != nil {
    			t.Fatalf("Failed to create fields trie from path set: %v", err)
    		}
    		if !reflect.DeepEqual(test, output) {
    			t.Fatalf("Expected round-trip:\ninput: %v\noutput: %v", test, output)
    		}
    	}
    }
    
    // TestFieldsToSetError tests that errors are picked up by FieldsToSet
    func TestFieldsToSetError(t *testing.T) {
    	tests := []struct {
    		fields    metav1.FieldsV1
    		errString string
    	}{
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 08 21:44:00 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apimachinery/pkg/util/managedfields/internal/capmanagers_test.go

    		return metav1.ManagedFieldsEntry{
    			Manager:    name,
    			APIVersion: version,
    			Operation:  "Update",
    			FieldsType: "FieldsV1",
    			FieldsV1:   fields,
    			Time:       &metav1.Time{Time: time.Time{}.Add(time.Hour * time.Duration(order))},
    		}
    	}
    
    	testCases := []struct {
    		name     string
    		input    []metav1.ManagedFieldsEntry
    		expected []metav1.ManagedFieldsEntry
    	}{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 08 21:44:00 UTC 2023
    - 10.1K bytes
    - Viewed (0)
  4. staging/src/k8s.io/api/testdata/v1.30.0/resource.k8s.io.v1alpha2.ResourceClaimTemplate.yaml

      finalizers:
      - finalizersValue
      generateName: generateNameValue
      generation: 7
      labels:
        labelsKey: labelsValue
      managedFields:
      - apiVersion: apiVersionValue
        fieldsType: fieldsTypeValue
        fieldsV1: {}
        manager: managerValue
        operation: operationValue
        subresource: subresourceValue
        time: "2004-01-01T01:01:01Z"
      name: nameValue
      namespace: namespaceValue
      ownerReferences:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 08:52:25 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  5. staging/src/k8s.io/api/testdata/v1.29.0/resource.k8s.io.v1alpha2.ResourceClaimTemplate.json

    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 04:12:07 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  6. plugin/pkg/admission/security/podsecurity/testdata/pod_restricted.yaml

      creationTimestamp: "2021-08-20T14:35:04Z"
      generateName: kube-dns-76dbc85bd5-
      labels:
        k8s-app: kube-dns
        pod-template-hash: 76dbc85bd5
      managedFields:
      - apiVersion: v1
        fieldsType: FieldsV1
        fieldsV1:
          f:metadata:
            f:annotations:
              .: {}
              f:scheduler.alpha.kubernetes.io/critical-pod: {}
              f:seccomp.security.alpha.kubernetes.io/pod: {}
            f:generateName: {}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 04 16:26:30 UTC 2021
    - 18.3K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/validation/validation_test.go

    		FieldsType: "RandomVersion",
    		APIVersion: "v1",
    	}, {
    		Operation:  "RandomOperation",
    		FieldsType: "FieldsV1",
    		APIVersion: "v1",
    	}, {
    		// Operation is missing
    		FieldsType: "FieldsV1",
    		APIVersion: "v1",
    	}, {
    		Operation:  metav1.ManagedFieldsOperationUpdate,
    		FieldsType: "FieldsV1",
    		// Invalid fieldManager
    		Manager:    "field\nmanager",
    		APIVersion: "v1",
    	}, {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 02 07:48:42 UTC 2023
    - 15.2K bytes
    - Viewed (0)
  8. plugin/pkg/admission/security/podsecurity/testdata/pod_baseline.yaml

      creationTimestamp: "2021-08-20T14:35:04Z"
      generateName: kube-dns-76dbc85bd5-
      labels:
        k8s-app: kube-dns
        pod-template-hash: 76dbc85bd5
      managedFields:
      - apiVersion: v1
        fieldsType: FieldsV1
        fieldsV1:
          f:metadata:
            f:annotations:
              .: {}
              f:scheduler.alpha.kubernetes.io/critical-pod: {}
              f:seccomp.security.alpha.kubernetes.io/pod: {}
            f:generateName: {}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 04 16:26:30 UTC 2021
    - 18.1K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apimachinery/pkg/util/managedfields/extract.go

    	if !ok {
    		return nil
    	}
    	fieldset := &fieldpath.Set{}
    	err = fieldset.FromJSON(bytes.NewReader(fieldsEntry.FieldsV1.Raw))
    	if err != nil {
    		return fmt.Errorf("error marshalling FieldsV1 to JSON: %w", err)
    	}
    
    	u := typedObj.ExtractItems(fieldset.Leaves()).AsValue().Unstructured()
    	m, ok := u.(map[string]interface{})
    	if !ok {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 12 03:17:15 UTC 2022
    - 4.4K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/helpers.go

    }
    
    // UnmarshalJSON implements json.Unmarshaler
    func (f *FieldsV1) UnmarshalJSON(b []byte) error {
    	if f == nil {
    		return errors.New("metav1.Fields: UnmarshalJSON on nil pointer")
    	}
    	if !bytes.Equal(b, []byte("null")) {
    		f.Raw = append(f.Raw[0:0], b...)
    	}
    	return nil
    }
    
    var _ json.Marshaler = FieldsV1{}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Sep 15 10:58:36 UTC 2022
    - 9.6K bytes
    - Viewed (0)
Back to top