- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 20 for MATCHES (0.25 sec)
-
istioctl/pkg/writer/envoy/configdump/listener.go
port := retrieveListenerPort(l) if filter.Verbose { matches := retrieveListenerMatches(l) sort.Slice(matches, func(i, j int) bool { return matches[i].destination > matches[j].destination }) for _, match := range matches { if includeConfigType { name := fmt.Sprintf("listener/%s", l.Name)
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/checkinject/checkinject.go
if nsMatched && podMatched { if nsLabel != "" && podLabel != "" { return fmt.Sprintf("Namespace label %s matches, and pod label %s matches", nsLabel, podLabel), true } 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)." }
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/ztunnel/configdump/workload.go
type WorkloadFilter struct { Address string Node string Verbose bool Namespace string } // Verify returns true if the passed workload matches the filter fields func (wf *WorkloadFilter) Verify(workload *ZtunnelWorkload) bool { if wf.Address == "" && wf.Node == "" && wf.Namespace == "" { return true } if wf.Namespace != "" {
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 l.HealthStatus.GetEdsHealthStatus() } func retrieveFailedOutlierCheck(l *admin.HostStatus) bool { return l.HealthStatus.GetFailedOutlierCheck() } // Verify returns true if the passed host matches the filter fields func (e *EndpointFilter) Verify(host *admin.HostStatus, cluster string) bool { if e.Address == "" && e.Port == 0 && e.Cluster == "" && e.Status == "" { return true }
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/cmd/sysexits.go
// https://www.tldp.org/LDP/abs/html/exitcodes.html#EXITCODESREF) and then some // used by convention (see sysexits). // // The intention here is to use 64-78 in a way that matches the attempt in // sysexits to signify some error running istioctl, and use 79-125 as custom // error codes for other info that we'd like to use to pass info on. const (
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu Jun 15 15:02:17 GMT 2023 - 1.9K bytes - Viewed (0) -
istioctl/pkg/writer/ztunnel/configdump/policies.go
) // PolicyFilter is used to pass filter information into service based config writer print functions 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 }
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) -
cni/pkg/repair/repaircontroller.go
m.With(resultLabel.Value(resultSuccess)).Increment() return nil } // MatchesFilter returns true if the pod matches the repair filter criteria func (c *Controller) matchesFilter(pod *corev1.Pod) bool { // Helper function; checks that a container's termination message matches filter matchTerminationMessage := func(state *corev1.ContainerStateTerminated) bool {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Sat Feb 10 00:31:55 GMT 2024 - 10.4K bytes - Viewed (0) -
cni/pkg/nodeagent/informers.go
if !changeNeeded { log.Debugf("Pod %s update event skipped, no change needed", pod.Name) return nil } if !shouldBeEnabled { log.Debugf("Pod %s no longer matches, removing from mesh", newPod.Name) err := s.dataplane.RemovePodFromMesh(s.ctx, pod) log.Debugf("RemovePodFromMesh(%s) returned %v", newPod.Name, err)
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri May 03 19:29:42 GMT 2024 - 9.6K bytes - Viewed (0) -
istioctl/pkg/authz/listener.go
"google.golang.org/protobuf/proto" "istio.io/istio/pkg/log" "istio.io/istio/pkg/wellknown" ) const ( anonymousName = "_anonymous_match_nothing_" ) // Matches the policy name in RBAC filter config with format like ns[default]-policy[some-policy]-rule[1]. var re = regexp.MustCompile(`ns\[(.+)\]-policy\[(.+)\]-rule\[(.+)\]`) type filterChain struct { rbacHTTP []*rbachttp.RBAC
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Mon Sep 11 15:29:30 GMT 2023 - 6K bytes - Viewed (0) -
istioctl/pkg/writer/envoy/configdump/cluster.go
type ClusterFilter struct { FQDN host.Name Port int Subset string Direction model.TrafficDirection } // Verify returns true if the passed cluster matches the filter fields func (c *ClusterFilter) Verify(cluster *cluster.Cluster) bool { name := cluster.Name if c.FQDN == "" && c.Port == 0 && c.Subset == "" && c.Direction == "" { return true }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu May 11 05:38:17 GMT 2023 - 5.9K bytes - Viewed (0)