Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 207 for fmtF (0.05 sec)

  1. pkg/apis/batch/validation/validation.go

    	}
    	x, err := strconv.Atoi(limitsStr[0])
    	if err != nil {
    		return 0, 0, fmt.Errorf("cannot convert string to integer for index: %q", limitsStr[0])
    	}
    	if x >= int(completions) {
    		return 0, 0, fmt.Errorf("too large index: %q", limitsStr[0])
    	}
    	if len(limitsStr) > 1 {
    		y, err := strconv.Atoi(limitsStr[1])
    		if err != nil {
    			return 0, 0, fmt.Errorf("cannot convert string to integer for index: %q", limitsStr[1])
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 16:43:24 UTC 2024
    - 51.2K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/customresource_handler.go

    				utilruntime.HandleError(fmt.Errorf("failed to prune defaults: %v", err))
    				return nil, fmt.Errorf("the server could not properly serve the CR schema") // validation should avoid this
    			}
    		}
    		structuralSchemas[v.Name] = s
    	}
    
    	openAPIModels, err := buildOpenAPIModelsForApply(r.staticOpenAPISpec, crd)
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 19:06:46 UTC 2024
    - 52.9K bytes
    - Viewed (0)
  3. tests/integration/security/authz_test.go

    						host  string
    						allow allowValue
    					}{
    						{
    							host:  fmt.Sprintf("allow.%s.com", to.Config().Service),
    							allow: true,
    						},
    						{
    							host:  fmt.Sprintf("deny.%s.com", to.Config().Service),
    							allow: false,
    						},
    					}
    
    					for _, c := range cases {
    						c := c
    						testName := fmt.Sprintf("%s(%s)/http", c.host, c.allow)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 08 23:36:51 UTC 2024
    - 50.1K bytes
    - Viewed (0)
  4. src/cmd/go/internal/test/test.go

    	if err != nil {
    		fmt.Fprintf(h, "err %v\n", err)
    		return h.Sum(), nil
    	}
    	hashWriteStat(h, info)
    	if info.IsDir() {
    		files, err := os.ReadDir(name)
    		if err != nil {
    			fmt.Fprintf(h, "err %v\n", err)
    		}
    		for _, f := range files {
    			fmt.Fprintf(h, "file %s ", f.Name())
    			finfo, err := f.Info()
    			if err != nil {
    				fmt.Fprintf(h, "err %v\n", err)
    			} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 71.9K bytes
    - Viewed (0)
  5. staging/src/k8s.io/cli-runtime/pkg/resource/builder_test.go

    	writeTestFile(t, fmt.Sprintf("%s/recursive/rc/busybox.json", tmpDir), strings.Replace(aRC, "{id}", "0", -1))
    	writeTestFile(t, fmt.Sprintf("%s/recursive/rc/rc_1/busybox.json", tmpDir), strings.Replace(aRC, "{id}", "1", -1))
    	writeTestFile(t, fmt.Sprintf("%s/inode/hardlink/busybox.json", tmpDir), strings.Replace(aPod, "{id}", "0", -1))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 01 11:58:41 UTC 2023
    - 56.1K bytes
    - Viewed (0)
  6. pkg/controller/podautoscaler/replica_calculator_test.go

    			),
    			requests: []resource.Quantity{
    				resource.MustParse(fmt.Sprint(perPodRequested+100) + "m"),
    				resource.MustParse(fmt.Sprint(perPodRequested-100) + "m"),
    				resource.MustParse(fmt.Sprint(perPodRequested+10) + "m"),
    				resource.MustParse(fmt.Sprint(perPodRequested-10) + "m"),
    				resource.MustParse(fmt.Sprint(perPodRequested+2) + "m"),
    				resource.MustParse(fmt.Sprint(perPodRequested-2) + "m"),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Aug 19 03:31:34 UTC 2023
    - 68.4K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/regalloc.go

    				continue
    			}
    
    			if s.f.pass.debug > regDebug {
    				fmt.Printf("value %s\n", v.LongString())
    				fmt.Printf("  out:")
    				for _, r := range dinfo[idx].out {
    					if r != noRegister {
    						fmt.Printf(" %s", &s.registers[r])
    					}
    				}
    				fmt.Println()
    				for i := 0; i < len(v.Args) && i < 3; i++ {
    					fmt.Printf("  in%d:", i)
    					for _, r := range dinfo[idx].in[i] {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 17:49:56 UTC 2023
    - 87.2K bytes
    - Viewed (0)
  8. cmd/iam.go

    		NewHTTPTransport(), xhttp.DrainBody, globalSite.Region())
    	if err != nil {
    		iamLogIf(ctx, fmt.Errorf("Unable to initialize OpenID: %w", err), logger.WarningKind)
    	}
    
    	// Initialize if LDAP is enabled
    	ldapConfig, err := xldap.Lookup(s, globalRootCAs)
    	if err != nil {
    		iamLogIf(ctx, fmt.Errorf("Unable to load LDAP configuration (LDAP configuration will be disabled!): %w", err), logger.WarningKind)
    	}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 71.9K bytes
    - Viewed (0)
  9. pkg/controller/daemon/daemon_controller.go

    	ds, ok := obj.(*apps.DaemonSet)
    	if !ok {
    		tombstone, ok := obj.(cache.DeletedFinalStateUnknown)
    		if !ok {
    			utilruntime.HandleError(fmt.Errorf("couldn't get object from tombstone %#v", obj))
    			return
    		}
    		ds, ok = tombstone.Obj.(*apps.DaemonSet)
    		if !ok {
    			utilruntime.HandleError(fmt.Errorf("tombstone contained object that is not a DaemonSet %#v", obj))
    			return
    		}
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 51.3K bytes
    - Viewed (0)
  10. pkg/scheduler/framework/runtime/framework.go

    		pg, ok := pluginsMap[ep.Name]
    		if !ok {
    			return fmt.Errorf("%s %q does not exist", pluginType.Name(), ep.Name)
    		}
    
    		if !reflect.TypeOf(pg).Implements(pluginType) {
    			return fmt.Errorf("plugin %q does not extend %s plugin", ep.Name, pluginType.Name())
    		}
    
    		if set.Has(ep.Name) {
    			return fmt.Errorf("plugin %q already registered as %q", ep.Name, pluginType.Name())
    		}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 17 09:07:27 UTC 2024
    - 60.9K bytes
    - Viewed (0)
Back to top