Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for ErrorOrNil (0.19 sec)

  1. istioctl/pkg/tag/util.go

    		return err
    	}
    	var result error
    	for _, wh := range webhooks {
    		result = multierror.Append(result, client.AdmissionregistrationV1().MutatingWebhookConfigurations().Delete(ctx, wh.Name, metav1.DeleteOptions{})).ErrorOrNil()
    	}
    	return result
    }
    
    // PreviousInstallExists checks whether there is an existing Istio installation. Should be used in installer when deciding
    // whether to make an installation the default.
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Jan 16 17:43:42 GMT 2024
    - 5.4K bytes
    - Viewed (1)
  2. istioctl/pkg/metrics/metrics.go

    	}
    	sm.p90Latency = p90Latency
    
    	p99Latency, err := getLatency(promAPI, wname, wns, duration, 0.99)
    	if err != nil {
    		me = multierror.Append(me, err)
    	}
    	sm.p99Latency = p99Latency
    
    	if me.ErrorOrNil() != nil {
    		return sm, fmt.Errorf("error retrieving some metrics: %v", me.Error())
    	}
    
    	return sm, nil
    }
    
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 8.4K bytes
    - Viewed (0)
  3. istioctl/pkg/waypoint/waypoint.go

    					mu.Unlock()
    				}
    			} else {
    				fmt.Fprintf(cmd.OutOrStdout(), "waypoint %v/%v deleted\n", namespace, name)
    			}
    		}(name)
    	}
    
    	wg.Wait()
    	return multiErr.ErrorOrNil()
    }
    
    func labelNamespaceWithWaypoint(kubeClient kube.CLIClient, ns string) error {
    	nsObj, err := kubeClient.Kube().CoreV1().Namespaces().Get(context.Background(), ns, metav1.GetOptions{})
    	if errors.IsNotFound(err) {
    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)
  4. istioctl/pkg/ztunnelconfig/ztunnelconfig.go

    				} else {
    					errs = multierror.Append(fmt.Errorf("%v.%v: %v", podName, podNamespace, err))
    				}
    			}
    			if err := multierror.Flatten(errs.ErrorOrNil()); err != nil {
    				return err
    			}
    			return nil
    		},
    		ValidArgsFunction: completion.ValidPodsNameArgs(ctx),
    	}
    
    	levelListString := fmt.Sprintf("[%s, %s, %s, %s, %s, %s, %s]",
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Wed May 01 13:11:40 GMT 2024
    - 22.2K bytes
    - Viewed (0)
  5. istioctl/pkg/proxyconfig/proxyconfig.go

    				} else {
    					_, _ = fmt.Fprintf(c.OutOrStdout(), "%v.%v:\n%v", podName, podNamespace, resp)
    				}
    			}
    			if err := multierror.Flatten(errs.ErrorOrNil()); err != nil {
    				return err
    			}
    			return nil
    		},
    		ValidArgsFunction: completion.ValidPodsNameArgs(ctx),
    	}
    
    	levelListString := fmt.Sprintf("[%s, %s, %s, %s, %s, %s, %s]",
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 16 03:28:36 GMT 2024
    - 48K bytes
    - Viewed (0)
Back to top