Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for GetIDsFromProxyInfo (0.34 sec)

  1. pkg/proxy/proxyinfo.go

    				IstioVersion: ss.SyncStatus.IstioVersion,
    				Type:         istioVersion.ToUserFacingNodeType(string(ss.ProxyType)),
    			})
    		}
    	}
    
    	return &pi, nil
    }
    
    // GetIDsFromProxyInfo is a helper function to retrieve list of IDs from Proxy.
    func GetIDsFromProxyInfo(kubeClient kube.CLIClient, istioNamespace string) ([]string, error) {
    	var IDs []string
    	pi, err := GetProxyInfo(kubeClient, istioNamespace)
    	if err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jul 06 22:41:32 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  2. operator/cmd/mesh/uninstall.go

    	rev string, resourcesList []*unstructured.UnstructuredList, objectsList object.K8sObjects, l *clog.ConsoleLogger, dryRun bool,
    ) {
    	pids, err := proxyinfo.GetIDsFromProxyInfo(kubeClient, istioNamespace)
    	needConfirmation, message := false, ""
    	if uiArgs.purge {
    		needConfirmation = true
    		message += AllResourcesRemovedWarning
    	} else {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Mar 15 01:18:49 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  3. operator/pkg/helmreconciler/prune.go

    		}
    
    		if pilotExists {
    			// TODO(ramaraochavali): Find a better alternative instead of using debug interface
    			// of istiod as it is typically not recommended in production environments.
    			pids, err := proxy.GetIDsFromProxyInfo(kubeClient, ns)
    			if err != nil {
    				return errStatus, fmt.Errorf("failed to check proxy infos: %v", err)
    			}
    			if len(pids) != 0 {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 02 08:32:06 UTC 2024
    - 15.9K bytes
    - Viewed (0)
Back to top