Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 76 for fieldmanager_b (0.19 sec)

  1. staging/src/k8s.io/apimachinery/pkg/util/managedfields/fieldmanager_test.go

    	}
    
    	// Agent A applies initial configuration
    	if err := f.Apply(newObj.DeepCopyObject(), "fieldmanager_z", false); err != nil {
    		t.Fatalf("failed to apply object: %v", err)
    	}
    
    	// Agent B applies additive configuration
    	if err := f.Apply(appliedObj, "fieldmanager_b", false); err != nil {
    		t.Fatalf("failed to apply object %v", err)
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 16 20:03:48 UTC 2023
    - 32.5K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apimachinery/pkg/util/managedfields/internal/lastappliedmanager_test.go

    			),
    		},
    		{
    			fieldManager: "kubectl",
    			original: []byte(`
    apiVersion: apps/v1
    kind: Deployment
    metadata:
      name: my-deployment
    spec:
      replicas: 3
    `),
    			applied: []byte(`
    apiVersion: apps/v1
    kind: Deployment
    metadata:
      name: my-deployment
    spec:
      replicas: 100 # update replicas
    `),
    		},
    		{
    			fieldManager: "kubectl",
    			lastApplied: []byte(`
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 08 21:44:00 UTC 2023
    - 20K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/validation/validation.go

    		}
    	} else {
    		if options.FieldManager == "" {
    			// This field is defaulted to "kubectl" by kubectl, but HAS TO be explicitly set by controllers.
    			allErrs = append(allErrs, field.Required(field.NewPath("fieldManager"), "is required for apply patch"))
    		}
    	}
    	allErrs = append(allErrs, ValidateFieldManager(options.FieldManager, field.NewPath("fieldManager"))...)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Nov 08 01:52:02 UTC 2022
    - 13.5K bytes
    - Viewed (0)
  4. staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1alpha1/validatingadmissionpolicy.go

    // applied if another fieldManager has updated or force applied any of the previously applied fields.
    // Experimental!
    func ExtractValidatingAdmissionPolicy(validatingAdmissionPolicy *admissionregistrationv1alpha1.ValidatingAdmissionPolicy, fieldManager string) (*ValidatingAdmissionPolicyApplyConfiguration, error) {
    	return extractValidatingAdmissionPolicy(validatingAdmissionPolicy, fieldManager, "")
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 14 02:44:28 UTC 2023
    - 13.4K bytes
    - Viewed (0)
  5. staging/src/k8s.io/client-go/applyconfigurations/apps/v1/deployment.go

    // Note that an extracted apply configuration will contain fewer fields than what the fieldManager previously
    // applied if another fieldManager has updated or force applied any of the previously applied fields.
    // Experimental!
    func ExtractDeployment(deployment *apiappsv1.Deployment, fieldManager string) (*DeploymentApplyConfiguration, error) {
    	return extractDeployment(deployment, fieldManager, "")
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 23 17:59:55 UTC 2022
    - 12.1K bytes
    - Viewed (0)
  6. staging/src/k8s.io/client-go/applyconfigurations/certificates/v1/certificatesigningrequest.go

    // applied if another fieldManager has updated or force applied any of the previously applied fields.
    // Experimental!
    func ExtractCertificateSigningRequest(certificateSigningRequest *apicertificatesv1.CertificateSigningRequest, fieldManager string) (*CertificateSigningRequestApplyConfiguration, error) {
    	return extractCertificateSigningRequest(certificateSigningRequest, fieldManager, "")
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 23 17:59:55 UTC 2022
    - 13.3K bytes
    - Viewed (0)
  7. staging/src/k8s.io/client-go/applyconfigurations/core/v1/componentstatus.go

    // the fieldManager never owned fields any fields.
    // componentStatus must be a unmodified ComponentStatus API object that was retrieved from the Kubernetes API.
    // ExtractComponentStatus provides a way to perform a extract/modify-in-place/apply workflow.
    // Note that an extracted apply configuration will contain fewer fields than what the fieldManager previously
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 23 17:59:55 UTC 2022
    - 12.1K bytes
    - Viewed (0)
  8. staging/src/k8s.io/client-go/applyconfigurations/core/v1/endpoints.go

    // Note that an extracted apply configuration will contain fewer fields than what the fieldManager previously
    // applied if another fieldManager has updated or force applied any of the previously applied fields.
    // Experimental!
    func ExtractEndpoints(endpoints *apicorev1.Endpoints, fieldManager string) (*EndpointsApplyConfiguration, error) {
    	return extractEndpoints(endpoints, fieldManager, "")
    }
    
    // ExtractEndpointsStatus is the same as ExtractEndpoints except
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 23 17:59:55 UTC 2022
    - 11.7K bytes
    - Viewed (0)
  9. staging/src/k8s.io/client-go/applyconfigurations/core/v1/podtemplate.go

    // applied if another fieldManager has updated or force applied any of the previously applied fields.
    // Experimental!
    func ExtractPodTemplate(podTemplate *apicorev1.PodTemplate, fieldManager string) (*PodTemplateApplyConfiguration, error) {
    	return extractPodTemplate(podTemplate, fieldManager, "")
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 23 17:59:55 UTC 2022
    - 11.7K bytes
    - Viewed (0)
  10. staging/src/k8s.io/client-go/applyconfigurations/core/v1/persistentvolume.go

    // the fieldManager never owned fields any fields.
    // persistentVolume must be a unmodified PersistentVolume API object that was retrieved from the Kubernetes API.
    // ExtractPersistentVolume provides a way to perform a extract/modify-in-place/apply workflow.
    // Note that an extracted apply configuration will contain fewer fields than what the fieldManager previously
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 23 17:59:55 UTC 2022
    - 12.5K bytes
    - Viewed (0)
Back to top