- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 85 for elseif (0.16 sec)
-
istioctl/pkg/writer/compare/cluster.go
if err != nil { envoyBytes.WriteString(err.Error()) } else { envoy, err := protomarshal.ToJSONWithAnyResolver(envoyClusterDump, " ", &envoyResolver) if err != nil { return err } envoyBytes.WriteString(envoy) } istiodClusterDump, err := c.istiod.GetDynamicClusterDump(true) if err != nil { istiodBytes.WriteString(err.Error()) } else {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Mar 12 10:02:09 GMT 2024 - 1.9K bytes - Viewed (0) -
istioctl/pkg/writer/compare/listener.go
if err != nil { envoyBytes.WriteString(err.Error()) } else { envoy, err := protomarshal.ToJSONWithAnyResolver(envoyListenerDump, " ", &envoyResolver) if err != nil { return err } envoyBytes.WriteString(envoy) } istiodListenerDump, err := c.istiod.GetDynamicListenerDump(true) if err != nil { istiodBytes.WriteString(err.Error()) } else {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu Apr 04 20:29:08 GMT 2024 - 2K bytes - Viewed (0) -
istioctl/pkg/checkinject/checkinject.go
} else if nsLabel != "" { outMsg := fmt.Sprintf("Namespace label %s matches", nsLabel) if strings.Contains(nsLabel, "kubernetes.io/metadata.name") { outMsg += " (Automatic injection is enabled in all namespaces)." } return outMsg, true } else if podLabel != "" { return fmt.Sprintf("Pod label %s matches", podLabel), true }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Sat Apr 13 05:23:38 GMT 2024 - 9.3K bytes - Viewed (0) -
istioctl/pkg/writer/envoy/configdump/listener.go
if filter.Name == HTTPListener { nHTTP++ } else if filter.Name == TCPListener { if !strings.Contains(string(filter.GetTypedConfig().GetValue()), util.BlackHoleCluster) { nTCP++ } } } } if nHTTP > 0 { if nTCP == 0 { return "HTTP" } return "HTTP+TCP" } else if nTCP > 0 { return "TCP" } return "UNKNOWN" }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Wed Nov 29 12:37:14 GMT 2023 - 18.1K bytes - Viewed (0) -
operator/cmd/mesh/profile-dump.go
// we'll re-encode the result to pretty JSON. uglyJSON, err := yaml.YAMLToJSON([]byte(yml)) if err != nil { return "", err } var decoded any if uglyJSON[0] == '[' { decoded = make([]any, 0) } else { decoded = map[string]any{} } if err := json.Unmarshal(uglyJSON, &decoded); err != nil { return "", err } prettyJSON, err := json.MarshalIndent(decoded, "", " ") if err != nil {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Mar 15 01:18:49 GMT 2024 - 7.1K bytes - Viewed (0) -
istioctl/pkg/writer/ztunnel/configdump/certificates.go
fmt.Fprintf(w, "%v\t%v\t%v\t%v\t%v\t%v\t%v\n", secret.Identity, valueOrNA(""), secret.State, false, valueOrNA(""), valueOrNA(""), valueOrNA("")) } else { for i, ca := range secret.CertChain { t := "Intermediate" if i == 0 { t = "Leaf" } else if i == len(secret.CertChain)-1 { t = "Root" } n := new(big.Int) n, _ = n.SetString(ca.SerialNumber, 10)
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu Apr 25 16:38:16 GMT 2024 - 3.2K bytes - Viewed (0) -
istioctl/pkg/writer/ztunnel/configdump/workload.go
} iNode := verifiedWorkloads[i].Node jNode := verifiedWorkloads[j].Node return iNode < jNode }) if filter.Verbose { fmt.Fprintln(w, "NAMESPACE\tPOD NAME\tIP\tNODE\tWAYPOINT\tPROTOCOL") } else { fmt.Fprintln(w, "NAMESPACE\tPOD NAME\tIP\tNODE") } for _, wl := range verifiedWorkloads { var ip string if len(wl.WorkloadIPs) > 0 { ip = wl.WorkloadIPs[0] } if filter.Verbose {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Apr 23 21:30:30 GMT 2024 - 4K bytes - Viewed (0) -
cni/pkg/plugin/sidecar_redirect.go
} if pi.ProxyUID != nil && *pi.ProxyUID != 0 { redir.noRedirectUID = fmt.Sprintf("%d", *pi.ProxyUID) } else { redir.noRedirectUID = defaultNoRedirectUID } if pi.ProxyGID != nil && *pi.ProxyGID != 0 { redir.noRedirectGID = fmt.Sprintf("%d", *pi.ProxyGID) } else { redir.noRedirectGID = defaultNoRedirectGID }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Jan 26 20:34:28 GMT 2024 - 10.6K bytes - Viewed (0) -
operator/cmd/mesh/operator-common.go
watchedNamespaces: {{.WatchedNamespaces}} hub: {{.Hub}} tag: {{.Tag}} {{- if .ImagePullSecrets }} imagePullSecrets: {{- range .ImagePullSecrets }} - {{ . }} {{- end }} {{- end }} revision: {{if .Revision }} {{.Revision}} {{else}} "" {{end}} ` tv := struct { IstioNamespace string WatchedNamespaces string Hub string Tag string ImagePullSecrets []string Revision string }{
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) -
operator/cmd/mesh/manifest_shared_test.go
if err := clnt.Get(ctx, client.ObjectKeyFromObject(obj), check); kerrors.IsNotFound(err) { if err := clnt.Create(ctx, check); err != nil { return fmt.Errorf("could not inject object creation for fake: %w", err) } } else if err != nil { return err } obj.SetResourceVersion(check.GetResourceVersion()) return clnt.Update(ctx, obj) }} // recreateSimpleTestEnv mocks fake kube api server which relies on a simple object tracker
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)