- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 64 for it (0.13 sec)
-
istioctl/pkg/analyze/analyze.go
} for _, c := range clients { k := kube.EnableCrdWatcher(c.client) sa.AddRunningKubeSourceWithRevision(k, revisionSpecified, c.remote) } } // If we explicitly specify mesh config, use it. // This takes precedence over default mesh config or mesh config from a running Kube instance. if meshCfgFile != "" { _ = sa.AddFileKubeMeshConfig(meshCfgFile) }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Apr 02 08:32:06 GMT 2024 - 17K bytes - Viewed (0) -
cni/pkg/nodeagent/cni-watcher_test.go
client.RunAndWait(ctx.Done()) payload, _ := json.Marshal(valid) // serialize our fake plugin event addEvent, err := processAddEvent(payload) assert.Equal(t, err, nil) // Push it thru the handler pluginServer.ReconcileCNIAddEvent(ctx, addEvent) waitForMockCalls() assertPodAnnotated(t, client, pod) // Assert expected calls actually made fs.AssertExpectations(t) }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu May 02 21:29:40 GMT 2024 - 5.4K bytes - Viewed (0) -
cni/pkg/nodeagent/netns_linux_test.go
package nodeagent import "testing" func TestOpenNetns(t *testing.T) { ns, err := OpenNetns("/proc/self/ns/net") if err != nil { t.Fatalf("unexpected error: %v", err) } // the inode for netns is proc dynamic, so it needs to be higher than // #define PROC_DYNAMIC_FIRST 0xF0000000U if ns.Inode() < 0xF0000000 { t.Fatalf("unexpected inode: %v", ns.Inode()) } defer ns.Close()
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Jan 26 20:34:28 GMT 2024 - 976 bytes - Viewed (0) -
istioctl/pkg/metrics/metrics.go
Long: ` Prints the metrics for the specified service(s) when running in Kubernetes. This command finds a Prometheus pod running in the specified istio system namespace. It then executes a series of queries per requested workload to find the following top-level workload metrics: total requests per second, error rate, and request latency at p50, p90, and p99 percentiles. The
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Sat Apr 13 05:23:38 GMT 2024 - 8.4K bytes - Viewed (0) -
operator/cmd/mesh/manifest-generate_test.go
) type testGroup []struct { desc string // Small changes to the input profile produce large changes to the golden output // files. This makes it difficult to spot meaningful changes in pull requests. // By default we hide these changes to make developers life's a bit easier. However, // it is still useful to sometimes override this behavior and show the full diff. // When this flag is true, use an alternative file suffix that is not hidden by
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu Apr 18 18:16:49 GMT 2024 - 43.5K bytes - Viewed (0) -
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 {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Mon Jan 22 02:07:51 GMT 2024 - 2.6K bytes - Viewed (0) -
istioctl/pkg/precheck/precheck.go
FieldsMap: nil, }, } messages.Add(msg.NewUpdateIncompatibility(res, "ENHANCED_RESOURCE_SCOPING", "1.22", "previously, the enhanced scoping of custom resources was disabled by default; now it will be enabled by default", "1.21")) } } return nil } func checkDestinationRuleTLS(cli kube.CLIClient, messages *diag.Messages) error {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Apr 12 02:57:30 GMT 2024 - 19.3K bytes - Viewed (0) -
cni/pkg/nodeagent/fakes_test.go
} type fakeFileFakeFI struct { fs.FileInfo } func (f *fakeFileFakeFI) Sys() any { return &syscall.Stat_t{Ino: 1} } // Open opens the named file. // When Open returns an error, it should be of type *PathError // with the Op field set to "open", the Path field set to name, // and the Err field describing the problem. // // Open should reject attempts to open names that do not satisfy
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Apr 12 21:47:31 GMT 2024 - 3.9K bytes - Viewed (0) -
cni/pkg/plugin/cnieventclient_test.go
testServer := httptest.NewServer(http.HandlerFunc(func(res http.ResponseWriter, req *http.Request) { assert.Equal(t, true, false) // if we get here, it's an autofail })) defer func() { testServer.Close() }() cniC := fakeCNIEventClient(testServer.URL) err := PushCNIEvent(cniC, nil, nil, testPod, testNS) assert.Error(t, err)
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Jan 26 20:34:28 GMT 2024 - 4.2K bytes - Viewed (0) -
istioctl/cmd/root.go
// TODO(hanxiaop): I think experimental version still has issues, so we keep the old version for now. version.XdsVersionCommand(ctx), // TODO(hanxiaop): this is kept for some releases in case someone is using it. proxystatus.XdsStatusCommand(ctx), } troubleshootingCommands := []*cobra.Command{ version.NewVersionCommand(ctx), proxystatus.StableXdsStatusCommand(ctx), } var debugCmdAttachmentPoint *cobra.Command
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu Apr 11 20:51:30 GMT 2024 - 10K bytes - Viewed (0)