- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 21 for Hummer (0.15 sec)
-
cni/pkg/log/uds_test.go
if want, got := len(wantLevels), len(gotLogs); want != got { t.Fatalf("Number of logs want %v, got %v logs: %v", want, got, gotLogs) } for i, l := range gotLogs { // For each line, there should be two level string, e.g. // "2021-07-09T03:26:08.984951Z debug debug log" if got, want := strings.Count(l, wantLevels[i]), 2; want != got { t.Errorf("Number of log level string want %v, got %v", want, got) } }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Sat Mar 16 00:20:01 GMT 2024 - 2.5K bytes - Viewed (0) -
istioctl/pkg/writer/ztunnel/configdump/certificates.go
return fmt.Errorf("config writer has not been primed") } secretDump := c.ztunnelDump.Certificates w := new(tabwriter.Writer).Init(c.Stdout, 0, 8, 5, ' ', 0) fmt.Fprintln(w, "CERTIFICATE NAME\tTYPE\tSTATUS\tVALID CERT\tSERIAL NUMBER\tNOT AFTER\tNOT BEFORE") for _, secret := range secretDump { if strings.Contains(secret.State, "Unavailable") { secret.State = "Unavailable" } if len(secret.CertChain) == 0 {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu Apr 25 16:38:16 GMT 2024 - 3.2K bytes - Viewed (0) -
istioctl/pkg/multixds/gather.go
MessageWriter io.Writer // XdsViaAgents accesses Istiod via the tap service of each agent. // This is only used in `proxy-status` command. XdsViaAgents bool // XdsViaAgentsLimit is the maximum number of pods being visited by istioctl, // when `XdsViaAgents` is true. This is only used in `proxy-status` command. // 0 means that there is no limit. XdsViaAgentsLimit int } var DefaultOptions = Options{
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Mar 08 08:38:19 GMT 2024 - 13.6K bytes - Viewed (0) -
istioctl/pkg/proxystatus/proxystatus.go
"Access Istiod via the tap service of each agent") statusCmd.PersistentFlags().IntVar(&multiXdsOpts.XdsViaAgentsLimit, "xds-via-agents-limit", 100, "Maximum number of pods being visited by istioctl when `xds-via-agent` flag is true."+ "To iterate all the agent pods without limit, set to 0") return statusCmd
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Sat Apr 13 05:23:38 GMT 2024 - 6.2K bytes - Viewed (0) -
cni/pkg/nodeagent/server_test.go
constants.AmbientRedirection: constants.AmbientRedirectionEnabled, }, }, } } type fakeServer struct { mock.Mock testWG *WaitGroup // optional waitgroup, if code under test makes a number of async calls to fakeServer } func (f *fakeServer) AddPodToMesh(ctx context.Context, pod *corev1.Pod, podIPs []netip.Addr, netNs string) error { if f.testWG != nil { defer f.testWG.Done() }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Jan 26 20:34:28 GMT 2024 - 7.8K bytes - Viewed (0) -
cni/pkg/nodeagent/ztunnelserver.go
"istio.io/istio/pkg/zdsapi" ) var ( ztunnelKeepAliveCheckInterval = 5 * time.Second readWriteDeadline = 5 * time.Second ) var ztunnelConnected = monitoring.NewGauge("ztunnel_connected", "number of connections to ztunnel") type ZtunnelServer interface { Run(ctx context.Context) PodDeleted(ctx context.Context, uid string) error PodAdded(ctx context.Context, pod *v1.Pod, netns Netns) error Close() error }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Apr 12 21:47:31 GMT 2024 - 12.4K bytes - Viewed (0) -
cni/pkg/install/monitoring.go
resultCreateKubeConfigFailure = "CREATE_KUBECONFIG_FAILURE" resultCreateCNIConfigFailure = "CREATE_CNI_CONFIG_FAILURE" cniInstalls = monitoring.NewSum( "istio_cni_installs_total", "Total number of CNI plugins installed by the Istio CNI installer", ) installReady = monitoring.NewGauge( "istio_cni_install_ready", "Whether the CNI plugin installation is ready or not", )
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Mon Jul 17 20:25:52 GMT 2023 - 1.2K bytes - Viewed (0) -
cni/pkg/nodeagent/ztunnelserver_test.go
mt.Assert(ztunnelConnected.Name(), nil, monitortest.Exactly(1)) // we should get the fd to dev null. note that we can't assert the fd number // as the kernel may have given us a different number that refers to the same file. assert.Equal(t, len(fds), 1) // in theory we should close the fd, but it's just a test.. assert.Equal(t, m.Payload.(*zdsapi.WorkloadRequest_Add).Add.Uid, uid)
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Apr 12 21:47:31 GMT 2024 - 8.6K bytes - Viewed (0) -
cni/pkg/nodeagent/informers.go
"istio.io/istio/pkg/kube/kclient" "istio.io/istio/pkg/monitoring" ) var ( eventTypeTag = monitoring.CreateLabel("type") EventTotals = monitoring.NewSum( "nodeagent_reconcile_events_total", "The total number of node agent reconcile events.", ) ) type K8sHandlers interface { GetPodIfAmbient(podName, podNamespace string) (*corev1.Pod, error) GetAmbientPods() []*corev1.Pod Start() }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri May 03 19:29:42 GMT 2024 - 9.6K bytes - Viewed (0) -
istioctl/pkg/kubeinject/kubeinject.go
return r }() codecs = serializer.NewCodecFactory(runtimeScheme) deserializer = codecs.UniversalDeserializer() ) // GetFirstPod returns a pod matching the namespace and label selector // and the number of all pods that match the label selector. // This is forked from polymorphichelpers.GetFirstPod to not watch and instead return an error if no pods are found
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Mar 29 02:29:02 GMT 2024 - 21.6K bytes - Viewed (0)