Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 3,045 for creading (0.15 sec)

  1. docs/en/docs/tutorial/sql-databases.md

    ### Create Pydantic *models* / schemas for reading / returning
    
    Now create Pydantic *models* (schemas) that will be used when reading data, when returning it from the API.
    
    For example, before creating an item, we don't know what will be the ID assigned to it, but when reading it (when returning it from the API) we will already know its ID.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 29.6K bytes
    - Viewed (0)
  2. cmd/kubeadm/app/phases/copycerts/copycerts_test.go

    	}
    
    	initConfiguration := testutil.GetDefaultInternalConfig(t)
    	initConfiguration.ClusterConfiguration.CertificatesDir = tmpdir
    
    	if err := certs.CreatePKIAssets(initConfiguration); err != nil {
    		t.Fatalf("error creating PKI assets: %v", err)
    	}
    
    	cs := fakeclient.NewSimpleClientset()
    	if err := UploadCerts(cs, initConfiguration, secretKey); err != nil {
    		t.Fatalf("error uploading certs: %v", err)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jan 01 00:15:30 UTC 2023
    - 9.1K bytes
    - Viewed (0)
  3. docs/contribute/concurrency.md

    This is necessary for bookkeeping when creating new streams. Correct framing requires that stream IDs are sequential on the socket, so we need to bundle assigning the ID with sending the `SYN_STREAM` frame.
    
    ## Connection Pool
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sun Feb 06 16:35:36 UTC 2022
    - 7K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/suggest/settings/ElevateWordSettings.java

                final List<String> roles = (List<String>) sourceArray[i].get(ELEVATE_WORD_ROLES);
                if (elevateWord != null && boost != null && readings != null && fields != null) {
                    elevateWords[i] =
                            new ElevateWord(elevateWord.toString(), Float.parseFloat(boost.toString()), readings, fields, tags, roles);
                }
            }
            return elevateWords;
        }
    
    Registered: Wed Jun 12 15:38:08 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apimachinery/pkg/util/httpstream/spdy/connection_test.go

    	}
    
    	spdyConn, err := NewClientConnection(conn)
    	if err != nil {
    		t.Fatalf("client: error creating spdy connection: %v", err)
    	}
    
    	if _, err := spdyConn.CreateStream(http.Header{}); err != nil {
    		t.Fatalf("client: error creating stream: %v", err)
    	}
    
    	spdyConn.Close()
    	raw := spdyConn.(*connection).conn
    	if err := raw.Wait(15 * time.Second); err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 01 11:58:57 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  6. pilot/pkg/serviceregistry/kube/controller/multicluster.go

    type Multicluster struct {
    	// serverID of this pilot instance used for leader election
    	serverID string
    
    	// options to use when creating kube controllers
    	opts Options
    
    	// client for reading remote-secrets to initialize multicluster registries
    	client kubernetes.Interface
    	s      server.Instance
    
    	serviceEntryController *serviceentry.Controller
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  7. pkg/kubelet/server/server_test.go

    				return
    			}
    
    			conn, err := upgradeRoundTripper.NewConnection(resp)
    			require.NoError(t, err, "creating streaming connection")
    			defer conn.Close()
    
    			h := http.Header{}
    			h.Set(api.StreamType, api.StreamTypeError)
    			_, err = conn.CreateStream(h)
    			require.NoError(t, err, "creating error stream")
    
    			if test.stdin {
    				h.Set(api.StreamType, api.StreamTypeStdin)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 51.5K bytes
    - Viewed (0)
  8. pkg/test/framework/testcontext.go

    		// is more readable.
    		workDir = path.Join(s.settings.RunDir(), id, "_test_context")
    	}
    	if err := os.MkdirAll(workDir, os.ModePerm); err != nil {
    		goTest.Fatalf("Error creating work dir %q: %v", workDir, err)
    	}
    
    	scopes.Framework.Debugf("Creating new testContext: %q", id)
    
    	if parentScope == nil {
    		parentScope = s.globalScope
    	}
    
    	scopeID := fmt.Sprintf("[%s]", id)
    	ctx := &testContext{
    		id:         id,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  9. pkg/client/tests/portfoward_test.go

    	defer close(stopChan1)
    	readyChan1 := make(chan struct{})
    
    	pf1, err := New(dialer, []string{":5555"}, stopChan1, readyChan1, os.Stdout, os.Stderr)
    	if err != nil {
    		t.Fatalf("error creating pf1: %v", err)
    	}
    	go pf1.ForwardPorts()
    	<-pf1.Ready
    
    	forwardedPorts, err := pf1.GetPorts()
    	if err != nil {
    		t.Fatal(err)
    	}
    	if len(forwardedPorts) != 1 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 05 06:08:18 UTC 2023
    - 7.1K bytes
    - Viewed (0)
  10. pkg/kubelet/nodeshutdown/systemd/inhibit_linux.go

    func NewDBusCon() (*DBusCon, error) {
    	conn, err := dbus.SystemBus()
    	if err != nil {
    		return nil, err
    	}
    
    	return &DBusCon{
    		SystemBus: conn,
    	}, nil
    }
    
    // InhibitLock is a lock obtained after creating an systemd inhibitor by calling InhibitShutdown().
    type InhibitLock uint32
    
    // CurrentInhibitDelay returns the current delay inhibitor timeout value as configured in logind.conf(5).
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Aug 04 06:56:50 UTC 2023
    - 6.2K bytes
    - Viewed (0)
Back to top