- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 51 for one (0.2 sec)
-
cni/pkg/nodeagent/podcgroupns_test.go
expectContainerID: "", }, { name: "no container ID in cgroups", cgroupPaths: []string{ "/user.slice", }, expectPodUID: "", expectContainerID: "", }, { name: "one container ID in cgroups", cgroupPaths: []string{ "/user.slice", "/kubepods/pod2c48913c-b29f-11e7-9350-020968147796/9bca8d63d5fa610783847915bcff0ecac1273e5b4bed3f6fa1b07350e0135961", },
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Apr 12 21:47:31 GMT 2024 - 4.6K bytes - Viewed (0) -
cni/pkg/repair/netns.go
// There should be 1 or 2 processes that match: the pause container should always be there, and the istio-validation *might*. // We want the pause container, as the istio-validation one may exit before we are done. // We do this by detecting the longest running process. We could look at `cmdline`, but is likely more reliable to weird platforms. for _, p := range procs { ns := getPidNamespace(p.PID)
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Wed Dec 20 22:14:13 GMT 2023 - 4.8K bytes - Viewed (0) -
cni/pkg/log/uds_test.go
os.Stdout = stdout assert.NoError(t, log.Configure(loggingOptions)) assert.NoError(t, w.Close()) out, err := io.ReadAll(r) assert.NoError(t, err) // For each level, there should be two lines, one from direct log, // the other one from UDS server wantLevels := []string{"debug", "info", "warn", "error", "debug", "info", "warn", "error"} gotLogs := strings.Split( strings.TrimSuffix(string(out), "\n"), "\n")
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) -
operator/cmd/mesh/profile-diff_test.go
} func TestProfileDiffDirect(t *testing.T) { cases := []profileDiffTestcase{ { // We won't be parsing with Cobra, but this is the command equivalent args: "profile diff default openshift", // This is just one of the many differences expectedString: "+ profile: openshift", // The profile doesn't change istiocoredns, so we shouldn't see this in the diff notExpected: "- istiocoredns:",
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Wed Jan 10 05:10:03 GMT 2024 - 3.6K bytes - Viewed (1) -
cni/pkg/nodeagent/pod_cache.go
Netns: newnetns, } return p.UpsertPodCacheWithNetns(string(pod.UID), wl), nil } // Update the cache with the given Netns. If there is already a Netns for the given uid, we return it, and close the one provided. func (p *podNetnsCache) UpsertPodCacheWithNetns(uid string, workload WorkloadInfo) Netns { // lock current snapshot pod map p.mu.Lock() defer p.mu.Unlock()
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Apr 12 21:47:31 GMT 2024 - 4.5K bytes - Viewed (0) -
istioctl/pkg/workload/workload_test.go
want map[string]string }{ {name: "empty", arg: []string{""}, want: map[string]string{"": ""}}, {name: "one-valid", arg: []string{"key=value"}, want: map[string]string{"key": "value"}}, {name: "one-valid-double-equals", arg: []string{"key==value"}, want: map[string]string{"key": "=value"}}, {name: "one-key-only", arg: []string{"key"}, want: map[string]string{"key": ""}}, } for _, tt := range tests {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Wed Mar 27 16:59:05 GMT 2024 - 14.6K bytes - Viewed (0) -
istioctl/pkg/util/handlers/handlers.go
// Pod is referred to using something like "deployment/httpbin". Use the kubectl // libraries to look up the resource name, find the pods it selects, and return // one of those pods. builder := factory.NewBuilder(). WithScheme(kubelib.IstioScheme, kubelib.IstioScheme.PrioritizedVersionsAllGroups()...). NamespaceParam(ns).DefaultNamespace(). SingleResourceType()
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Feb 06 15:01:41 GMT 2024 - 6.2K bytes - Viewed (0) -
istioctl/pkg/util/formatting/formatter.go
switch format { case LogFormat: return printLog(ms, colorize), nil case JSONFormat: return printJSON(ms) case YAMLFormat: return printYAML(ms) default: return "", fmt.Errorf("invalid format, expected one of %v but got %q", MsgOutputFormatKeys, format) } } func printLog(ms diag.Messages, colorize bool) string { logOutput := make([]string, 0, len(ms)) for _, m := range ms {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Jul 11 02:41:45 GMT 2023 - 3.1K bytes - Viewed (0) -
operator/cmd/mesh/manifest_shared_test.go
"istio.io/istio/operator/pkg/object" "istio.io/istio/operator/pkg/util/clog" "istio.io/istio/pkg/config/constants" "istio.io/istio/pkg/kube" "istio.io/istio/pkg/log" ) // cmdType is one of the commands used to generate and optionally apply a manifest. type cmdType string const ( // istioctl manifest generate cmdGenerate cmdType = "istioctl manifest generate" // istioctl install
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Feb 20 22:39:28 GMT 2024 - 11.7K bytes - Viewed (1) -
istioctl/pkg/writer/compare/comparator.go
"google.golang.org/protobuf/reflect/protoregistry" "google.golang.org/protobuf/types/known/emptypb" "istio.io/istio/istioctl/pkg/util/configdump" ) // Comparator diffs between a config dump from Istiod and one from Envoy type Comparator struct { envoy, istiod *configdump.Wrapper w io.Writer context int location string } // NewComparator is a comparator constructor
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Sun Apr 21 17:42:54 GMT 2024 - 3.7K bytes - Viewed (1)