- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 12 for EqualFold (0.18 sec)
-
istioctl/pkg/writer/ztunnel/configdump/workload.go
} if wf.Namespace != "" { if !strings.EqualFold(workload.Namespace, wf.Namespace) { return false } } if wf.Address != "" { var find bool for _, ip := range workload.WorkloadIPs { if strings.EqualFold(ip, wf.Address) { find = true break } } if !find { return false } } if wf.Node != "" && !strings.EqualFold(workload.Node, wf.Node) { return false }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Apr 23 21:30:30 GMT 2024 - 4K bytes - Viewed (0) -
istioctl/pkg/writer/envoy/clusters/clusters.go
return true } if e.Address != "" && !strings.EqualFold(retrieveEndpointAddress(host), e.Address) { return false } if e.Port != 0 && retrieveEndpointPort(host) != e.Port { return false } if e.Cluster != "" && !strings.EqualFold(cluster, e.Cluster) { return false } status := retrieveEndpointStatus(host) if e.Status != "" && !strings.EqualFold(core.HealthStatus_name[int32(status)], e.Status) {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu Nov 03 08:41:32 GMT 2022 - 5.8K bytes - Viewed (0) -
istioctl/pkg/writer/ztunnel/configdump/services.go
type ServiceFilter struct { Namespace string } // Verify returns true if the passed workload matches the filter fields func (wf *ServiceFilter) Verify(svc *ZtunnelService) bool { if wf.Namespace != "" { if !strings.EqualFold(svc.Namespace, wf.Namespace) { return false } } return true } // PrintServiceSummary prints a summary of the relevant services in the config dump to the ConfigWriter stdout
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Apr 23 21:30:30 GMT 2024 - 2.8K bytes - Viewed (0) -
istioctl/pkg/writer/ztunnel/configdump/policies.go
type PolicyFilter struct { Namespace string } // Verify returns true if the passed workload matches the filter fields func (wf *PolicyFilter) Verify(pol *ZtunnelPolicy) bool { if wf.Namespace != "" { if !strings.EqualFold(pol.Namespace, wf.Namespace) { return false } } return true } // PrintServiceSummary prints a summary of the relevant services in the config dump to the ConfigWriter stdout
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Apr 23 21:30:30 GMT 2024 - 2.5K bytes - Viewed (0) -
istioctl/pkg/xds/google.go
ret, err := creds.GetRequestMetadata(ctx, uri...) if err != nil { return err } for k, v := range ret { if !strings.EqualFold(k, "authorization") { if _, ok := dst[k]; ok { return fmt.Errorf("underlying %s credentials contain a %s header which is already present in the combined credentials", kind, k) } dst[k] = v } else {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Mon Nov 14 20:23:34 GMT 2022 - 3.4K bytes - Viewed (0) -
istioctl/pkg/writer/envoy/configdump/endpoint.go
return true } if e.Address != "" && !strings.EqualFold(retrieveEndpointAddress(ep), e.Address) { return false } if e.Port != 0 && retrieveEndpointPort(ep) != e.Port { return false } if e.Cluster != "" && !strings.EqualFold(cluster, e.Cluster) { return false } status := retrieveEndpointStatus(ep) if e.Status != "" && !strings.EqualFold(core.HealthStatus_name[int32(status)], e.Status) { return false }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Sun Apr 21 17:42:54 GMT 2024 - 5.6K bytes - Viewed (0) -
istioctl/pkg/util/formatting/formatter.go
} return prefix } func colorSuffix(colorize bool) string { if !colorize { return "" } return "\033[0m" } func IstioctlColorDefault(writer io.Writer) bool { if strings.EqualFold(termEnvVar.Get(), "dumb") { return false } file, ok := writer.(*os.File) if ok { if !isatty.IsTerminal(file.Fd()) { return false } } return true
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) -
istioctl/pkg/writer/envoy/configdump/listener.go
found := false for _, address := range addresses { if strings.EqualFold(address, l.Address) { found = true } } if !found { return false } } if l.Port != 0 && retrieveListenerPort(listener) != l.Port { return false } if l.Type != "" && !strings.EqualFold(retrieveListenerType(listener), l.Type) { return false } return true }
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) -
istioctl/pkg/validate/validate.go
} spec := un.Object["spec"].(map[string]any) if _, ok := spec["ports"]; ok { ports := spec["ports"].([]any) for _, port := range ports { p := port.(map[string]any) if p["protocol"] != nil && strings.EqualFold(p["protocol"].(string), serviceProtocolUDP) { continue } if ap := p["appProtocol"]; ap != nil { if protocol.Parse(ap.(string)).IsUnsupported() {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Mon Jan 22 17:58:52 GMT 2024 - 15K bytes - Viewed (0) -
istioctl/pkg/wait/wait.go
} } func validateType(kind string) error { originalKind := kind // Remove any dashes. kind = strings.ReplaceAll(kind, "-", "") for _, s := range collections.Pilot.All() { if strings.EqualFold(kind, s.Kind()) { targetSchema = s return nil } } return fmt.Errorf("type %s is not recognized", originalKind) } func countVersions(versionCount map[string]int, configVersion string) {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Sat Feb 17 12:24:17 GMT 2024 - 10.1K bytes - Viewed (0)