Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for serverConfig (0.19 sec)

  1. staging/src/k8s.io/apiserver/pkg/server/options/etcd_test.go

    			healthChecksAreEqual(t, tc.wantHealthzChecks, serverConfig.HealthzChecks, "healthz")
    			healthChecksAreEqual(t, tc.wantReadyzChecks, serverConfig.ReadyzChecks, "readyz")
    			healthChecksAreEqual(t, tc.wantLivezChecks, serverConfig.LivezChecks, "livez")
    		})
    	}
    }
    
    func TestReadinessCheck(t *testing.T) {
    	testCases := []struct {
    		name              string
    		wantReadyzChecks  []string
    		wantHealthzChecks []string
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  2. src/crypto/tls/boring_test.go

    	return true
    }
    
    func TestBoringServerCipherSuites(t *testing.T) {
    	serverConfig := testConfig.Clone()
    	serverConfig.CipherSuites = allCipherSuites()
    	serverConfig.Certificates = make([]Certificate, 1)
    
    	for _, id := range allCipherSuites() {
    		if isECDSA(id) {
    			serverConfig.Certificates[0].Certificate = [][]byte{testECDSACertificate}
    			serverConfig.Certificates[0].PrivateKey = testECDSAPrivateKey
    		} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:45:37 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  3. src/crypto/tls/quic_test.go

    	clientConfig.ServerName = "example.go.dev"
    	clientConfig.NextProtos = []string{"h3"}
    
    	serverConfig := testConfig.Clone()
    	serverConfig.MinVersion = VersionTLS13
    	serverConfig.NextProtos = []string{"h3"}
    
    	cli := newTestQUICClient(t, clientConfig)
    	cli.conn.SetTransportParameters(nil)
    	srv := newTestQUICServer(t, serverConfig)
    	srv.conn.SetTransportParameters(nil)
    	srv.ticketOpts.EarlyData = true
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 17:23:54 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  4. src/crypto/tls/conn_test.go

    func runDynamicRecordSizingTest(t *testing.T, config *Config) {
    	clientConn, serverConn := localPipe(t)
    
    	serverConfig := config.Clone()
    	serverConfig.DynamicRecordSizingDisabled = false
    	tlsConn := Server(serverConn, serverConfig)
    
    	handshakeDone := make(chan struct{})
    	recordSizesChan := make(chan []int, 1)
    	defer func() { <-recordSizesChan }() // wait for the goroutine to exit
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 24 21:35:01 UTC 2023
    - 10.5K bytes
    - Viewed (0)
  5. cni/test/install_cni.go

    }
    
    // create an install server instance and run it, blocking until it gets terminated
    // via context cancellation
    func startInstallServer(ctx context.Context, serverConfig *config.Config, t *testing.T) {
    	readyFlag := &atomic.Value{}
    	installer := install.NewInstaller(&serverConfig.InstallConfig, readyFlag)
    
    	t.Logf("CNI installer created, watching...")
    	// installer.Run() will block indefinitely, and attempt to permanently "keep"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 21 18:32:01 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  6. cmd/sftp-server.go

    		}
    	}
    
    	// An SSH server is represented by a ServerConfig, which holds
    	// certificate details and handles authentication of ServerConns.
    	sshConfig := &ssh.ServerConfig{
    		Config: ssh.Config{
    			KeyExchanges: allowKexAlgos,
    			Ciphers:      allowCiphers,
    			MACs:         allowMACs,
    		},
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Jun 05 07:51:13 UTC 2024
    - 16K bytes
    - Viewed (0)
  7. src/crypto/tls/handshake_test.go

    			panic("failed to open -keylog file: " + err.Error())
    		}
    		testConfig.KeyLogWriter = f
    		defer f.Close()
    	}
    
    	return m.Run()
    }
    
    func testHandshake(t *testing.T, clientConfig, serverConfig *Config) (serverState, clientState ConnectionState, err error) {
    	const sentinel = "SENTINEL\n"
    	c, s := localPipe(t)
    	errChan := make(chan error, 1)
    	go func() {
    		cli := Client(c, clientConfig)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 24.5K bytes
    - Viewed (0)
  8. cmd/server-main.go

    		for _, list := range cfV1.Pools {
    			pools = append(pools, poolArgs{
    				args:          list,
    				setDriveCount: setDriveCount,
    			})
    		}
    	case "v2":
    		cf := config.ServerConfig{}
    		cfReader.Seek(0, io.SeekStart)
    		if err = yaml.Unmarshal(rd, &cf); err != nil {
    			return err
    		}
    
    		pools = make([]poolArgs, 0, len(cf.Pools))
    		for _, list := range cf.Pools {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jun 04 15:12:57 UTC 2024
    - 34.5K bytes
    - Viewed (1)
Back to top