Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 27 for fmtF (0.05 sec)

  1. cmd/kubelet/app/server.go

    	kubeletConfigFile, err := filepath.Abs(name)
    	if err != nil {
    		return nil, fmt.Errorf(errFmt, name, err)
    	}
    	loader, err := configfiles.NewFsLoader(&utilfs.DefaultFs{}, kubeletConfigFile)
    	if err != nil {
    		return nil, fmt.Errorf(errFmt, name, err)
    	}
    	kc, err := loader.Load()
    	if err != nil {
    		return nil, fmt.Errorf(errFmt, name, err)
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 00:05:34 UTC 2024
    - 53.9K bytes
    - Viewed (0)
  2. pilot/pkg/config/kube/gateway/conversion.go

    				MatchType: &istio.StringMatch_Prefix{Prefix: fmt.Sprintf("/%s/", *m.Service)},
    			}, nil
    		}
    		if m.Service == nil {
    			return &istio.StringMatch{
    				MatchType: &istio.StringMatch_Regex{Regex: fmt.Sprintf("/[^/]+/%s", *m.Method)},
    			}, nil
    		}
    		return &istio.StringMatch{
    			MatchType: &istio.StringMatch_Exact{Exact: fmt.Sprintf("/%s/%s", *m.Service, *m.Method)},
    		}, nil
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:37 UTC 2024
    - 84.7K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. cmd/bucket-handlers.go

    		apiErr.Description = fmt.Sprintf("%s (%v)", apiErr.Description, errors.New("The file or text content is missing"))
    		writeErrorResponse(ctx, w, apiErr, r.URL)
    		return
    	}
    	checksum, err := hash.GetContentChecksum(formValues)
    	if err != nil {
    		apiErr := errorCodes.ToAPIErr(ErrMalformedPOSTRequest)
    		apiErr.Description = fmt.Sprintf("%s (%v)", apiErr.Description, fmt.Errorf("Invalid checksum: %w", err))
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 14 13:28:35 UTC 2024
    - 61.2K bytes
    - Viewed (0)
  7. pkg/controller/job/job_controller.go

    	if !ok {
    		tombstone, ok := obj.(cache.DeletedFinalStateUnknown)
    		if !ok {
    			utilruntime.HandleError(fmt.Errorf("couldn't get object from tombstone %+v", obj))
    			return
    		}
    		pod, ok = tombstone.Obj.(*v1.Pod)
    		if !ok {
    			utilruntime.HandleError(fmt.Errorf("tombstone contained object that is not a pod %+v", obj))
    			return
    		}
    	}
    
    	controllerRef := metav1.GetControllerOf(pod)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 10 23:56:37 UTC 2024
    - 77.6K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/storage/testing/store_tests.go

    	// for resourceA does not include any objects from resourceB.
    	resourceB := fmt.Sprintf("%sdef", resourceA)
    
    	resourceACountExpected := 5
    	for i := 1; i <= resourceACountExpected; i++ {
    		obj := &example.Pod{ObjectMeta: metav1.ObjectMeta{Name: fmt.Sprintf("foo-%d", i)}}
    
    		key := fmt.Sprintf("%s/%d", resourceA, i)
    		if err := store.Create(ctx, key, obj, nil, 0); err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 12:45:33 UTC 2024
    - 91.4K bytes
    - Viewed (0)
  9. src/cmd/go/internal/modget/get.go

    	}
    	if getD.set {
    		if !getD.value {
    			base.Fatalf("go: -d flag may not be set to false")
    		}
    		fmt.Fprintf(os.Stderr, "go: -d flag is deprecated. -d=true is a no-op\n")
    	}
    	if *getF {
    		fmt.Fprintf(os.Stderr, "go: -f flag is a no-op\n")
    	}
    	if *getFix {
    		fmt.Fprintf(os.Stderr, "go: -fix flag is a no-op\n")
    	}
    	if *getM {
    		base.Fatalf("go: -m flag is no longer supported")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 18:26:32 UTC 2024
    - 66.5K bytes
    - Viewed (0)
  10. cmd/test-utils_test.go

    	bufReader := bufio.NewReader(req.Body)
    	_, chunkSignature, err := readChunkLine(bufReader)
    	if err != nil {
    		return nil, err
    	}
    
    	n := badSize
    	newHexChunkSize := []byte(fmt.Sprintf("%x", n))
    	newChunkHdr := []byte(fmt.Sprintf("%s"+s3ChunkSignatureStr+"%s\r\n",
    		newHexChunkSize, chunkSignature))
    	newChunk, err := io.ReadAll(bufReader)
    	if err != nil {
    		return nil, err
    	}
    
    	newReq := req
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 76.9K bytes
    - Viewed (0)
Back to top