Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 32 for break (0.16 sec)

  1. istioctl/pkg/writer/compare/comparator.go

    	c := &Comparator{}
    	for _, resp := range istiodResponses {
    		istiodDump := &configdump.Wrapper{}
    		err := json.Unmarshal(resp, istiodDump)
    		if err != nil {
    			continue
    		}
    		c.istiod = istiodDump
    		break
    	}
    	if c.istiod == nil {
    		return nil, fmt.Errorf("unable to find config dump in Istiod responses")
    	}
    	envoyDump := &configdump.Wrapper{}
    	err := json.Unmarshal(envoyResponse, envoyDump)
    	if err != nil {
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Sun Apr 21 17:42:54 GMT 2024
    - 3.7K bytes
    - Viewed (1)
  2. istioctl/pkg/multixds/gather.go

    		if err != nil {
    			return nil, fmt.Errorf("could not get XDS from discovery pod %q: %v", pod.Name, err)
    		}
    		responses = append(responses, response)
    		if !all && len(responses) > 0 {
    			break
    		}
    	}
    	return responses, nil
    }
    
    // queryDebugSynczViaAgents sends a debug/syncz xDS request via Istio Agents.
    // By this way, even if istioctl cannot access a specific `istiod` instance directly,
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Mar 08 08:38:19 GMT 2024
    - 13.6K bytes
    - Viewed (0)
  3. bin/retry.sh

          # we cannot display
          set -o pipefail; "$@" 2>&1 | tee "${tmpFile}"
        fi
        # shellcheck disable=SC2181
        if [[ $? == 0 ]]; then
          break
        fi
        if ! grep -Eq "${failureRegex}" "${tmpFile}"; then
          fail "Unexpected failure"
        fi
        if [[ $n -lt $max ]]; then
          ((n++))
          echo "Command failed. Attempt $n/$max:"
        else
    Shell Script
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Jun 11 16:08:08 GMT 2021
    - 2K bytes
    - Viewed (0)
  4. istioctl/pkg/writer/ztunnel/configdump/workload.go

    			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
    	}
    	return true
    }
    
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 23 21:30:30 GMT 2024
    - 4K bytes
    - Viewed (0)
  5. istioctl/pkg/writer/envoy/clusters/clusters.go

    	for _, cluster := range c.clusters.ClusterStatuses {
    		for _, host := range cluster.HostStatuses {
    			if filter.Verify(host, cluster.Name) {
    				filteredClusters = append(filteredClusters, cluster)
    				break
    			}
    		}
    	}
    	out, err := json.MarshalIndent(filteredClusters, "", "    ")
    	if err != nil {
    		return err
    	}
    	if outputFormat == "yaml" {
    		if out, err = yaml.JSONToYAML(out); err != nil {
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Thu Nov 03 08:41:32 GMT 2022
    - 5.8K bytes
    - Viewed (0)
  6. istioctl/pkg/waypoint/waypoint.go

    						for _, cond := range gwc.Status.Conditions {
    							if cond.Type == string(gateway.GatewayConditionProgrammed) && string(cond.Status) == "True" {
    								programmed = true
    								break
    							}
    						}
    					}
    					if programmed {
    						break
    					}
    					if time.Since(startTime) > waitTimeout {
    						errorMsg := fmt.Sprintf("timed out while waiting for waypoint %v/%v", gw.Namespace, gw.Name)
    						if err != nil {
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Wed May 01 16:16:40 GMT 2024
    - 15.2K bytes
    - Viewed (0)
  7. cni/pkg/repair/netns.go

    //
    // Instead, we traverse the procfs. Comments on this method are inline.
    func getPodNetNs(pod *corev1.Pod) (string, error) {
    	// First, find the network namespace id by looking the interface with the given Pod IP.
    	// This could break on some platforms if they do not have an interface-per-pod.
    	wantID, err := findNetworkIDByIP(pod.Status.PodIP)
    	if err != nil {
    		return "", fmt.Errorf("network id: %v", err)
    	}
    	fs, err := procfs.NewFS("/host/proc")
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Wed Dec 20 22:14:13 GMT 2023
    - 4.8K bytes
    - Viewed (0)
  8. manifests/charts/istio-control/istio-discovery/templates/clusterrole.yaml

      - apiGroups: ["admissionregistration.k8s.io"]
        resources: ["validatingwebhookconfigurations"]
        verbs: ["get", "list", "watch", "update"]
    
      # istio configuration
      # removing CRD permissions can break older versions of Istio running alongside this control plane (https://github.com/istio/istio/issues/29382)
      # please proceed with caution
    Others
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Thu Nov 09 01:32:06 GMT 2023
    - 5.6K bytes
    - Viewed (0)
  9. istioctl/pkg/validate/validate.go

    		// Display warnings we encountered as well
    		for _, fname := range filenames {
    			if w := warningsByFilename[fname]; w != nil {
    				if fname == "-" {
    					_, _ = fmt.Fprint(writer, warningToString(w))
    					break
    				}
    				_, _ = fmt.Fprintf(writer, "%q has warnings: %v\n", fname, warningToString(w))
    			}
    		}
    		return errs
    	}
    	for _, fname := range filenames {
    		if fname == "-" {
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Mon Jan 22 17:58:52 GMT 2024
    - 15K bytes
    - Viewed (0)
  10. operator/cmd/mesh/install.go

    				enabledComponents = append(enabledComponents, name.UserFacingComponentName(name.IngressComponentName))
    				break
    			}
    		}
    		for _, c := range iop.Spec.Components.EgressGateways {
    			if c.Enabled.GetValue() {
    				enabledComponents = append(enabledComponents, name.UserFacingComponentName(name.EgressComponentName))
    				break
    			}
    		}
    	}
    
    	if configuredNamespace := v1alpha12.Namespace(iop.Spec); configuredNamespace != "" {
    Go
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 15.2K bytes
    - Viewed (0)
Back to top