Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 38 for Bonnet (0.48 sec)

  1. 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 Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 9.5K bytes
    - Viewed (0)
  2. 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 Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri May 27 00:58:09 GMT 2022
    - 9.9K bytes
    - Viewed (0)
  3. 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 Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Nov 28 19:22:29 GMT 2023
    - 7.3K bytes
    - Viewed (0)
  4. 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 Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Jan 20 17:36:09 GMT 2022
    - 4.4K bytes
    - Viewed (0)
  5. internal/grid/benchmark_test.go

    		}))
    		errFatal(err)
    	}
    	const payloadSize = 512
    	rng := rand.New(rand.NewSource(time.Now().UnixNano()))
    	payload := make([]byte, payloadSize)
    	_, err = rng.Read(payload)
    	errFatal(err)
    
    	// Wait for all to connect
    	// Parallel writes per server.
    	b.Run("bytes", func(b *testing.B) {
    		for par := 1; par <= 32; par *= 2 {
    			b.Run("par="+strconv.Itoa(par*runtime.GOMAXPROCS(0)), func(b *testing.B) {
    				defer timeout(60 * time.Second)()
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Nov 21 01:09:35 GMT 2023
    - 12.2K bytes
    - Viewed (0)
  6. internal/event/target/mqtt.go

    		SetKeepAlive(args.KeepAlive).
    		SetTLSConfig(&tls.Config{RootCAs: args.RootCAs}).
    		AddBroker(args.Broker.String())
    
    	target.client = mqtt.NewClient(options)
    
    	token := target.client.Connect()
    	ok := token.WaitTimeout(reconnectInterval)
    	if !ok {
    		return store.ErrNotConnected
    	}
    	if token.Error() != nil {
    		return token.Error()
    	}
    
    	yes, err := target.isActive()
    	if err != nil {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Oct 07 15:07:38 GMT 2023
    - 8.2K bytes
    - Viewed (0)
  7. cmd/storage-rest-client.go

    }
    
    // Stringer provides a canonicalized representation of network device.
    func (client *storageRESTClient) String() string {
    	return client.endpoint.String()
    }
    
    // IsOnline - returns whether RPC client failed to connect or not.
    func (client *storageRESTClient) IsOnline() bool {
    	return client.gridConn.State() == grid.StateConnected
    }
    
    // LastConn - returns when the disk is seen to be connected the last time
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 26.1K bytes
    - Viewed (0)
  8. cmd/config-current.go

    			return err
    		}
    	case config.IdentityLDAPSubSys:
    		cfg, err := xldap.Lookup(s, globalRootCAs)
    		if err != nil {
    			return err
    		}
    		if cfg.Enabled() {
    			conn, cerr := cfg.LDAP.Connect()
    			if cerr != nil {
    				return cerr
    			}
    			conn.Close()
    		}
    	case config.IdentityTLSSubSys:
    		if _, err := xtls.Lookup(s[config.IdentityTLSSubSys][config.Default]); err != nil {
    			return err
    		}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Apr 23 11:33:28 GMT 2024
    - 30.7K bytes
    - Viewed (0)
  9. 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 Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Feb 27 18:11:55 GMT 2024
    - 12.8K bytes
    - Viewed (0)
  10. cni/pkg/cmd/root.go

    		"The UDS server address which CNI plugin will forward ambient pod creation events to")
    	registerStringParameter(constants.ZtunnelUDSAddress, "/var/run/ztunnel/ztunnel.sock", "The UDS server address which ztunnel will connect to")
    	registerBooleanParameter(constants.AmbientEnabled, false, "Whether ambient controller is enabled")
    	// Repair
    	registerBooleanParameter(constants.RepairEnabled, true, "Whether to enable race condition repair or not")
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 12.5K bytes
    - Viewed (0)
Back to top