Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 428 for msgs (0.04 sec)

  1. istioctl/pkg/precheck/precheck.go

    	if err != nil {
    		return nil, err
    	}
    	msgs := diag.Messages{}
    
    	m, err := checkServerVersion(cli)
    	if err != nil {
    		return nil, err
    	}
    	msgs = append(msgs, m...)
    
    	msgs = append(msgs, checkInstallPermissions(cli, ctx.IstioNamespace())...)
    	gwMsg, err := checkGatewayAPIs(cli)
    	if err != nil {
    		return nil, err
    	}
    	msgs = append(msgs, gwMsg...)
    
    	// TODO: add more checks
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Oct 24 02:31:32 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  2. internal/event/target/kafka.go

    		return store.ErrNotConnected
    	}
    	var msgs []*sarama.ProducerMessage
    	for _, event := range events {
    		msg, err := target.toProducerMessage(event)
    		if err != nil {
    			return err
    		}
    		msgs = append(msgs, msg)
    	}
    	return target.producer.SendMessages(msgs)
    }
    
    // SendFromStore - reads an event from store and sends it to Kafka.
    func (target *KafkaTarget) SendFromStore(key store.Key) (err error) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  3. cni/pkg/nodeagent/ztunnelserver_test.go

    		panic(err)
    	}
    
    	receivedoob := oob[:oobn]
    	msgs, err := unix.ParseSocketControlMessage(receivedoob)
    	if err != nil {
    		panic(err)
    	}
    
    	// we should get 0 or 1 oob messages
    	if len(msgs) != 0 {
    		assert.Equal(t, len(msgs), 1)
    	}
    
    	var fdss []int
    	for _, msg := range msgs {
    		fds, err := unix.ParseUnixRights(&msg)
    		if err != nil {
    			panic(err)
    		}
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Apr 12 21:47:31 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  4. cmd/iam.go

    	}
    	var arns []string
    	for arn := range sys.rolesMap {
    		arns = append(arns, arn.String())
    	}
    	sort.Strings(arns)
    	msgs := make([]string, 0, len(arns))
    	for _, arn := range arns {
    		msgs = append(msgs, color.Bold(arn))
    	}
    
    	logger.Info(fmt.Sprintf("%s %s", color.Blue("IAM Roles:"), strings.Join(msgs, " ")))
    }
    
    // HasWatcher - returns if the IAM system has a watcher to be notified of
    // changes.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 29 16:01:48 UTC 2024
    - 74.6K bytes
    - Viewed (0)
  5. cmd/site-replication.go

    		keys = append(keys, d)
    	}
    	sort.Strings(keys)
    
    	var success int
    	msgs := []string{}
    	for _, d := range keys {
    		name := c.state.Peers[d].Name
    		err := errMap[d]
    		if err == nil {
    			msgs = append(msgs, fmt.Sprintf("'%s' on site %s (%s): succeeded", actionName, name, d))
    			success++
    		} else {
    			msgs = append(msgs, fmt.Sprintf("'%s' on site %s (%s): failed(%v)", actionName, name, d, err))
    		}
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 185.1K bytes
    - Viewed (0)
  6. internal/grid/msg.go

    }
    
    func (muxConnectError) Op() Op {
    	return OpMuxConnectError
    }
    
    type pongMsg struct {
    	NotFound bool      `msg:"nf"`
    	Err      *string   `msg:"e,allownil"`
    	T        time.Time `msg:"t"`
    }
    
    func (pongMsg) Op() Op {
    	return OpPong
    }
    
    type pingMsg struct {
    	T time.Time `msg:"t"`
    }
    
    func (pingMsg) Op() Op {
    	return OpPing
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jul 25 21:07:21 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  7. internal/pubsub/pubsub_test.go

    		t.Fatalf("unexpected error: %v", err)
    	}
    	val := maskString("hello")
    	ps.Publish(val)
    
    	msg1 := <-ch1
    	msg2 := <-ch2
    	if msg1 != val && msg2 != val {
    		t.Fatalf("expected both subscribers to have%s , found %s and  %s", val, msg1, msg2)
    	}
    
    	select {
    	case msg := <-ch3:
    		t.Fatalf("unexpected msg, f got %s", msg)
    	default:
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 14 17:11:51 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  8. internal/grid/types.go

    func (m *MSS) Msgsize() int {
    	if m == nil || *m == nil {
    		return msgp.NilSize
    	}
    	s := msgp.MapHeaderSize
    	for za0001, za0002 := range *m {
    		s += msgp.StringPrefixSize + len(za0001) + msgp.StringPrefixSize + len(za0002)
    	}
    	return s
    }
    
    // NewMSS returns a new MSS.
    func NewMSS() *MSS {
    	m := MSS(mssPool.Get().(map[string]string))
    	for k := range m {
    		delete(m, k)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 14 17:11:51 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  9. cmd/bootstrap-peer-server.go

    		if !ok {
    			extra = append(extra, k)
    		}
    	}
    	msg := "Expected MINIO_* environment name and values across all servers to be same: "
    	if len(missing) > 0 {
    		msg += fmt.Sprintf(`Missing environment values: %v. `, missing)
    	}
    	if len(mismatching) > 0 {
    		msg += fmt.Sprintf(`Mismatching environment values: %v. `, mismatching)
    	}
    	if len(extra) > 0 {
    		msg += fmt.Sprintf(`Extra environment values: %v. `, extra)
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 01 22:13:18 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  10. internal/config/errors-utils.go

    		if u.msg != "" {
    			return u.msg
    		}
    		return "<nil>"
    	}
    	return u.detail
    }
    
    // Msg - Replace the current error's message
    func (u Err) Msg(m string) Err {
    	e := u.Clone()
    	e.msg = m
    	return e
    }
    
    // Msgf - Replace the current error's message
    func (u Err) Msgf(m string, args ...interface{}) Err {
    	e := u.Clone()
    	if len(args) == 0 {
    		e.msg = m
    	} else {
    		e.msg = fmt.Sprintf(m, args...)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 14 17:11:51 UTC 2024
    - 3.8K bytes
    - Viewed (0)
Back to top