Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 1,385 for fmtF (0.14 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. src/cmd/vendor/golang.org/x/arch/arm64/arm64asm/inst.go

    	case W0 <= r && r <= W30:
    		return fmt.Sprintf("W%d", int(r-W0))
    	case X0 <= r && r <= X30:
    		return fmt.Sprintf("X%d", int(r-X0))
    
    	case B0 <= r && r <= B31:
    		return fmt.Sprintf("B%d", int(r-B0))
    	case H0 <= r && r <= H31:
    		return fmt.Sprintf("H%d", int(r-H0))
    	case S0 <= r && r <= S31:
    		return fmt.Sprintf("S%d", int(r-S0))
    	case D0 <= r && r <= D31:
    		return fmt.Sprintf("D%d", int(r-D0))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 21.5K bytes
    - Viewed (0)
  10. pkg/util/iptables/testing/parse.go

    				if err != nil {
    					return nil, fmt.Errorf("error parsing rule %q: %v", line, err)
    				}
    				if len(c.Rules) != 0 {
    					return nil, fmt.Errorf("cannot delete chain %q after adding rules", chain)
    				}
    				c.Deleted = true
    			} else if line == "COMMIT" {
    				state = parseTableDeclaration
    			} else {
    				return nil, fmt.Errorf("error parsing rule %q", line)
    			}
    		}
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Dec 19 01:20:51 UTC 2023
    - 11.6K bytes
    - Viewed (0)
Back to top