Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 282 for conn (0.04 sec)

  1. internal/kms/config.go

    				return nil, err
    			}
    			certificate.Watch(ctx, 15*time.Minute, syscall.SIGHUP)
    
    			conf.GetClientCertificate = func(*tls.CertificateRequestInfo) (*tls.Certificate, error) {
    				cert := certificate.Get()
    				return &cert, nil
    			}
    		}
    
    		var caDir string
    		if opts != nil {
    			caDir = opts.CADir
    		}
    		conf.RootCAs, err = certs.GetRootCAs(env.Get(EnvKESServerCA, caDir))
    		if err != nil {
    			return nil, err
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 11:46:39 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  2. api/go1.18.txt

    pkg bufio, method (ReadWriter) AvailableBuffer() []uint8
    pkg bytes, func Cut([]uint8, []uint8) ([]uint8, []uint8, bool)
    pkg bytes, func Title //deprecated
    pkg crypto/tls, method (*Conn) NetConn() net.Conn
    pkg crypto/tls, type Config struct, PreferServerCipherSuites //deprecated
    pkg crypto/x509, method (*CertPool) Subjects //deprecated
    pkg debug/buildinfo, func Read(io.ReaderAt) (*debug.BuildInfo, error)
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Feb 17 20:31:46 UTC 2023
    - 13K bytes
    - Viewed (0)
  3. cmd/iam.go

    ) (skippedAccessKeys []string, err error) {
    	conn, err := sys.LDAPConfig.LDAP.Connect()
    	if err != nil {
    		return skippedAccessKeys, err
    	}
    	defer conn.Close()
    
    	// Bind to the lookup user account
    	if err = sys.LDAPConfig.LDAP.LookupBind(conn); err != nil {
    		return skippedAccessKeys, err
    	}
    
    	var collectedErrors []error
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 29 16:01:48 UTC 2024
    - 74.6K bytes
    - Viewed (0)
  4. cmd/storage-rest-client.go

    			return toStorageErr(err) != errDiskNotFound
    		}
    	}
    	conn := gm.Connection(endpoint.GridHost()).Subroute(endpoint.Path)
    	if conn == nil {
    		return nil, fmt.Errorf("unable to find connection for %s in targets: %v", endpoint.GridHost(), gm.Targets())
    	}
    	client := &storageRESTClient{
    		endpoint:      endpoint,
    		restClient:    restClient,
    		gridConn:      conn,
    		diskInfoCache: cachevalue.New[DiskInfo](),
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Oct 13 13:07:21 UTC 2024
    - 30.2K bytes
    - Viewed (0)
  5. cni/pkg/plugin/cnieventclient.go

    	client *http.Client
    	url    string
    }
    
    func buildClient(address, path string) CNIEventClient {
    	c := &http.Client{
    		Transport: &http.Transport{
    			DialContext: func(_ context.Context, _, _ string) (net.Conn, error) {
    				return net.Dial("unix", address)
    			},
    		},
    		Timeout: 5 * time.Second,
    	}
    	eventC := CNIEventClient{
    		client: c,
    		url:    "http://unix" + path,
    	}
    	return eventC
    }
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Tue Jul 02 18:48:50 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  6. internal/http/server.go

    type Server struct {
    	http.Server
    	Addrs         []string      // addresses on which the server listens for new connection.
    	TCPOptions    TCPOptions    // all the configurable TCP conn specific configurable options.
    	listenerMutex sync.Mutex    // to guard 'listener' field.
    	listener      *httpListener // HTTP listener for all 'Addrs' field.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jun 19 18:42:47 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  7. api/go1.8.txt

    pkg crypto/tls, method (*Config) Clone() *Config
    pkg crypto/tls, method (*Conn) CloseWrite() error
    pkg crypto/tls, type CertificateRequestInfo struct
    pkg crypto/tls, type CertificateRequestInfo struct, AcceptableCAs [][]uint8
    pkg crypto/tls, type CertificateRequestInfo struct, SignatureSchemes []SignatureScheme
    pkg crypto/tls, type ClientHelloInfo struct, Conn net.Conn
    pkg crypto/tls, type ClientHelloInfo struct, SignatureSchemes []SignatureScheme
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Dec 21 05:25:57 UTC 2016
    - 16.3K bytes
    - Viewed (0)
  8. internal/http/listener_test.go

    				t.Fatalf("Test %d: error: expected = <nil>, got = %v", i+1, err)
    			}
    		}
    
    		for _, serverAddr := range listener.Addrs() {
    			conn, err := net.Dial("tcp", serverAddr.String())
    			if err != nil {
    				t.Fatalf("Test %d: error: expected = <nil>, got = %v", i+1, err)
    			}
    			conn.Close()
    		}
    
    		listener.Close()
    	}
    }
    
    func TestHTTPListenerAddr(t *testing.T) {
    	if runtime.GOOS == "windows" {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 17:41:02 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  9. finisher_api.go

    	if db.Error != nil {
    		return db.Error
    	}
    
    	tx := db.getInstance()
    	sqlDB, err := tx.DB()
    	if err != nil {
    		return
    	}
    
    	conn, err := sqlDB.Conn(tx.Statement.Context)
    	if err != nil {
    		return
    	}
    
    	defer conn.Close()
    	tx.Statement.ConnPool = conn
    	return fc(tx)
    }
    
    // Transaction start a transaction as a block, return error will rollback, otherwise to commit. Transaction executes an
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Sat Sep 14 12:58:29 UTC 2024
    - 22.8K bytes
    - Viewed (0)
  10. internal/kms/stub.go

    	return &KMS{
    		Type:           Builtin,
    		DefaultKey:     defaultKeyName,
    		latencyBuckets: defaultLatencyBuckets,
    		latency:        make([]atomic.Uint64, len(defaultLatencyBuckets)),
    		conn: &StubKMS{
    			KeyNames: []string{defaultKeyName},
    		},
    	}
    }
    
    // StubKMS is a KMS implementation for tests
    type StubKMS struct {
    	KeyNames []string
    }
    
    // Version returns the type of the KMS.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Aug 18 06:43:03 UTC 2024
    - 3.6K bytes
    - Viewed (0)
Back to top