- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 33 for exists (1.63 sec)
-
cni/pkg/install/cniconfig.go
for !file.Exists(cniConfigFilepath) { if strings.HasSuffix(cniConfigFilepath, ".conf") && file.Exists(cniConfigFilepath+"list") { installLog.Infof("%s doesn't exist, but %[1]slist does; Using it as the CNI config file instead.", cniConfigFilepath) cniConfigFilepath += "list" } else if strings.HasSuffix(cniConfigFilepath, ".conflist") && file.Exists(cniConfigFilepath[:len(cniConfigFilepath)-4]) {
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Fri Jan 26 20:34:28 GMT 2024 - 10.4K bytes - Viewed (0) -
cni/pkg/iptables/iptables.go
// we cannot make assumptions there. // -A OUTPUT -m owner --socket-exists -p tcp -m set --match-set istio-inpod-probes dst,dst -j SNAT --to-source 169.254.7.127 iptablesBuilder.AppendRuleV4( iptableslog.UndefinedCommand, ChainHostPostrouting, iptablesconstants.NAT, "-m", "owner", "--socket-exists", "-p", "tcp", "-m", "set", "--match-set", fmt.Sprintf(ipset.V4Name, ProbeIPSet), "dst",
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Tue Apr 30 22:24:38 GMT 2024 - 19.6K bytes - Viewed (0) -
cni/test/install_cni.go
if len(expectedPostCleanFile) == 0 { compareConfResult(resultFile, wd+cniConfSubDir+preConfFile, t) } else { compareConfResult(resultFile, expectedPostCleanFile, t) } } else { if file.Exists(resultFile) { t.Logf("FAIL: Istio CNI config file was not removed: %s", resultFile) } } retry.UntilSuccessOrFail(t, func() error { return checkBinDir(t, tempCNIBinDir, "del", "istio-cni")
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Fri Jan 26 20:34:28 GMT 2024 - 12.5K bytes - Viewed (0) -
operator/cmd/mesh/install.go
// "no running Istio pods in istio-system" for the first time _ = detectIstioVersionDiff(p, tag, ns, kubeClient, iop) exists := revtag.PreviousInstallExists(context.Background(), kubeClient.Kube()) err = detectDefaultWebhookChange(p, kubeClient, iop, exists) if err != nil { return fmt.Errorf("failed to detect the default webhook change: %v", err) }
Go - Registered: Wed Mar 20 22:53:08 GMT 2024 - Last Modified: Fri Mar 15 01:18:49 GMT 2024 - 15.2K bytes - Viewed (0) -
istioctl/pkg/kubeinject/kubeinject.go
meshConfigMapName, ctx.IstioNamespace(), err) } // values in the data are strings, while proto might use a // different data type. therefore, we have to get a value by a // key configYaml, exists := meshConfigMap.Data[configMapKey] if !exists { return nil, fmt.Errorf("missing configuration map key %q", configMapKey) }
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Fri Mar 29 02:29:02 GMT 2024 - 21.6K bytes - Viewed (0) -
cni/pkg/nodeagent/net_test.go
setupLogging() fixture := getTestFixure(ctx) netServer := fixture.netServer ztunnelServer := fixture.ztunnelServer podMeta := metav1.ObjectMeta{ Name: "foo", Namespace: "bar", // this uid exists in the fake filesystem. UID: "863b91d4-4b68-4efa-917f-4b560e3e86aa", } podIP := netip.MustParseAddr("99.9.9.9") podIPs := []netip.Addr{podIP} expectPodAddedToIPSet(fixture.ipsetDeps, podMeta)
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Tue Apr 30 22:24:38 GMT 2024 - 16.4K bytes - Viewed (0) -
cni/pkg/util/podutil_test.go
name: "pod has sidecar and namespace has ambient enabled", args: args{ namespace: namespaceWithAmbientEnabledLabel, pod: podWithSidecar, }, want: false, }, // TODO: when there exists a means for users to signal the intent to exclude a pod from ambient without requiring the use of // the ambient redirection annotation, this annotation should no longer be checked by this function and this case should return 'true'
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Wed May 01 18:04:40 GMT 2024 - 5.9K bytes - Viewed (0) -
cni/pkg/install/install_test.go
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Fri Jan 26 20:34:28 GMT 2024 - 11.1K bytes - Viewed (0) -
istioctl/pkg/validate/validate.go
gvk := config.GroupVersionKind{ Group: un.GroupVersionKind().Group, Version: un.GroupVersionKind().Version, Kind: un.GroupVersionKind().Kind, } schema, exists := collections.Pilot.FindByGroupVersionAliasesKind(gvk) if exists { obj, err := convertObjectFromUnstructured(schema, un, "") if err != nil { return nil, fmt.Errorf("cannot parse proto message: %v", err) } if err = checkFields(un); err != nil {
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Mon Jan 22 17:58:52 GMT 2024 - 15K bytes - Viewed (0) -
cni/pkg/install/kubeconfig.go
} installLog.Infof("wrote kubeconfig file %s with: \n%+v", kubeconfigFilepath, kc.Redacted) } return nil } // checkExistingKubeConfigFile returns an error if no kubeconfig exists at the configured path, // or if a kubeconfig exists there, but differs from the current config. // In any case, an error indicates the file must be (re)written, and no error means no action need be taken
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Fri Aug 11 01:19:03 GMT 2023 - 4.9K bytes - Viewed (0)