- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 33 for exists (0.14 sec)
-
operator/cmd/mesh/operator-common.go
outputFormat string } const ( operatorResourceName = "istio-operator" operatorDefaultNamespace = "istio-operator" ) // isControllerInstalled reports whether an operator deployment exists in the given namespace. func isControllerInstalled(cs kubernetes.Interface, operatorNamespace string, revision string) (bool, error) { orn := operatorResourceName if revision != "" { orn += "-" + revision }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Sat Dec 17 02:25:04 GMT 2022 - 3.8K bytes - Viewed (0) -
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 08 22:53:08 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 08 22:53:08 GMT 2024 - Last Modified: Tue May 07 19:54:50 GMT 2024 - 19.7K 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 08 22:53:08 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 May 08 22:53:08 GMT 2024 - Last Modified: Thu May 02 14:30:43 GMT 2024 - 15.5K bytes - Viewed (1) -
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 08 22:53:08 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 08 22:53:08 GMT 2024 - Last Modified: Tue Apr 30 22:24:38 GMT 2024 - 16.4K bytes - Viewed (0) -
cni/pkg/install/install_test.go
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/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 08 22:53:08 GMT 2024 - Last Modified: Mon Jan 22 17:58:52 GMT 2024 - 15K bytes - Viewed (0) -
cni/pkg/iptables/iptables_linux.go
"net" "github.com/vishvananda/netlink" "golang.org/x/sys/unix" ) func AddInpodMarkIPRule(cfg *Config) error { err := forEachInpodMarkIPRule(cfg, netlink.RuleAdd) if errors.Is(err, unix.EEXIST) { log.Debugf("Ignoring exists error adding inpod mark ip rule: %v", err) return nil } return err } func DelInpodMarkIPRule(cfg *Config) error { return forEachInpodMarkIPRule(cfg, netlink.RuleDel) }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Apr 30 22:24:38 GMT 2024 - 3.3K bytes - Viewed (0)