Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 821 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. istioctl/pkg/util/formatting/formatter_test.go

    }
    
    func TestFormatter_PrintEmpty(t *testing.T) {
    	g := NewWithT(t)
    
    	msgs := diag.Messages{}
    
    	logOutput, _ := Print(msgs, LogFormat, false)
    	g.Expect(logOutput).To(Equal(""))
    
    	jsonOutput, _ := Print(msgs, JSONFormat, false)
    	g.Expect(jsonOutput).To(Equal("[]"))
    
    	yamlOutput, _ := Print(msgs, YAMLFormat, false)
    	g.Expect(yamlOutput).To(Equal("[]\n"))
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Tue Oct 31 14:48:28 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  3. istioctl/pkg/analyze/analyze_test.go

    )
    
    func TestErrorOnIssuesFound(t *testing.T) {
    	g := NewWithT(t)
    
    	msgs := []diag.Message{
    		diag.NewMessage(
    			diag.NewMessageType(diag.Error, "B1", "Template: %q"),
    			nil,
    			"",
    		),
    		diag.NewMessage(
    			diag.NewMessageType(diag.Warning, "A1", "Template: %q"),
    			nil,
    			"",
    		),
    	}
    
    	err := errorIfMessagesExceedThreshold(msgs)
    
    	g.Expect(err).To(BeIdenticalTo(AnalyzerFoundIssuesError{}))
    }
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Tue Oct 31 14:48:28 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. src/main/java/jcifs/smb/NtlmContext.java

                    }
                }
    
                this.ntlmsspFlags &= msg2.getFlags();
                Type3Message msg3 = createType3Message(msg2);
                msg3.setupMIC(this.type1Bytes, token);
    
                byte[] out = msg3.toByteArray();
    
                if ( log.isTraceEnabled() ) {
                    log.trace(msg3.toString());
                    log.trace(Hexdump.toHexString(token));
                }
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 12:07:20 UTC 2020
    - 15.7K bytes
    - Viewed (0)
  10. 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)
Back to top