Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for dialog (0.41 sec)

  1. cni/pkg/pluginlistener/listener_test.go

    	opts = append(opts, grpc.WithTransportCredentials(insecure.NewCredentials()), grpc.WithContextDialer(func(ctx context.Context, addr string) (net.Conn, error) {
    		var d net.Dialer
    		return d.DialContext(ctx, "unix", socket)
    	}))
    
    	conn, err := grpc.Dial(socket, opts...)
    	if err != nil {
    		return nil, err
    	}
    
    	return conn, nil
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Thu Feb 08 21:58:32 GMT 2024
    - 1.4K bytes
    - Viewed (0)
  2. istioctl/pkg/util/formatting/formatter_test.go

    	g := NewWithT(t)
    
    	firstMsg := diag.NewMessage(
    		diag.NewMessageType(diag.Error, "B1", "Explosion accident: %v"),
    		diag.MockResource("SoapBubble"),
    		"the bubble is too big",
    	)
    	secondMsg := diag.NewMessage(
    		diag.NewMessageType(diag.Warning, "C1", "Collapse danger: %v"),
    		diag.MockResource("GrandCastle"),
    		"the castle is too old",
    	)
    
    	msgs := diag.Messages{firstMsg, secondMsg}
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Oct 31 14:48:28 GMT 2023
    - 4.1K bytes
    - Viewed (0)
  3. istioctl/pkg/tag/tag.go

    		return err
    	}
    	sa.AddRunningKubeSourceWithRevision(k, revision, false)
    	res, err := sa.Analyze(make(chan struct{}))
    	if err != nil {
    		return err
    	}
    	relevantMessages := diag.Messages{}
    	for _, msg := range res.Messages.FilterOutLowerThan(diag.Error) {
    		if msg.Resource.Metadata.FullName.Name == resource.LocalName(name) {
    			relevantMessages = append(relevantMessages, msg)
    		}
    	}
    	if len(relevantMessages) > 0 {
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 02 08:32:06 GMT 2024
    - 16.3K bytes
    - Viewed (0)
  4. 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 May 01 22:53:12 GMT 2024
    - Last Modified: Tue Jul 11 02:41:45 GMT 2023
    - 3.1K bytes
    - Viewed (0)
  5. istioctl/pkg/xds/client.go

    	if err != nil {
    		return nil, fmt.Errorf("could not dial: %w", err)
    	}
    	err = adscConn.Run()
    	if err != nil {
    		return nil, fmt.Errorf("ADSC: failed running %v", err)
    	}
    
    	err = adscConn.Send(dr)
    	if err != nil {
    		return nil, err
    	}
    	response, err := adscConn.WaitVersion(opts.Timeout, dr.TypeUrl, "")
    	return response, err
    }
    
    // DialOptions constructs gRPC dial options from command line configuration
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Dec 19 22:42:42 GMT 2023
    - 3.7K bytes
    - Viewed (0)
  6. common/scripts/metallb-native.yaml

                    minimum: 0
                    type: integer
                  peerAddress:
                    description: Address to dial when establishing the session.
                    type: string
                  peerPort:
                    description: Port to dial when establishing the session.
                    maximum: 16384
                    minimum: 0
                    type: integer
                  routerID:
    Others
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Feb 23 23:56:31 GMT 2024
    - 63.9K bytes
    - Viewed (0)
  7. cni/pkg/iptables/iptables.go

    		"-j", ChainHostPostrouting,
    	)
    
    	// TODO BML I don't think we need UDP? TCP healthcheck redir should catch everything.
    
    	// This is effectively an analog for Istio's old-style podSpec-based health check rewrites.
    	// Before Istio would update the pod manifest to rewrite healthchecks to go to sidecar Envoy port 15021,
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 19.6K bytes
    - Viewed (0)
  8. istioctl/pkg/analyze/analyze_test.go

    	"istio.io/istio/istioctl/pkg/util/testutil"
    	"istio.io/istio/pkg/config/analysis/diag"
    )
    
    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,
    			"",
    		),
    	}
    
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Oct 31 14:48:28 GMT 2023
    - 1.8K bytes
    - Viewed (0)
  9. istioctl/pkg/util/formatting/msg_threshold.go

    package formatting
    
    import (
    	"errors"
    	"strings"
    
    	"istio.io/istio/pkg/config/analysis/diag"
    )
    
    // MessageThreshold is a wrapper around Level to be used as a cobra command line argument.
    // It should satisfy the pflag.Value interface.
    type MessageThreshold struct {
    	diag.Level
    }
    
    // String is a function declared in the pflag.Value interface
    func (m *MessageThreshold) String() string {
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Wed Nov 17 12:28:05 GMT 2021
    - 1.4K bytes
    - Viewed (0)
  10. istioctl/pkg/analyze/analyze.go

    	return FileParseString
    }
    
    var (
    	listAnalyzers     bool
    	useKube           bool
    	failureThreshold  = formatting.MessageThreshold{Level: diag.Error} // messages at least this level will generate an error exit code
    	outputThreshold   = formatting.MessageThreshold{Level: diag.Info}  // messages at least this level will be included in the output
    	colorize          bool
    	msgOutputFormat   string
    	meshCfgFile       string
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 02 08:32:06 GMT 2024
    - 17K bytes
    - Viewed (0)
Back to top