Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 2,729 for creat (0.12 sec)

  1. docs/en/docs/how-to/sql-databases-peewee.md

    And now in the file `sql_app/main.py` let's integrate and use all the other parts we created before.
    
    ### Create the database tables
    
    In a very simplistic way create the database tables:
    
    ```Python hl_lines="9-11"
    {!../../../docs_src/sql_databases_peewee/sql_app/main.py!}
    ```
    
    ### Create a dependency
    
    Create a dependency that will connect the database right at the beginning of a request and disconnect it at the end:
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Tue Jan 16 13:23:25 UTC 2024
    - 23.6K bytes
    - Viewed (0)
  2. pkg/controller/daemon/update.go

    		return dsc.syncNodes(ctx, ds, oldPodsToDelete, nil, hash)
    	}
    
    	// When surging, we create new pods whenever an old pod is unavailable, and we can create up
    	// to maxSurge extra pods
    	//
    	// Assumptions:
    	// * Expect manage loop to allow no more than two pods per node, one old, one new
    	// * Expect manage loop will create new pods if there are no pods on node
    	// * Expect manage loop will handle failed pods
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 13 16:53:53 UTC 2024
    - 24.4K bytes
    - Viewed (0)
  3. plugin/pkg/admission/gc/gc_admission.go

    	// if you are creating a thing, you should always be allowed to set an owner ref since you logically had the power
    	// to never create it.  We still need to check block owner deletion below, because the power to delete does not
    	// imply the power to prevent deletion on other resources.
    	if attributes.GetOperation() != admission.Create {
    		deleteAttributes := authorizer.AttributesRecord{
    			User:            attributes.GetUserInfo(),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Sep 05 02:24:38 UTC 2023
    - 10.3K bytes
    - Viewed (0)
  4. pkg/controller/history/controller_history.go

    // ControllerRevisions. This method should be used to create an Interface for all scenarios other than testing.
    func NewHistory(client clientset.Interface, lister appslisters.ControllerRevisionLister) Interface {
    	return &realHistory{client, lister}
    }
    
    // NewFakeHistory returns an instance of Interface that uses informer to create, update, list, and delete
    // ControllerRevisions. This method should be used to create an Interface for testing purposes.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 05 13:33:52 UTC 2021
    - 18.2K bytes
    - Viewed (0)
  5. pkg/volume/csi/csi_block.go

    		}
    	}
    
    	// Creating a stagingPath directory before call to NodeStageVolume
    	if err := os.MkdirAll(stagingPath, 0750); err != nil {
    		return "", errors.New(log("blockMapper.stageVolumeForBlock failed to create dir %s: %v", stagingPath, err))
    	}
    	klog.V(4).Info(log("blockMapper.stageVolumeForBlock created stagingPath directory successfully [%s]", stagingPath))
    
    	// Request to stage a block volume to stagingPath.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Sep 11 06:07:40 UTC 2023
    - 20.1K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/BenchmarkHelpers.java

          }
        },
        LinkedHashMultisetImpl {
          @Override
          public <E extends Comparable<E>> Multiset<E> create(Collection<E> contents) {
            return LinkedHashMultiset.create(contents);
          }
        },
        ConcurrentHashMultisetImpl {
          @Override
          public <E extends Comparable<E>> Multiset<E> create(Collection<E> contents) {
            return ConcurrentHashMultiset.create(contents);
          }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Mar 04 04:06:35 UTC 2022
    - 12.3K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/predicates/rules/rules_test.go

    				a("g", "v", "r", "exec", "name", admission.Create, &metav1.CreateOptions{}),
    				a("2", "v", "r2", "proxy", "name", admission.Create, &metav1.CreateOptions{}),
    				a("2", "v", "r3", "proxy", "name", admission.Create, &metav1.CreateOptions{}),
    			),
    			noMatch: attrList(
    				a("g", "v", "r", "", "name", admission.Create, &metav1.CreateOptions{}),
    				a("2", "v", "r2", "", "name", admission.Create, &metav1.CreateOptions{}),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 25 23:28:16 UTC 2022
    - 13.8K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/ContiguousSetTest.java

                ContiguousSet.create(Range.closed(1, 3), integers()),
                ContiguousSet.closed(1, 3),
                ContiguousSet.create(Range.closedOpen(1, 4), integers()),
                ContiguousSet.closedOpen(1, 4),
                ContiguousSet.create(Range.openClosed(0, 3), integers()),
                ContiguousSet.create(Range.open(0, 4), integers()),
                ContiguousSet.create(Range.closed(1, 3), NOT_EQUAL_TO_INTEGERS),
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Feb 19 20:34:55 UTC 2024
    - 19.1K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/admission/metrics/metrics_test.go

    	Metrics.ObserveMatchConditionEvalError(context.TODO(), "x", kindWebhook, stepValidate, string(admission.Create))
    	Metrics.ObserveMatchConditionEvalError(context.TODO(), "x", kindPolicy, stepAdmit, string(admission.Create))
    	Metrics.ObserveMatchConditionEvalError(context.TODO(), "x", kindPolicy, stepValidate, string(admission.Create))
    	wantLabelsCounterPolicyAdmit := map[string]string{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 14 17:01:37 UTC 2023
    - 16.9K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/MultisetsTest.java

        Multiset<String> ms1 = HashMultiset.create();
        Multiset<String> ms2 = HashMultiset.create(Arrays.asList("a", "b", "a"));
        assertEquals(ms2, Multisets.union(ms1, ms2));
      }
    
      public void testUnionNonemptyEmpty() {
        Multiset<String> ms1 = HashMultiset.create(Arrays.asList("a", "b", "a"));
        Multiset<String> ms2 = HashMultiset.create();
        assertEquals(ms1, Multisets.union(ms1, ms2));
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 17 15:27:58 UTC 2024
    - 11.3K bytes
    - Viewed (0)
Back to top