Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 664 for mutate1 (0.58 sec)

  1. staging/src/k8s.io/apiserver/pkg/endpoints/handlers/fieldmanager/admission_test.go

    			managedFields.Manager = ""
    			return managedFields, false
    		},
    	}
    
    	for name, mutate := range managedFieldsMutators {
    		t.Run(name, func(t *testing.T) {
    			mutated, shouldReset := mutate(validManagedFieldsEntry)
    			validEntries := []metav1.ManagedFieldsEntry{validManagedFieldsEntry}
    			mutatedEntries := []metav1.ManagedFieldsEntry{mutated}
    
    			obj := &v1.ConfigMap{}
    			obj.SetManagedFields(validEntries)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jan 12 21:32:54 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  2. cmd/kubeadm/app/util/config/common.go

    		return errors.Errorf("could not find a mutator for input: %#v", in)
    	}
    	return mutator.mutateFunc(in)
    }
    
    // addEmpty adds an empty migrate mutator for a given input.
    func (mutators *migrateMutators) addEmpty(in []any) {
    	mutator := migrateMutator{
    		in:         in,
    		mutateFunc: func(in []any) error { return nil },
    	}
    	*mutators = append(*mutators, mutator)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 11:04:08 UTC 2024
    - 18.1K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/main/java/org/gradle/internal/artifacts/configurations/AbstractRoleBasedConfigurationCreationRequest.java

         *
         * This method will emit a detailed deprecation method with suggestions if the usage is inconsistent.  It will then attempt to mutate
         * the usage to match the expectation.  If the usage cannot be mutated, it will throw an exception.
         *
         * Does <strong>NOT</strong> check anything to do with deprecated usage.
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 3K bytes
    - Viewed (0)
  4. cmd/kubeadm/app/componentconfigs/kubelet_unix.go

    	"k8s.io/utils/ptr"
    
    	"k8s.io/kubernetes/cmd/kubeadm/app/util/initsystem"
    )
    
    // Mutate allows applying pre-defined modifications to the config before it's marshaled.
    func (kc *kubeletConfig) Mutate() error {
    	if err := mutateResolverConfig(&kc.config, isServiceActive); err != nil {
    		return err
    	}
    	return nil
    }
    
    // mutateResolverConfig mutates the ResolverConfig in the kubeletConfig dynamically.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 25 10:26:46 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apimachinery/pkg/util/proxy/dial_test.go

    			u.Host = net.JoinHostPort("127.0.0.1", p)
    			conn, err := DialURL(context.Background(), u, transport)
    
    			// Make sure dialing doesn't mutate the transport's TLSConfig
    			if !reflect.DeepEqual(tc.TLSConfig, tlsConfigCopy) {
    				t.Errorf("%s: transport's copy of TLSConfig was mutated\n%s", k, cmp.Diff(tc.TLSConfig, tlsConfigCopy))
    			}
    
    			if err != nil {
    				if tc.ExpectError == "" {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 23 22:33:38 UTC 2023
    - 8.4K bytes
    - Viewed (0)
  6. src/test/java/jcifs/tests/TestMutation.java

    package jcifs.tests;
    
    
    import java.util.Map;
    
    
    /**
     * @author mbechler
     *
     */
    public interface TestMutation {
    
        /**
         * @param cfg
         * @return mutated configuration
         */
        public Map<String, String> mutate ( Map<String, String> cfg );
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1K bytes
    - Viewed (0)
  7. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/core/ModelActionRole.java

        Defaults(ModelNode.State.DefaultsApplied, true), // Allows a mutation to setup default values for an element
        Initialize(ModelNode.State.Initialized, true), // Mutation action provided when an element is defined
        Mutate(ModelNode.State.Mutated, true), // Customisations
        Finalize(ModelNode.State.Finalized, true), // Post customisation default values
        Validate(ModelNode.State.SelfClosed, true); // Post mutation validations
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 2K bytes
    - Viewed (0)
  8. src/cmd/go/testdata/script/test_fuzz_mutator.txt

    [!fuzz] skip
    
    # Test basic fuzzing mutator behavior.
    #
    # fuzz_test.go has two fuzz targets (FuzzA, FuzzB) which both add a seed value.
    # Each fuzz function writes the input to a log file. The coordinator and worker
    # use separate log files. check_logs.go verifies that the coordinator only
    # tests seed values and the worker tests mutated values on the fuzz target.
    
    [short] skip
    env GOCACHE=$WORK/cache
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 16 16:53:11 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  9. cmd/kubeadm/app/componentconfigs/kubelet_unix_test.go

    		cfg                 *kubeletconfig.KubeletConfiguration
    		isServiceActiveFunc func(string) (bool, error)
    		expected            *kubeletconfig.KubeletConfiguration
    	}{
    		{
    			name: "the resolver config should not be mutated when it was set already even if systemd-resolved is active",
    			cfg: &kubeletconfig.KubeletConfiguration{
    				ResolverConfig: ptr.To(fooResolverConfig),
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 25 10:26:46 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  10. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/model/ModelRuleBindingFailureIntegrationTest.groovy

                        @Model
                        MyThing1 thing1() {
                            new MyThing1()
                        }
    
                        @Mutate
                        void thing1(MyThing1 t1, MyThing3 t3) {
                        }
    
                        @Mutate
                        void mutateThing2(MyThing2 t2, MyThing1 t1) {
                        }
                    }
                }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 10.3K bytes
    - Viewed (0)
Back to top