Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 106 for Messages (0.25 sec)

  1. cni/pkg/log/uds.go

    		return
    	}
    	messages := make([]cniLog, 0, len(cniLogs))
    	for _, l := range cniLogs {
    		var msg cniLog
    		if err := json.Unmarshal([]byte(l), &msg); err != nil {
    			log.Debugf("Failed to unmarshal CNI plugin log entry: %v", err)
    			continue
    		}
    		msg.Msg = strings.TrimSpace(msg.Msg)
    		messages = append(messages, msg)
    	}
    	// Lock log message printing to prevent log messages from different CNI
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Wed Nov 29 01:05:12 GMT 2023
    - 3.3K bytes
    - Viewed (0)
  2. istioctl/pkg/precheck/precheck.go

    	}
    
    	var messages diag.Messages = make([]diag.Message, 0)
    	if minor <= 21 {
    		// ENHANCED_RESOURCE_SCOPING
    		if err := checkPilot(cli, ctx.IstioNamespace(), &messages); err != nil {
    			return nil, err
    		}
    	}
    	if minor <= 20 {
    		// VERIFY_CERTIFICATE_AT_CLIENT and ENABLE_AUTO_SNI
    		if err := checkDestinationRuleTLS(cli, &messages); err != nil {
    			return nil, err
    		}
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Fri Apr 12 02:57:30 GMT 2024
    - 19.3K bytes
    - Viewed (0)
  3. istioctl/pkg/util/formatting/formatter.go

    func printYAML(ms diag.Messages) (string, error) {
    	yamlOutput, err := yaml.Marshal(ms)
    	return string(yamlOutput), err
    }
    
    // Formatting options for Message
    var (
    	colorPrefixes = map[diag.Level]string{
    		diag.Info:    "",           // no special color for info messages
    		diag.Warning: "\033[33m",   // yellow
    		diag.Error:   "\033[1;31m", // bold red
    	}
    )
    
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Tue Jul 11 02:41:45 GMT 2023
    - 3.1K bytes
    - Viewed (0)
  4. cni/pkg/nodeagent/ztunnelserver.go

    			}
    		}()
    	}
    }
    
    // ZDS protocol is very simple, for every message sent, and ack is sent.
    // the ack only has temporal correlation (i.e. it is the first and only ack msg after the message was sent)
    // All this to say, that we want to make sure that message to ztunnel are sent from a single goroutine
    // so we don't mix messages and acks.
    // nolint: unparam
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Fri Apr 12 21:47:31 GMT 2024
    - 12.4K bytes
    - Viewed (0)
  5. istioctl/pkg/util/formatting/formatter_test.go

    	)
    
    	msgs := diag.Messages{firstMsg, secondMsg}
    	output, _ := Print(msgs, YAMLFormat, false)
    
    	expectedOutput := `- code: B1
      documentationUrl: ` + url.ConfigAnalysis + `/b1/
      level: Error
      message: 'Explosion accident: the bubble is too big'
      origin: SoapBubble
    - code: C1
      documentationUrl: ` + url.ConfigAnalysis + `/c1/
      level: Warning
      message: 'Collapse danger: the castle is too old'
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Tue Oct 31 14:48:28 GMT 2023
    - 4.1K bytes
    - Viewed (0)
  6. istioctl/pkg/util/proto/messageslice.go

    	"google.golang.org/protobuf/proto"
    
    	"istio.io/istio/pkg/util/protomarshal"
    )
    
    // MessageSlice allows us to marshal slices of protobuf messages like clusters/listeners/routes/endpoints correctly
    type MessageSlice []proto.Message
    
    // MarshalJSON handles marshaling of slices of proto messages
    func (pSlice MessageSlice) MarshalJSON() ([]byte, error) {
    	buffer := bytes.NewBufferString("[")
    	sliceLength := len(pSlice)
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Tue Oct 19 21:53:59 GMT 2021
    - 1.3K bytes
    - Viewed (0)
  7. common-protos/k8s.io/api/admission/v1beta1/generated.proto

      // the admission webhook to add additional context to the audit log for this request.
      // +optional
      map<string, string> auditAnnotations = 6;
    
      // warnings is a list of warning messages to return to the requesting API client.
      // Warning messages describe a problem the client making the API request should correct or be aware of.
      // Limit warnings to 120 characters if possible.
    Plain Text
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 8.1K bytes
    - Viewed (0)
  8. istioctl/cmd/options_test.go

          --log_caller: Comma-separated list of scopes for which to include caller information, scopes can be any of \[.*\]
          --log_output_level: Comma-separated minimum per-scope logging level of messages to output, in the form of <scope>:<level>,<scope>:<level>,... where scope can be one of \[.*\] and level can be one of \[.*\]
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Wed Sep 14 02:38:54 GMT 2022
    - 1.9K bytes
    - Viewed (0)
  9. cni/pkg/plugin/cnieventclient.go

    	"istio.io/istio/cni/pkg/nodeagent"
    )
    
    // newCNIClient is a unit test override variable for mocking.
    var newCNIClient = buildClient
    
    // An udsCore write entries to an UDS server with HTTP Post. Log messages will be encoded into a JSON array.
    type CNIEventClient struct {
    	client *http.Client
    	url    string
    }
    
    func buildClient(address, path string) CNIEventClient {
    	c := &http.Client{
    		Transport: &http.Transport{
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 2.4K bytes
    - Viewed (0)
  10. istioctl/pkg/writer/compare/comparator.go

    		return err
    	}
    	return c.RouteDiff()
    }
    
    // nonstrictResolver is an AnyResolver that ignores unknown proto messages
    type nonstrictResolver struct{}
    
    var envoyResolver nonstrictResolver
    
    func (m *nonstrictResolver) Resolve(typeURL string) (legacyproto.Message, error) {
    	// See https://github.com/golang/protobuf/issues/747#issuecomment-437463120
    	mname := typeURL
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Sun Apr 21 17:42:54 GMT 2024
    - 3.7K bytes
    - Viewed (1)
Back to top