Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for serverConfig (0.48 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/handshake_client_test.go

    	}
    
    	for i, test := range getClientCertificateTests {
    		serverConfig := testConfig.Clone()
    		serverConfig.ClientAuth = VerifyClientCertIfGiven
    		serverConfig.RootCAs = x509.NewCertPool()
    		serverConfig.RootCAs.AddCert(issuer)
    		serverConfig.ClientCAs = serverConfig.RootCAs
    		serverConfig.Time = func() time.Time { return time.Unix(1476984729, 0) }
    		serverConfig.MaxVersion = version
    
    		clientConfig := testConfig.Clone()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 88.7K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiextensions-apiserver/pkg/cmd/server/options/options.go

    	}
    
    	serverConfig := genericapiserver.NewRecommendedConfig(apiserver.Codecs)
    	if err := o.ServerRunOptions.ApplyTo(&serverConfig.Config); err != nil {
    		return nil, err
    	}
    	if err := o.RecommendedOptions.ApplyTo(serverConfig); err != nil {
    		return nil, err
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 17:57:37 UTC 2024
    - 6K bytes
    - Viewed (0)
  5. src/crypto/tls/handshake_server_test.go

    		supportedPoints:    []uint8{pointFormatUncompressed},
    	}
    	serverConfig := testConfig.Clone()
    	serverConfig.CipherSuites = clientHello.cipherSuites
    	serverConfig.Certificates = make([]Certificate, 1)
    	serverConfig.Certificates[0].Certificate = [][]byte{testECDSACertificate}
    	serverConfig.Certificates[0].PrivateKey = testECDSAPrivateKey
    	serverConfig.BuildNameToCertificate()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 03 14:56:25 UTC 2024
    - 64.7K bytes
    - Viewed (0)
  6. 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)
  7. internal/config/server.go

    }
    
    // ServerConfigV1 represents a MinIO configuration file v1
    type ServerConfigV1 struct {
    	ServerConfigVersion
    	ServerConfigCommon
    	Pools [][]string `yaml:"pools"`
    }
    
    // ServerConfig represents a MinIO configuration file
    type ServerConfig struct {
    	ServerConfigVersion
    	ServerConfigCommon
    	Pools []struct {
    		Args          []string `yaml:"args"`
    		SetDriveCount uint64   `yaml:"set-drive-count"`
    	} `yaml:"pools"`
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 03 15:54:03 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  8. src/crypto/tls/tls_test.go

    		t.Run(test.name, func(t *testing.T) {
    			if test.preparation != nil {
    				test.preparation(t)
    			} else {
    				t.Parallel()
    			}
    			serverConfig := baseConfig.Clone()
    			if test.serverConfig != nil {
    				test.serverConfig(serverConfig)
    			}
    			serverConfig.GetConfigForClient = func(hello *ClientHelloInfo) (*Config, error) {
    				if !test.expectClientSupport && slices.Contains(hello.SupportedCurves, x25519Kyber768Draft00) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 60.5K bytes
    - Viewed (0)
  9. 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)
  10. pkg/controlplane/apiserver/config_test.go

    	if err != nil {
    		t.Fatal(err)
    	}
    	if restOptions.StorageConfig.StorageObjectCountTracker != genericConfig.StorageObjectCountTracker {
    		t.Errorf("There are different StorageObjectCountTracker in restOptions and serverConfig")
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 26 12:14:06 UTC 2024
    - 2.5K bytes
    - Viewed (0)
Back to top