Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 30 for Bonnet (0.19 sec)

  1. internal/event/target/nats.go

    		connOpts = append(connOpts, nats.RootCAs(n.CertAuthority))
    	}
    	if n.ClientCert != "" && n.ClientKey != "" {
    		connOpts = append(connOpts, nats.ClientCert(n.ClientCert, n.ClientKey))
    	}
    	return nats.Connect(n.Address.String(), connOpts...)
    }
    
    // To obtain a streaming connection from args.
    func (n NATSArgs) connectStan() (stan.Conn, error) {
    	scheme := "nats"
    	if n.Secure {
    		scheme = "tls"
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Feb 27 18:11:55 GMT 2024
    - 12.8K bytes
    - Viewed (0)
  2. cmd/iam.go

    // whenever the parent user parses validly as a DN.
    func (sys *IAMSys) NormalizeLDAPAccessKeypairs(ctx context.Context, accessKeyMap map[string]madmin.SRSvcAccCreate,
    ) (err error) {
    	conn, err := sys.LDAPConfig.LDAP.Connect()
    	if err != nil {
    		return err
    	}
    	defer conn.Close()
    
    	// Bind to the lookup user account
    	if err = sys.LDAPConfig.LDAP.LookupBind(conn); err != nil {
    		return err
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 21:28:16 GMT 2024
    - 71.1K bytes
    - Viewed (1)
  3. cmd/api-errors.go

    	},
    	ErrAdminConfigNotificationTargetsFailed: {
    		Code:           "XMinioAdminNotificationTargetsTestFailed",
    		Description:    "Configuration update failed due an unsuccessful attempt to connect to one or more notification servers",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrAdminProfilerNotEnabled: {
    		Code:           "XMinioAdminProfilerNotEnabled",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 91.4K bytes
    - Viewed (7)
  4. internal/event/target/nats_tls_contrib_test.go

    		Subject:       "test",
    		Secure:        true,
    		CertAuthority: path.Join("testdata", "contrib", "certs", "root_ca_cert.pem"),
    	}
    
    	con, err := clientConfig.connectNats()
    	if err != nil {
    		t.Errorf("Could not connect to nats: %v", err)
    	}
    	defer con.Close()
    }
    
    func TestNatsConnTLSClientAuthorization(t *testing.T) {
    	s, opts := natsserver.RunServerWithConfig(filepath.Join("testdata", "contrib", "nats_tls_client_cert.conf"))
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 04 19:57:37 GMT 2023
    - 2.1K bytes
    - Viewed (0)
  5. internal/grid/connection.go

    	}
    	if c.shouldConnect() {
    		c.side = ws.StateClientSide
    
    		go func() {
    			if o.blockConnect != nil {
    				<-o.blockConnect
    			}
    			c.connect()
    		}()
    	}
    	if debugPrint {
    		fmt.Println(c.Local, "->", c.Remote, "Should local connect:", c.shouldConnect(), "side:", c.side)
    	}
    	if debugReqs {
    		fmt.Println("Created connection", c.String())
    	}
    	return c
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 42.6K bytes
    - Viewed (0)
  6. cmd/peer-rest-server.go

    func (s *peerRESTServer) DevNull(w http.ResponseWriter, r *http.Request) {
    	if !s.IsValid(w, r) {
    		s.writeErrorResponse(w, errors.New("invalid request"))
    		return
    	}
    
    	globalNetPerfRX.Connect()
    	defer globalNetPerfRX.Disconnect()
    
    	connectTime := time.Now()
    	ctx := newContext(r, w, "DevNull")
    	for {
    		n, err := io.CopyN(xioutil.Discard, r.Body, 128*humanize.KiByte)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 51.8K bytes
    - Viewed (0)
  7. internal/grid/manager.go

    		if err != nil {
    			writeErr(fmt.Errorf("reading connect: %w", err))
    			w.WriteHeader(http.StatusForbidden)
    			return
    		}
    		if debugPrint {
    			fmt.Printf("%s handler: Got message, length %v\n", m.local, len(msg))
    		}
    
    		var message message
    		_, _, err = message.parse(msg)
    		if err != nil {
    			writeErr(fmt.Errorf("error parsing grid connect: %w", err))
    			return
    		}
    		if message.Op != OpConnect {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 9.5K bytes
    - Viewed (0)
  8. cmd/sts-datatypes.go

    	// which means the policy exceeded the allowed space.
    	PackedPolicySize int `xml:",omitempty"`
    
    	// The issuing authority of the web identity token presented. For OpenID Connect
    	// ID tokens, this contains the value of the iss field. For OAuth 2.0 id_tokens,
    	// this contains the value of the ProviderId parameter that was passed in the
    	// AssumeRoleWithWebIdentity request.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 27 00:58:09 GMT 2022
    - 9.9K bytes
    - Viewed (0)
  9. internal/grid/msg.go

    const (
    	// OpConnect is a connect request.
    	OpConnect Op = iota + 1
    
    	// OpConnectResponse is a response to a connect request.
    	OpConnectResponse
    
    	// OpPing is a ping request.
    	// If a mux id is specified that mux is pinged.
    	// Clients send ping requests.
    	OpPing
    
    	// OpPong is a OpPing response returned by the server.
    	OpPong
    
    	// OpConnectMux will connect a new mux with optional payload.
    	OpConnectMux
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Nov 28 19:22:29 GMT 2023
    - 7.3K bytes
    - Viewed (0)
  10. internal/dsync/dsync-client_test.go

    type ReconnectRESTClient struct {
    	u    *url.URL
    	rest *rest.Client
    }
    
    // newClient constructs a ReconnectRESTClient object with addr and endpoint initialized.
    // It _doesn't_ connect to the remote endpoint. See Call method to see when the
    // connect happens.
    func newClient(endpoint string) NetLocker {
    	u, err := url.Parse(endpoint)
    	if err != nil {
    		panic(err)
    	}
    
    	tr := &http.Transport{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 20 17:36:09 GMT 2022
    - 4.4K bytes
    - Viewed (0)
Back to top