Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 26 for betear (0.23 sec)

  1. cmd/metacache-set.go

    //msgp:ignore metaCacheRPC
    type metaCacheRPC struct {
    	o      listPathOptions
    	mu     sync.Mutex
    	meta   *metacache
    	rpc    *peerRESTClient
    	cancel context.CancelFunc
    }
    
    func (m *metaCacheRPC) setErr(err string) {
    	m.mu.Lock()
    	defer m.mu.Unlock()
    	meta := *m.meta
    	if meta.status != scanStateError {
    		meta.error = err
    		meta.status = scanStateError
    	} else {
    		// An error is already set.
    		return
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 19:52:52 GMT 2024
    - 30.4K bytes
    - Viewed (0)
  2. cmd/global-heal.go

    				retErr = err
    				healingLogIf(ctx, err)
    				continue
    			}
    			// Check if bucket is object locked.
    			lr, err = globalBucketObjectLockSys.Get(bucket)
    			if err != nil {
    				retErr = err
    				healingLogIf(ctx, err)
    				continue
    			}
    			rcfg, err = getReplicationConfig(ctx, bucket)
    			if err != nil {
    				retErr = err
    				healingLogIf(ctx, err)
    				continue
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 06:32:14 GMT 2024
    - 15K bytes
    - Viewed (1)
  3. istioctl/cmd/root_test.go

    	_ = parent.PersistentFlags().String(parentFlag1, "", parentFlag1)
    	_ = parent.PersistentFlags().String(parentFlag2, "", parentFlag2)
    	var out bytes.Buffer
    	parent.SetOut(&out)
    	parent.SetErr(&out)
    
    	child := &cobra.Command{
    		Use: "child",
    		Run: func(c *cobra.Command, args []string) {},
    	}
    	_ = parent.PersistentFlags().String(childFlag2, "", childFlag2)
    	parent.AddCommand(child)
    
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Fri Jan 15 17:59:55 GMT 2021
    - 2.4K bytes
    - Viewed (0)
  4. istioctl/pkg/util/testutil/util.go

    	WantException bool
    }
    
    func VerifyOutput(t *testing.T, cmd *cobra.Command, c TestCase) {
    	t.Helper()
    
    	cmd.SetArgs(c.Args)
    
    	var out bytes.Buffer
    	cmd.SetOut(&out)
    	cmd.SetErr(&out)
    	cmd.SilenceUsage = true
    
    	fErr := cmd.Execute()
    	output := out.String()
    
    	if c.ExpectedOutput != "" && c.ExpectedOutput != output {
    		t.Fatalf("Unexpected output for '%s %s'\n got: %q\nwant: %q", cmd.Name(),
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Thu Jun 15 15:02:17 GMT 2023
    - 2K bytes
    - Viewed (0)
  5. istioctl/pkg/proxystatus/proxystatus_test.go

    	}
    }
    
    func verifyExecTestOutput(t *testing.T, cmd *cobra.Command, c execTestCase) {
    	t.Helper()
    
    	var out bytes.Buffer
    	cmd.SetArgs(c.args)
    	cmd.SilenceUsage = true
    	cmd.SetOut(&out)
    	cmd.SetErr(&out)
    
    	fErr := cmd.Execute()
    	output := out.String()
    
    	if c.expectedOutput != "" && c.expectedOutput != output {
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 08:28:50 GMT 2024
    - 5.5K bytes
    - Viewed (0)
  6. internal/config/errors-utils.go

    	if errors.Is(err, syscall.EADDRINUSE) {
    		return ErrPortAlreadyInUse(err).Msg("Specified port is already in use")
    	} else if errors.Is(err, syscall.EACCES) || errors.Is(err, syscall.EPERM) {
    		if netErr, ok := err.(*net.OpError); ok {
    			return ErrPortAccess(netErr).Msg("Insufficient permissions to use specified port")
    		}
    	}
    
    	// Failed to identify what type of error this, return a simple UI error
    	return Err{msg: err.Error()}
    }
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Mar 06 16:56:10 GMT 2023
    - 3.7K bytes
    - Viewed (0)
  7. istioctl/pkg/describe/describe_test.go

    	}
    
    	if c.configDumps == nil {
    		c.configDumps = map[string][]byte{}
    	}
    
    	var out bytes.Buffer
    	rootCmd := Cmd(ctx)
    	rootCmd.SetArgs(c.args)
    
    	rootCmd.SetOut(&out)
    	rootCmd.SetErr(&out)
    
    	if c.namespace != "" {
    		describeNamespace = c.namespace
    	}
    
    	fErr := rootCmd.Execute()
    	output := out.String()
    
    	if c.expectedOutput != "" && c.expectedOutput != output {
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Thu Mar 28 09:54:01 GMT 2024
    - 30.4K bytes
    - Viewed (0)
  8. istioctl/pkg/ztunnelconfig/ztunnelconfig_test.go

    		})
    	}
    }
    
    func verifyExecTestOutput(t *testing.T, cmd *cobra.Command, c execTestCase) {
    	t.Helper()
    
    	var out bytes.Buffer
    	cmd.SetArgs(c.args)
    	cmd.SilenceUsage = true
    	cmd.SetOut(&out)
    	cmd.SetErr(&out)
    
    	fErr := cmd.Execute()
    	output := out.String()
    
    	if c.expectedOutput != "" && c.expectedOutput != output {
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Wed Apr 10 21:51:29 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  9. internal/http/dial_linux.go

    			// with dead end because tcp-keepalive is not fired when there is data in the socket buffer.
    			//    https://blog.cloudflare.com/when-tcp-sockets-refuse-to-die/
    			// This is a sensitive configuration, it is better to set it to high values, > 60 secs since it can
    			// affect clients reading data with a very slow pace  (disappropriate with socket buffer sizes)
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Wed Jun 07 16:53:05 GMT 2023
    - 4.4K bytes
    - Viewed (3)
  10. cmd/data-scanner-metric.go

    func (p *scannerMetrics) getCurrentPaths() []string {
    	var res []string
    	prefix := globalLocalNodeName + "/"
    	p.currentPaths.Range(func(key, value interface{}) bool {
    		// We are a bit paranoid, but better miss an entry than crash.
    		name, ok := key.(string)
    		if !ok {
    			return true
    		}
    		obj, ok := value.(*currentPathTracker)
    		if !ok {
    			return true
    		}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Sep 25 05:15:31 GMT 2023
    - 9.1K bytes
    - Viewed (0)
Back to top