Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 3,170 for createFn (0.36 sec)

  1. subprojects/core-api/src/main/java/org/gradle/api/NamedDomainObjectCollection.java

        /**
         * Locates a object by name, without triggering its creation or configuration, failing if there is no such object.
         *
         * @param name The object's name
         * @return A {@link Provider} that will return the object when queried. The object may be created and configured at this point, if not already.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 01 12:50:52 UTC 2023
    - 12.4K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/admission/plugin/namespace/lifecycle/admission.go

    	}
    
    	// ensure that we're not trying to create objects in terminating namespaces
    	if a.GetOperation() == admission.Create {
    		if namespace.Status.Phase != v1.NamespaceTerminating {
    			return nil
    		}
    
    		err := admission.NewForbidden(a, fmt.Errorf("unable to create new content in namespace %s because it is being terminated", a.GetNamespace()))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Sep 15 09:52:18 UTC 2021
    - 8.6K bytes
    - Viewed (0)
  3. pkg/controller/volume/persistentvolume/provision_test.go

    				// Inject error to five kubeclient.PersistentVolumes.Create()
    				// calls
    				{Verb: "create", Resource: "persistentvolumes", Error: errors.New("Mock creation error1")},
    				{Verb: "create", Resource: "persistentvolumes", Error: errors.New("Mock creation error2")},
    				{Verb: "create", Resource: "persistentvolumes", Error: errors.New("Mock creation error3")},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 35.3K bytes
    - Viewed (0)
  4. tests/fuzz/kube_crd_fuzzer.go

    	"istio.io/istio/pkg/config/schema/collections"
    )
    
    // FuzzKubeCRD implements a fuzzer that targets
    // the kube CRD in two steps.
    // It first creates an object with a config
    // that has had pseudo-random values inserted.
    // When a valid object has been created, it
    // tries and convert that object. If this
    // conversion fails, it panics.
    func FuzzKubeCRD(data []byte) int {
    	f := fuzz.NewConsumer(data)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 02 20:50:14 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  5. pkg/kubelet/cm/types.go

    	ResourceParameters *ResourceConfig
    }
    
    // CgroupManager allows for cgroup management.
    // Supports Cgroup Creation ,Deletion and Updates.
    type CgroupManager interface {
    	// Create creates and applies the cgroup configurations on the cgroup.
    	// It just creates the leaf cgroups.
    	// It expects the parent cgroup to already exist.
    	Create(*CgroupConfig) error
    	// Destroy the cgroup.
    	Destroy(*CgroupConfig) error
    	// Update cgroup configuration.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 24 18:21:21 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  6. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/SettingsScriptApi.kt

        /**
         * Creates a {@link CopySpec} which can later be used to copy files or create an archive.
         *
         * @return The created [CopySpec]
         */
        @Suppress("unused")
        fun copySpec(): CopySpec =
            fileOperations.copySpec()
    
        /**
         * Creates a {@link CopySpec} which can later be used to copy files or create an archive.
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 15.3K bytes
    - Viewed (0)
  7. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/DeferredTaskConfigurationIntegrationTest.groovy

            buildFile << """
                def foo = tasks.create("foo", SomeTask)
                def bar = tasks.register("bar") { println "Create :bar" }
                def baz = tasks.create("baz", SomeTask)
                def fizz = tasks.create("fizz", SomeTask)
                def fuzz = tasks.create("fuzz", SomeTask)
    
                tasks.withType(SomeTask).configureEach { task ->
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 13:27:33 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  8. security/pkg/k8s/configutil_test.go

    					map[string]string{dataName: "test-data"})),
    			},
    			expectedErr: fmt.Sprintf("error when creating configmap %v: no permission to create configmap",
    				configMapName),
    			clientMod: createConfigMapDisabledClient,
    		},
    		{
    			name:              "creation: concurrently created by other client",
    			existingConfigMap: nil,
    			caBundle:          caBundle,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Feb 08 21:58:25 UTC 2024
    - 13K bytes
    - Viewed (0)
  9. pkg/bootstrap/instance_test.go

    	if cfg.StatusPort == 0 {
    		cfg.StatusPort = 15020
    	}
    	return cfg, nil
    }
    
    // createEnv takes labels and annotations are returns environment in go format.
    func createEnv(t *testing.T, labels map[string]string, anno map[string]string) (map[string]string, []string) {
    	merged := map[string]string{}
    	mergeMap(merged, labels)
    	mergeMap(merged, anno)
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 16 17:05:28 UTC 2024
    - 19.5K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/admission/plugin/namespace/lifecycle/admission_test.go

    	if err == nil {
    		t.Errorf("Expected error rejecting creates in a namespace when it is missing")
    	}
    
    	// verify update operations in the namespace cause an error
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 14.2K bytes
    - Viewed (0)
Back to top