Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 1,080 for fmtF (0.1 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)
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 15:59:33 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  2. plugin/pkg/admission/noderestriction/admission.go

    func (p *Plugin) ValidateInitialization() error {
    	if p.nodeIdentifier == nil {
    		return fmt.Errorf("%s requires a node identifier", PluginName)
    	}
    	if p.podsGetter == nil {
    		return fmt.Errorf("%s requires a pod getter", PluginName)
    	}
    	if p.nodesGetter == nil {
    		return fmt.Errorf("%s requires a node getter", PluginName)
    	}
    	return nil
    }
    
    var (
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 21:22:55 UTC 2024
    - 23.6K bytes
    - Viewed (0)
  3. pkg/config/validation/agent/validation.go

    		return nil
    	}
    	return fmt.Errorf("port number %d must be in the range 1..65535", port)
    }
    
    // encapsulates DNS 1123 checks common to both wildcarded hosts and FQDNs
    func CheckDNS1123Preconditions(name string) error {
    	if len(name) > 255 {
    		return fmt.Errorf("domain name %q too long (max 255)", name)
    	}
    	if len(name) == 0 {
    		return fmt.Errorf("empty domain name not allowed")
    	}
    	return nil
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 20:06:41 UTC 2024
    - 30.9K bytes
    - Viewed (0)
  4. pilot/pkg/security/authz/model/generator.go

    	return nil, fmt.Errorf("unimplemented")
    }
    
    func (envoyFilterGenerator) extendedPrincipal(_ string, _ []string, _ bool) (*rbacpb.Principal, error) {
    	return nil, fmt.Errorf("unimplemented")
    }
    
    type srcIPGenerator struct{}
    
    func (srcIPGenerator) permission(_, _ string, _ bool) (*rbacpb.Permission, error) {
    	return nil, fmt.Errorf("unimplemented")
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 03 18:02:42 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  5. pkg/config/validation/envoyfilter/envoyfilter.go

    			errs = validation.AppendValidation(errs, fmt.Errorf("Envoy filter: missing applyTo")) // nolint: stylecheck
    			continue
    		}
    		if cp.Patch == nil {
    			errs = validation.AppendValidation(errs, fmt.Errorf("Envoy filter: missing patch")) // nolint: stylecheck
    			continue
    		}
    		if cp.Patch.Operation == networking.EnvoyFilter_Patch_INVALID {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Mar 30 00:31:03 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  6. src/internal/profile/profile.go

    	if pt := p.PeriodType; pt != nil {
    		ss = append(ss, fmt.Sprintf("PeriodType: %s %s", pt.Type, pt.Unit))
    	}
    	ss = append(ss, fmt.Sprintf("Period: %d", p.Period))
    	if p.TimeNanos != 0 {
    		ss = append(ss, fmt.Sprintf("Time: %v", time.Unix(0, p.TimeNanos)))
    	}
    	if p.DurationNanos != 0 {
    		ss = append(ss, fmt.Sprintf("Duration: %v", time.Duration(p.DurationNanos)))
    	}
    
    	ss = append(ss, "Samples:")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 08 17:57:40 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  7. istioctl/pkg/admin/istiodconfig.go

    			},
    		)
    	}
    	switch ga.outputFormat {
    	case "short":
    		w := new(tabwriter.Writer).Init(out, 0, 8, 3, ' ', 0)
    		_, _ = fmt.Fprintln(w, "ACTIVE SCOPE\tDESCRIPTION\tLOG LEVEL")
    		for _, sll := range resultScopeLogLevel {
    			_, _ = fmt.Fprintf(w, "%s\t%s\t%s\n", sll.ScopeName, sll.Description, sll.LogLevel)
    		}
    		return w.Flush()
    	case "json", "yaml":
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Apr 13 05:23:38 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  8. tests/integration/pilot/istioctl_test.go

    				{
    					name: "ingressgateway",
    					pod:  fmt.Sprintf("%s.%s", gwPod, i.Settings().SystemNamespace),
    					wants: []*regexp.Regexp{
    						regexp.MustCompile(fmt.Sprintf(`DENY\s+deny-policy\.%s\s+2`, i.Settings().SystemNamespace)),
    						regexp.MustCompile(fmt.Sprintf(`ALLOW\s+allow-policy\.%s\s+1`, i.Settings().SystemNamespace)),
    					},
    				},
    				{
    					name: "workload",
    					pod:  fmt.Sprintf("%s.%s", appPod, apps.Namespace.Name()),
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 15K bytes
    - Viewed (0)
  9. pkg/kubelet/logs/container_log_manager.go

    	if err != nil {
    		return fmt.Errorf("failed to get container status %q: %v", containerID, err)
    	}
    	if resp.GetStatus() == nil {
    		return fmt.Errorf("container status is nil for %q", containerID)
    	}
    	pattern := fmt.Sprintf("%s*", resp.GetStatus().GetLogPath())
    	logs, err := c.osInterface.Glob(pattern)
    	if err != nil {
    		return fmt.Errorf("failed to list all log files with pattern %q: %v", pattern, err)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 15K bytes
    - Viewed (0)
  10. cmd/kubeadm/app/phases/etcd/local_test.go

    				fmt.Sprintf("--listen-client-urls=https://127.0.0.1:%d,https://1.2.3.4:%d", kubeadmconstants.EtcdListenClientPort, kubeadmconstants.EtcdListenClientPort),
    				fmt.Sprintf("--listen-metrics-urls=http://127.0.0.1:%d", kubeadmconstants.EtcdMetricsPort),
    				fmt.Sprintf("--advertise-client-urls=https://1.2.3.4:%d", kubeadmconstants.EtcdListenClientPort),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 23 14:07:27 UTC 2024
    - 15.2K bytes
    - Viewed (0)
Back to top