Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 39 for Fprintf (0.16 sec)

  1. istioctl/pkg/waypoint/waypoint.go

    						break
    					}
    					if time.Since(startTime) > waitTimeout {
    						errorMsg := fmt.Sprintf("timed out while waiting for waypoint %v/%v", gw.Namespace, gw.Name)
    						if err != nil {
    							errorMsg += fmt.Sprintf(": %s", err)
    						}
    						return fmt.Errorf(errorMsg)
    					}
    				}
    			}
    			fmt.Fprintf(cmd.OutOrStdout(), "waypoint %v/%v applied\n", gw.Namespace, gw.Name)
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed May 08 19:45:58 GMT 2024
    - 15.5K bytes
    - Viewed (0)
  2. istioctl/pkg/tag/tag.go

    			fmt.Fprintf(w, "Aborting operation.\n")
    			return nil
    		}
    	}
    
    	// proceed with webhook deletion
    	err = DeleteTagWebhooks(ctx, kubeClient, tagName)
    	if err != nil {
    		return fmt.Errorf("failed to delete Istio revision tag MutatingConfigurationWebhook: %v", err)
    	}
    
    	fmt.Fprintf(w, "Revision tag %s removed\n", tagName)
    	return nil
    }
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 02 08:32:06 GMT 2024
    - 16.3K bytes
    - Viewed (0)
  3. istioctl/pkg/validate/validate.go

    	objLabels, err := GetTemplateLabels(un)
    	if err != nil {
    		return err
    	}
    	url := fmt.Sprintf("See %s\n", url.DeploymentRequirements)
    	if !labels.HasCanonicalServiceName(objLabels) || !labels.HasCanonicalServiceRevision(objLabels) {
    		fmt.Fprintf(writer, "deployment %q may not provide Istio metrics and telemetry labels: %q. "+url,
    			fmt.Sprintf("%s/%s:", un.GetName(), un.GetNamespace()), objLabels)
    	}
    	return nil
    }
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Jan 22 17:58:52 GMT 2024
    - 15K bytes
    - Viewed (0)
  4. istioctl/pkg/writer/envoy/configdump/listener.go

    			})
    			for _, match := range matches {
    				if includeConfigType {
    					name := fmt.Sprintf("listener/%s", l.Name)
    					fmt.Fprintf(w, "%v\t%v\t%v\t%v\t%v\n", name, strings.Join(addresses, ","), port, match.match, match.destination)
    				} else {
    					fmt.Fprintf(w, "%v\t%v\t%v\t%v\n", strings.Join(addresses, ","), port, match.match, match.destination)
    				}
    			}
    		} else {
    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)
  5. istioctl/pkg/analyze/analyze.go

    	for _, aName := range analyzerNames {
    		b.WriteString(fmt.Sprintf("* %s:\n", aName))
    		a := nameToAnalyzer[aName]
    		if a.Metadata().Description != "" {
    			b.WriteString(fmt.Sprintf("    %s\n", a.Metadata().Description))
    		}
    	}
    	return b.String()
    }
    
    func analyzeTargetAsString() string {
    	if allNamespaces {
    		return "all namespaces"
    	}
    	return fmt.Sprintf("namespace: %s", selectedNamespace)
    }
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 02 08:32:06 GMT 2024
    - 17K bytes
    - Viewed (0)
  6. istioctl/pkg/multixds/gather.go

    	}
    
    	return &retval, nil
    }
    
    func makeSan(istioNamespace, revision string) string {
    	if revision == "" {
    		return fmt.Sprintf("istiod.%s.svc", istioNamespace)
    	}
    	return fmt.Sprintf("istiod-%s.%s.svc", revision, istioNamespace)
    }
    
    // AllRequestAndProcessXds returns all XDS responses from 1 central or 1..N K8s cluster-based XDS servers
    // nolint: lll
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 08 08:38:19 GMT 2024
    - 13.6K bytes
    - Viewed (0)
  7. istioctl/pkg/dashboard/dashboard.go

    			// Try the next port
    			continue
    		}
    
    		// Close the port forwarder when the command is terminated.
    		ClosePortForwarderOnInterrupt(fw)
    
    		log.Debugf(fmt.Sprintf("port-forward to %s pod ready", flavor))
    		openBrowser(fmt.Sprintf(urlFormat, fw.Address()), writer, browser)
    
    		// Wait for stop
    		fw.WaitForStop()
    
    		return nil
    	}
    
    	return fmt.Errorf("failure running port forward process: %v", err)
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Apr 15 01:29:35 GMT 2024
    - 20.5K bytes
    - Viewed (0)
  8. istioctl/pkg/admin/istiodconfig.go

    				if opts.Revision == "" {
    					opts.Revision = "default"
    				}
    				if len(istiodLabelSelector) > 0 {
    					istiodLabelSelector = fmt.Sprintf("%s,%s=%s", istiodLabelSelector, label.IoIstioRev.Name, opts.Revision)
    				} else {
    					istiodLabelSelector = fmt.Sprintf("%s=%s", label.IoIstioRev.Name, opts.Revision)
    				}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 13.5K bytes
    - Viewed (0)
  9. istioctl/pkg/wait/wait.go

    					t.Stop()
    					errTmpl := "timeout expired before resource %s became effective on %s"
    					var errMsg string
    					if proxyFlag != "" {
    						errMsg = fmt.Sprintf(errTmpl, targetResource, proxyFlag)
    					} else {
    						errMsg = fmt.Sprintf(errTmpl, targetResource, "all sidecars")
    					}
    					return fmt.Errorf(errMsg)
    				}
    			}
    		},
    		Args: func(cmd *cobra.Command, args []string) error {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Feb 17 12:24:17 GMT 2024
    - 10.1K bytes
    - Viewed (0)
  10. istioctl/pkg/injector/injector-list.go

    		return "<no pods>"
    	}
    
    	podText := strconv.Itoa(counts.pods)
    	if counts.disabled > 0 {
    		podText += fmt.Sprintf(" (injection disabled: %d)", counts.disabled)
    	}
    	if counts.needsRestart > 0 {
    		podText += fmt.Sprintf(" NEEDS RESTART: %d", counts.needsRestart)
    	}
    	return fmt.Sprintf("%s: %s", injectedRevision, podText)
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Jan 04 03:08:06 GMT 2024
    - 10.4K bytes
    - Viewed (0)
Back to top