Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for getName (0.2 sec)

  1. istioctl/pkg/writer/envoy/configdump/ecds.go

    		}
    
    		ecds = append(ecds, c)
    	}
    
    	sort.Slice(ecds, func(i, j int) bool {
    		if ecds[i].GetTypedConfig().GetTypeUrl() == ecds[j].GetTypedConfig().GetTypeUrl() {
    			return ecds[i].GetName() < ecds[j].GetName()
    		}
    
    		return ecds[i].GetTypedConfig().GetTypeUrl() < ecds[j].GetTypedConfig().GetTypeUrl()
    	})
    
    	return ecds, nil
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Sat Jan 14 02:41:27 GMT 2023
    - 2.6K bytes
    - Viewed (0)
  2. istioctl/pkg/validate/validate.go

    						"This is not recommended, See "+url.ProtocolSelection, fmt.Sprintf("%s/%s/:", un.GetName(), un.GetNamespace())))
    				}
    			} else {
    				if p["name"] == nil {
    					errs = multierror.Append(errs, fmt.Errorf("service %q has an unnamed port. This is not recommended,"+
    						" See "+url.DeploymentRequirements, fmt.Sprintf("%s/%s/:", un.GetName(), un.GetNamespace())))
    					continue
    				}
    				if servicePortPrefixed(p["name"].(string)) {
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Mon Jan 22 17:58:52 GMT 2024
    - 15K bytes
    - Viewed (0)
  3. istioctl/pkg/authz/listener.go

    				case wellknown.HTTPConnectionManager, "envoy.http_connection_manager":
    					if cm := getHTTPConnectionManager(filter); cm != nil {
    						for _, httpFilter := range cm.GetHttpFilters() {
    							switch httpFilter.GetName() {
    							case wellknown.HTTPRoleBasedAccessControl:
    								rbacHTTP := &rbachttp.RBAC{}
    								if err := getHTTPFilterConfig(httpFilter, rbacHTTP); err != nil {
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Mon Sep 11 15:29:30 GMT 2023
    - 6K bytes
    - Viewed (0)
  4. cni/pkg/nodeagent/informers.go

    // TODO it is sort of pointless/confusing/implicit to populate Old and New with the same reference here
    func (s *InformerHandlers) enqueueNamespace(o controllers.Object) {
    	namespace := o.GetName()
    	labels := o.GetLabels()
    	matchAmbient := labels[constants.DataplaneMode] == constants.DataplaneModeAmbient
    	if matchAmbient {
    		log.Infof("Namespace %s is enabled in ambient mesh", namespace)
    	} else {
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Thu Feb 08 01:03:24 GMT 2024
    - 9.9K bytes
    - Viewed (0)
  5. istioctl/pkg/wait/wait.go

    		if err != nil {
    			return err
    		}
    		for w := range watch.ResultChan() {
    			o, ok := w.Object.(metav1.Object)
    			if !ok {
    				continue
    			}
    			if o.GetName() == nf {
    				result <- strconv.FormatInt(o.GetGeneration(), 10)
    			}
    			select {
    			case <-ictx.Done():
    				return ictx.Err()
    			default:
    				continue
    			}
    		}
    
    		return nil
    	})
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Sat Feb 17 12:24:17 GMT 2024
    - 10.1K bytes
    - Viewed (0)
  6. istioctl/pkg/writer/envoy/configdump/listener.go

    	case *matcher.Matcher_OnMatch_Action:
    		if v.Action.GetName() == fc.GetName() {
    			return []string{"UNMATCHED"}
    		}
    	case *matcher.Matcher_OnMatch_Matcher:
    		ms, f := recurse(fc.GetName(), v.Matcher)
    		if !f {
    			return []string{"NONE"}
    		}
    		return ms
    	}
    	ms, f := recurse(fc.GetName(), l.GetFilterChainMatcher())
    	if !f {
    		return []string{"NONE"}
    	}
    	return ms
    }
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Wed Nov 29 12:37:14 GMT 2023
    - 18.1K bytes
    - Viewed (0)
  7. istioctl/pkg/describe/describe.go

    	switch cs := vhRoute.GetRoute().GetClusterSpecifier().(type) {
    	case *route.RouteAction_Cluster:
    		clusterName = cs.Cluster
    	case *route.RouteAction_WeightedClusters:
    		clusterName = cs.WeightedClusters.Clusters[0].GetName()
    	}
    
    	// If this is an ingress gateway, the Domains will be something like *:80, so check routes
    	// which will look like "outbound|9080||productpage.default.svc.cluster.local"
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 50.4K bytes
    - Viewed (0)
  8. istioctl/pkg/config/config.go

    	}
    	return w.Flush()
    }
    
    func configSource(flag string, v env.VariableInfo) string {
    	// Environment variables have high precedence in Viper
    	if v.IsSet() {
    		return "$" + v.GetName()
    	}
    
    	if viper.InConfig(flag) {
    		return root.IstioConfig
    	}
    
    	return "default"
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Sun Jul 30 12:16:07 GMT 2023
    - 3.1K bytes
    - Viewed (0)
  9. istioctl/pkg/precheck/precheck.go

    					Type: config.GroupVersionKind(deployment.GroupVersionKind()),
    					FullName: resource.FullName{
    						Namespace: resource.Namespace(deployment.GetNamespace()),
    						Name:      resource.LocalName(deployment.GetName()),
    					},
    					ResourceVersion: resource.Version(deployment.GetResourceVersion()),
    					Ref:             nil,
    					FieldsMap:       nil,
    				},
    			}
    			messages.Add(msg.NewUpdateIncompatibility(res,
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Fri Apr 12 02:57:30 GMT 2024
    - 19.3K bytes
    - Viewed (0)
Back to top