Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for promise (0.16 sec)

  1. cni/pkg/nodeagent/net.go

    		log.Errorf("error scanning proc: error was %s", err)
    		return nil, err
    	}
    	// try again. we can still get here if the pod is in the process of being created.
    	// in this case the CNI will be invoked soon and provide us with the netns.
    	openNetns = s.currentPodSnapshot.Get(string(pod.UID))
    	if openNetns == nil {
    		return nil, fmt.Errorf("can't find netns for pod, this is ok if this is a newly created pod (%w)", ErrPodNotFound)
    	}
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 12.2K bytes
    - Viewed (1)
  2. cmd/bucket-replication.go

    		UserTags:             oi.UserTags,
    	}
    
    	if dsc.Synchronous() {
    		replicateObject(ctx, ri, o)
    	} else {
    		globalReplicationPool.queueReplicaTask(ri)
    	}
    }
    
    // proxyTaggingToRepTarget proxies tagging requests to remote targets for
    // active-active replicated setups
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 112.2K bytes
    - Viewed (1)
  3. cmd/test-utils_test.go

    //
    //	User-Agent:
    //
    //	    This is ignored from signing because signing this causes problems with generating pre-signed URLs
    //	    (that are executed by other agents) or when customers pass requests through proxies, which may
    //	    modify the user-agent.
    //
    //	Authorization:
    //
    //	    Is skipped for obvious reasons
    var ignoredHeaders = map[string]bool{
    	"Authorization": true,
    	"User-Agent":    true,
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 17:26:51 GMT 2024
    - 76.2K bytes
    - Viewed (0)
  4. cmd/admin-bucket-handlers.go

    		buckets, err = objectAPI.ListBuckets(ctx, BucketOptions{})
    		if err != nil {
    			writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    			return
    		}
    	}
    
    	// Initialize a zip writer which will provide a zipped content
    	// of bucket metadata
    	zipWriter := zip.NewWriter(w)
    	defer zipWriter.Close()
    
    	rawDataFn := func(r io.Reader, filename string, sz int) {
    		header, zerr := zip.FileInfoHeader(dummyFileInfo{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 32.5K bytes
    - Viewed (0)
  5. operator/cmd/mesh/install.go

    		Example: `  # Apply a default Istio installation
      istioctl install
    
      # Enable Tracing
      istioctl install --set meshConfig.enableTracing=true
    
      # Generate the demo profile and don't wait for confirmation
      istioctl install --set profile=demo --skip-confirmation
    
      # To override a setting that includes dots, escape them with a backslash (\).  Your shell may require enclosing quotes.
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu May 02 14:30:43 GMT 2024
    - 15.5K bytes
    - Viewed (1)
  6. cmd/admin-handlers.go

    	if err != nil {
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    		return
    	}
    
    	writeSuccessResponseJSON(w, startProfilingResultInBytes)
    }
    
    // ProfileHandler - POST /minio/admin/v3/profile/?profilerType={profilerType}
    // ----------
    // Enable server profiling
    func (a adminAPIHandlers) ProfileHandler(w http.ResponseWriter, r *http.Request) {
    	ctx := r.Context()
    
    	// Validate request signature.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 29 17:39:04 GMT 2024
    - 97.8K bytes
    - Viewed (2)
  7. cmd/server-main.go

    	},
    	cli.StringSliceFlag{
    		Name:  "sftp",
    		Usage: "enable and configure an SFTP server",
    	},
    	cli.StringFlag{
    		Name:   "crossdomain-xml",
    		Usage:  "provide a custom crossdomain-xml configuration to report at http://endpoint/crossdomain.xml",
    		Hidden: true,
    		EnvVar: "MINIO_CROSSDOMAIN_XML",
    	},
    	cli.StringFlag{
    		Name:   "memlimit",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 15:54:03 GMT 2024
    - 34.9K bytes
    - Viewed (1)
  8. cmd/sts-handlers.go

    		writeSTSErrorResponse(ctx, w, ErrSTSNotInitialized, errors.New("STS API 'AssumeRoleWithCertificate' is disabled"))
    		return
    	}
    
    	// We have to establish a TLS connection and the
    	// client must provide exactly one client certificate.
    	// Otherwise, we don't have a certificate to verify or
    	// the policy lookup would ambiguous.
    	if r.TLS == nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 21:31:13 GMT 2024
    - 34.7K bytes
    - Viewed (2)
  9. cmd/admin-handlers-users.go

    	ctx := r.Context()
    
    	// Get current object layer instance.
    	objectAPI, _ := validateAdminReq(ctx, w, r, policy.ExportIAMAction)
    	if objectAPI == nil {
    		return
    	}
    	// Initialize a zip writer which will provide a zipped content
    	// of bucket metadata
    	zipWriter := zip.NewWriter(w)
    	defer zipWriter.Close()
    	rawDataFn := func(r io.Reader, filename string, sz int) error {
    		header, zerr := zip.FileInfoHeader(dummyFileInfo{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 12:41:13 GMT 2024
    - 77.5K bytes
    - Viewed (0)
  10. cmd/utils.go

    // profilerWrapper is created because pkg/profiler doesn't
    // provide any API to calculate the profiler file path in the
    // disk since the name of this latter is randomly generated.
    type profilerWrapper struct {
    	// Profile recorded at start of benchmark.
    	records map[string][]byte
    	stopFn  func() ([]byte, error)
    	ext     string
    }
    
    // record will record the profile and store it as the base.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 15:18:21 GMT 2024
    - 31.4K bytes
    - Viewed (0)
Back to top