Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 120 for TLSConfig (0.12 sec)

  1. internal/grid/manager.go

    			id:            m.ID,
    			local:         o.Local,
    			remote:        host,
    			dial:          o.Dialer,
    			handlers:      &m.handlers,
    			auth:          o.AddAuth,
    			blockConnect:  o.BlockConnect,
    			tlsConfig:     o.TLSConfig,
    			publisher:     o.TraceTo,
    			incomingBytes: o.Incoming,
    			outgoingBytes: o.Outgoing,
    		})
    	}
    	if !found {
    		return nil, fmt.Errorf("grid: local host (%s) not found in cluster setup", o.Local)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 17:40:33 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiextensions-apiserver/test/integration/storage/objectreader.go

    		TrustedCAFile: config.TrustedCAFile,
    	}
    
    	tlsConfig, err := tlsInfo.ClientConfig()
    	if err != nil {
    		return nil, nil, err
    	}
    
    	cfg := clientv3.Config{
    		Endpoints:   config.ServerList,
    		DialTimeout: 20 * time.Second,
    		DialOptions: []grpc.DialOption{
    			grpc.WithBlock(), // block until the underlying connection is up
    		},
    		TLS: tlsConfig,
    	}
    
    	c, err := clientv3.New(cfg)
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 15 13:53:06 UTC 2021
    - 4.7K bytes
    - Viewed (0)
  3. cmd/grid.go

    		Local:        local,
    		Hosts:        hosts,
    		AddAuth:      newCachedAuthToken(),
    		AuthRequest:  storageServerRequestValidate,
    		BlockConnect: globalGridStart,
    		TLSConfig: &tls.Config{
    			RootCAs:          globalRootCAs,
    			CipherSuites:     fips.TLSCiphers(),
    			CurvePreferences: fips.TLSCurveIDs(),
    		},
    		// Record incoming and outgoing bytes.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 22 23:07:14 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiextensions-apiserver/test/integration/fixtures/server.go

    	}
    	tlsConfig, err := tlsInfo.ClientConfig()
    	if err != nil {
    		return nil, nil, nil, nil, "", err
    	}
    	etcdConfig := clientv3.Config{
    		Endpoints:   restOptions.StorageConfig.Transport.ServerList,
    		DialTimeout: 20 * time.Second,
    		DialOptions: []grpc.DialOption{
    			grpc.WithBlock(), // block until the underlying connection is up
    		},
    		TLS: tlsConfig,
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/endpoints/filters/authentication_test.go

    				var localAddrs atomic.Uint64 // indicates how many TCP connection set up
    
    				tlsConfig := &tls.Config{
    					RootCAs:    rootCAs,
    					NextProtos: []string{nextProto},
    				}
    
    				dailer := tls.Dialer{
    					Config: tlsConfig,
    				}
    
    				tr := &http.Transport{
    					TLSHandshakeTimeout: 10 * time.Second,
    					TLSClientConfig:     tlsConfig,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 20.5K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/apis/apiserver/v1alpha1/types.go

    	// As an example it might be "https://127.0.0.1:8131"
    	URL string `json:"url,omitempty"`
    
    	// TLSConfig is the config needed to use TLS when connecting to konnectivity server
    	// +optional
    	TLSConfig *TLSConfig `json:"tlsConfig,omitempty"`
    }
    
    // UDSTransport provides the information to connect to konnectivity server via UDS
    type UDSTransport struct {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 17:59:05 UTC 2024
    - 26.6K bytes
    - Viewed (0)
  7. pkg/test/echo/server/forwarder/xds.go

    		if err != nil {
    			return nil, err
    		}
    		opts = append(opts, grpc.WithResolvers(r))
    	}
    
    	if cfg.getClientCertificate != nil {
    		security = grpc.WithTransportCredentials(credentials.NewTLS(cfg.tlsConfig))
    	}
    
    	address := cfg.Request.Url
    
    	// Connect to the GRPC server.
    	ctx, cancel := context.WithTimeout(context.Background(), common.ConnectionTimeout)
    	defer cancel()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 10 18:09:08 UTC 2022
    - 2.7K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/plugin/pkg/authorizer/webhook/webhook_v1_test.go

    	const webhookPath = "/testserver"
    	var tlsConfig *tls.Config
    	if cert != nil {
    		cert, err := tls.X509KeyPair(cert, key)
    		if err != nil {
    			return nil, err
    		}
    		tlsConfig = &tls.Config{Certificates: []tls.Certificate{cert}}
    	}
    
    	if caCert != nil {
    		rootCAs := x509.NewCertPool()
    		rootCAs.AppendCertsFromPEM(caCert)
    		if tlsConfig == nil {
    			tlsConfig = &tls.Config{}
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 43.2K bytes
    - Viewed (0)
  9. plugin/pkg/admission/imagepolicy/admission_test.go

    	var tlsConfig *tls.Config
    	if cert != nil {
    		cert, err := tls.X509KeyPair(cert, key)
    		if err != nil {
    			return nil, err
    		}
    		tlsConfig = &tls.Config{Certificates: []tls.Certificate{cert}}
    	}
    
    	if caCert != nil {
    		rootCAs := x509.NewCertPool()
    		rootCAs.AppendCertsFromPEM(caCert)
    		if tlsConfig == nil {
    			tlsConfig = &tls.Config{}
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 02 06:05:06 UTC 2023
    - 32.9K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/apis/apiserver/v1beta1/types.go

    	// URL is the location of the konnectivity server to connect to.
    	// As an example it might be "https://127.0.0.1:8131"
    	URL string `json:"url,omitempty"`
    
    	// TLSConfig is the config needed to use TLS when connecting to konnectivity server
    	// +optional
    	TLSConfig *TLSConfig `json:"tlsConfig,omitempty"`
    }
    
    // UDSTransport provides the information to connect to konnectivity server via UDS
    type UDSTransport struct {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 17:59:05 UTC 2024
    - 25.5K bytes
    - Viewed (0)
Back to top