Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 179 for fmtE (0.11 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. 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)
  6. 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)
  7. 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)
  8. src/crypto/tls/handshake_client_test.go

    		if c.Version != version {
    			return fmt.Errorf("%s: got Version %v, want %v", errorType, c.Version, version)
    		}
    		if c.HandshakeComplete {
    			return fmt.Errorf("%s: got HandshakeComplete, want false", errorType)
    		}
    		if c.ServerName != "example.golang" {
    			return fmt.Errorf("%s: got ServerName %s, want %s", errorType, c.ServerName, "example.golang")
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 88.7K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/storage/cacher/cacher_whitebox_test.go

    			err := cacher.watchCache.Add(&examplev1.Pod{
    				ObjectMeta: metav1.ObjectMeta{
    					Name:            fmt.Sprintf("pod-%d", i),
    					Namespace:       "ns",
    					ResourceVersion: fmt.Sprintf("%v", resourceVersion+uint64(i)),
    				}})
    			if err != nil {
    				errc <- fmt.Errorf("failed to add a pod: %v", err)
    				return
    			}
    			time.Sleep(100 * time.Millisecond)
    		}
    	}()
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 10:12:02 UTC 2024
    - 82.9K bytes
    - Viewed (0)
  10. cmd/sts-handlers_test.go

    	for i, testApp := range testApps {
    		configCmds := []string{
    			fmt.Sprintf("identity_openid:%d", i),
    			fmt.Sprintf("config_url=%s/.well-known/openid-configuration", testApp.ProviderURL),
    			fmt.Sprintf("client_id=%s", testApp.ClientID),
    			fmt.Sprintf("client_secret=%s", testApp.ClientSecret),
    			"scopes=openid,groups",
    			fmt.Sprintf("redirect_uri=%s", testApp.RedirectURL),
    		}
    		if rolePolicies[i] != "" {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 18:45:50 UTC 2024
    - 90K bytes
    - Viewed (0)
Back to top