- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 13 for load3 (0.13 sec)
-
istioctl/pkg/writer/ztunnel/configdump/configdump.go
) // ConfigWriter is a writer for processing responses from the Ztunnel Admin config_dump endpoint type ConfigWriter struct { Stdout io.Writer ztunnelDump *ZtunnelDump FullDump []byte } // Prime loads the config dump into the writer ready for printing func (c *ConfigWriter) Prime(b []byte) error { cd := ZtunnelDump{} // TODO(fisherxu): migrate this to jsonpb when issue fixed in golang
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Apr 23 21:30:30 GMT 2024 - 2.8K bytes - Viewed (0) -
istioctl/pkg/writer/envoy/clusters/clusters.go
type EndpointCluster struct { address string port int cluster string status core.HealthStatus failedOutlierCheck bool } // Prime loads the clusters output into the writer ready for printing func (c *ConfigWriter) Prime(b []byte) error { cd := clusters.Wrapper{} err := json.Unmarshal(b, &cd) if err != nil {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu Nov 03 08:41:32 GMT 2022 - 5.8K bytes - Viewed (0) -
cni/pkg/nodeagent/net_test.go
err := netServer.RemovePodFromMesh(ctx, pod) assert.NoError(t, err) assert.Equal(t, ztunnelServer.deletedPods.Load(), 1) assert.Equal(t, nlDeps.DelInpodMarkIPRuleCnt.Load(), 1) assert.Equal(t, nlDeps.DelLoopbackRoutesCnt.Load(), 1) // make sure the uid was taken from cache and netns closed netns := fixture.podNsMap.Take(string(pod.UID)) assert.Equal(t, nil, netns)
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Apr 30 22:24:38 GMT 2024 - 16.4K bytes - Viewed (0) -
istioctl/pkg/writer/ztunnel/configdump/configdump_test.go
inputFile string wantErr bool }{ { name: "errors if unable to unmarshal bytes", inputFile: "", wantConfigs: 0, wantErr: true, }, { name: "loads valid ztunnel config_dump", inputFile: "testdata/dump.json", wantConfigs: 27, wantErr: false, }, } for _, tt := range tests { t.Run(tt.name, func(t *testing.T) { cw := &ConfigWriter{}
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Feb 02 18:21:48 GMT 2024 - 3.6K bytes - Viewed (0) -
istioctl/pkg/writer/envoy/configdump/configdump.go
} // includeConfigType is a flag to indicate whether to include the config type in the output var includeConfigType bool func SetPrintConfigTypeInSummary(p bool) { includeConfigType = p } // Prime loads the config dump into the writer ready for printing func (c *ConfigWriter) Prime(b []byte) error { w := &configdump.Wrapper{} err := w.UnmarshalJSON(b) if err != nil {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu Feb 29 20:46:41 GMT 2024 - 7.4K bytes - Viewed (0) -
cni/pkg/install/install_test.go
err := in.sleepWatchInstall(ctx, sets.String{}) if err != nil { t.Fatalf("error should be nil due to invalid config, got: %v", err) } assert.Equal(t, isReady.Load(), false) if len(c.invalidConfigFilename) > 0 { if err := os.Remove(cniConfigFilepath); err != nil { t.Fatal(err) } } // Copy a valid config file into tempDir
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Jan 26 20:34:28 GMT 2024 - 11.1K bytes - Viewed (0) -
istioctl/pkg/describe/describe_test.go
Matching subsets: (Non-matching subsets v1) Traffic Policy TLS Mode: ISTIO_MUTUAL Policies: load balancer/connection pool/outlier detection Port Level Settings: 8080: TLS Mode: DISABLE Policies: load balancer/connection pool/outlier detection VirtualService: bookinfo Route to host "productpage" with weight 30%
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu Mar 28 09:54:01 GMT 2024 - 30.4K bytes - Viewed (0) -
cni/pkg/nodeagent/healthServer_test.go
assert.Equal(t, installReady.Load(), false) assert.Equal(t, watchReady.Load(), false) server := httptest.NewServer(router) defer server.Close() makeReq(t, server.URL, constants.LivenessEndpoint, http.StatusOK) makeReq(t, server.URL, constants.ReadinessEndpoint, http.StatusServiceUnavailable) installReady.Store(true) watchReady.Store(true) assert.Equal(t, installReady.Load(), true)
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Jan 26 20:34:28 GMT 2024 - 2K bytes - Viewed (0) -
cni/pkg/nodeagent/pod_cache_test.go
} if !reflect.DeepEqual(netns1, netns2) { t.Fatalf("Expected the same Netns for the same uid, got %v and %v", netns1, netns2) } if counter.Load() != 2 { t.Fatalf("Expected openNetns to be called twice, got %d", counter.Load()) } } func TestUpsertPodCacheWithNewInode(t *testing.T) { counter.Store(0) p := newPodNetnsCache(openNsTestOverrideWithInodes(1, 2))
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Apr 12 21:47:31 GMT 2024 - 4.2K bytes - Viewed (0) -
istioctl/pkg/describe/describe.go
connectionPool *v1alpha3.ConnectionPoolSettings, outlierDetection *v1alpha3.OutlierDetection, ) string { extra := make([]string, 0) if lb != nil { extra = append(extra, "load balancer") } if connectionPool != nil { extra = append(extra, "connection pool") } if outlierDetection != nil { extra = append(extra, "outlier detection") } if len(extra) > 0 {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Sat Apr 13 05:23:38 GMT 2024 - 50.4K bytes - Viewed (0)