Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 103 for qmsg (0.16 sec)

  1. istioctl/pkg/util/common.go

    	Err error
    }
    
    func (c CommandParseError) Error() string {
    	return c.Err.Error()
    }
    
    // Confirm waits for a user to confirm with the supplied message.
    func Confirm(msg string, writer io.Writer) bool {
    	for {
    		_, _ = fmt.Fprintf(writer, "%s ", msg)
    		var response string
    		_, err := fmt.Scanln(&response)
    		if err != nil {
    			return false
    		}
    		switch strings.ToUpper(response) {
    		case "Y", "YES":
    			return true
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Jun 15 15:02:17 GMT 2023
    - 1.6K bytes
    - Viewed (0)
  2. docs/debugging/inspect/main.go

    	output, err := os.Create(outputFileName)
    	fatalErr(err)
    
    	// Decrypt the inspect data
    	msg := fmt.Sprintf("output written to %s", outputFileName)
    
    	switch {
    	case *keyHex != "":
    		err = extractInspectV1(*keyHex, input, output, msg)
    	case len(privateKey) != 0:
    		err = extractInspectV2(privateKey, input, output, msg)
    	}
    	output.Close()
    	if err != nil {
    
    		var keep keepFileErr
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 11 21:22:47 GMT 2024
    - 4.8K bytes
    - Viewed (0)
  3. cni/pkg/nodeagent/ztunnelserver.go

    	select {
    	case r := <-ret:
    		return r.resp, r.err
    	case <-ctx.Done():
    		return nil, ctx.Err()
    	}
    }
    
    func (z *ZtunnelConnection) sendMsgAndWaitForAck(msg *zdsapi.WorkloadRequest, fd *int) (*zdsapi.WorkloadResponse, error) {
    	data, err := proto.Marshal(msg)
    	if err != nil {
    		return nil, err
    	}
    	return z.sendDataAndWaitForAck(data, fd)
    }
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Apr 12 21:47:31 GMT 2024
    - 12.4K bytes
    - Viewed (0)
  4. internal/grid/grid_test.go

    	var n int
    	stream.Requests <- []byte(strconv.Itoa(n))
    	for resp := range stream.responses {
    		errFatal(resp.Err)
    		t.Logf("got resp: %+v", string(resp.Msg))
    		if string(resp.Msg) != testPayload+strconv.Itoa(n) {
    			t.Errorf("want %q, got %q", testPayload+strconv.Itoa(n), string(resp.Msg))
    		}
    		if n == 10 {
    			close(stream.Requests)
    			continue
    		}
    		n++
    		t.Log("sending new client request")
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 30 15:03:35 GMT 2024
    - 30.1K bytes
    - Viewed (0)
  5. internal/logger/target/console/console.go

    	}
    
    	if len(entry.Trace.Variables) > 0 {
    		tagString = "\n       " + tagString
    	}
    
    	msg := color.RedBold(entry.Trace.Message)
    	output := fmt.Sprintf("\n%s\n%s%s%s%s%s%s\nError: %s%s\n%s",
    		apiString, timeString, deploymentID, requestID, remoteHost, host, userAgent,
    		msg, tagString, strings.Join(trace, "\n"))
    
    	fmt.Fprintln(c.output, output)
    	return nil
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 17:57:52 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  6. cmd/site-replication-metrics.go

    	// Replication latency information
    	Latency ReplicationLatency `json:"replicationLatency"`
    	// transfer rate for large uploads
    	XferRateLrg *XferStats `json:"largeTransferRate" msg:"lt"`
    	// transfer rate for small uploads
    	XferRateSml *XferStats `json:"smallTransferRate" msg:"st"`
    	// Endpoint is the replication target endpoint
    	Endpoint string `json:"-"`
    	// Secure is true if the replication target endpoint is secure
    	Secure bool `json:"-"`
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Feb 06 06:00:45 GMT 2024
    - 8.2K bytes
    - Viewed (0)
  7. cmd/tier.go

    // TierConfigMgr holds the collection of remote tiers configured in this deployment.
    type TierConfigMgr struct {
    	sync.RWMutex `msg:"-"`
    	drivercache  map[string]WarmBackend `msg:"-"`
    
    	Tiers           map[string]madmin.TierConfig `json:"tiers"`
    	lastRefreshedAt time.Time                    `msg:"-"`
    }
    
    type tierMetrics struct {
    	sync.RWMutex  // protects requestsCount only
    	requestsCount map[string]struct {
    		success int64
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 17 05:09:58 GMT 2024
    - 15.5K bytes
    - Viewed (0)
  8. internal/grid/stream.go

    			doneCh = nil
    		case resp, ok := <-s.responses:
    			if !ok {
    				done = true
    				return nil
    			}
    			if resp.Err != nil {
    				return resp.Err
    			}
    			err = next(resp.Msg)
    			if err != nil {
    				return err
    			}
    		}
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Feb 28 18:05:18 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  9. internal/logger/target/kafka/kafka.go

    		return err
    	}
    	logJSON, err := json.Marshal(&entry)
    	if err != nil {
    		return err
    	}
    	msg := sarama.ProducerMessage{
    		Topic: h.kconfig.Topic,
    		Value: sarama.ByteEncoder(logJSON),
    	}
    	_, _, err = h.producer.SendMessage(&msg)
    	if err != nil {
    		atomic.StoreInt32(&h.status, statusOffline)
    	} else {
    		atomic.StoreInt32(&h.status, statusOnline)
    	}
    	return err
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 10.1K bytes
    - Viewed (1)
  10. cmd/common-main.go

    		}
    		if env.IsSet(config.EnvAccessKey) && env.IsSet(config.EnvSecretKey) {
    			msg := fmt.Sprintf("WARNING: %s and %s are deprecated.\n"+
    				"         Please use %s and %s",
    				config.EnvAccessKey, config.EnvSecretKey,
    				config.EnvRootUser, config.EnvRootPassword)
    			logger.Info(color.RedBold(msg))
    		}
    		globalActiveCred = cred
    		globalCredViaEnv = true
    	} else {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat May 04 00:17:57 GMT 2024
    - 35.8K bytes
    - Viewed (2)
Back to top