Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 58 of 58 for Messages (0.17 sec)

  1. security/pkg/pki/util/san_test.go

    		}
    		if tc.expectedErrMsg != "" {
    			if err == nil {
    				t.Errorf("Case %q: no error message returned: want %s", id, tc.expectedErrMsg)
    			} else if tc.expectedErrMsg != err.Error() {
    				t.Errorf("Case %q: unexpected error message: want %s but got %s", id, tc.expectedErrMsg, err.Error())
    			}
    		}
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Feb 12 17:36:33 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  2. pkg/config/analysis/analyzers/service/portname.go

    		if util.IsIstioControlPlane(r) {
    			return true
    		}
    
    		s.analyzeService(r, c)
    		return true
    	})
    }
    
    func (s *PortNameAnalyzer) analyzeService(r *resource.Instance, c analysis.Context) {
    	svc := r.Message.(*v1.ServiceSpec)
    	// Skip gateway managed services, which are not created by users
    	if v, ok := r.Metadata.Labels[constants.ManagedGatewayLabel]; ok &&
    		v == constants.ManagedGatewayControllerLabel ||
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Sep 15 14:45:58 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  3. istioctl/pkg/install/k8sversion/version.go

    	num := ver.Segments()[1]
    	return num, nil
    }
    
    // IsK8VersionSupported checks minimum supported Kubernetes version for Istio.
    // If the K8s version is not at least the `MinK8SVersion`, it logs a message warning the user that they
    // may experience problems if they proceed with the install.
    func IsK8VersionSupported(c kube.Client, l clog.Logger) error {
    	serverVersion, err := c.GetKubernetesVersion()
    	if err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jan 22 02:07:51 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  4. pkg/config/mesh/watcher_test.go

    	}
    	t.Cleanup(func() { _ = f.Close() })
    
    	path, err := filepath.Abs(f.Name())
    	if err != nil {
    		t.Fatal(err)
    	}
    	return path
    }
    
    func writeMessage(t testing.TB, path string, msg proto.Message) {
    	t.Helper()
    	yml, err := protomarshal.ToYAML(msg)
    	if err != nil {
    		t.Fatal(err)
    	}
    	writeFile(t, path, yml)
    }
    
    func writeFile(t testing.TB, path, content string) {
    	t.Helper()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Oct 31 14:48:28 UTC 2023
    - 3K bytes
    - Viewed (0)
  5. pkg/log/logr_test.go

    		lines := runLogrTest(t, func(l logr.Logger) {
    			l.Error(errors.New("some error"), "msg")
    		})
    		mustMatchLength(t, 1, lines)
    		mustRegexMatchString(t, lines[0], "some error.*msg")
    	})
    	t.Run("debug output still shows message", func(t *testing.T) {
    		s := newScope()
    		s.SetOutputLevel(DebugLevel)
    		lines := runLogrTestWithScope(t, s, func(l logr.Logger) {
    			l.Info("msg")
    			l.Error(errors.New("some error"), "msg")
    		})
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  6. pilot/pkg/serviceregistry/kube/controller/multicluster_test.go

    func verifyControllers(t *testing.T, m *Multicluster, expectedControllerCount int, timeoutName string) {
    	t.Helper()
    	assert.EventuallyEqual(t, func() int {
    		return len(m.component.All())
    	}, expectedControllerCount, retry.Message(timeoutName), retry.Delay(time.Millisecond*10), retry.Timeout(time.Second*5))
    }
    
    func initController(client kube.CLIClient, ns string, stop <-chan struct{}) *multicluster.Controller {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 12 16:44:32 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  7. tests/integration/pilot/revisions/uninstall_test.go

    				}
    				_, actualError, _ := istioCtl.Invoke(uninstallCmd)
    				if !strings.Contains(actualError, revisionNotFound) {
    					scopes.Framework.Errorf("istioctl uninstall command expects to fail with error message: %s, but got: %s", revisionNotFound, actualError)
    				}
    			})
    		})
    }
    
    func TestUninstallWithSetFlag(t *testing.T) {
    	framework.
    		NewTest(t).
    		Run(func(t framework.TestContext) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  8. pkg/config/analysis/diag/message.go

    func (m *MessageType) Code() string { return m.code }
    
    // Template returns the message template used by the MessageType
    func (m *MessageType) Template() string { return m.template }
    
    // Message is a specific diagnostic message
    // TODO: Implement using Analysis message API
    type Message struct {
    	Type *MessageType
    
    	// The Parameters to the message
    	Parameters []any
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Nov 10 02:05:07 UTC 2022
    - 5.1K bytes
    - Viewed (0)
Back to top